resolv: Remove BSD compatibility conditionals and header
[glibc.git] / ChangeLog
blobf61df618a7af49845d7c2e40162a436eb81ac7ec
1 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5         Remove BSD-related preprocessor conditionals.
6         * conf/portability.h: Remove.
8 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11         * resolv/res_data.c: Likewise.
13 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16         * resolv/res_data.c: Remove code conditional on ultrix.
18 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20         * resolv/res_init.c (RFC1535): Do not define.  Remove
21         RFC1535 preprocessor conditionals.
22         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
23         because there configuration options which make the resolver
24         behavior different.
26 2016-04-28  Florian Weimer  <fweimer@redhat.com>
28         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
29         RESOLVSORT preprocessor conditionals.
30         * resolv/nss_dns/dns-host.c: Likewise.
31         * resolv/res_init.c: Likewise.
33 2016-04-28  Florian Weimer  <fweimer@redhat.com>
35         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
36         is never defined.
38 2016-04-28  Florian Weimer  <fweimer@redhat.com>
40         * inet/inet_lnaof.c: Remove SCSS keyword.
41         * inet/inet_mkadr.c: Likewise.
42         * inet/inet_net.c: Likewise.
43         * inet/inet_netof.c: Likewise.
44         * inet/rcmd.c: Likewise.
45         * inet/rexec.c: Likewise.
46         * inet/ruserpass.c: Likewise.
48 2016-04-28  Florian Weimer  <fweimer@redhat.com>
50         * resolv/inet_addr.c: Remove _LIBC conditionals.
51         * resolv/res_data.c: Likewise.
52         * resolv/res_init.c: Likewise.
53         * resolv/res_mkquery.c: Likewise.
54         * resolv/res_libc.c: Update comment.
55         * resolv/README: Update.
57 2016-04-28  Florian Weimer  <fweimer@redhat.com>
59         * resolv/gethnamaddr.c: Remove SCSS keyword.
60         * resolv/herror.c: Likewise.
61         * resolv/inet_addr.c: Likewise.
62         * resolv/inet_net_ntop.c: Likewise.
63         * resolv/inet_net_pton.c: Likewise.
64         * resolv/inet_neta.c: Likewise.
65         * resolv/inet_ntop.c: Likewise.
66         * resolv/inet_pton.c: Likewise.
67         * resolv/ns_date.c: Remove RCS keyword.
68         * resolv/ns_name.c: Likewise.
69         * resolv/ns_netint.c: Likewise.
70         * resolv/ns_parse.c: Likewise.
71         * resolv/ns_print.c: Likewise.
72         * resolv/ns_samedomain.c: Likewise.
73         * resolv/ns_ttl.c: Likewise.
74         * resolv/nsap_addr.c: Likewise.
75         * resolv/res_comp.c: Remove SCSS and RCS keyword.
76         * resolv/res_data.c: Remove RCS keyword.
77         * resolv/res_debug.c: Remove SCSS and RCS keyword.
78         * resolv/res_init.c: Likewise.
79         * resolv/res_mkquery.c: Likewise.
80         * resolv/res_query.c: Likewise.
81         * resolv/res_send.c: Likewise.
83 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
85         * conform/data/stdio.h-data (fdopen): Expect also for
86         [XPG3 || XPG4].
88         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
89         (fseeko): Likewise.
90         (ftello): Likewise.
91         (ftrylockfile): Likewise.
92         (funlockfile): Likewise.
93         (getc_unlocked): Likewise.
94         (getchar_unlocked): Likewise.
95         (putc_unlocked): Likewise.
96         (putchar_unlocked): Likewise.
98 2016-04-27  Florian Weimer  <fweimer@redhat.com>
100         [BZ #19868]
101         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
102         DNS packet syntax checks (which were not needed before).  Skip
103         over non-PTR records.
105 2016-04-27  Florian Weimer  <fweimer@redhat.com>
107         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
108         definition.  Include <stddef.h> instead.
110 2016-04-27  Florian Weimer  <fweimer@redhat.com>
112         [BZ #19831]
113         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
114         function.
115         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
116         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
118 2016-04-27  Florian Weimer  <fweimer@redhat.com>
120         [BZ #19862]
121         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
122         (getanswer_r): Do not call syslog.
123         (gaih_getanswer_slice): Likewise.
124         * resolv/gethnamaddr.c (AskedForGot): Remove.
125         (getanswer): Do not call syslog.
126         (gethostbyaddr): Likewise.
128 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
130         * conform/data/signal.h-data (union sigval): Expect also if
131         [XOPEN2K].
132         (struct sigevent): Likewise.
133         (SIGEV_NONE): Likewise.
134         (SIGEV_SIGNAL): Likewise.
135         (SIGEV_THREAD): Likewise.
136         (SIGRTMIN): Likewise.
137         (SIGRTMAX): Likewise.
138         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
139         variable.
140         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
142 2016-04-27  Florian Weimer  <fweimer@redhat.com>
144         [BZ #19830]
145         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
146         (gaih_getanswer_slice): Likewise.
147         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
148         Also check for availability of RR metadata.
150 2016-04-27  Florian Weimer  <fweimer@redhat.com>
152         [BZ #19825]
153         * resolv/res_send.c (send_vc): Remove early *resplen2
154         initialization.  Set *resplen2 on socket error.  Call
155         close_and_return_error for other errors.
157 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
159         * sysdeps/unix/sysv/linux/netiucv/iucv.h
160         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
161         (SCM_IUCV_TRGCLS): New define.
163 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
165         [BZ #20005]
166         * libio/fmemopen.c (fmemopen_write): Update internal position after
167         write.
168         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
169         * stdio-common/tst-fmemopen4.c: New file..
171 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
173         [BZ #19996]
174         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
175         not [__USE_XOPEN2K].
176         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
177         variable.
179         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
180         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
181         variable.
183         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
184         [__USE_XOPEN2K8].
185         [__USE_LARGEFILE64] (off64_t): Likewise.
186         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
187         variable.
189 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
191         [BZ #19989]
192         * libio/stdio.h (cuserid): Do not declare if
193         [__USE_XOPEN2K && !__USE_GNU].
194         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
195         variable.
197 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
199         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
200         (sysdep_routines): Add P8 and PPC64 strcspn targets.
201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
202         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
203         ifunc'ed strcspn.
204         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
205         [EALIGN]: Removed.
206         [END]: Likewise
207         [STRSPN]: Define instead of the above to control symbol name.
208         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
209         New file.
210         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
211         Likewise.
212         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
213         Likewise.
214         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
215         Likewise.
216         * sysdeps/powerpc/powerpc64/power8/strspn.S:
217         [INITIAL_MASK]: New macro.
218         [STRCSPN]: Likewise.
219         [UPDATE_MASK]: Likewise.
220         [USE_AS_STRCSPN]: Lisewise.
222 2016-04-25  Florian Weimer  <fweimer@redhat.com>
224         [BZ #19931]
225         * stdio-common/tst-vfprintf-width-prec.c: New file.
226         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
227         (tests-special): Add tst-vfprintf-width-prec-mem.out.
228         (generated): Add mtrace-related files.
229         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
230         (tst-%-mem.out): New pattern rule, replaces
231         tst-printf-bz18872-mem.out.
232         * stdio-common/vfprintf.c (vfprintf): When handling a precision
233         specifier, deallocate any previously allocated work buffer.
235 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
237         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
238         Add nop before __startcontext, add explaining comments.
240 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
242         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
243         any more. Notably since IPV6_PKTINFO has been reintroduced with a
244         completely different API.
246         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
247         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
248         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
249         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
250         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
251         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
252         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
253         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
254         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
255         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
257 2016-04-23   H.J. Lu  <hongjiu.lu@intel.com>
259         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
261 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
263         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
264         when it is the default of 0.
266 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
268         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
269         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
270         (sysdep_routines): Add new strcasestr targets.
271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
272         (__libc_ifunc_impl_list): Likewise.
273         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
274         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
275         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
276         * sysdeps/powerpc/powerpc64/power8/Makefile:
277         New file to add strcasestr-ppc64 to sysdep_routines.
278         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
279         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
281 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
283         * benchtests/Makefile (wcsmbs-benchset): Include only for
284         native builds and runs.
285         (LOCALES): Likewise.
286         (bench-build): Build timing-type here instead of the bench
287         target.  Generate locale only for native builds.
288         * benchtests/README: Add note for cross-building.
290         * benchtests/Makefile (bench-clean): Clean up extra-objs.
292         * benchtests/README: Update README to include instructions on
293         using bench-build.
295         * Makefile.in (bench-build): New target.
296         * Rules (PHONY): Add bench-build target.
297         * benchtests/Makefile (bench): Depend on bench-build.
298         (bench-build): New target.
300 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
302         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
303         profil_reply_port.
304         (profile_waiter): Do not initialize profil_reply_port.
305         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
306         frequency instead of tick length in us.
308 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
310         [BZ #18712]
311         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
312         (__old_mempcpy_small): Likewise.
313         (__old_strcpy_small): Likewise.
314         (__old_stpcpy_small): Likewise.
315         (__old_strpbrk_c2): Fix compat symbol name.
316         (__old_strpbrk_c3): Likewise.
317         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
318         (__mempcpy_small): Remove.
319         (__strcpy_small): Remove.
320         (__stpcpy_small): Remove.
322 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
324         [BZ #19400]
325         * locale/iso-639.def: Add the Talossan/tzl language.
327 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
329         [BZ #16983]
330         * locale/programs/ld-address.c (address_finish): Update postal_fmt
331         comment.  Add "ln" to strchr check on postal_fmt.
333 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
335         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
336         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
337         tel_dom_fmt.
339 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
341         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
342         (sysdep_routines): Added __strlen_power8.
343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
344         __strlen_power8 entry.
345         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
346         Implementation for POWER8.
347         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
348         for __strlen_power8.
349         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
350         Implementation for POWER8.
352 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
354         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
356 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
358         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
359         Goldmont and Airmont processors.
361 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
363         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
364         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
365         (__STRING2_SMALL_GET32): Remove.
366         (memset): Remove.
367         (__memset_1): Remove.
368         (__memset_gc): Remove.
369         (__mempcpy): Remove.
370         (mempcpy): Remove.
371         (__mempcpy_args): Remove.
372         (strchr): Remove.
373         (strcpy): Remove.
374         (strcpy_args): Remove.
375         (__stpcpy_args): Remove.
376         (__strcmp_cc): Remove.
377         (__strcmp_gc): Remove.
378         (strstr): Remove.
380 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
382         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
383         * nis/nis_call.c (nis_server_cache_add): Likewise.
385 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
387         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
389 2016-04-14  Florian Weimer  <fweimer@redhat.com>
391         * malloc/arena.c (__malloc_fork_lock_parent)
392         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
393         internal_function attribute.
395 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
397         * stdio-common/printf_fp.c (__printf_fp_l):
398         Rename ___printf_fp_l to __printf_fp_l and
399         remove strong alias. Use libc_hidden_def instead
400         of ldbl_hidden_def macro.
402 2016-04-14  Florian Weimer  <fweimer@redhat.com>
404         Remove malloc hooks from fork handler.  They are no longer needed
405         because malloc runs right before fork, and no malloc calls from
406         other fork handlers are not possible anymore.
407         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
408         declarations.
409         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
410         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
411         (atfork_recursive_cntr): Remove.
412         (__malloc_fork_lock_parent): Do not override malloc hooks and
413         thread_arena.
414         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
415         thread_arena.
416         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
417         thread_arena instead of save_arena.
419 2016-04-14  Florian Weimer  <fweimer@redhat.com>
421         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
422         (thread_atfork, thread_atfork_static): Remove.
423         * sysdeps/mach/hurd/malloc-machine.h:
424         (thread_atfork, thread_atfork_static): Remove.
426 2016-04-14  Florian Weimer  <fweimer@redhat.com>
428         [BZ #19431]
429         Run the malloc fork handler as late as possible to avoid deadlocks.
430         * malloc/malloc-internal.h: New file.
431         * malloc/malloc.c: Include it.
432         * malloc/arena.c (ATFORK_MEM): Remove.
433         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
434         Update comment.
435         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
436         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
437         Remove outdated comment.
438         (ptmalloc_init): Do not call thread_atfork.  Remove
439         thread_atfork_static.
440         * malloc/tst-malloc-fork-deadlock.c: New file.
441         * Makefile (tests): Add tst-malloc-fork-deadlock.
442         (tst-malloc-fork-deadlock): Link against libpthread.
443         * manual/memory.texi (Aligned Memory Blocks): Update safety
444         annotation comments.
445         * sysdeps/nptl/fork.c (__libc_fork): Call
446         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
447         __malloc_fork_unlock_child.
448         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
450 2016-04-14  Florian Weimer  <fweimer@redhat.com>
452         [BZ #19613]
453         Remove union wait.
454         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
455         (w_stopsig, w_stopval): Remove.
456         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
457         stat_loc argument.
458         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
459         (__WAIT_STATUS_DEFN): Remove.
460         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
461         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
462         (wait, wait3, wait4): Use int * for the stat_loc argument.
463         * posix/wait.c (__wait): Likewise.
464         * posix/wait3.c (__wait3): Likewise.
465         * posix/wait4.c (__wait4): Likewise.
466         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
467         (__WAIT_STATUS_DEFN): Remove.
468         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
469         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
470         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
471         argument.
472         * sysdeps/posix/wait.c (__libc_wait): Likewise.
473         * sysdeps/posix/wait3.c (__wait3): Likewise.
474         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
475         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
476         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
477         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
478         stat_loc argument.
479         * manual/process.texi (BSD Wait Functions): Remove union wait.
481 2016-04-13  Andreas Schwab  <schwab@suse.de>
483         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
484         (test-extras): Add tst-tlsalign-vars.
485         * math/Makefile: Wrap long lines.
486         (libm-vec-test-wrappers): Define.
487         (test-extras): Add $(libm-vec-test-wrappers).
488         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
489         * nss/Makefile (extra-test-objs): Add nss_test1.os.
490         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
491         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
492         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
493         (extra-test-objs): Add corresponding objects.
495 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
497         [BZ #19928]
498         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
499         New.
500         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
501         times of shared cache size.
502         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
503         (VMOVNT): New.
504         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
505         (VMOVNT): Likewise.
506         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
507         (VMOVNT): Likewise.
508         (VMOVU): Changed to movups for smaller code sizes.
509         (VMOVA): Changed to movaps for smaller code sizes.
510         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
511         comments.
512         (PREFETCH): New.
513         (PREFETCH_SIZE): Likewise.
514         (PREFETCHED_LOAD_SIZE): Likewise.
515         (PREFETCH_ONE_SET): Likewise.
516         Rewrite to use forward and backward loops, which move 4 vector
517         registers at a time, to support overlapping addresses and use
518         non temporal store if size is above the threshold and there is
519         no overlap between destination and source.
521 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
523         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
524         Include dl-vdso.
525         * sysdeps/unix/sysv/linux/mips/Versions: Add
526         __vdso_clock_gettime.
527         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
528         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
529         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
530         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
531         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
532         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
533         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
534         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
535         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
537 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
539         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
540         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
541         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
542         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
543         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
544         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
547         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
548         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
549         syscalls generation.
550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
551         [__NR_pwrite64] (__NR_write): Remove define.
552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
553         [__NR_pwrite64] (__NR_write): Remove define.
554         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
555         Remove define.
556         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
557         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
558         Remove define.
559         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
560         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
561         Linux implementation as base.
562         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
564         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
565         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
566         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
567         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
570         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
571         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
572         syscall generation.
573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
574         [__NR_pread64] (__NR_pread): Remove define.
575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
576         [__NR_pread64] (__NR_pread): Likewise.
577         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
578         define.
579         (__libc_pread): Use SYSCALL_LL macro on offset argument.
580         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
581         Remove define.
582         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
583         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
584         Linux implementation as base.
585         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
586         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
587         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
589         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
590         definition.
591         (__ALIGNMENT_COUNT): Likewise.
592         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
593         (__ALIGNMENT_COUNT): Likewise.
594         (SYSCALL_LL): New define.
595         (SYSCALL_LL64): Likewise.
596         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
597         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
598         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
599         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
601         * sysdeps/unix/sysv/linux/arm/kernel-features.h
602         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
603         * sysdeps/unix/sysv/linux/mips/kernel-features.h
604         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
605         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
606         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
608 2016-04-11  Florian Weimer  <fweimer@redhat.com>
610         [BZ #19865]
611         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
612         original buffer before retry.
614 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
616         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
617         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
618         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
619         GLRO(dl_auxv) list.
620         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
621         including <ldsodefs.h>.
622         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
624 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
626         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
627         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
628         $(CPPFLAGS).
630 2016-04-09  Khem Raj  <raj.khem@gmail.com>
632         [BZ #17950]
633         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
634         Add -mfpmath=387.
636 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
638         * sysdeps/i386/configure.ac: Change == to = when calling test.
639         * sysdeps/x86_64/configure.ac: Likewise.
640         * sysdeps/i386/configure: Regenerated.
641         * sysdeps/x86_64/configure: Likewise.
643 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
645         [BZ #16137]
646         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
647         * benchtests/bench-strcoll.c (input_files): Likewise.
648         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
649         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
650         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
652 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
654         [BZ #19929]
655         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
656         [__USE_XOPEN2K8 && !__USE_GNU].
657         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
658         variable.
660         [BZ #19925]
661         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
662         define if [!__USE_MISC && __USE_XOPEN2K].
663         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
664         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
665         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
666         Likewise.
667         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
668         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
669         variable.
670         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
672 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
674         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
675         (sysdep_routines): Add new strspn targets.
676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
677         (__libc_ifunc_impl_list): Add strspn.
678         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
679         New file.
680         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
681         Likewise.
682         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
683         Likewise.
684         * sysdeps/powerpc/powerpc64/power8/strspn.S:
685         Likewise.
687 2016-04-07  Florian Weimer  <fweimer@redhat.com>
689         * misc/hsearch_r.c: Include <limits.h>.
691 2016-04-07  Florian Weimer  <fweimer@redhat.com>
693         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
695 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
697         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
698         (MEMCPY_SYMBOL): New.
699         (MEMPCPY_SYMBOL): Likewise.
700         (MEMMOVE_CHK_SYMBOL): Likewise.
701         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
702         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
703         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
704         Provide alias for memcpy in libc.a and ld.so.
706 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
708         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
709         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
710         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
711         Disabled fro now.
712         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
713         symbols.  Properly check USE_MULTIARCH on __memset symbols.
715 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
717         * benchtests/Makefile (string-benchset): Add memcpy-large,
718         memmove-large and memset-large.
719         * benchtests/bench-memcpy-large.c: New file.
720         * benchtests/bench-memmove-large.c: Likewise.
721         * benchtests/bench-memmove-large.c: Likewise.
722         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
724 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
726         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
727         32-bit displacement to avoid long nop between instructions.
729 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
731         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
732         a comment on VMOVU and VMOVA.
734 2016-04-04  Florian Weimer  <fweimer@redhat.com>
736         [BZ #19633]
737         Use specified locale for number formatting in strfmon_l.
738         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
739         (__nl_lookup_word): New inline functions.
740         * include/printf.h (__print_fp_l): Declare.
741         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
742         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
743         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
744         (___printf_fp): New function.
745         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
746         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
747         * stdlib/tst-strfmon_l.c (do_test): New test.
748         * stdlib/Makefile (tests): Add kt.
749         (LOCALES): Build additional locales.
750         (tst-strfmon_l.out): Require locales.
752 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
754         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
755         if not in libc.
756         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
757         Likewise.
758         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
759         Likewise.
760         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
761         Likewise.
763 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
765         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
766         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
767         with unaligned_erms.
768         (__memmove_erms): Skip if source == destination.
769         (__memmove_unaligned_erms): Don't check source == destination
770         first.
772 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
774         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
775         bit_arch_Fast_Copy_Backward for Intel Core proessors.
777 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
779         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
780         * string/strspn.c (strspn): Likewise.
782 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
784         * benchtests/bench-memset.c (do_test): Support 64-byte
785         alignment.
786         (test_main): Test 64-byte alignment.
788 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
790         * benchtests/bench-memmove.c (test_main): Test 64-byte
791         alignment.
793 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
795         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
797 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
799         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
800         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
801         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
803         * string/strpbrk.c (strpbrk): Rewrite function.
804         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
805         (__strpbrk_c2): Likewise.
806         (__strpbrk_c3): Likewise.
807         * string/string-inlines.c
808         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
809         Likewise.
810         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
811         Likewise.
813         * string/strspn.c (strcspn): Rewrite function.
814         * string/bits/string2.h (strspn): Use __builtin_strcspn.
815         (__strspn_c1): Remove inline function.
816         (__strspn_c2): Likewise.
817         (__strspn_c3): Likewise.
818         * string/string-inlines.c
819         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
820         compatibility symbol.
821         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
822         Likewise.
823         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
824         Likewise.
825         * string/string-inlines.c: Include generic version.
827 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
828             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
830         * string/Version (libc): Add GLIBC_2.24.
831         * string/strcspn.c (strcspn): Rewrite function.
832         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
833         (__strcspn_c1): Remove inline function.
834         (__strcspn_c2): Likewise.
835         (__strcspn_c3): Likewise.
836         * string/string-inline.c
837         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
838         compatibility symbol.
839         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
840         Likewise.
841         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
842         Likewise.
843         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
845 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
847         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
848         Use ahi instead of aghi to adjust stack pointer.
850 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
852         [BZ #19853]
853         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
854         TEST to take significant digits as second parameter.
855         [TEST]: Redefine in terms of TEST_N taking 30
856         significant digits.
857         (do_test): Add test case to demonstrate precision
858         failure in the ldbl-128ibm printf.
859         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
860         (__mpn_extract_long_double): Carry 7 extra intermediate
861         bits of precision to aide computing difference when
862         signs differ.
864 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
866         [BZ #19881]
867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
868         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
869         memset-avx512-unaligned-erms.
870         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
871         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
872         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
873         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
874         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
875         __memset_sse2_unaligned_erms, __memset_erms,
876         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
877         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
878         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
879         file.
880         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
881         Likewise.
882         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
883         Likewise.
884         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
885         Likewise.
887 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
889         [BZ #19776]
890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
891         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
892         memmove-avx512-unaligned-erms.
893         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
894         (__libc_ifunc_impl_list): Test
895         __memmove_chk_avx512_unaligned_2,
896         __memmove_chk_avx512_unaligned_erms,
897         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
898         __memmove_chk_sse2_unaligned_2,
899         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
900         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
901         __memmove_avx512_unaligned_erms, __memmove_erms,
902         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
903         __memcpy_chk_avx512_unaligned_2,
904         __memcpy_chk_avx512_unaligned_erms,
905         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
906         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
907         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
908         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
909         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
910         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
911         __mempcpy_chk_avx512_unaligned_erms,
912         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
913         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
914         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
915         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
916         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
917         __mempcpy_erms.
918         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
919         file.
920         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
921         Likwise.
922         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
923         Likwise.
924         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
925         Likwise.
927 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
929         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
930         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
931         (La_s390_64_regs): Likewise.
932         (La_s390_32_retval): Append vector register lrv_v24.
933         (La_s390_64_retval): Likeweise.
934         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
935         Handle extended structs La_s390_32_regs and La_s390_32_retval.
936         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
937         Handle extended structs La_s390_64_regs and La_s390_64_retval.
939 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
941         [BZ #19916]
942         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
943         to create a non-vector/vector version for _dl_runtime_resolve and
944         _dl_runtime_profile. Move implementation to ...
945         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
946         (_dl_runtime_resolve) Save and restore fpr/vrs.
947         (_dl_runtime_profile) Save and restore vrs and fix some issues
948         if _dl_call_pltexit is called.
949         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
950         Choose the correct resolver function if running on a machine with vx.
951         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
952         to create a non-vector/vector version for _dl_runtime_resolve and
953         _dl_runtime_profile. Move implementation to ...
954         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
955         (_dl_runtime_resolve) Save and restore fpr/vrs.
956         (_dl_runtime_profile) Save and restore vrs and fix some issues
957         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
958         Choose the correct resolver function if running on a machine with vx.
960 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
962         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
964 2016-03-31  Florian Weimer  <fweimer@redhat.com>
966         [BZ #19509]
967         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
968         skip_map != NULL.
969         * elf/tst-dlsym-error.c: New file.
970         * elf/Makefile (tests): Add tst-dlsym-error.
971         (tst-dlsym-error): Link against libdl.
973 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
976         (__ASSUME_FUTIMESAT): Remove macro.
977         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
979 2016-03-29  Florian Weimer  <fweimer@redhat.com>
981         [BZ #19879]
982         CVE-2016-3075
983         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
984         copy name.
986 2016-03-29  Florian Weimer  <fweimer@redhat.com>
988         [BZ #19837]
989         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
990         error if parse_line fails.
992 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
994         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
995         (index_cpu_ERMS): Likewise.
996         (reg_ERMS): Likewise.
998 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
1000         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
1001         PER_LINUX_FDPIC): Add.
1003 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1006         memcpy-avx512-no-vzeroupper.
1007         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
1008         to ...
1009         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
1010         (MEMCPY): Don't define.
1011         (MEMCPY_CHK): Likewise.
1012         (MEMPCPY): Likewise.
1013         (MEMPCPY_CHK): Likewise.
1014         (MEMPCPY_CHK): Renamed to ...
1015         (__mempcpy_chk_avx512_no_vzeroupper): This.
1016         (MEMPCPY_CHK): Renamed to ...
1017         (__mempcpy_chk_avx512_no_vzeroupper): This.
1018         (MEMCPY_CHK): Renamed to ...
1019         (__memmove_chk_avx512_no_vzeroupper): This.
1020         (MEMCPY): Renamed to ...
1021         (__memmove_avx512_no_vzeroupper): This.
1022         (__memcpy_avx512_no_vzeroupper): New alias.
1023         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
1025 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1027         [BZ #18858]
1028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1029         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
1030         and mempcpy-avx512-no-vzeroupper.
1031         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
1032         New.
1033         (MEMPCPY): Likewise.
1034         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
1035         (MEMPCPY_CHK): New.
1036         (MEMPCPY): Likewise.
1037         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
1038         (MEMPCPY): Likewise.
1039         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
1040         (MEMPCPY): Likewise.
1041         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
1042         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
1043         Likewise.
1044         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
1045         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
1047 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1048              Amit Pawar  <Amit.Pawar@amd.com>
1050         [BZ #19583]
1051         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1052         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
1053         processors.  Set Fast_Copy_Backward for AMD Excavator
1054         processors.
1055         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
1056         New.
1057         (index_arch_Fast_Unaligned_Copy): Likewise.
1058         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
1059         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
1061 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1063         [BZ #19791]
1064         * resolv/res_send.c (close_and_return_error): New function.
1065         (send_dg): Initialize *resplen2 after reopen failure.  Call
1066         close_and_return_error for error returns.  On error paths without
1067         __res_iclose, initialze *resplen2 explicitly.  Update comment for
1068         successful return.
1070 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1072         [BZ# 19860]
1073         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
1074         zero if the compiler does not provide the AVX512F bit.
1076 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
1078         [BZ #19848]
1079         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
1080         from 8 to 4.
1081         (__ieee754_powl): Compare integer exponent against 4 not 8.
1082         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
1083         from 8 to 4.
1084         (__ieee754_powl): Compare integer exponent against 4 not 8.
1085         * math/auto-libm-test-in: Add more tests of pow.
1086         * math/auto-libm-test-out: Regenerated.
1087         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
1088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1090 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1092         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
1093         Make code unconditional.
1094         [!__NR_utimensat]: Remove conditional code.
1095         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
1096         Make code unconditional.
1097         [!__NR_utimensat]: Remove conditional code.
1098         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
1099         Make code unconditional.
1100         [!__NR_utimensat]: Remove conditional code.
1102 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1104         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
1105         Make code unconditional.
1107 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
1109         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
1110         call-clobbered %eax on retry path.
1111         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
1113 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1115         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
1116         Don't set %rcx twice before "rep movsb".
1118 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1120         [BZ #19583]
1121         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
1122         inline.  Check family before setting family, model and
1123         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
1124         bits here.
1125         (init_cpu_features): Replace HAS_CPU_FEATURE and
1126         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
1127         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
1128         for Intel processors with usable AVX2.  Call get_common_indeces
1129         for other processors with family == NULL.
1130         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
1131         (CPU_FEATURES_ARCH_P): Likewise.
1132         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
1133         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
1135 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1137         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
1138         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
1139         $(shared-thread-library) instead of hardcoding the path to libpthread.
1141 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
1143         * sysdeps/unix/sysv/linux/kernel-features.h
1144         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
1145         * sysdeps/unix/sysv/linux/getdents.c
1146         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
1147         [!have_no_getdents64_defined]: Likewise.
1148         (__GETDENTS): Remove __have_no_getdents64 conditional.
1150 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
1152         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
1153         Remove macro.
1154         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
1155         <kernel-features.h>.
1156         (signalfd) [__NR_signalfd4]: Make code unconditional.
1157         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
1159 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1161         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
1162         style.
1164 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1166         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
1167         (__pthread_enable_asynccancel): Use JUMPTARGET to call
1168         __pthread_unwind.
1169         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1170         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
1171         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1172         (__condvar_cleanup1): Likewise.
1174 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
1176         [BZ #19822]
1177         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
1178         move it to the final $@ location.
1180 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1182         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
1183         access where posix_spawn success and pid argument is null.
1184         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
1185         success case.
1187 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
1189         * sysdeps/mach/hurd/i386/c++-types.data: New file.
1191         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
1193         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
1194         and __fcntl.
1195         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
1196         __fcntl only.
1197         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
1198         adding attribute_hidden to __open and __fcntl.
1200         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
1201         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
1202         depend on libc-modules.h,
1203         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
1205 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
1207         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
1208         Remove macro.
1209         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
1210         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
1211         entry.
1213         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
1214         Remove macro.
1215         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
1216         include <kernel-features.h>.
1217         [!__ASSUME_FALLOCATE]: Remove conditional code.
1218         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
1220 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1222         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
1223         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
1224         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
1225         (_ZGVdN4v_cos_avx2): Likewise.
1226         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
1227         (_ZGVdN4v_cos): Likewise.
1228         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
1229         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
1230         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
1231         (_ZGVdN4v_exp_avx2): Likewise.
1232         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
1233         (_ZGVdN4v_exp): Likewise.
1234         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
1235         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
1236         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
1237         (_ZGVdN4v_log_avx2): Likewise.
1238         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
1239         (_ZGVdN4v_log): Likewise.
1240         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
1241         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
1242         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
1243         (_ZGVdN4vv_pow_avx2): Likewise.
1244         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
1245         (_ZGVdN4vv_pow): Likewise.
1246         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
1247         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
1248         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
1249         (_ZGVdN4v_sin_avx2): Likewise.
1250         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
1251         (_ZGVdN4v_sin): Likewise.
1252         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
1253         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
1254         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
1255         (_ZGVdN4vvv_sincos_avx2): Likewise.
1256         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
1257         (_ZGVdN4vvv_sincos): Likewise.
1258         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
1259         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
1260         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
1261         (_ZGVbN4v_cosf_sse4): Likewise.
1262         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
1263         (_ZGVdN8v_cosf_avx2): Likewise.
1264         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
1265         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
1266         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
1267         (_ZGVbN4v_expf_sse4): Likewise.
1268         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
1269         (_ZGVdN8v_expf_avx2): Likewise.
1270         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
1271         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
1272         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
1273         (_ZGVbN4v_logf_sse4): Likewise.
1274         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
1275         (_ZGVdN8v_logf_avx2): Likewise.
1276         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
1277         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
1278         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
1279         (_ZGVbN4vv_powf_sse4): Likewise.
1280         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
1281         (_ZGVdN8vv_powf_avx2): Likewise.
1282         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1283         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
1284         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1285         (_ZGVbN4vvv_sincosf_sse4): Likewise.
1286         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1287         (_ZGVdN8vvv_sincosf_avx2): Likewise.
1288         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
1289         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
1290         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
1291         (_ZGVbN4v_sinf_sse4): Likewise.
1292         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
1293         (_ZGVdN8v_sinf_avx2): Likewise.
1294         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1295         Use JUMPTARGET to call callee.
1296         (WRAPPER_IMPL_SSE2_ff): Likewise.
1297         (WRAPPER_IMPL_SSE2_fFF): Likewise.
1298         (WRAPPER_IMPL_AVX): Likewise.
1299         (WRAPPER_IMPL_AVX_ff): Likewise.
1300         (WRAPPER_IMPL_AVX_fFF): Likewise.
1301         (WRAPPER_IMPL_AVX512): Likewise.
1302         (WRAPPER_IMPL_AVX512_ff): Likewise.
1303         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1304         Likewise.
1305         (WRAPPER_IMPL_SSE2_ff): Likewise.
1306         (WRAPPER_IMPL_SSE2_fFF): Likewise.
1307         (WRAPPER_IMPL_AVX): Likewise.
1308         (WRAPPER_IMPL_AVX_ff): Likewise.
1309         (WRAPPER_IMPL_AVX_fFF): Likewise.
1310         (WRAPPER_IMPL_AVX512): Likewise.
1311         (WRAPPER_IMPL_AVX512_ff): Likewise.
1312         (WRAPPER_IMPL_AVX512_fFF): Likewise.
1314 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1316         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
1317         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
1318         qualifier.
1319         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
1320         internal_function qualifiers.
1322 2016-03-15  Carlos O'Donell <carlos@redhat.com>
1324         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
1325         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
1326         * math/atest-exp.c (exp_mpn): Mark chk unused.
1327         * math/atest-exp2.c (exp_mpn): Likwise.
1328         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
1329         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
1331 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
1333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
1334         Remove macro.
1335         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
1336         <kernel-features.h>.
1337         [__NR_ppoll]: Make code unconditional.
1338         [!__ASSUME_PPOLL]: Remove conditional code.
1340         * sysdeps/unix/sysv/linux/kernel-features.h
1341         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
1342         (__ASSUME_ACCEPT4): Likewise.
1343         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1344         Define.
1345         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
1346         Likewise.
1347         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1348         Likewise.
1349         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
1350         Likewise.
1351         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
1352         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
1353         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1354         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1355         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1356         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1357         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1358         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1359         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1360         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1361         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1362         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1363         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1364         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1365         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1366         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1367         Likewise.
1368         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1369         Likewise.
1370         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1371         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1372         0x040300].
1373         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1374         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1375         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1376         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1377         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1378         0x030300].
1379         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
1380         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1381         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1382         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1383         0x040300].
1384         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1385         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1386         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1387         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1388         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1389         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1390         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1391         0x030300].
1392         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1393         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1394         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1395         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1396         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1397         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1398         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1399         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1400         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1401         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1402         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1403         0x040300].
1404         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1405         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1406         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1407         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1408         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1409         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1410         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1411         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1412         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1413         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1414         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1415         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1416         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1417         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1418         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1419         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1420         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1421         Likewise.
1422         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1423         Likewise.
1425 2016-03-15  Andreas Schwab  <schwab@suse.de>
1427         [BZ #19257]
1428         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
1429         statp->_u._ext.nscount as loop count.
1431 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
1433         * math/test-signgam-finite-c99.c: Also #undef
1434         __LIBC_INTERNAL_MATH_INLINES.
1435         * math/test-signgam-main.c: Likewise.
1437 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
1439         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
1440         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
1441         (MADV_FREE): Likewise.
1442         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
1443         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
1444         EPOLLEXCLUSIVE.
1446 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
1448         * timezone/README: Remove mention of checktab.awk. Mention wiki
1449         SharedSourceFiles.
1451 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
1453         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
1454         WUNTRACED.
1456 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1458         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
1459         order to match the type of p when calling atomic_exchange_acq().
1461 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1463         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
1464         cfi_offset calls.
1465         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
1466         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
1467         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
1468         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
1469         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
1471 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
1473         * timezone/checktab.awk: Removed.
1475 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
1477         * manual/math.texi (Errors in Math Functions): Document relaxed
1478         accuracy goals for IBM long double.
1479         * math/libm-test.inc (test_exceptions): Always allow spurious
1480         "underflow" and "inexact" exceptions for IBM long double.
1482 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
1484         [BZ #19762]
1485         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1486         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
1487         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1488         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
1489         (bit_arch_*): This for feature array.
1490         (bit_*): Renamed to ...
1491         (bit_cpu_*): This for cpu array.
1492         (index_*): Renamed to ...
1493         (index_arch_*): This for feature array.
1494         (index_*): Renamed to ...
1495         (index_cpu_*): This for cpu array.
1496         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
1497         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
1498         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
1499         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
1500         bit_##name with index_cpu_##name and bit_cpu_##name.
1501         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
1502         bit_##name with index_arch_##name and bit_arch_##name.
1504 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
1506         [BZ #19792]
1507         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1508         Terminate FDE before return label.
1510 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
1512         [BZ #19790]
1513         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
1514         (rintl): Define as macro.
1515         [USE_AS_NEARBYINTL] (__rintl): Likewise.
1516         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
1517         of fesetround.  Ensure results are evaluated before end of scope.
1518         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
1519         USE_AS_NEARBYINTL and include s_rintl.c.
1520         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
1521         Disable exception traps in new environment.
1522         (libc_feholdsetround_ppc_ctx): Likewise.
1524 2016-03-08  Roland McGrath  <roland@hack.frob.com>
1526         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
1527         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
1528         (tst_audit10_aux) [__AVX512F__]: ... here.
1530 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
1532         * include/sys/auxv.h: New file.
1534 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1536         [BZ #19759]
1537         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
1539 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1541         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
1542         operand modifier.
1543         (feclearexcept): Likewise.
1545 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1547         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
1548         to reflect the entire 32-bit HWCAP.
1549         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
1550         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
1552 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1554         [BZ #19783]
1555         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
1556         $(test-via-rtld-prefix).
1557         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
1559 2016-03-08  Florian Weimer  <fweimer@redhat.com>
1561         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
1562         union wait.  Report any non-zero exit status as error.
1564 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1566         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
1567         configured with --enable-hardcoded-path-in-tests.
1569 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
1571         [BZ #19677]
1572         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1573         (__ieee754_remainderl): Put zero low parts in canonical form.
1574         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
1575         file.  Based on
1576         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
1577         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
1578         with wrapper round test-fmodrem-ldbl-128ibm.c.
1579         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
1580         file.
1581         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
1582         Likewise.
1583         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1584         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
1586 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1588         [BZ #19610]
1589         * elf/ldconfig.c (opt_link): Update comment.
1590         (options): Update help string for option -X.
1591         (search_dir): Unlink stale symbolic link only if updating symbolic
1592         links.
1593         * elf/tst-ldconfig-X.sh: New file.
1594         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
1595         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
1597 2016-03-07  Andreas Schwab  <schwab@suse.de>
1599         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
1600         needed arguments.
1602 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
1604         [BZ #15333]
1605         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
1606         to lstat64.
1608 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1610         * libio/filedoalloc.c (isatty): Remove.
1611         (local_isatty): Add comment.  Call __isatty directly.
1612         (_IO_file_doallocate): Update comment.  Assume _LIBC.
1613         * libio/wfiledoalloc.c (isatty): Remove.
1614         (_IO_wfile_doallocate): Update comment.
1616 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1618         [BZ #19269]
1619         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
1620         tst-audit4-aux.o.
1621         (tst-audit10): Depend on tst-audit10-aux.o.
1622         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
1623         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
1624         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
1625         instead of inline AVX code.
1626         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
1627         instead of inline AVX512 code.
1628         * sysdeps/x86_64/tst-audit4-aux.c: New file
1629         * sysdeps/x86_64/tst-audit10-aux.c: New file
1631         [BZ #19648]
1632         * test-skeleton.c (main): Do not set RLIMIT_DATA.
1634 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1636         [BZ #14750]
1637         [BZ #10354]
1638         [BZ #18433]
1639         * include/sched.h (__clone): Add hidden prototype.
1640         (__clone2): Likewise.
1641         * include/unistd.h (__dup): Likewise.
1642         * posix/Makefile (tests): Add tst-spawn2.
1643         * posix/tst-spawn2.c: New file.
1644         * sysdeps/posix/dup.c (__dup): Add hidden definition.
1645         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
1646         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1647         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1648         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1649         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1650         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
1651         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1652         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
1653         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1654         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1656         Likewise.
1657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1658         Likewise.
1659         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1660         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1661         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1662         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1663         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1664         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1665         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1666         * sysdeps/unix/sysv/linux/nptl-signals.h
1667         (____nptl_is_internal_signal): New function.
1668         * sysdeps/unix/sysv/linux/spawni.c: New file.
1670         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
1671         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
1672         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
1673         * posix/tst-execvp2.c (do_test): Likewise.
1674         * posix/tst-execvp3.c (do_test): Likewise.
1675         * posix/tst-execvp4.c (do_test): Likewise.
1676         * posix/tst-execvpe1.c: New file.
1677         * posix/tst-execvpe2.c: Likewise.
1678         * posix/tst-execvpe3.c: Likewise.
1679         * posix/tst-execvpe4.c: Likewise.
1680         * posix/tst-execvpe5.c: Likewise.
1681         * posix/tst-execvpe6.c: Likewise.
1683         [BZ #19534]
1684         * posix/execl.c (execl): Remove dynamic memory allocation.
1685         * posix/execle.c (execle): Likewise.
1686         * posix/execlp.c (execlp): Likewise.
1688 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1690         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
1691         Replace .text with .text.avx512.
1692         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1693         Likewise.
1695 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
1697         * sysdeps/generic/libnsl.abilist: New file.
1698         * sysdeps/generic/libutil.abilist: New file.
1700 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1702         [BZ #19762]
1703         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
1704         HAS_ARCH_FEATURE with Fast_Rep_String.
1705         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
1706         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
1707         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
1708         Likewise.
1709         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
1710         Likewise.
1711         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
1712         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
1713         Likewise.
1714         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
1715         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
1716         Likewise.
1718 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1720         [BZ #19745]
1721         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
1722         with *%rax in call.
1724 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1726         [BZ #19745]
1727         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
1728         with *__libc_start_main@GOTPCREL(%rip) in call.
1730 2016-03-04  Roland McGrath  <roland@hack.frob.com>
1732         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
1733         inside conditional for nonempty $(CXX).
1735         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
1736         nonempty.
1738         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
1739         to test for empty $(CXX) rather than $(CXX) of "no".
1741 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1743         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
1745 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
1746             H.J. Lu  <hongjiu.lu@intel.com>
1748         [BZ #18880]
1749         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
1750         instead of Slow_BSF, and also check for Fast_Copy_Backward to
1751         enable __memcpy_ssse3_back.
1753 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1755         [BZ #19758]
1756         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1757         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
1759 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
1761         [BZ #19490]
1762         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
1763         (__fentry__): Likewise.
1765 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1767         * gmon/Makefile (noprof): Add $(sysdep_noprof).
1768         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
1770 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1772         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
1773         __mcount_internal directly.
1774         (C_LABEL(__fentry__)): Likewise.
1775         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
1776         directly.
1778 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1780         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1781         (__start_context): Call __setcontext directly.
1783 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
1785         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1786         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1787         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
1788         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1789         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1790         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1791         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
1792         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1793         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1794         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
1795         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1796         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1797         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1798         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1799         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1800         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1801         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
1802         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1803         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1804         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1805         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
1806         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1807         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1808         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1809         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
1810         Remove conditional code.
1811         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1812         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1813         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1814         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1815         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1816         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1817         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1818         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1819         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1820         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1821         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1822         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1824 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
1826         * NEWS (2.23): Fix typo in bug 19048 text.
1828 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
1830         [BZ #14259]
1831         * Makeconfig: Rename msgcatdir to localedir.
1832         Rename inst_msgcatdir to inst_localedir.
1833         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1834         * config.make.in: Add localedir.
1835         * elf/Makefile ($(objpfx)sotruss): Use localedir.
1836         (ldd-rewrite): Likewise.
1837         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1838         (install-others): Use inst_localedir.
1839         (CPPFLAGS): Use localedir.
1840         * locale/Makefile (locale-CPPFLAGS): Likewise.
1841         * po/Makefile (mo-installed): Use inst_localedir.
1843         [BZ #19575]
1844         * localedata/charmaps/GB18030: Update comments regarding PAU to
1845         non-PUA mappings.
1847 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
1849         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1850         test for header.
1851         * sysdeps/unix/sysv/linux/configure: Regenerated.
1852         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1853         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1854         Remove conditional code.
1855         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1857         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1858         Define to 3.2.0.
1859         (arch_minimum_kernel): Likewise.
1860         * sysdeps/unix/sysv/linux/configure: Regenerated.
1861         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1862         Define to 2.6.32.
1863         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1864         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1865         (arch_minimum_kernel): Define to 2.6.32.
1866         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1867         * README: Document Linux 3.2 requirement.
1868         * manual/install.texi (Linux): Document Linux 3.2 headers
1869         requirement.
1870         * INSTALL: Regenerated.
1872 2016-02-24  Andreas Schwab  <schwab@suse.de>
1874         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
1875         if !NO_LONG_DOUBLE.
1877 2016-02-22  Roland McGrath  <roland@hack.frob.com>
1879         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
1880         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
1882 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
1884         [BZ #19512]
1885         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
1887 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1889         * posix/tst-dir.c: Include libc-internal.h.
1891 2016-02-20  Florian Weimer  <fweimer@redhat.com>
1893         [BZ #19056]
1894         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
1895         * manual/filesys.texi (Reading/Closing Directory): Mention
1896         deprecaion.
1897         * posix/tst-dir.c (main): Disable deprecation warning in test.
1899 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
1901         [BZ #19679]
1902         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
1903         Renamed to ...
1904         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
1905         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1906         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
1907         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1908         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1909         * sysdeps/x86_64/dl-trampoline.h
1910         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1911         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1913 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1915         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
1917 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1919         * elf/elf.h (R_386_GOT32X): New.
1920         (R_386_NUM): Update.
1921         (R_X86_64_GOTPCRELX: New.
1922         (R_X86_64_REX_GOTPCRELX): New.
1923         (R_X86_64_NUM): Update.
1925 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
1927         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
1929 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
1931         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
1932         assign attr->stackaddr to it, and adjust it down when
1933         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
1934         [_STACK_GROWS_UP]: Delete assert.
1935         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
1936         Implement stack grows up logic.
1937         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
1938         stack grows up logic.
1940 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1942         * NEWS: Update with 2.24 template.
1944 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1946         [BZ #19678]
1947         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1948         Ensure +0.0 is returned when taking the next value below the least
1949         positive value.
1951 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1953         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
1954         available.  Do not define NO_THREADS.
1955         * malloc/malloc.c: Do not check NO_THREADS.
1956         * malloc/arena.c: Likewise.
1958 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1960         * malloc/malloc.c (__libc_mallinfo): Update comment.
1961         (struct malloc_par): Remove max_total_mem member, it was always 0.
1962         (int_mallinfo): Store 0 into usmblks (no functional change).
1963         * malloc/hooks.c (struct malloc_state): Document that
1964         max_total_mem is always 0.
1965         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1966         always 0.
1967         * manual/memory.texi (Statistics of Malloc): Likewise.
1969 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1971         * malloc/malloc.c (sysmalloc): Do not update arena_max.
1972         * malloc/arena.c (arena_max): Remove.
1973         (heap_trim, _int_new_arena): Do not update arena_max.
1975 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1977         * resolv/res_init.c (res_ninit): Update comment.
1979 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1981         [BZ #19505]
1982         * posix/spawn_int.h: Add headers and include guard.
1983         (__spawn_valid_fd): New function.
1984         * posix/spawn_faction_addopen.c
1985         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
1986         * posix/spawn_faction_addclose.c
1987         (posix_spawn_file_actions_addclose): Likewise.
1988         * posix/spawn_faction_adddup2.c
1989         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
1990         second file descriptor.
1991         * posix/spawn_valid_fd.c: New file.
1992         * posix/tst-posix_spawn-fd.c: New file.
1993         * posix/Makefile (routines): Add spawn_valid_fd.
1994         (tests): Add tst-posix_spawn-fd.
1996 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1998         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1999         (do_test): Limit the number of arenas, so that we can use fewer
2000         outer threads.  Limit timeout to 3 seconds, in preparation for a
2001         larger TIMEOUT value.
2003 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2005         [BZ #19674]
2006         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
2007         sign in overflowing and underflowing results when overflow or
2008         underflow is detected early.  Include sign in result before rather
2009         than after scaling.
2011         [BZ #19603]
2012         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2013         (__ieee754_remainderl): Adjust sign of integer version of low part
2014         when taking absolute value of high part.
2015         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2016         * math/libm-test.inc (remainder_test_data): Add another test.
2017         (remquo_test_data): Likewise.
2019 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
2021         [BZ #19602]
2022         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
2023         equal high parts and both low parts zero specially.
2024         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
2025         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2026         Add test-fmodl-ldbl-128ibm.
2028         [BZ #19595]
2029         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
2030         common logic for all cases of shifting subnormal results.  Do not
2031         insert sign bit in shifted mantissa.  Always pass -1023 as biased
2032         exponent to ldbl_insert_mantissa in subnormal case.
2034         [BZ #19594]
2035         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
2036         on high and low parts then adjust result and use
2037         ldbl_canonicalize_int if needed.
2039         [BZ #19593]
2040         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
2041         on high part and __floor or __ceil on low part then use
2042         ldbl_canonicalize_int if needed.
2044         [BZ #19592]
2045         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
2046         high and low parts then use ldbl_canonicalize_int if needed.
2048         [BZ #17899]
2049         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2050         New function.
2051         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
2052         on high and low parts then use ldbl_canonicalize_int if needed.
2054 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2056         * configure: Regenerated.
2058         * po/libc.pot: Regenerated.
2060         * po/be.po: Updated translation.
2061         * po/bg.po: Likewise.
2062         * po/ca.po: Likewise.
2063         * po/cs.po: Likewise.
2064         * po/da.po: Likewise.
2065         * po/el.po: Likewise.
2066         * po/eo.po: Likewise.
2067         * po/es.po: Likewise.
2068         * po/fi.po: Likewise.
2069         * po/fr.po: Likewise.
2070         * po/gl.po: Likewise.
2071         * po/hr.po: Likewise.
2072         * po/hu.po: Likewise.
2073         * po/ia.po: Likewise.
2074         * po/id.po: Likewise.
2075         * po/it.po: Likewise.
2076         * po/ja.po: Likewise.
2077         * po/lt.po: Likewise.
2078         * po/nb.po: Likewise.
2079         * po/nl.po: Likewise.
2080         * po/pt_BR.po: Likewise.
2081         * po/rw.po: Likewise.
2082         * po/sk.po: Likewise.
2083         * po/sl.po: Likewise.
2084         * po/sv.po: Likewise.
2085         * po/tr.po: Likewise.
2086         * po/zh_CN.po: Likewise.
2087         * po/zh_TW.po: Likewise.
2089         * version.h (RELEAES): Set to "development".
2090         (VERSION): Set to 2.23.90.
2092         * version.h (RELEASE): Set to "stable".
2093         (VERSION): Set to 2.23.
2094         * include/feature.h (__GLIBC_MINOR__): Set to 23.
2096         * NEWS: Updated fixed bugs.
2098 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
2099             Wilco Dijkstra  <wdijkstr@arm.com>
2101         [BZ #19462]
2102         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
2103         (_STRING_INLINE_unaligned): This.
2104         * include/string.h: Include <string_private.h>.
2105         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
2106         _STRING_INLINE_unaligned.
2107         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
2108         (_STRING_INLINE_unaligned): New.
2109         * sysdeps/aarch64/string_private.h: New file.
2110         * sysdeps/generic/string_private.h: Likewise.
2111         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
2112         * sysdeps/s390/string_private.h: Likewise.
2113         * sysdeps/x86/string_private.h: Likewise.
2114         * sysdeps/m68k/m680x0/m68020/bits/string.h
2115         (_STRING_ARCH_unaligned): Renamed to ...
2116         (_STRING_INLINE_unaligned): This.
2117         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
2118         to ...
2119         (_STRING_INLINE_unaligned): This.
2120         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
2121         to ...
2122         (_STRING_INLINE_unaligned): This.
2123         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
2124         to ...
2125         (_STRING_INLINE_unaligned): This.
2127 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2128             H.J. Lu  <hongjiu.lu@intel.com>
2130         [BZ #19590]
2131         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
2132         relocation.
2134 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
2136         [BZ #18665]
2137         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
2138         *herrno_p.
2139         (gaih_getanswer): Document functional behviour. Return tryagain
2140         if any result is tryagain.
2141         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
2142         when freed.
2143         * resolv/res_send.c: Add copyright text.
2144         (__libc_res_nsend): Document that MAXPACKET is expected.
2145         (send_vc): Document. Remove buffer reuse.
2146         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
2147         size of the buffer. Add Dprint for truncated UDP buffer.
2149 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
2151         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
2152         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
2153         * INSTALL: Regenerate.
2155 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
2156             Jonathan Wakely  <jwakely@redhat.com>
2157             Carlos O'Donell  <carlos@redhat.com>
2159         [BZ 19439]
2160         * math/Makefile (tests): Add test-math-isinff.
2161         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
2162         * math/bits/mathcalls.h [__USE_MISC]: Use
2163         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
2164         functions not in C++11 and which don't conflict e.g. isinff,
2165         isinfl etc.
2166         * math/test-math-isinff.cc: New file.
2168 2016-02-12  Florian Weimer  <fweimer@redhat.com>
2170         * misc/bug18240.c (do_test): Set RLIMIT_AS.
2172 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2174         [BZ #19529]
2175         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
2177 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2179         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2181 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
2183         [BZ #19550]
2184         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
2185         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
2186         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
2187         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
2188         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
2189         New syscall entry.
2190         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
2191         New syscall entry.
2192         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
2193         syscall entry.
2195 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
2197         [BZ #18240]
2198         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
2199         unsigned int wraparound.
2201 2016-01-27  Florian Weimer  <fweimer@redhat.com>
2203         [BZ #18240]
2204         * misc/bug18240.c: New test.
2205         * misc/Makefile (tests): Add it.
2207 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
2208             Joseph Myers  <joseph@codesourcery.com>
2210         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
2211         load in branch delay slot when less than a word of input left.
2213 2016-01-27  Andreas Schwab  <schwab@suse.de>
2215         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
2216         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
2217         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
2218         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
2220 2016-01-26  David S. Miller  <davem@davemloft.net>
2222         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
2224 2016-01-25  David S. Miller  <davem@davemloft.net>
2226         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
2227         __sqrtl_finite.
2228         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
2229         instead using versioned_symbol.
2230         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
2231         of entries.
2233         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
2234         __sqrtl_finite to GLIBC_2.23
2236 2016-01-25  Ricchard Henderson  <rth@redhat.com>
2238         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2240 2016-01-25  Andreas Schwab  <schwab@suse.de>
2242         [BZ #17514]
2243         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
2244         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
2245         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
2246         * nptl/tst-mutex-errorcheck.c: New file.
2248 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2250         [BZ #18560]
2251         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
2252         (IPCOP_semop): Likewise.
2253         (IPCOP_semget): Likewise.
2254         (IPCOP_semctl): Likewise.
2255         (IPCOP_msgsnd): Likewise.
2256         (IPCOP_msgrcv): Likewise.
2257         (IPCOP_msgget): Likewise.
2258         (IPCOP_msgctl): Likewise.
2259         (IPCOP_shmat): Likewise.
2260         (IPCOP_shmdt): Likewise.
2261         (IPCOP_shmget): Likewise.
2262         (IPCOP_shmctl): Likewise.
2264 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2266         * string/tst-endian.c: Include <libc-internal.h>.
2267         (do_test): Ignore tautological-compare warnings around
2268         "htobeXX (beXXtoh (i)) != i" and
2269         "htoleXX (leXXtoh (i)) != i" if-statements.
2271 2016-01-24  David S. Miller  <davem@davemloft.net>
2273         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
2274         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
2275         alias.
2276         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2277         __sqrtl_finite.
2279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2281 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
2283         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
2284         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
2285         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2287 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2289         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
2290         (thread_func): Use new function to simplify barrier check.
2291         (do_test): Use new function to simplify checking barrier exit
2292         code, and actually join the child thread.
2294 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2296         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
2297         semicolon.
2298         (__libc_tend): Likewise.
2299         (__libc_tabort): Likewise.
2301 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
2303         * sysdeps/nios2/libm-test-ulps: Update.
2304         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
2305         (__gtsf2): Likewise.
2306         (__unorddf2): Likewise.
2307         (__unordsf2): Likewise.
2308         (__ledf2): Likewise.
2310 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
2312         * nis/nis_table.c (__follow_path): Disable diagnostic for
2313         uninitialized variable that is a false positive for gcc 4.7.
2314         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
2316 2016-01-20  Roland McGrath  <roland@hack.frob.com>
2318         * sysdeps/nacl/lowlevellock-futex.h
2319         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
2320         Always evaluate PRIVATE argument.
2322 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
2324         [BZ #19490]
2325         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
2326         (pthread_cond_broadcast): Use ENTRY/END
2327         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
2328         (pthread_cond_signal): Likewise.
2329         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
2330         Likewise.
2331         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
2332         Likewise.
2333         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
2334         Likewise.
2336 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
2338         * sysdeps/ieee754/dbl-64/s_finite.c
2339         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
2340         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
2341         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
2342         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
2343         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
2345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2346         (__gtsf2): Add as optional for libc.so.
2347         (__unordsf2): Likewise.
2348         (__signbit): Remove for libc.so.
2349         (__signbitl): Likewise.
2351 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2353         * iconvdata/bug-iconv11.c (test_ibm93x):
2354         Use %zu printf format specifier for size_t argument.
2356 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
2358         * math/gen-libm-test.pl (parse_ulps): Do not reduce
2359         already-recorded ulps.
2360         * sysdeps/arm/libm-test-ulps: Regenerated.
2361         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2362         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2363         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2365 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2366             Paul Pluzhnikov  <ppluzhnikov@google.com>
2368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
2369         assembler not supporting AVX-512.
2371 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2373         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2375 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
2377         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2378         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2380         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2382         * sysdeps/arm/libm-test-ulps: Regenerated.
2384 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2386         [BZ #19451]
2387         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
2389 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2391         [BZ #19486]
2392         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
2393         * sysdeps/generic/fix-fp-int-convert-overflow.h
2394         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
2395         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
2396         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
2397         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
2398         Likewise.
2399         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
2400         Avoid conversions to long int where inexact exceptions
2401         could be raised.
2402         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
2403         Likewise.
2404         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
2405         Avoid conversions to long long int where inexact exceptions
2406         could be raised.
2407         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
2408         Likewise.
2410 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
2412         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
2413         * configure: Regenerated.
2415 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
2417         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
2419 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
2421         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
2422         outside of comment.
2424 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2426         * nptl/tst-barrier1.c: Add description on first line.
2427         * nptl/tst-barrier2.c: Likewise.
2428         * nptl/tst-barrier3.c: Likewise.
2429         * nptl/tst-barrier4.c: Likewise.
2430         * nptl/tst-barrier5.c: Likewise.
2432 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2434         [BZ #18868]
2435         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
2437 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
2439         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
2440         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2441         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
2442         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
2443         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
2444         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
2445         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2446         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2447         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2448         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2449         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2451 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2453         [BZ #13065]
2454         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
2455         new implementation.
2456         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
2457         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
2458         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
2459         (BARRIER_IN_THRESHOLD): New macro.
2460         * nptl/pthread_barrierattr_setpshared.c
2461         (pthread_barrierattr_setpshared): Clean up.
2462         * nptl/tst-barrier4.c: Correct comment.
2463         * nptl/tst-barrier5.c: New file.
2464         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
2465         (gen-as-const-headers): Remove lowlevelbarrier.sym.
2466         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
2467         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
2468         * nptl/lowlevelbarrier.sym: Remove.
2469         * nptl/DESIGN-barrier.txt: Remove.
2470         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
2471         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
2472         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
2473         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
2474         error.
2475         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
2476         implementation.
2478 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2480         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
2481         (do_child): Mask SIGRTMIN while thr is running.
2483 2016-01-15  Martin Sebor  <msebor@redhat.com>
2485         [BZ #19432]
2486         * iconvdata/Makefile: Add bug-iconv11.
2487         * iconvdata/bug-iconv11.c: New test.
2488         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
2489         * iconvdata/ibm933.c: Same.
2490         * iconvdata/ibm935.c: Same.
2491         * iconvdata/ibm937.c: Same.
2492         * iconvdata/ibm939.c: Same.
2494 2016-01-15  Martin Sebor  <msebor@redhat.com>
2496         [BZ #19443]
2497         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
2498         [DEBUG] (_ufc_set_bits): Declare used.
2499         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
2500         [DEBUG] (print_all): Declare used.
2501         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
2502         operands of the ternary ?: expression to target type.
2503         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
2504         calling the undeclared abort.
2505         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
2507 2016-01-15  Martin Sebor  <msebor@redhat.com>
2509         [BZ #18755]
2510         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
2511         warnings.
2512         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
2513         (__gai_create_helper_thread): Same.
2514         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
2515         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
2516         to suppress -Wmaybe-uninitialized warnings.
2518 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
2520         [BZ #19465]
2521         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
2522         inside if.
2523         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2524         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2525         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2527 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
2529         [BZ #19466]
2530         * time/tst-mktime2.c (time_t_max): Removed.
2531         (time_t_min): Likewise.
2532         (TYPE_SIGNED): New.
2533         (TYPE_MINIMUM): Likewise.
2534         (TYPE_MAXIMUM): Likewise.
2535         (TIME_T_MIN): Likewise.
2536         (TIME_T_MAX): Likewise.
2537         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
2538         and TIME_T_MIN.
2539         (do_test): Likewise.
2541 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
2543         [BZ #19467]
2544         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2545         index_Fast_Unaligned_Load flag for Excavator family CPUs.
2547 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
2549         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
2551 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
2553         * benchtests/Makefile (PYTHON): Define.
2554         (bench-func): Use $(PYTHON) to run python scripts.
2555         ($(objpfx)bench-%.c): Likewise.
2557 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
2559         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
2560         leading slash when `file_name' is "/".
2562 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
2564         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
2565         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
2566         Likewise.
2567         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
2568         Likewise.
2569         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
2570         Likewise.
2571         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
2572         enum constant and macro.
2573         (PTRACE_SETSIGMASK): Likewise.
2574         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2575         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2576         (PTRACE_GETSIGMASK): Likewise.
2577         (PTRACE_SETSIGMASK): Likewise.
2578         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2579         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
2580         Likewise.
2581         (PTRACE_SETSIGMASK): Likewise.
2582         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2583         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2584         (PTRACE_GETSIGMASK): Likewise.
2585         (PTRACE_SETSIGMASK): Likewise.
2586         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2587         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
2588         Likewise.
2589         (PTRACE_SETSIGMASK): Likewise.
2590         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2591         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
2592         Likewise.
2593         (PTRACE_SETSIGMASK): Likewise.
2594         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2595         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
2596         Likewise.
2597         (PTRACE_SETSIGMASK): Likewise.
2598         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2600 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2601             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2603         [BZ #19439]
2604         * math/bits/mathcalls.h
2605         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
2606         prototype.
2607         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
2609 2016-01-11  Andreas Schwab  <schwab@suse.de>
2611         [BZ #19253]
2612         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
2613         cache when TZDEFRULES was used.
2614         * time/tst-tzname.c: New file.
2615         * time/Makefile (test): Add tst-tzname.
2616         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
2617         * timezone/Makefile (test-zones): Add $(posixrules-file).
2618         ($(testdata)/$(posixrules-file)): New rule.
2620 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
2622         Fix doc quoting problems with Texinfo 5
2623         Without this change, in the info file output, Texinfo 5 quotes code
2624         in text with undirected single quotes 'like this' and generates
2625         code examples that with many PDF readers cannot be cut out of PDFs
2626         and pasted into code.
2627         * manual/libc.texinfo: Configure the libc manual like the GNU
2628         Emacs manual, by using @documentencoding and setting
2629         txicodequoteundirected and txicodequotebacktick.  This way,
2630         Texinfo 5 quotes code in text with directed single quotes ‘like
2631         this’ and produces examples that can be cut out of PDFs.  This
2632         change causes Texinfo 5 to generate info files that contain UTF-8
2633         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
2634         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
2636 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2638         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
2639         __libc_tabort, __libc_tend): New wrappers that enforce compiler
2640         barriers to their respective compiler built-ins.
2641         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
2642         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
2643         * sysdeps/powerpc/sysdep.h: Likewise.
2644         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
2645         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
2646         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
2648 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
2650         * scripts/config.guess: Revert previous shebang change.
2651         * scripts/config.sub: Likewise.
2652         * scripts/mkinstalldirs: Likewise.
2654 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2656         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
2657         PPC_FEATURE2_HAS_IEEE128.
2658         * sysdeps/powerpc/dl-procinfo.c:
2659         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
2661 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
2663         [BZ #19415]
2664         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
2665         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
2666         (_dl_lookup_address): Rewrite using function resolver trampoline.
2667         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
2668         two bits in address.
2670 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2672         * longlong.h: Change !__SHMEDIA__ to
2673         (!defined (__SHMEDIA__) || !__SHMEDIA__).
2674         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
2676 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
2677             Joseph Myers  <joseph@codesourcery.com>
2678             Mark Shinwell  <shinwell@codesourcery.com>
2679             Andrew Stubbs  <ams@codesourcery.com>
2680             Rich Felker <dalias@libc.org>
2682         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
2684 2016-01-07  Richard Henderson  <rth@redhat.com>
2686         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
2688 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2690         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
2691         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
2692         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2693         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2694         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
2696 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2697             Joseph Myers  <joseph@codesourcery.com>
2699         * timezone/private.h: Update from tzcode 2015g.
2700         * timezone/tzfile.h: Likewise.
2701         * timezone/tzselect.ksh: Likewise.
2702         * timezone/zdump.c: Likewise.
2703         * timezone/zic.c: Likewise.
2704         * timezone/ialloc.c: Remove file.
2705         * timezone/scheck.c: Likewise.
2706         * timezone/Makefile (extra-objs): Remove variable.
2707         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
2708         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
2709         -Wno-maybe-uninitialized.
2710         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
2711         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
2712         (CFLAGS-ialloc.c): Remove variable.
2713         (CFLAGS-scheck.c): Likewise.
2714         * timezone/README: Update list of files from tzcode.
2716 2016-01-07  Khem Raj  <raj.khem@gmail.com>
2718         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
2719         instead of __fxprintf when _LIBC is undefined.
2721 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
2723         * catgets/test-gencat.sh: Remove space after shebang.
2724         * conform/GlibcConform.pm: Likewise.
2725         * conform/check-header-lists.sh: Likewise.
2726         * conform/conformtest.pl: Likewise.
2727         * conform/linknamespace.pl: Likewise.
2728         * conform/list-header-symbols.pl: Likewise.
2729         * debug/catchsegv.sh: Likewise.
2730         * elf/genrtldtbl.awk: Likewise.
2731         * elf/tst-pathopt.sh: Likewise.
2732         * elf/tst-rtld-load-self.sh: Likewise.
2733         * grp/tst_fgetgrent.sh: Likewise.
2734         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2735         * iconvdata/gen-8bit-gap.sh: Likewise.
2736         * iconvdata/gen-8bit.sh: Likewise.
2737         * iconvdata/run-iconv-test.sh: Likewise.
2738         * intl/tst-gettext.sh: Likewise.
2739         * intl/tst-gettext2.sh: Likewise.
2740         * intl/tst-gettext4.sh: Likewise.
2741         * intl/tst-gettext6.sh: Likewise.
2742         * intl/tst-translit.sh: Likewise.
2743         * io/ftwtest-sh: Likewise.
2744         * libio/test-freopen.sh: Likewise.
2745         * locale/gen-translit.pl: Likewise.
2746         * malloc/tst-mtrace.sh: Likewise.
2747         * manual/check-safety.sh: Likewise.
2748         * manual/libc-texinfo.sh: Likewise.
2749         * manual/tsort.awk: Likewise.
2750         * manual/xtract-typefun.awk: Likewise.
2751         * nptl/tst-cancel-wrappers.sh: Likewise.
2752         * nptl/tst-tls6.sh: Likewise.
2753         * posix/globtest.sh: Likewise.
2754         * posix/tst-getconf.sh: Likewise.
2755         * posix/wordexp-tst.sh: Likewise.
2756         * scripts/check-c++-types.sh: Likewise.
2757         * scripts/check-local-headers.sh: Likewise.
2758         * scripts/config.guess: Likewise.
2759         * scripts/config.sub: Likewise.
2760         * scripts/cpp: Likewise.
2761         * scripts/cross-test-ssh.sh: Likewise.
2762         * scripts/documented.sh: Likewise.
2763         * scripts/evaluate-test.sh: Likewise.
2764         * scripts/gen-libc-abis: Likewise.
2765         * scripts/gen-sorted.awk: Likewise.
2766         * scripts/list-fixed-bugs.py: Likewise.
2767         * scripts/merge-test-results.sh: Likewise.
2768         * scripts/mkinstalldirs: Likewise.
2769         * scripts/rellns-sh: Likewise.
2770         * scripts/test-installation.pl: Likewise.
2771         * scripts/update-copyrights: Likewise.
2772         * stdio-common/tst-printf.sh: Likewise.
2773         * stdio-common/tst-unbputc.sh: Likewise.
2774         * stdlib/tst-fmtmsg.sh: Likewise.
2775         * stdlib/tst-setcontext3.sh: Likewise.
2776         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
2777         * sysdeps/unix/make-syscalls.sh: Likewise.
2779 2016-01-06  John David Anglin  <dave.anglin@bell.net>
2781         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
2782         asm stw with atomic_exchange_rel.  Add explanatory comment.
2783         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2784         Likewise.
2786 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2788         [BZ #19122]
2789         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
2790         * sysdeps/generic/dl-unistd.h: New file.
2791         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
2793 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2795          [BZ #19122]
2796          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
2797          * sysdeps/generic/dl-mman.h: New file.
2798          * sysdeps/mach/hurd/dl-mman.h: Likewise.
2800 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
2802         * manual/texinfo.tex: Update to version 2016-01-04.21 with
2803         trailing whitespace removed.
2804         * scripts/config.guess: Update to version 2016-01-01.
2805         * scripts/config.sub: Update to version 2016-01-01.
2806         * scripts/move-if-change: Update from gnulib.
2808 2016-01-04  Anton Blanchard  <anton@samba.org>
2810         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2811         for array indices.
2812         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2814 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
2816         * NEWS: Update copyright dates.
2817         * catgets/gencat.c (print_version): Likewise.
2818         * csu/version.c (banner): Likewise.
2819         * debug/catchsegv.sh: Likewise.
2820         * debug/pcprofiledump.c (print_version): Likewise.
2821         * debug/xtrace.sh (do_version): Likewise.
2822         * elf/ldconfig.c (print_version): Likewise.
2823         * elf/ldd.bash.in: Likewise.
2824         * elf/pldd.c (print_version): Likewise.
2825         * elf/sotruss.sh: Likewise.
2826         * elf/sprof.c (print_version): Likewise.
2827         * iconv/iconv_prog.c (print_version): Likewise.
2828         * iconv/iconvconfig.c (print_version): Likewise.
2829         * locale/programs/locale.c (print_version): Likewise.
2830         * locale/programs/localedef.c (print_version): Likewise.
2831         * login/programs/pt_chown.c (print_version): Likewise.
2832         * malloc/memusage.sh (do_version): Likewise.
2833         * malloc/memusagestat.c (print_version): Likewise.
2834         * malloc/mtrace.pl: Likewise.
2835         * manual/libc.texinfo: Likewise.
2836         * nptl/version.c (banner): Likewise.
2837         * nscd/nscd.c (print_version): Likewise.
2838         * nss/getent.c (print_version): Likewise.
2839         * nss/makedb.c (print_version): Likewise.
2840         * posix/getconf.c (main): Likewise.
2841         * scripts/test-installation.pl: Likewise.
2842         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2844         * All files with FSF copyright notices: Update copyright dates
2845         using scripts/update-copyrights.
2846         * intl/plural.c: Regenerated.
2847         * locale/programs/charmap-kw.h: Likewise.
2848         * locale/programs/locfile-kw.h: Likewise.
2850 2016-01-02  Helge Deller  <deller@gmx.de>
2852         [BZ #19285]
2853         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2854         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2855         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2856         (MADV_xxK_PAGES): Remove.
2858 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
2860         [BZ #15421]
2861         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2862         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
2863         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2864         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2866 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
2868         [BZ #19408]
2869         * sysdeps/unix/sysv/linux/personality.c: New file.
2870         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
2871         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
2872         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2873         (sysdep_routines): Add personality.
2874         (tests): Add tst-personality.
2875         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
2876         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
2877         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
2878         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
2879         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
2880         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
2881         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
2882         Likewise.
2883         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
2884         Likewise.
2885         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
2886         Likewise.
2887         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
2888         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
2889         Likewise.
2891 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
2893         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
2894         (PATH_ARM_SYSTYPE): Remove.
2895         (PATH_CPUINFO): Likewise.
2896         (IO_BASE_FOOTBRIDGE): Likewise.
2897         (IO_SHIFT_FOOTBRIDGE): Likewise.
2898         (struct platform): Likewise.
2899         (init_iosys): Remove compatibility code for 2.4 kernels.
2900         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
2902 2015-12-29  Florian Weimer  <fweimer@redhat.com>
2904         * malloc/tst-malloc-thread-fail.c: New file.
2905         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
2906         (tst-malloc-thread-fail): Link against libpthread.
2908 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
2910         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
2911         (get_parser): New function.
2912         (main): New function.
2914 2015-12-29  Rob Wu  <rob@robwu.nl>
2916         [BZ #19369]
2917         * resolv/res_init.c (__res_vinit): Reset defdname before use.
2919 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
2921         [BZ #19270]
2922         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2924 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
2926         [BZ #15421]
2927         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
2929 2015-12-23  Torvald Riegel  <triegel@redhat.com>
2931         [BZ #13690]
2932         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
2933         after releasing it.
2934         (__lll_robust_unlock): Likewise.
2935         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2936         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
2937         (lll_robust_unlock): Likewise.
2938         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
2939         Prevent warnings in callers.
2941 2015-12-23  Florian Weimer  <fweimer@redhat.com>
2943         * malloc/arena.c (list_lock): Update comment.
2945 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2947         * sysdeps/powerpc/hwcapinfo.c: Export symbol
2948         __parse_hwcap_and_convert_at_platform to libc.a.
2950 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2952         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
2953         platform and feature support for POWER9.
2954         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2955         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
2956         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
2957         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
2958         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2959         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2960         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2961         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2963 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2965         Harmonize generic stdio-lock support with nptl
2967         This fixes build when _IO_funlockfile is a macro, fixes build where
2968         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
2969         stack unwind.
2971         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
2972         _IO_release_lock ): Use cleanup attribute on new
2973         _IO_acquire_lock_file variable instead of assuming that
2974         _IO_release_lock will be called.
2975         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
2976         _IO_acquire_lock_needs_exceptions_enabled.
2977         (_IO_acquire_lock_clear_flags2): New macro.
2979 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2981         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2983 2015-12-21  Florian Weimer  <fweimer@redhat.com>
2985         [BZ #19182]
2986         * malloc/arena.c (list_lock): Document lock ordering requirements.
2987         (free_list_lock): New lock.
2988         (ptmalloc_lock_all): Comment on free_list_lock.
2989         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
2990         (detach_arena): Update comment.  free_list_lock is now needed.
2991         (_int_new_arena): Use free_list_lock around detach_arena call.
2992         Acquire arena lock after list_lock.  Add comment, including FIXME
2993         about incorrect synchronization.
2994         (get_free_list): Switch to free_list_lock.
2995         (reused_arena): Acquire free_list_lock around detach_arena call
2996         and attached threads counter update.  Add two FIXMEs about
2997         incorrect synchronization.
2998         (arena_thread_freeres): Switch to free_list_lock.
2999         * malloc/malloc.c (struct malloc_state): Update comments to
3000         mention free_list_lock.
3002 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3004         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
3005         Remove functions.
3006         (sloww, sloww1): Accept argument to offset quadrant.
3007         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
3008         quadrant.
3009         (__sin, __cos): Consolidate common code into new functions.
3010         (reduce_sincos_1, do_sincos_1): New functions.
3011         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3013         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
3014         code to new functions.
3015         (reduce_sincos_2, do_sincos_2): New functions.
3016         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3018         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
3019         common code for sincos.
3020         (__cos) [!IN_SINCOS]: Likewise.
3021         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
3022         New function.
3023         (__sincos): Use it.
3025 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
3027         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
3028         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
3029         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3031 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3033         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
3034         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
3035         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3036         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
3037         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3038         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
3039         index_Prefer_No_VZEROUPPER): New feature.
3040         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
3041         Prefer_No_VZEROUPPER for Knights Landing.
3043 015-12-18  Torvald Riegel  <triegel@redhat.com>
3045         * math/atest-exp2.c (mp_exp_m1): Remove.
3047 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3049         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
3050         syscalls.
3051         (__SYSCALL0): New macro.
3052         (__SYSCALL1): Likewise.
3053         (__SYSCALL2): Likewise.
3054         (__SYSCALL3): Likewise.
3055         (__SYSCALL4): Likewise.
3056         (__SYSCALL5): Likewise.
3057         (__SYSCALL6): Likewise.
3058         (__SYSCALL_CONCAT_X): Likewise.
3059         (__SYSCALL_CONCAT): Likewise.
3060         (__SYSCALL_DIST): Likewise.
3061         (__SYSCALL_CALL): Likewise.
3063 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
3065         [BZ #19363]
3066         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
3068 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3070         [BZ #19375]
3071         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
3072         negative subnormals.
3074 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
3076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3077         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
3078         (INTERNAL_SYSCALL_NCS): Use it.
3079         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3081 2015-12-16  Florian Weimer  <fweimer@redhat.com>
3083         [BZ #19243]
3084         * malloc/arena.c (get_free_list): Remove assert and adjust
3085         reference count handling.  Add comment about reused_arena
3086         interaction.
3087         (reused_arena): Add comments abount get_free_list interaction.
3088         * malloc/tst-malloc-thread-exit.c: New file.
3089         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
3090         (tst-malloc-thread-exit): Link against libpthread.
3092 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3094         [BZ #19367]
3095         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
3096         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
3097         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3098         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
3099         (index_Prefer_MAP_32BIT_EXEC): Likewise.
3101 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3103         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
3104         Silvermont optimizations for Knights Landing.
3106 2015-12-15  Andreas Schwab  <schwab@suse.de>
3108         [BZ #17197]
3109         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
3110         immediately after emitting SI.
3111         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
3112         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
3113         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
3114         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
3115         * iconvdata/bug-iconv10.c: New file.
3116         * iconvdata/Makefile (tests): Add bug-iconv10.
3117         ($(objpfx)bug-iconv10.out): New rule.
3119 2015-12-15  Florian Weimer  <fweimer@redhat.com>
3121         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
3122         aliasing violation.
3124 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
3126         [BZ #18472]
3127         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
3128         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
3129         conditionals for them.
3130         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
3131         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
3132         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3133         sys/kdaemon.h.
3134         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
3135         compat-only syscall, obsoleted in glibc 2.23.
3136         (create_module): Likewise.
3137         (get_kernel_syms): Likewise.
3138         (query_module): Likewise.
3139         (uselib): Likewise.
3140         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
3142 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
3144         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
3145         <linux/version.h>.
3146         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
3147         conditional code.
3148         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
3149         and ioshift_name initialization.
3151 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3153         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3154         Fix indentation.
3156 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3158         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
3160 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3162         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
3164 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
3165             Jakub Wilk  <jwilk@debian.org>
3167         [BZ #19347]
3168         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
3169         to change the group of the device to the tty group.
3171 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
3173         Split large string section; add truncation advice
3174         * manual/examples/strncat.c: Remove.
3175         This example was misleading, as the code would have undefined
3176         behavior if "hello" was longer than SIZE.  Anyway, the manual
3177         shouldn't encourage strncpy+strncat for this sort of thing.
3178         * manual/string.texi (Copying Strings and Arrays): Split into
3179         three sections Copying Strings and Arrays, Concatenating Strings,
3180         and Truncating Strings, as this section was way too long.  All
3181         cross-referenced changed.  Add advice about string-truncation
3182         functions.  Remove misleading strncat example.
3184 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
3186         * manual/nss.texi (NSS Modules Interface): Document
3187         NSS_STATUS_NOTFOUND and SUCCESS.
3189 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
3191         [BZ 18568]
3192         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3193         201505L, for Unicode 8.
3195 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
3197         * locale/C-translit.h: Regenerate.
3199 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
3201         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
3202         and U+0153.
3204 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
3206         [BZ #19351]
3207         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
3208         expanding log(1+z), compare z rather than its square with epsilon
3209         to determine when to avoid evaluating the expansion.
3211         [BZ #19350]
3212         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
3213         Increase overflow threshold.
3215         [BZ #19349]
3216         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
3217         when small.
3219         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3220         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
3221         New macro.
3222         [__LINUX_KERNEL_VERSION >= 0x040300]
3223         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3224         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
3225         Likewise.
3226         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
3227         Likewise.
3228         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
3229         Likewise.
3230         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
3231         Likewise.
3232         [__LINUX_KERNEL_VERSION >= 0x040300]
3233         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
3234         [__LINUX_KERNEL_VERSION >= 0x040300]
3235         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3236         [__LINUX_KERNEL_VERSION >= 0x040300]
3237         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3238         [__LINUX_KERNEL_VERSION >= 0x040300]
3239         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3240         [__LINUX_KERNEL_VERSION >= 0x040300]
3241         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3242         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
3243         Likewise.
3244         [__LINUX_KERNEL_VERSION >= 0x040300]
3245         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3246         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3247         Likewise.
3248         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
3249         Likewise.
3250         [__LINUX_KERNEL_VERSION >= 0x040300]
3251         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
3252         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3253         Likewise.
3254         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
3255         Likewise.
3256         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3257         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
3258         Likewise.
3259         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
3260         Likewise.
3261         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
3262         Likewise.
3263         [__LINUX_KERNEL_VERSION >= 0x040300]
3264         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3265         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
3266         Likewise.
3267         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
3268         Likewise.
3269         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
3270         Likewise.
3271         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
3272         Likewise.
3273         [__LINUX_KERNEL_VERSION >= 0x040300]
3274         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
3275         [__LINUX_KERNEL_VERSION >= 0x040300]
3276         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3277         [__LINUX_KERNEL_VERSION >= 0x040300]
3278         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3279         [__LINUX_KERNEL_VERSION >= 0x040300]
3280         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3281         [__LINUX_KERNEL_VERSION >= 0x040300]
3282         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3283         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
3284         Likewise.
3285         [__LINUX_KERNEL_VERSION >= 0x040300]
3286         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3287         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3288         Likewise.
3289         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
3290         Likewise.
3291         [__LINUX_KERNEL_VERSION >= 0x040300]
3292         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
3293         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3294         Likewise.
3295         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
3296         Likewise.
3297         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3298         (__ASSUME_SOCKET_SYSCALL): Likewise.
3299         (__ASSUME_BIND_SYSCALL): Likewise.
3300         (__ASSUME_CONNECT_SYSCALL): Likewise.
3301         (__ASSUME_LISTEN_SYSCALL): Likewise.
3302         (__ASSUME_ACCEPT_SYSCALL): Likewise.
3303         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3304         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3305         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3306         (__ASSUME_SEND_SYSCALL): Likewise.
3307         (__ASSUME_SENDTO_SYSCALL): Likewise.
3308         (__ASSUME_RECV_SYSCALL): Likewise.
3309         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3310         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
3311         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3312         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3313         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3314         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3315         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3316         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
3317         Likewise.
3318         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
3319         Likewise.
3320         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
3321         Likewise.
3322         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
3323         Likewise.
3324         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
3325         Likewise.
3326         [__LINUX_KERNEL_VERSION >= 0x020625]
3327         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3328         [__LINUX_KERNEL_VERSION >= 0x020625]
3329         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3330         [__LINUX_KERNEL_VERSION >= 0x020625]
3331         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3332         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
3333         Likewise.
3334         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
3335         Likewise.
3336         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
3337         Likewise.
3338         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
3339         Likewise.
3340         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
3341         Likewise.
3342         [__LINUX_KERNEL_VERSION >= 0x020625]
3343         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3344         [__LINUX_KERNEL_VERSION >= 0x020625]
3345         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3346         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
3347         Likewise.
3348         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
3349         Likewise.
3351 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
3353         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
3354         record the current if the current ABI and CPU support the FP64
3355         extension.
3356         (has-modd-spreg): Define to record the current if the current ABI and
3357         CPU support 32-bit floating point values in odd FPU registers.
3358         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3359         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
3360         $(has-modd-spreg) equals yes.
3361         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
3362         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
3363         $(has-modd-spreg) equal yes.
3365 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
3367         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
3368         basename.
3370 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
3372         * benchtests/Makefile (bench-math): Move ffs and ffsll...
3373         (bench-string): ... here.
3374         (bench): Add bench-string.
3375         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
3376         to *-benchset to reflect what they are.
3377         (benchset): Adjust.
3379         * benchtests/sincos-inputs: Add inputs from sin-inputs and
3380         cos-inputs.
3382 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
3384         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
3385         __attribute__ ((__simd__)) for vector math function declarations.
3387 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3389         Fix typo in strncat, wcsncat manual entries
3390         * manual/string.texi (Copying and Concatenation): Fix typos in
3391         sample implementations of strncat and wcsncat, by having them use
3392         the old value of the destination length, not the new one.
3394 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
3396         [BZ #16961]
3397         [BZ #16962]
3398         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
3399         string on the stack for strtod.
3400         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
3401         a string on the stack for strtof.
3402         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
3403         constructing a string on the stack for strtold.
3404         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
3405         __strtold_nan to GLIBC_PRIVATE.
3406         * math/test-nan-overflow.c: New file.
3407         * math/test-nan-payload.c: Likewise.
3408         * math/Makefile (tests): Add test-nan-overflow and
3409         test-nan-payload.
3411 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3413         Consistency about byte vs character in string.texi
3414         * manual/string.texi (String and Array Utilities):
3415         Distinguish more carefully among bytes, multibyte characters,
3416         and wide characters.  Use "byte" when talking about C 'char',
3417         to distinguish it more clearly from multibyte characters.
3418         Say "wide character" or "multibyte character" instead of
3419         "character", when a wide or multibyte character is intended.
3420         Similarly for "multibyte string" versus "string".
3421         Define these terms more carefully.
3423 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
3425         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
3426         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
3427         Likewise.
3428         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3429         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3430         * sysdeps/sh/math_private.h: New file.
3431         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
3432         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
3433         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
3434         long double function name.
3435         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3436         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3437         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3438         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3439         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
3441         Remove __finitel, __isinfl, and __isnanl.
3442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3443         Likewise.
3444         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3446         Remove __finitel.
3447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3448         Likewise.
3449         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3451 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
3453         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
3454         installed libmvec_nonshared.a.
3456 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3458         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
3459         (sysdep_routines): Likewise.
3460         (sysdep-rtld-routines): Likewise.
3461         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
3462         [$(subdir) = nptl](tests-static): test-get_hwcap-static
3463         * sysdeps/powerpc/Versions: Added new
3464         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
3465         * sysdeps/powerpc/hwcapinfo.c: New file.
3466         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
3467         and parse hwcap, hwcap2 and platform number information.
3468         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
3469         to store HWCAP+HWCAP2 and platform number.
3470         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
3471         for HWCAP+HWCAP2 and platform number in the TCB.
3472         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
3473         the HWCAP, HWCAP2 and platform number in the TCB.
3474         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
3475         (TLS_INIT_TP): Included calls to add the hwcap and
3476         at_platform values in the TCB in TP initialization.
3477         (TLS_DEFINE_INIT_TP): Likewise.
3478         (THREAD_GET_HWCAP): New macro.
3479         (THREAD_SET_HWCAP): Likewise.
3480         (THREAD_GET_AT_PLATFORM): Likewise.
3481         (THREAD_SET_AT_PLATFORM): Likewise.
3482         * sysdeps/powerpc/powerpc32/dl-machine.h:
3483         (dl_platform_init): New function that calls
3484         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
3485         powerpc32.
3486         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
3487         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
3488         this functionality, static linking case.
3489         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
3490         linking case.
3491         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
3492         __parse_hwcap_and_convert_at_platform for the static linking case.
3493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
3494         Included the new __parse_hwcap_and_convert_at_platform symbol in the
3495         ABI list for GLIBC 2.23.
3496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
3497         Likewise.
3498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
3499         Likewise.
3501 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
3503         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
3504         * configure: Regenerate.
3505         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
3506         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
3508 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
3510         * iconvdata/ibm930.c: Add comment explaining encoding uses.
3511         * iconvdata/ibm933.c: Likewise.
3512         * iconvdata/ibm935.c: Likewise.
3513         * iconvdata/ibm937.c: Likewise.
3514         * iconvdata/ibm939.c: Likewise.
3516 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3518         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
3519         pthread_join.
3520         * nptl/tst-cancel21.c (tf): Likewise.
3522 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
3524         [BZ #19313]
3525         * bits/typesizes.h (__CPU_MASK_TYPE): New.
3526         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3527         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3528         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
3529         Likewise.
3530         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
3531         Likewise.
3532         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
3533         Likewise.
3534         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
3535         Likewise.
3536         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
3537         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
3538         unsigned long int with __CPU_MASK_TYPE.
3540 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3542         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3544 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
3546         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
3547         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
3548         t512.x.
3549         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
3551 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
3553         [BZ #19214]
3554         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
3555         argument to return extended model.  Update family and model
3556         with extended family and model when family == 0x0f.
3557         (init_cpu_features): Updated.
3559 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3561         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
3562         signed off_t, so 32bit bigger than 2GiB values are fine actually.
3564         * sysdeps/mach/hurd/mmap64.c: New file.
3566 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
3568         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
3569         rights for its main user thread in NEWTASK.
3571 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
3573         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
3574         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
3576 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
3578         [BZ #14259]
3579         * Makeconfig: Rename localedir to complocaledir.
3580         Rename inst_localedir to inst_complocaledir.
3581         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
3582         * config.make.in: Use complocaledir and libc_cv_complocaledir.
3583         * configure.ac: Use libc_cv_complocaledir.
3584         * configure: Regenerate.
3585         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
3586         -DCOMPLOCALEDIR.
3587         * locale/findlocale.c: Use COMPLOCALEDIR.
3588         * locale/loadarchive.c: Likewise.
3589         * locale/programs/locale.c: Likewise.
3590         * locale/programs/localedef.c: Likewise.
3591         * locale/programs/locarchive.c: Likewise.
3592         * localedata/Makefile: Use inst_complocaledir.
3593         * sysdeps/gnu/configure: Regenerate.
3594         * sysdeps/hppa/configure: Regenerate.
3595         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
3596         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3598         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
3599         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
3600         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
3601         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
3603 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
3605         [BZ #19058]
3606         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
3607         AS_NEEDED.
3608         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
3609         workaround.
3610         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
3611         libmvec-static-only-routines): Added new file.
3612         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
3614 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3616         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
3617         of interrupted RPC instead of restoring it.
3619         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
3620         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
3621         libc_hidden_def.
3622         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
3623         into initialized data instead of common. Define rtld_hidden_data_def.
3624         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
3625         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
3626         libc_hidden_def.
3627         (if_freenameindex): Add libc_hidden_weak.
3628         (if_nameindex): Add libc_hidden_weak.
3629         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
3630         __open64.
3631         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
3632         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
3633         * sysdeps/mach/nanosleep.c: Include <time.h>
3634         (__nanosleep): Rename to __libc_nanosleep.
3635         (__nanosleep): Add weak_alias.
3636         (nanosleep): Update alias.
3638 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
3640         * stdlib/strtod_nan.c: New file.
3641         * stdlib/strtod_nan_double.h: Likewise.
3642         * stdlib/strtod_nan_float.h: Likewise.
3643         * stdlib/strtod_nan_main.c: Likewise.
3644         * stdlib/strtod_nan_narrow.h: Likewise.
3645         * stdlib/strtod_nan_wide.h: Likewise.
3646         * stdlib/strtof_nan.c: Likewise.
3647         * stdlib/strtold_nan.c: Likewise.
3648         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
3649         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
3650         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
3651         * wcsmbs/wcstod_nan.c: Likewise.
3652         * wcsmbs/wcstof_nan.c: Likewise.
3653         * wcsmbs/wcstold_nan.c: Likewise.
3654         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
3655         strtold_nan.
3656         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
3657         wcstof_nan.
3658         * include/stdlib.h (__strtof_nan): Declare and use
3659         libc_hidden_proto.
3660         (__strtod_nan): Likewise.
3661         (__strtold_nan): Likewise.
3662         (__wcstof_nan): Likewise.
3663         (__wcstod_nan): Likewise.
3664         (__wcstold_nan): Likewise.
3665         * include/wchar.h (____wcstoull_l_internal): Declare.
3666         * stdlib/strtod_l.c: Do not include <ieee754.h>.
3667         (____strtoull_l_internal): Remove declaration.
3668         (STRTOF_NAN): Define macro.
3669         (SET_MANTISSA): Remove macro.
3670         (STRTOULL): Likewise.
3671         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
3672         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
3673         (STRTOF_NAN): Define macro.
3674         (SET_MANTISSA): Remove macro.
3675         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
3676         (SET_MANTISSA): Remove macro.
3677         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
3678         macro.
3679         (SET_MANTISSA): Remove macro.
3680         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
3681         macro.
3682         (SET_MANTISSA): Remove macro.
3683         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
3684         (SET_MANTISSA): Remove macro.
3685         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
3686         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
3687         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
3689         [BZ #19266]
3690         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
3691         upper case and lower case letters inside NAN(), not using TOLOWER.
3692         * stdlib/tst-strtod-nan-locale-main.c: New file.
3693         * stdlib/tst-strtod-nan-locale.c: Likewise.
3694         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
3695         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
3696         Depend on $(gen-locales).
3697         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
3698         * wcsmbs/tst-wcstod-nan-locale.c: New file.
3699         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
3700         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
3701         Depend on $(gen-locales).
3702         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
3704 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
3706         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
3708         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
3710         __finitel, __isinfl, and __isnanl.
3711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3712         Likewise.
3713         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
3715         __finitel.
3716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3717         Likewise.
3718         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3720 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3722         * malloc/memusage.c (me): Remove redundant getenv call.
3724 2015-10-24  Florian Weimer  <fweimer@redhat.com>
3726         [BZ #19143]
3727         [BZ #19164]
3728         * nptl/check-cpuset.h: Remove.
3729         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3730         Remove CPU set size check.
3731         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3732         Likewise.
3733         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
3734         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3735         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
3736         (__pthread_setaffinity_new): Remove CPU set size check.
3737         * sysdeps/unix/sysv/linux/sched_setaffinity.c
3738         (__kernel_cpumask_size): Remove.
3739         (__sched_setaffinity_new): Remove CPU set size check.
3740         * manual/threads.texi (Default Thread Attributes): Remove stale
3741         reference to check_cpuset_attr, determine_cpumask_size in comment.
3742         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
3743         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
3744         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
3745         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
3746         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
3747         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
3748         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
3749         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
3750         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
3751         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
3752         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
3753         skeleton test file.
3754         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
3755         tst-affinity-pid.
3757 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3759         * scripts/update-abilist.sh: New file.
3760         * Makefile (+subdir_targets): Add subdir_update-all-abi.
3761         * Makerules (update-all-abi-%, update-all-abi)
3762         (subdir_update-all-abi): New targets.
3763         * elf/Makefile (update-all-abi): New target.
3765 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3767         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
3768         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
3769         (__libc_lock_define_initialized): Use it.
3770         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
3771         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
3772         * malloc/malloc.c (main_arena): Likewise.
3773         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3774         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3776 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
3778         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3779         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
3780         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3781         (PTRACE_O_MASK): Update value.
3782         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
3783         New value in enum __ptrace_setoptions.
3784         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3785         (PTRACE_O_MASK): Update value.
3786         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3787         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3788         (PTRACE_O_MASK): Update value.
3789         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
3790         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3791         (PTRACE_O_MASK): Update value.
3792         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
3793         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3794         (PTRACE_O_MASK): Update value.
3795         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
3796         New value in enum __ptrace_setoptions.
3797         (PTRACE_O_MASK): Update value.
3798         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
3799         New value in enum __ptrace_setoptions.
3800         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3801         (PTRACE_O_MASK): Update value.
3803         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
3804         New macro.
3805         (PACKET_AUXDATA): Likewise.
3806         (PACKET_ORIGDEV): Likewise.
3807         (PACKET_VERSION): Likewise.
3808         (PACKET_HDRLEN): Likewise.
3809         (PACKET_RESERVE): Likewise.
3810         (PACKET_TX_RING): Likewise.
3811         (PACKET_LOSS): Likewise.
3812         (PACKET_VNET_HDR): Likewise.
3813         (PACKET_TX_TIMESTAMP): Likewise.
3814         (PACKET_TIMESTAMP): Likewise.
3815         (PACKET_FANOUT): Likewise.
3816         (PACKET_TX_HAS_OFF): Likewise.
3817         (PACKET_QDISC_BYPASS): Likewise.
3818         (PACKET_ROLLOVER_STATS): Likewise.
3819         (PACKET_FANOUT_DATA): Likewise.
3820         (PACKET_MR_UNICAST): Likewise.
3822         [BZ #19242]
3823         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3824         (TOUPPER): Likewise.
3825         * stdlib/tst-strtol-locale-main.c: New file.
3826         * stdlib/tst-strtol-locale.c: Likewise.
3827         * stdlib/Makefile (tests): Add tst-strtol-locale.
3828         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3829         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3830         Depend on $(gen-locales).
3831         * wcsmbs/tst-wcstol-locale.c: New file.
3832         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3833         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3834         tr_TR.ISO-8859-9.
3835         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3836         Depend on $(gen-locales).
3838 2015-11-20  Roland McGrath  <roland@hack.frob.com>
3840         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3841         __glibc_likely instead of __builtin_expect.  After falling back to
3842         dyncode_create in a non-ET_DYN case, use the allocate_code_data
3843         system interface to register the code pages as occupied.
3845 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
3847         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3848         [!ARM_MATH_PRIVATE_H].
3849         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3850         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3851         [!HPPA_MATH_PRIVATE_H].
3852         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3853         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3854         to [!I386_MATH_PRIVATE_H].
3855         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3856         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3857         Change guard to [!M68K_MATH_PRIVATE_H].
3858         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3859         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3860         guard to [!MICROBLAZE_MATH_PRIVATE_H].
3861         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3862         macro.
3863         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3864         [!MIPS_MATH_PRIVATE_H].
3865         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3866         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3867         [!NIO2_MATH_PRIVATE_H].
3868         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3869         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3870         [!TILE_MATH_PRIVATE_H].
3871         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
3873         [BZ #15421]
3874         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
3875         initialize with 0 and define as weak alias of __signgam.
3876         * include/math.h [!_ISOMAC] (__signgam): Declare.
3877         * math/Makefile (libm-calls): Add w_lgamma_compat.
3878         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
3879         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
3880         test-signgam-ullong-init.
3881         (tests-static): Add test-signgam-uchar-static,
3882         test-signgam-uchar-init-static, test-signgam-uint-static,
3883         test-signgam-uint-init-static, test-signgam-ullong-static and
3884         test-signgam-ullong-init-static.
3885         (CFLAGS-test-signgam-uchar.c): New variable.
3886         (CFLAGS-test-signgam-uchar-init.c): Likewise.
3887         (CFLAGS-test-signgam-uchar-static.c): Likewise.
3888         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3889         (CFLAGS-test-signgam-uint.c): Likewise.
3890         (CFLAGS-test-signgam-uint-init.c): Likewise.
3891         (CFLAGS-test-signgam-uint-static.c): Likewise.
3892         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3893         (CFLAGS-test-signgam-ullong.c): Likewise.
3894         (CFLAGS-test-signgam-ullong-init.c): Likewise.
3895         (CFLAGS-test-signgam-ullong-static.c): Likewise.
3896         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3897         * math/Versions (libm): Add GLIBC_2.23.
3898         * math/lgamma-compat.h: New file.
3899         * math/test-signgam-main.c: Likewise.
3900         * math/test-signgam-uchar-init-static.c: Likewise.
3901         * math/test-signgam-uchar-init.c: Likewise.
3902         * math/test-signgam-uchar-static.c: Likewise.
3903         * math/test-signgam-uchar.c: Likewise.
3904         * math/test-signgam-uint-init-static.c: Likewise.
3905         * math/test-signgam-uint-init.c: Likewise.
3906         * math/test-signgam-uint-static.c: Likewise.
3907         * math/test-signgam-uint.c: Likewise.
3908         * math/test-signgam-ullong-init-static.c: Likewise.
3909         * math/test-signgam-ullong-init.c: Likewise.
3910         * math/test-signgam-ullong-static.c: Likewise.
3911         * math/test-signgam-ullong.c: Likewise.
3912         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
3913         wrapper of w_lgamma_main.c.
3914         * math/w_lgamma_compat.c: New file.
3915         * math/w_lgamma_compatf.c: Likewise.
3916         * math/w_lgamma_compatl.c: Likewise.
3917         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
3918         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3919         defining compatibility symbols.
3920         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
3921         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
3922         wrapper of w_lgammaf_main.c.
3923         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
3924         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3925         defining compatibility symbols.
3926         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
3927         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
3928         wrapper of w_lgammal_main.c.
3929         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
3930         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3931         defining compatibility symbols.
3932         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
3933         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
3934         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
3935         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
3936         <lgamma-compat.h>.
3937         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
3938         (__ieee754_gamma): Define as alias.
3939         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
3940         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
3941         <lgamma-compat.h>.
3942         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
3943         (__ieee754_gammaf): Define as alias.
3944         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
3945         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
3946         <lgamma-compat.h>.
3947         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
3948         (__ieee754_gammal): Define as alias.
3949         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
3950         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
3951         <math/w_lgamma_compat.c>.
3952         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
3953         Define as alias of __lgamma_compat and use in defining lgammal.
3954         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
3955         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
3956         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
3957         (USE_AS_COMPAT): New macro.
3958         (LGAMMA_OLD_VER): Undefine and redefine.
3959         (lgammal): Do not define here.
3960         (gammal): Only define here if [GAMMA_ALIAS].
3961         * conform/linknamespace.pl (@whitelist): Remove signgam.
3962         * sysdeps/nacl/libm.abilist: Update.
3963         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3964         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3965         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3966         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3967         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3968         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3969         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3970         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3971         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3972         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3973         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3974         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3976         Likewise.
3977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3978         Likewise.
3979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3980         Likewise.
3981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3982         Likewise.
3983         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3984         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3985         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3986         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3987         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3989         Likewise.
3990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3991         Likewise.
3992         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3993         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3994         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3996 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3998         [BZ #16364]
3999         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
4000         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
4002 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4004         * sysdeps/s390/fpu/bits/mathinline.h:
4005         Use __asm__ [__volatile__] instead of asm [volatile].
4006         * sysdeps/s390/abort-instr.h: Likewise.
4007         * sysdeps/s390/atomic-machine.h: Likewise.
4008         * sysdeps/s390/bits/string.h: Likewise.
4009         * sysdeps/s390/dl-tls.h: Likewise.
4010         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4011         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4012         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4013         * sysdeps/s390/fpu/fesetround.c: Likewise.
4014         * sysdeps/s390/fpu/fpu_control.h: Likewise.
4015         * sysdeps/s390/fpu/s_fma.c: Likewise.
4016         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
4017         * sysdeps/s390/memusage.h: Likewise.
4018         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
4019         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
4020         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
4021         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
4022         * sysdeps/s390/nptl/tls.h: Likewise.
4023         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
4024         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4025         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4026         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4027         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4028         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4029         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
4030         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4031         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4032         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
4033         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4034         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4035         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4036         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
4037         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
4038         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
4039         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
4040         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4041         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
4042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4043         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
4044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4045         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
4047 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4048             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4050         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4051         Add lwarx hint, and use macro for acquire instruction.
4052         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4053         Likewise.
4054         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
4055         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
4056         update to use new atomic macros.
4058 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4060         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4061         (__lll_trylock_elision): Fix setting of adapt_count.
4062         * sysdeps/unix/sysv/linux/powerpc/htm.h
4063         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
4064         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
4065         (_ABORT_SYSCALL): Renumber, and clarify definition.
4066         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
4068 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4070         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
4071         after system headers to prevent MIN/MAX redefinition.  Define
4072         HAVE_ALLOCA to preserve builtin alloca usage.
4074 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4076         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
4077         static and don't set or restore rounding.
4078         (__cos)[IN_SINCOS]: Likewise.
4079         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
4080         (__sincos): Set and restore rounding mode.  Remove check for infinite
4081         or NaN input.
4083         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
4085         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
4086         as used.
4088 2015-11-16  Florian Weimer  <fweimer@redhat.com>
4090         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
4092 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4094         * config.make.in (have-glob-dat-reloc): New.
4095         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
4096         target supports GLOB_DAT relocaton. AC_SUBST.
4097         * configure: Regenerated.
4098         * elf/Makefile (tests): Add tst-prelink.
4099         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4100         (tst-prelink-ENV): New.
4101         ($(objpfx)tst-prelink-conflict.out): Likewise.
4102         ($(objpfx)tst-prelink-cmp.out): Likewise.
4103         * sysdeps/x86/tst-prelink.c: Moved to ...
4104         * elf/tst-prelink.c: Here.
4105         * sysdeps/x86/tst-prelink.exp: Moved to ...
4106         * elf/tst-prelink.exp: Here.
4107         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
4108         (tst-prelink-ENV): Removed.
4109         ($(objpfx)tst-prelink-conflict.out): Likewise.
4110         ($(objpfx)tst-prelink-cmp.out): Likewise.
4111         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
4113 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
4115         [BZ #14551]
4116         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
4117         (__mpn_construct_long_double): If high part overflows to infinity,
4118         set errno and recompute overflowed result of the correct sign.
4119         * sysdeps/ieee754/ldbl-128ibm/Makefile
4120         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
4121         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
4122         $(libm).
4123         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
4125 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
4127         [BZ #15479]
4128         [BZ #19238]
4129         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
4130         floating-point state after first operation on input.  Restore full
4131         state rather than just rounding mode.
4132         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4133         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4134         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4136         [BZ #19235]
4137         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
4138         add 0.5 to integer arguments.
4139         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
4140         Likewise.
4141         (.LC2): New object.
4143 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
4145         * scripts/pylintrc (reports): Set to no.
4147 2015-11-10  Roland McGrath  <roland@hack.frob.com>
4149         * elf/dl-load.c (open_verify): Take new argument FD.
4150         Skip __open call if passed FD is not -1.
4151         (_dl_map_object, open_path): Update callers.
4152         * elf/dl-sysdep-open.h: New file.
4153         * elf/dl-load.c: Include it.
4154         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
4155         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
4156         * sysdeps/nacl/dl-sysdep-open.h: New file.
4157         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
4158         from libc to rtld.
4160 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
4162         [BZ #19228]
4163         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
4164         and restore full floating-point state.
4165         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4166         Likewise.
4167         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4168         Likewise.
4169         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4170         Likewise.
4171         * math/test-nearbyint-except-2.c: New file.
4172         * math/Makefile (tests): Add test-nearbyint-except-2.
4174 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
4176         [BZ #19178]
4177         * sysdeps/x86/Makefile (tests): Add tst-prelink.
4178         (tst-prelink-ENV): New.
4179         ($(objpfx)tst-prelink-conflict.out): Likewise.
4180         ($(objpfx)tst-prelink-cmp.out): Likewise.
4181         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4182         * sysdeps/x86/tst-prelink.c: New file.
4183         * sysdeps/x86/tst-prelink.exp: Likewise.
4185 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
4187         * math/auto-libm-test-in: Add another test of pow.
4188         * math/auto-libm-test-out: Regenerated.
4189         * math/libm-test.inc (pow_test_data): Add another test.
4191 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4193         [BZ #19219]
4194         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
4195         weak_alias to nearbyintl.
4197 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
4199         * sysdeps/aarch64/bits/string.h: New file.
4200         (_STRING_ARCH_unaligned): Define.
4202 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
4204         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
4205         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4206         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4207         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
4208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
4210 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
4212         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
4213         for original name of the DSO.  Add it to the name list of the DSO
4214         if it is actually given.
4215         (_dl_map_object): Keep track of whether an audit module rewrote
4216         the file name.  If yes, pass the original name to
4217         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
4218         debugging is enabled, log the change of the file name.
4219         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
4220         _dl_map_object_from_fd.
4221         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
4222         * elf/tst-audit11.c: New file
4223         * elf/tst-auditmod11.c: New file.
4224         * elf/tst-audit11mod1.c: New file.
4225         * elf/tst-audit11mod2.c: New file.
4226         * elf/tst-audit11mod2.map: New file.
4227         * elf/tst-audit12.c: New file
4228         * elf/tst-auditmod12.c: New file.
4229         * elf/tst-audit12mod1.c: New file.
4230         * elf/tst-audit12mod2.c: New file.
4231         * elf/tst-audit12mod2.map: New file.
4232         * elf/tst-audit12mod3.c: New file.
4234 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4236         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
4237         Don't create weak aliases,
4238         because versioned symbols are created later.
4239         * sysdeps/s390/s390-32/setjmp.S
4240         (setjmp, _setjmp): Remove weak and rename to an unique name
4241         in SHARED case due to existing versioned symbols.
4242         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4243         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
4244         (getcontext): Create weak alias only in non SHARED case.
4245         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4247 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4249         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
4250         (__ASSUME_*_SYSCALL) Define new macros.
4251         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
4252         Remove socketcall syscalls.
4253         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
4254         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
4255         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
4256         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
4257         * sysdeps/unix/sysv/linux/send.c (__libc_send):
4258         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
4260 2015-11-09  Florian Weimer  <fweimer@redhat.com>
4262         [BZ #12926]
4263         Terminate process on invalid netlink response.
4264         * sysdeps/unix/sysv/linux/netlinkaccess.h
4265         (__netlink_assert_response): Declare.
4266         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
4267         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
4268         (sysdep_routines): Add netlink_assert_response.
4269         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
4270         __netlink_assert_response.
4271         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4272         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4273         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
4274         __netlink_assert_response.
4276 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
4278         [BZ #19178]
4279         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
4280         (RTYPE_CLASS_PLT): Likewise.
4281         (RTYPE_CLASS_COPY): Likewise.
4282         (RTYPE_CLASS_TLS): Likewise.
4283         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
4284         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
4285         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
4286         DL_DEBUG_PRELINK.
4288 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
4290         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
4291         calls with argument -0.5.
4292         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
4294         * configure.ac (libc_cv_z_nodelete): Remove configure test.
4295         (libc_cv_z_nodlopen): Likewise.
4296         (libc_cv_z_initfirst): Likewise.
4297         * configure: Regenerated.
4299 2015-11-06  Florian Weimer  <fweimer@redhat.com>
4301         Simplify abilist format to be line-based.
4302         * scripts/abilist.awk: Collect descriptors in the descs variable.
4303         (emit): Write descs variable and sort it
4304         externally, with sort.
4305         * sysdeps/**/*.abilist: Convert to new format.
4307 2015-11-06  Mark Wielaard  <mjw@redhat.com>
4309         [BZ #11460]
4310         * io/Makefile (routines): Add fts64.
4311         (tests): Add tst-fts and tst-fts-lfs.
4312         (CFLAGS-fts64.c): New.
4313         * io/Versions (GLIBC_2.23): New.
4314         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
4315         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
4316         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
4317         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
4318         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
4319         (FTSENT64): Likewise.
4320         (fts64_children): Likewise.
4321         (fts64_close): Likewise.
4322         (fts64_open): Likewise.
4323         (fts64_read): Likewise.
4324         (fts64_set): Likewise.
4325         * io/fts64.c: New file.
4326         * io/tst-fts.c: New test.
4327         * io/tst-fts-lfs.c: Likewise.
4328         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
4329         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
4330         fts64_set.
4331         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4332         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4333         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4334         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4335         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4336         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4337         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4338         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4339         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4340         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4341         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4342         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4343         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4345         Likewise.
4346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4347         Likewise.
4348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4350         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4351         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4352         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4353         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4354         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4357         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4358         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4359         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4360         * sysdeps/wordsize-64/fts.c: New file.
4361         * sysdeps/wordsize-64/fts64.c: Likewise.
4362         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
4363         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
4364         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
4365         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
4367 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
4369         * math/libm-test.inc (NON_FINITE): New macro.
4370         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
4371         * math/gen-libm-test.pl (show_exceptions): Add argument
4372         $non_finite.
4373         (parse_args): Update call to show_exceptions.
4374         * math/test-math-finite.h: New file.
4375         * math/test-math-no-finite.h: Likewise.
4376         * math/test-double-finite.c: Likewise.
4377         * math/test-float-finite.c: Likewise.
4378         * math/test-ldouble-finite.c: Likewise.
4379         * math/test-double.c: Include "test-math-no-finite.h".
4380         * math/test-float.c: Include "test-math-no-finite.h".
4381         * math/test-ldouble.c: Include "test-math-no-finite.h".
4382         * math/test-math-inline.h (TEST_FINITE): New macro.
4383         * math/test-math-vector.h (TEST_FINITE): Likewise.
4384         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
4385         (libm-tests): Add test-float-finite and test-double-finite.
4386         ($(objpfx)test-float-finite.o): New dependency on
4387         $(objpfx)libm-test.stmp.
4388         ($(objpfx)test-double-finite.o): Likewise.
4389         ($(objpfx)test-ldouble-finite.o): Likewise.
4390         (libm-test-no-inline-cflags): New variable.
4391         (libm-test-finite-cflags): Likewise.
4392         (CFLAGS-test-float-finite.c): Likewise.
4393         (CFLAGS-test-double-finite.c): Likewise.
4394         (CFLAGS-test-ldouble-finite.c): Likewise.
4395         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
4396         (CFLAGS-test-double.c): Likewise.
4397         (CFLAGS-test-ldouble.c): Likewise.
4399 2015-11-05  Roland McGrath  <roland@hack.frob.com>
4401         * io/fcntl.c (__fcntl): Add ... to prototype.
4402         * misc/ioctl.c (__ioctl): Likewise.
4403         * misc/syscall.c (syscall): Likewise.
4405 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
4407         * scripts/list-fixed-bugs.py: New file.
4409         [BZ #19213]
4410         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
4411         returned for argument 1.
4412         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
4413         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
4414         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
4415         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
4416         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
4417         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
4419         [BZ #19211]
4420         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
4421         __USE_XOPEN], not if [!__USE_ISOC99].
4422         (lgammaf): Likewise.
4423         (lgammal): Likewise.
4424         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
4425         (gammaf): Likewise.
4426         (gammal): Likewise.
4427         * math/test-signgam-finite-c11.c: New file.
4428         * math/test-signgam-finite-c99.c: Likewise.
4429         * math/test-signgam-finite.c: Likewise.
4430         * math/Makefile (tests): Add test-signgam-finite,
4431         test-signgam-finite-c99 and test-signgam-finite-c11.
4432         (CFLAGS-test-signgam-finite.c): New variable.
4433         (CFLAGS-test-signgam-finite-c99.c): Likewise.
4434         (CFLAGS-test-signgam-finite-c11.c): Likewise.
4436         [BZ #19212]
4437         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
4438         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
4439         500].
4440         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
4441         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
4442         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
4443         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
4444         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
4445         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
4446         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
4447         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
4448         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
4449         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
4451         [BZ #19209]
4452         * math/bits/math-finite.h (ldexp): Remove declaration.
4453         (ldexpf): Likewise.
4454         (ldexpl): Likewise.
4456         [BZ #19205]
4457         * math/bits/math-finite.h (acosf): Condition declaration on
4458         [__USE_ISOC99].
4459         (acosl): Likewise.
4460         (acoshf): Likewise.
4461         (acoshl): Likewise.
4462         (asinf): Likewise.
4463         (asinl): Likewise.
4464         (atan2f): Likewise.
4465         (atan2l): Likewise.
4466         (atanhf): Likewise.
4467         (atanhl): Likewise.
4468         (coshf): Likewise.
4469         (coshl): Likewise.
4470         (expf): Likewise.
4471         (expl): Likewise.
4472         (fmodf): Likewise.
4473         (fmodl): Likewise.
4474         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
4475         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
4476         (j0l): Likewise.
4477         (y0f): Likewise.
4478         (y0l): Likewise.
4479         (j1f): Likewise.
4480         (j1l): Likewise.
4481         (y1f): Likewise.
4482         (y1l): Likewise.
4483         (jnf): Likewise.
4484         (jnl): Likewise.
4485         (ynf): Likewise.
4486         (ynl): Likewise.
4487         (lgammaf_r): Condition declaration on [__USE_ISOC99].
4488         (lgammal_r): Likewise.
4489         (__lgamma_r_finite): New declaration.
4490         (__lgammaf_r_finite): Likewise.
4491         (__lgammal_r_finite): Likewise.
4492         (lgamma): Use __lgamma_r_finite.
4493         (lgammaf): Condition definition on [__USE_ISOC99].  Use
4494         __lgammaf_r_finite.
4495         (lgammal): Condition definition on [__USE_ISOC99].  Use
4496         __lgammal_r_finite.
4497         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
4498         __lgamma_r_finite.
4499         (gammaf): Condition definition on [__USE_ISOC99].  Use
4500         __lgammaf_r_finite.
4501         (gammal): Condition definition on [__USE_ISOC99].  Use
4502         __lgammal_r_finite.
4503         (logf): Condition declaration on [__USE_ISOC99].
4504         (logl): Likewise.
4505         (log10f): Likewise.
4506         (log10l): Likewise.
4507         (ldexpf): Likewise.
4508         (ldexpl): Likewise.
4509         (powf): Likewise.
4510         (powl): Likewise.
4511         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
4512         __USE_ISOC99].
4513         (remainderf): Condition declaration on [__USE_ISOC99].
4514         (remainderl): Likewise.
4515         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
4516         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
4517         (scalbl): Likewise.
4518         (sinhf): Condition declaration on [__USE_ISOC99].
4519         (sinhl): Likewise.
4520         (sqrtf): Likewise.
4521         (sqrtl): Likewise.
4523 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
4525         * sysdeps/arm/atomic-machine.h
4526         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4527         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4528         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
4529         Remove conditional code.
4530         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4531         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4532         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
4533         Change conditional to [__ASSEMBLER__].
4534         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4535         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
4536         [!__ASSEMBLER__].
4537         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
4538         code.
4539         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
4540         conditional macro definitions.
4541         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
4542         (__arch_compare_and_exchange_val_16_acq): Likewise.
4543         (__arch_compare_and_exchange_val_32_acq): Likewise.
4544         (atomic_exchange_and_add): Likewise.
4545         (atomic_add): Likewise.
4546         (atomic_add_negative): Likewise.
4547         (atomic_add_zero): Likewise.
4548         (atomic_bit_set): Likewise.
4549         (atomic_bit_test_set): Likewise.
4550         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
4551         code unconditional.
4552         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4554         * math/test-math-errno.h: New file.
4555         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
4556         empty.
4557         (TEST_ERRNO): New macro.
4558         (TEST_EXCEPTIONS): Likewise.
4559         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
4560         (TEST_EXCEPTIONS): Likewise.
4561         * math/test-math-vector.h (TEST_ERRNO): Likewise.
4562         * math/test-double.c: Include "test-math-errno.h".
4563         * math/test-float.c: Likewise.
4564         * math/test-ldouble.c: Likewise.
4565         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
4566         code unconditional.
4567         (test_exceptions): Only run code if TEST_EXCEPTIONS.
4568         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
4569         unconditional.
4570         (test_errno): Only run code if TEST_ERRNO.
4571         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
4573 2015-11-04  Florian Weimer  <fweimer@redhat.com>
4575         * nptl/tst-once5.cc: Remove attribution.
4577 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
4579         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
4580         sqrt, tan, tanh, y0, y1 and yn.
4581         * math/auto-libm-test-out: Regenerated.
4582         * math/libm-test.inc (scalb_test_data): Add more tests.
4583         (scalbn_test_data): Likewise.
4584         (scalbln_test_data): Likewise.
4585         (signbit_test_data): Likewise.
4586         (sin_test_data): Likewise.
4587         (sincos_test_data): Likewise.
4588         (sinh_test_data): Likewise.
4589         (sqrt_test_data): Likewise.
4590         (tan_test_data): Likewise.
4591         (tanh_test_data): Likewise.
4592         (tgamma_test_data): Likewise.
4593         (y0_test_data): Likewise.
4594         (y1_test_data): Likewise.
4595         (yn_test_data): Likewise.
4596         (significand_test_data): Likewise.
4597         * sysdeps/i386/fpu/libm-test-ulps: Update.
4599 2015-11-03  David Kastrup  <dak@gnu.org>
4601         [BZ #18604]
4602         * assert/assert.h (assert): Don't macro-expand failed assertion
4603         expression in error message.
4604         * malloc/malloc.c (assert): Likewise.
4606 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
4608         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
4609         test.
4610         * configure: Regenerated.
4612 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
4614         * math/libm-test.inc (modf_test_data): Add more tests.
4615         (nearbyint_test_data): Likewise.
4616         (nextafter_test_data): Likewise.
4617         (nexttoward_test_data): Likewise.
4618         (pow_test_data): Likewise.
4619         (remainder_test_data): Likewise.
4620         (remquo_test_data): Likewise.
4621         (rint_test_data): Likewise.
4623         [BZ #19201]
4624         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4625         Check for zero remainder in case of large exponents and ensure
4626         correct sign of result in that case.
4627         * math/libm-test.inc (remainder_test_data): Add more tests.
4629         [BZ #6799]
4630         * math/s_nextafter.c: Include <errno.h>.
4631         (__nextafter): Set errno on overflow and underflow.
4632         * math/s_nexttowardf.c: Include <errno.h>.
4633         (__nexttowardf): Set errno on overflow and underflow.
4634         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
4635         (__nextafterl): Set errno on overflow and underflow.
4636         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
4637         (__nexttoward): Set errno on overflow and underflow.
4638         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
4639         (__nexttowardf): Set errno on overflow and underflow.
4640         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
4641         (__nextafterf): Set errno on overflow and underflow.
4642         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
4643         (__nextafterl): Set errno on overflow and underflow.
4644         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
4645         (__nexttoward): Set errno on overflow and underflow.
4646         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
4647         (__nexttowardf): Set errno on overflow and underflow.
4648         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
4649         (__nextafterl): Set errno on overflow and underflow.
4650         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
4651         (__nexttoward): Set errno on overflow and underflow.
4652         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
4653         (__nexttowardf): Set errno on overflow and underflow.
4654         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
4655         (__nexttoward): Set errno on overflow and underflow.
4656         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
4657         (__nexttowardf): Set errno on overflow and underflow.
4658         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
4659         (__nldbl_nexttowardf): Set errno on overflow and underflow.
4660         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
4661         (__nextafterl): Set errno on overflow and underflow.
4662         * math/libm-test.inc (nextafter_test_data): Do not allow errno
4663         setting to be missing on overflow.  Add more tests.
4664         (nexttoward_test_data): Likewise.
4666         * configure.ac (libc_cv_initfini_array): Remove configure test.
4667         * configure: Regenerated.
4669 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
4671         [BZ #19189]
4672         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
4673         non-finite argument handle arguments with negative sign.
4675         * math/libm-test.inc (j0_test_data): Do not test sign of zero
4676         result from infinite argument.
4677         (j1_test_data): Likewise.
4678         (jn_test_data): Likewise.
4679         (y0_test_data): Likewise.
4680         (y1_test_data): Likewise.
4681         (yn_test_data): Likewise.
4683         [BZ #16171]
4684         * math/w_remainder.c (drem): Define as weak alias of __remainder.
4685         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
4686         * math/w_remainderf.c (dremf): Define as weak alias of
4687         __remainderf.
4688         * math/w_remainderl.c (dreml): Define as weak alias of
4689         __remainderl.
4690         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
4691         __remainder.
4692         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
4693         __remainderf.
4694         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
4695         __remainderl.
4696         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
4697         weak alias of remainderl.
4698         * sysdeps/ieee754/ldbl-opt/w_remainder.c
4699         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
4700         alias of __remainder.
4701         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
4702         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
4703         strong alias of __remainderl.
4704         (dreml): Use long_double_symbol.
4705         * math/Makefile (libm-calls): Remove w_drem.
4706         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
4707         (CFLAGS-nldbl-drem.c): Remove variable.
4708         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
4709         * math/w_drem.c: Remove file.
4710         * math/w_dremf.c: Likewise.
4711         * math/w_dreml.c: Likewise.
4712         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
4713         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
4714         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
4716         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
4717         * sysdeps/i386/configure: Regenerated.
4718         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
4719         * sysdeps/x86_64/configure: Regenerated.
4721         * configure.ac (libc_cv_asm_protected_directive): Remove configure
4722         test.
4723         (libc_cv_visibility_attribute): Likewise.
4724         (libc_cv_protected_data): Test unconditionally.
4725         (libc_cv_broken_visibility_attribute): Remove configure test.
4726         (libc_cv_have_sdata_section): Test unconditionally.
4727         * configure: Regenerated.
4729         * include/libc-internal.h (libc_max_align_t): Remove typedef.
4730         * include/scratch_buffer.h: Include <stddef.h> instead of
4731         <libc-internal.h>.
4732         (struct scratch_buffer): Use max_align_t instead of
4733         libc_max_align_t.
4735 2015-10-29  Florian Weimer  <fweimer@redhat.com>
4737         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
4738         instead of extend_alloca.  Change control flow to avoid a goto.
4739         Remove assert which is trivially always true.
4741 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4743         [BZ #16068]
4744         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
4745         (FE_ALL_EXCEPT_X86): New macro.
4746         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4747         FE_ALL_EXCEPT.  Ensure precision control is included in
4748         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4749         handle "denormal operand exception" and clear FZ and DAZ bits.
4750         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
4751         (FE_ALL_EXCEPT_X86): New macro.
4752         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4753         FE_ALL_EXCEPT.  Ensure precision control is included in
4754         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4755         handle "denormal operand exception" and clear FZ and DAZ bits.
4756         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
4757         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
4758         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4759         test-fenv-x87 and test-fenv-sse-2.
4760         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
4762         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
4763         * math/test-double.h (BUILD_COMPLEX): New macro.
4764         * math/test-float.h (BUILD_COMPLEX): Likewise.
4765         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
4767         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
4768         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
4769         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
4770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
4771         instead of DBL_DENORM_MIN in comment.
4772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
4773         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4774         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
4775         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
4776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
4777         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4779 2015-10-28  Florian Weimer  <fweimer@redhat.com>
4781         [BZ# 19048]
4782         * malloc/malloc.c (struct malloc_state): Update comment.  Add
4783         attached_threads member.
4784         (main_arena): Initialize attached_threads.
4785         * malloc/arena.c (list_lock): Update comment.
4786         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
4787         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
4788         (deattach_arena): New function.
4789         (_int_new_arena): Initialize arena reference count and deattach
4790         replaced arena.
4791         (get_free_list, reused_arena): Update reference count and deattach
4792         replaced arena.
4793         (arena_thread_freeres): Update arena reference count and only put
4794         unreferenced arenas on the free list.
4796 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4798         [BZ #19181]
4799         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
4800         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
4801         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
4802         * math/test-fenv-clear-main.c: New file.
4803         * math/test-fenv-clear.c: Likewise.
4804         * math/Makefile (tests): Add test-fenv-clear.
4805         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
4806         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4807         test-fenv-clear-sse.
4808         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
4810         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4811         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4812         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4814 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4816         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4817         static libc.
4819 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4821         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4822         test.
4823         * sysdeps/i386/configure: Regenerated.
4824         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4825         test.
4826         * sysdeps/x86_64/configure: Regenerated.
4827         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4829         memset-avx2 unconditionally instead of conditionally on
4830         [$(config-cflags-avx2) = yes].
4831         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4832         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4833         unconditional.
4834         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4835         * sysdeps/x86_64/multiarch/memset_chk.S
4836         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4837         to [IS_IN (libc) && SHARED].
4839 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4841         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4842         configure test.
4843         * sysdeps/arm/configure: Regenerated.
4844         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4845         Define variable if not already defined.
4847         [BZ #17404]
4848         * sysdeps/mips/atomic-machine.h
4849         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4850         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4851         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4853         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4854         unconditional.
4855         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4856         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4857         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4858         unconditional.
4859         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4860         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4861         unconditional.
4862         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4863         * stdlib/setenv.c
4864         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4865         code unconditional.
4866         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4867         Remove conditional code.
4868         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4869         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4870         unconditional.
4871         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4872         code.
4873         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4874         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
4875         unconditional.
4876         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4877         code.
4878         * sysdeps/ieee754/ldbl-128/k_tanl.c
4879         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4880         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4881         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4882         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4883         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4884         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4885         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
4886         unconditional.
4887         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4888         code.
4889         * sysdeps/ieee754/ldbl-96/k_tanl.c
4890         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4891         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4893         * nptl/tst-initializers1-c11.c: New file.
4894         * nptl/tst-initializers1-gnu11.c: Likewise.
4895         * nptl/Makefile (tests): Add these new tests.
4896         (CFLAGS-tst-initializers1-c11.c): New variable.
4897         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4899         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
4900         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
4901         instead of -std=gnu99.
4902         * configure.ac (systemtap): Test with -std=gnu11 instead of
4903         -std=gnu99.
4904         * configure: Regenerated.
4905         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
4906         in compilation command in comment.
4908         * sysdeps/nptl/configure.ac: Remove file.
4909         * sysdeps/nptl/configure: Remove generated file.
4910         * configure.ac (libc_cv_forced_unwind): Do not substitute.
4911         * configure: Regenerated.
4912         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
4913         * config.make.in (have-forced-unwind): Remove variable.
4914         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4915         unconditional.
4916         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
4917         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
4918         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
4919         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
4920         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4921         unconditional.
4923 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4925         [BZ #19174]
4926         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
4927         .skip_lock_out_of_tbegin_retries.
4928         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4929         (__lll_lock_elision): Likewise, and respect a value of
4930         try_tbegin <= 0.
4932 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4934         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
4935         statement.
4937 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4939         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
4940         variable.
4941         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4942         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4944         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4945         of -std=c1x -D_ISOC11_SOURCE.
4947         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
4948         * configure: Regenerated.
4949         * manual/install.texi (Tools for Compilation): Document
4950         requirement for GCC 4.7 or later.
4951         * INSTALL: Regenerated.
4953 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
4955         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4956         on CNT to a conditional jump to 'puntdata'.
4958 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4960         * configure.ac (libc_cv_gcc___thread): Remove configure test.
4961         (libc_cv_gcc_tls_model_attr): Likewise.
4962         * configure: Regenerated.
4964         * configure.ac (libc_cv_need_minus_P): Remove configure test.
4965         * configure: Regenerated.
4966         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
4968 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
4970         * configure.ac (old_glibc_headers): Remove configure test.
4971         * configure: Regenerated.
4972         * config.make.in (old-glibc-headers): Remove variable.
4973         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
4974         (install): Remove dependency on remove-old-headers.
4975         (headers2_0): Remove variable.
4976         (remove-old-headers): Remove rule.
4978         * configure.ac (libc_cv_dot_text): Remove configure test.
4979         (libc_cv_asm_set_directive): Use .text instead of
4980         ${libc_cv_dot_text} in configure test.
4981         * configure: Regenerated.
4983 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4985         [BZ #19168]
4986         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4988 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4990         * configure.ac (CXX): Clear the variable if the C++ toolchain does
4991         not support static linking.
4992         * configure: Regenerate.
4994 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
4996         * math/libm-test.inc (check_float_internal): Do not special-case
4997         errors up to 0.5 ulp.
4999         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5000         log2.
5001         * math/auto-libm-test-out: Regenerated.
5002         * math/libm-test.inc (MAX_EXP): New macro.
5003         (ilogb_test_data): Add more tests.
5004         (isfinite_test_data): Likewise.
5005         (isgreater_test_data): Likewise.
5006         (isgreaterequal_test_data): Likewise.
5007         (isinf_test_data): Likewise.
5008         (isless_test_data): Likewise.
5009         (islessequal_test_data): Likewise.
5010         (islessgreater_test_data): Likewise.
5011         (isnan_test_data): Likewise.
5012         (isnormal_test_data): Likewise.
5013         (issignaling_test_data): Likewise.
5014         (isunordered_test_data): Likewise.
5015         (j0_test_data): Likewise.
5016         (j1_test_data): Likewise.
5017         (jn_test_data): Likewise.
5018         (lgamma_test_data): Likewise.
5019         (log_test_data): Likewise.
5020         (log10_test_data): Likewise.
5021         (log1p_test_data): Likewise.
5022         (log2_test_data): Likewise.
5023         (logb_test_data): Likewise.
5024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5026         [BZ #18611]
5027         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
5028         avoid excess range and precision on underflow.
5029         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5030         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
5031         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5032         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
5033         underflow.
5034         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5035         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5036         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5037         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5038         * math/auto-libm-test-in: Do not allow missing errno setting for
5039         tests of j1 and jn.
5040         * math/auto-libm-test-out: Regenerated.
5042 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
5044         [BZ #15491]
5045         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
5046         floating-point environment instead of clearing all exceptions.
5047         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5048         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
5049         merging in "invalid" exceptions from frndint.
5050         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5051         * math/test-nearbyint-except.c: New file.
5052         * math/Makefile (tests): Add test-nearbyint-except.
5054 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
5056         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
5058         * sysdeps/tile/libm-test-ulps: Regenerated.
5060 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
5063         (__NR_sync_file_range2): Assume it is always defined.
5064         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5065         (__NR_sync_file_range): Assume it is always defined.
5067 2015-10-22  Andreas Schwab  <schwab@suse.de>
5069         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5070         INTERNAL_SYSCALL_ERRNO.
5071         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5072         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5073         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5074         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5075         Likewise.
5076         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5078 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5080         * io/tst-fcntl.c (fd): New static variable.
5081         (do_prepare): Open temporary file here....
5082         (do_test): ...not here.
5084         * io/ftwtest-sh: Also trap on exit to remove temporary files.
5086 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5088         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
5089         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5090         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5091         Moved before "#ifdef __ASSEMBLER__".
5093 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5095         [BZ #19156]
5096         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
5097         arguments very close to 0.
5099 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
5101         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
5102         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
5104 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5106         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5107         New.  Defined for GCC 5 and above when not compiling for
5108         profiling.
5109         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5111         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5112         Renamed to ...
5113         (CFLAGS-epoll_pwait.o): This.
5114         (CFLAGS-mmap.c): Renamed to ...
5115         (CFLAGS-mmap.o): This.
5116         (CFLAGS-mmap64.c): Renamed to ...
5117         (CFLAGS-mmap64.o): This.
5118         (CFLAGS-epoll_pwait.os): New.
5119         (CFLAGS-mmap.os): Likewise.
5120         (CFLAGS-mmap64.os): Likewise.
5121         (CFLAGS-semtimedop.os): Likewise.
5122         (CFLAGS-semtimedop.c): Renamed to ...
5123         (CFLAGS-semtimedop.o): This.
5125 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5127         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
5128         warning message.
5130 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5132         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
5133         * Makefile ($(objpfx)c++-types-check.out): Filter out
5134         $(+gccwarn-c) instead of -Wstrict-prototypes.
5136         * io/fts.c (fts_open): Convert to prototype-style function
5137         definition.
5138         * malloc/mcheck.c (mcheck): Likewise.
5139         (mcheck_pedantic): Likewise.
5140         * posix/regexec.c (re_search_2_stub): Likewise.  Use
5141         internal_function.
5142         (re_search_internal): Likewise.
5143         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
5144         prototype-style function definition.
5145         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5146         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
5147         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
5148         (xdr_utmpptr): Likewise.
5149         (xdr_utmparr): Likewise.
5150         (xdr_utmpidle): Likewise.
5151         (xdr_utmpidleptr): Likewise.
5152         (xdr_utmpidlearr): Likewise.
5154         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
5155         log, log10 and log2.
5156         * math/auto-libm-test-out: Regenerated.
5157         * math/libm-test.inc (fmod_test_data): Add more tests.
5158         (fpclassify_test_data): Likewise.
5159         (frexp_test_data): Likewise.
5160         (hypot_test_data): Likewise.
5161         (ilogb_test_data): Likewise.
5163 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
5165         * debug/fortify_fail.c (__fortify_fail): Convert to
5166         prototype-style function definition.  Use internal_function.
5167         * libio/genops.c (save_for_backup): Convert to prototype-style
5168         function definition.
5169         * libio/wgenops.c (save_for_wbackup): Likewise.
5170         * login/grantpt.c (grantpt): Likewise.
5171         * login/ptsname.c (ptsname): Likewise.
5172         (__ptsname_r): Likewise.
5173         * login/unlockpt.c (unlockpt): Likewise.
5174         * mach/msgserver.c (__mach_msg_server): Likewise.
5175         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
5176         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
5177         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
5178         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
5179         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
5180         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
5181         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
5182         Likewise.
5183         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
5184         internal_function.
5185         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
5186         prototype-style function definition.
5187         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
5188         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
5189         (__pthread_create_2_0): Likewise.
5190         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
5191         * nptl/register-atfork.c (__register_atfork): Likewise.
5192         * posix/glob.c (glob): Likewise.
5193         * posix/regcomp.c (re_comp): Likewise.
5194         * posix/regexec.c (re_exec): Likewise.
5195         * stdlib/add_n.c [__STDC__]: Make code unconditional.
5196         [!__STDC__]: Remove conditional code.
5197         * stdlib/cmp.c [__STDC__]: Make code unconditional.
5198         [!__STDC__]: Remove conditional code.
5199         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
5200         [!__STDC__]: Remove conditional code.
5201         * stdlib/divrem.c [__STDC__]: Make code unconditional.
5202         [!__STDC__]: Remove conditional code.
5203         * stdlib/lshift.c [__STDC__]: Make code unconditional.
5204         [!__STDC__]: Remove conditional code.
5205         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
5206         [!__STDC__]: Remove conditional code.
5207         * stdlib/mul.c [__STDC__]: Make code unconditional.
5208         [!__STDC__]: Remove conditional code.
5209         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
5210         [!__STDC__]: Remove conditional code.
5211         * stdlib/rshift.c [__STDC__]: Make code unconditional.
5212         [!__STDC__]: Remove conditional code.
5213         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
5214         function definition.
5215         (STRTOF): Likewise.
5216         * stdlib/strtod_l.c (__STRTOF): Likewise.
5217         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
5218         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
5219         (__strtol_l): Likewise.
5220         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
5221         [!__STDC__]: Remove conditional code.
5222         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
5223         definition.
5224         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
5225         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5226         type.
5227         (__strcasecmp): Convert to prototype-style function definition.
5228         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
5229         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5230         type.
5231         (__strncasecmp): Convert to prototype-style function definition.
5232         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
5233         * sunrpc/xdr.c (xdr_union): Likewise.
5234         * sunrpc/xdr_array.c (xdr_array): Likewise.
5235         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
5236         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
5237         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
5238         Likewise.
5239         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
5240         Likewise.
5241         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
5242         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5243         Likewise.
5244         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
5245         (LOCALE_PARAM_PROTO): Likewise.
5246         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
5247         argument type.
5248         (ut_argument_spec): Remove macro.
5249         (ut_argument_spec_iso): Rename to ut_argument_spec.
5250         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
5251         prototype-style function definition.
5252         (memcpy_uppcase): Likewise.
5253         (__strftime_internal): Likewise.
5254         (my_strftime): Likewise.
5255         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
5256         (LOCALE_PARAM_DECL): Likewise.
5257         [_LIBC] (LOCALE_PARAM): Include argument type.
5258         (__strptime_internal): Convert to prototype-style function
5259         definition.
5260         (strptime): Likewise.
5261         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
5262         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5263         type.
5264         (__wcscasecmp): Convert to prototype-style function definition.
5265         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
5266         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5267         type.
5268         (__wcsncasecmp): Convert to prototype-style function definition.
5270         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
5271         function definition.
5272         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5273         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5274         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
5275         * elf/dl-minimal.c (_itoa): Likewise.
5276         * hurd/hurdmalloc.c (malloc): Likewise.
5277         (free): Likewise.
5278         (realloc): Likewise.
5279         * inet/inet6_option.c (inet6_option_space): Likewise.
5280         (inet6_option_init): Likewise.
5281         (inet6_option_append): Likewise.
5282         (inet6_option_alloc): Likewise.
5283         (inet6_option_next): Likewise.
5284         (inet6_option_find): Likewise.
5285         * io/ftw.c (FTW_NAME): Likewise.
5286         (NFTW_NAME): Likewise.
5287         (NFTW_NEW_NAME): Likewise.
5288         (NFTW_OLD_NAME): Likewise.
5289         * libio/iofwide.c (_IO_fwide): Likewise.
5290         * libio/strops.c (_IO_str_init_static_internal): Likewise.
5291         (_IO_str_init_static): Likewise.
5292         (_IO_str_init_readonly): Likewise.
5293         (_IO_str_overflow): Likewise.
5294         (_IO_str_underflow): Likewise.
5295         (_IO_str_count): Likewise.
5296         (_IO_str_seekoff): Likewise.
5297         (_IO_str_pbackfail): Likewise.
5298         (_IO_str_finish): Likewise.
5299         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
5300         (_IO_wstr_overflow): Likewise.
5301         (_IO_wstr_underflow): Likewise.
5302         (_IO_wstr_count): Likewise.
5303         (_IO_wstr_seekoff): Likewise.
5304         (_IO_wstr_pbackfail): Likewise.
5305         (_IO_wstr_finish): Likewise.
5306         * locale/programs/localedef.c (normalize_codeset): Likewise.
5307         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
5308         (add_locales_to_archive): Likewise.
5309         (delete_locales_from_archive): Likewise.
5310         * malloc/malloc.c (__libc_mallinfo): Likewise.
5311         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
5312         * misc/tsearch.c (__tfind): Likewise.
5313         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
5314         * nptl/pthread_attr_getdetachstate.c
5315         (__pthread_attr_getdetachstate): Likewise.
5316         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
5317         Likewise.
5318         * nptl/pthread_attr_getinheritsched.c
5319         (__pthread_attr_getinheritsched): Likewise.
5320         * nptl/pthread_attr_getschedparam.c
5321         (__pthread_attr_getschedparam): Likewise.
5322         * nptl/pthread_attr_getschedpolicy.c
5323         (__pthread_attr_getschedpolicy): Likewise.
5324         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
5325         Likewise.
5326         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
5327         Likewise.
5328         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
5329         Likewise.
5330         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
5331         Likewise.
5332         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
5333         (__pthread_attr_init_2_0): Likewise.
5334         * nptl/pthread_attr_setdetachstate.c
5335         (__pthread_attr_setdetachstate): Likewise.
5336         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
5337         Likewise.
5338         * nptl/pthread_attr_setinheritsched.c
5339         (__pthread_attr_setinheritsched): Likewise.
5340         * nptl/pthread_attr_setschedparam.c
5341         (__pthread_attr_setschedparam): Likewise.
5342         * nptl/pthread_attr_setschedpolicy.c
5343         (__pthread_attr_setschedpolicy): Likewise.
5344         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
5345         Likewise.
5346         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
5347         Likewise.
5348         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
5349         Likewise.
5350         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
5351         Likewise.
5352         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
5353         Likewise.
5354         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
5355         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
5356         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
5357         use internal_function.
5358         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
5359         prototype-style function definition.
5360         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
5361         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
5362         internal_function.
5363         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
5364         Convert to prototype-style function definition.
5365         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5366         Likewise.
5367         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5368         Likewise.
5369         (__pthread_mutex_unlock): Likewise.
5370         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
5371         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
5372         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
5373         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
5374         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
5375         * nss/makedb.c (process_input): Likewise.
5376         * posix/fnmatch.c (__strchrnul): Likewise.
5377         (__wcschrnul): Likewise.
5378         (fnmatch): Likewise.
5379         * posix/fnmatch_loop.c (FCT): Likewise.
5380         * posix/glob.c (globfree): Likewise.
5381         (__glob_pattern_type): Likewise.
5382         (__glob_pattern_p): Likewise.
5383         * posix/regcomp.c (re_compile_pattern): Likewise.
5384         (re_set_syntax): Likewise.
5385         (re_compile_fastmap): Likewise.
5386         (regcomp): Likewise.
5387         (regerror): Likewise.
5388         (regfree): Likewise.
5389         * posix/regexec.c (regexec): Likewise.
5390         (re_match): Likewise.
5391         (re_search): Likewise.
5392         (re_match_2): Likewise.
5393         (re_search_2): Likewise.
5394         (re_search_stub): Likewise.  Use internal_function
5395         (re_copy_regs): Likewise.
5396         (re_set_registers): Convert to prototype-style function
5397         definition.
5398         (prune_impossible_nodes): Likewise.  Use internal_function.
5399         * resolv/inet_net_pton.c (inet_net_pton): Convert to
5400         prototype-style function definition.
5401         (inet_net_pton_ipv4): Likewise.
5402         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5403         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
5404         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
5405         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
5406         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5407         Make variadic.
5408         * time/strptime_l.c (localtime_r): Convert to prototype-style
5409         function definition.
5410         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5411         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5412         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5413         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5415         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
5416         definition.
5417         (_ufc_doit_r): Likewise.
5418         * crypt/crypt_util.c (_ufc_copymem): Likewise.
5419         (_ufc_output_conversion_r): Likewise.
5420         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
5421         * inet/rcmd.c (rcmd_af): Likewise.
5422         (rcmd): Likewise.
5423         (ruserok_af): Likewise.
5424         (ruserok): Likewise.
5425         (ruserok2_sa): Likewise.
5426         (ruserok_sa): Likewise.
5427         (iruserok_af): Likewise.
5428         (iruserok): Likewise.
5429         (__ivaliduser): Likewise.
5430         (__validuser2_sa): Likewise.
5431         * inet/rexec.c (rexec_af): Likewise.
5432         (rexec): Likewise.
5433         * inet/ruserpass.c (ruserpass): Likewise.
5434         * locale/programs/xmalloc.c (xcalloc): Likewise.
5435         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
5436         * math/w_drem.c (__drem): Likewise.
5437         * math/w_dremf.c (__dremf): Likewise.
5438         * math/w_dreml.c (__dreml): Likewise.
5439         * misc/daemon.c (daemon): Likewise.
5440         * resolv/res_debug.c (p_fqnname): Likewise.
5441         * stdlib/div.c (div): Likewise.
5442         * string/memcmp.c (memcmp_bytes): Likewise.
5443         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
5444         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
5446         * crypt/cert.c (main): Convert to prototype-style function
5447         definition.
5448         * io/pipe.c (__pipe): Likewise.
5449         * io/pipe2.c (__pipe2): Likewise.
5450         * misc/futimesat.c (futimesat): Likewise.
5451         * misc/utimes.c (__utimes): Likewise.
5452         * posix/execve.c (__execve): Likewise.
5453         * posix/execvp.c (execvp): Likewise.
5454         * posix/execvpe.c (__execvpe): Likewise.
5455         * posix/fexecve.c (fexecve): Likewise.
5456         * socket/socketpair.c (socketpair): Likewise.
5457         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5458         * stdlib/erand48.c (erand48): Likewise.
5459         * stdlib/erand48_r.c (__erand48_r): Likewise.
5460         * stdlib/jrand48.c (jrand48): Likewise.
5461         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
5462         * stdlib/lcong48.c (lcong48): Likewise.
5463         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
5464         * stdlib/nrand48.c (nrand48): Likewise.
5465         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
5466         * stdlib/seed48.c (seed48): Likewise.
5467         * stdlib/seed48_r.c (__seed48_r): Likewise.
5468         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
5469         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
5470         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
5472 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
5474         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
5475         * configure: Regenerated.
5476         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
5477         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
5478         unconditional.
5479         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5480         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5481         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5482         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
5483         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
5484         unconditional.
5485         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5487         * posix/Makefile (CFLAGS-regex.c): Remove variable.
5488         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
5490         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
5491         function definition.
5492         * crypt/crypt_util.c (__encrypt_r): Likewise.
5493         * libio/genops.c (_IO_no_init): Likewise.
5494         * libio/iofopncook.c (_IO_fopencookie): Likewise.
5495         (_IO_old_fopencookie): Likewise.
5496         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5497         * libio/iogetline.c (_IO_getline): Likewise.
5498         (_IO_getline_info): Likewise.
5499         * libio/iogetwline.c (_IO_getwline): Likewise.
5500         (_IO_getwline_info): Likewise.
5501         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5502         * libio/vswprintf.c (_IO_vswprintf): Likewise.
5503         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
5504         (find_entry): Likewise.
5505         (iterate_table): Likewise.
5506         (lookup): Likewise.
5507         * login/forkpty.c (forkpty): Likewise.
5508         * misc/hsearch_r.c (__hsearch_r): Likewise.
5509         * misc/select.c (__select): Likewise.
5510         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
5511         Likewise.
5512         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
5513         Likewise.
5514         * nptl/old_pthread_cond_timedwait.c
5515         (__pthread_cond_timedwait_2_0): Likewise.
5516         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
5517         * nptl/pthread_barrierattr_getpshared.c
5518         (pthread_barrierattr_getpshared): Likewise.
5519         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
5520         Likewise.
5521         * nptl/pthread_mutex_setprioceiling.c
5522         (pthread_mutex_setprioceiling): Likewise.
5523         * nptl/pthread_mutexattr_getprioceiling.c
5524         (pthread_mutexattr_getprioceiling): Likewise.
5525         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
5526         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5527         Likewise.
5528         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5529         Likewise.
5530         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
5531         Likewise.
5532         * socket/recvfrom.c (__recvfrom): Likewise.
5533         * socket/sendto.c (__sendto): Likewise.
5534         * socket/setsockopt.c (__setsockopt): Likewise.
5535         * stdio-common/_itoa.c (_itoa): Likewise.
5536         * stdio-common/_itowa.c (_itowa): Likewise.
5537         * stdio-common/reg-printf.c (__register_printf_specifier):
5538         Likewise.
5539         (__register_printf_function): Likewise.
5540         * stdio-common/tempname.c (__path_search): Likewise.
5541         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
5542         * stdlib/mul_1.c (mpn_mul_1): Likewise.
5543         * stdlib/random_r.c (__initstate_r): Likewise.
5544         * stdlib/setenv.c (__add_to_environ): Likewise.
5545         * stdlib/submul_1.c (mpn_submul_1): Likewise.
5546         * streams/getpmsg.c (getpmsg): Likewise.
5547         * streams/putmsg.c (putmsg): Likewise.
5548         * streams/putpmsg.c (putpmsg): Likewise.
5549         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
5550         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
5551         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
5552         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
5553         * sunrpc/pm_getport.c (pmap_getport): Likewise.
5554         * sunrpc/svc_udp.c (cache_get): Likewise.
5555         * sunrpc/xdr_array.c (xdr_vector): Likewise.
5556         * sysdeps/mach/hurd/getcwd.c
5557         (__canonicalize_directory_name_internal): Likewise.
5558         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
5559         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
5560         * sysdeps/mach/hurd/select.c (__select): Likewise.
5561         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
5562         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
5563         * sysdeps/sparc/nptl/pthread_barrier_init.c
5564         (__pthread_barrier_init): Likewise.
5565         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
5566         (__pthread_cond_timedwait): Likewise.
5567         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
5568         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
5569         Likewise.
5570         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
5571         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
5572         Likewise.
5573         * sysvipc/semtimedop.c (semtimedop): Likewise.
5574         * time/setitimer.c (__setitimer): Likewise.
5575         * time/strftime_l.c (emacs_strftime): Likewise.
5577 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5579         * config.make.in (have-ssp): Delete.
5580         (stack-protector): New variable.
5581         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
5582         cache test for -fstack-protector-strong.  Export stack_protector to
5583         the best ssp flag.
5584         * configure: Regenerated.
5585         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
5586         * nscd/Makefile (CFLAGS-nscd): Likewise.
5587         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5589 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
5591         [BZ #19122]
5592         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
5593         attribute_hidden.
5595 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5597         [BZ #18743]
5598         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
5599         code to...
5600         (ELIDE_LOCK): ...here.
5601         (__get_new_count): New function with part of the code from
5602         __elide_lock that updates the value of adapt_count after a
5603         transaction abort.
5604         (__elided_trylock): Moved this code to...
5605         (ELIDE_TRYLOCK): ...here.
5607 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5609         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
5610         * configure: Regenerate.
5611         * INSTALL: Regenerate.
5612         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
5613         and tweak grammar.
5615 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
5617         * login/programs/pt_chown.c: Include signal.h
5618         (main): Clear any signal mask from the parent process.
5620 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
5622         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
5623         * configure: Regenerated.
5624         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
5625         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
5626         $(gnu89-inline-CFLAGS).
5628         * configure.ac (libc_cv_asm_weak_directive): Remove configure
5629         test.
5630         (libc_cv_asm_weakext_directive): Likewise.
5631         * configure: Regenerated.
5632         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
5633         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
5634         * include/libc-symbols.h
5635         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
5636         #error.
5637         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
5638         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
5640         * sysdeps/arm/backtrace.c (__backtrace): Convert to
5641         prototype-style function definition.
5642         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5643         * sysdeps/i386/ffs.c (__ffs): Likewise.
5644         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5645         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
5646         Likewise.
5647         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5648         Likewise.
5649         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5650         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5651         Likewise.
5652         * sysdeps/m68k/ffs.c (__ffs): Likewise.
5653         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
5654         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
5655         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
5656         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
5657         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
5658         * sysdeps/mach/hurd/access.c (__access): Likewise.
5659         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
5660         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
5661         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
5662         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
5663         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
5664         (cthread_getspecific): Likewise.
5665         (cthread_setspecific): Likewise.
5666         (__libc_getspecific): Likewise.
5667         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
5668         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
5669         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
5670         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
5671         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
5672         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
5673         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
5674         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
5675         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
5676         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
5677         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
5678         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5679         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
5680         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
5681         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
5682         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
5683         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
5684         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
5685         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
5686         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
5687         * sysdeps/mach/hurd/link.c (__link): Likewise.
5688         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
5689         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
5690         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
5691         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
5692         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5693         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
5694         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
5695         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
5696         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5697         * sysdeps/mach/hurd/rename.c (rename): Likewise.
5698         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
5699         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
5700         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
5701         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
5702         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
5703         * sysdeps/mach/hurd/send.c (__send): Likewise.
5704         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
5705         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
5706         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
5707         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
5708         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
5709         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
5710         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
5711         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
5712         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
5713         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
5714         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
5715         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
5716         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
5717         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
5718         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5719         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5720         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
5721         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
5722         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
5723         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5724         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
5725         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
5726         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
5727         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
5728         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
5729         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
5730         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
5731         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5732         * sysdeps/posix/alarm.c (alarm): Likewise.
5733         * sysdeps/posix/cuserid.c (cuserid): Likewise.
5734         * sysdeps/posix/dirfd.c (dirfd): Likewise.
5735         * sysdeps/posix/dup.c (__dup): Likewise.
5736         * sysdeps/posix/dup2.c (__dup2): Likewise.
5737         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
5738         (main): Likewise.
5739         * sysdeps/posix/flock.c (__flock): Likewise.
5740         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5741         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5742         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
5743         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
5744         * sysdeps/posix/isatty.c (__isatty): Likewise.
5745         * sysdeps/posix/killpg.c (killpg): Likewise.
5746         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5747         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
5748         * sysdeps/posix/raise.c (raise): Likewise.
5749         * sysdeps/posix/remove.c (remove): Likewise.
5750         * sysdeps/posix/rename.c (rename): Likewise.
5751         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
5752         * sysdeps/posix/seekdir.c (seekdir): Likewise.
5753         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5754         * sysdeps/posix/sigignore.c (sigignore): Likewise.
5755         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
5756         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
5757         * sysdeps/posix/sigset.c (sigset): Likewise.
5758         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
5759         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5760         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
5761         * sysdeps/posix/time.c (time): Likewise.
5762         * sysdeps/posix/ttyname.c (getttyname): Likewise.
5763         (ttyname): Likewise.
5764         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
5765         * sysdeps/posix/utime.c (utime): Likewise.
5766         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
5767         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5768         Likewise.
5769         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
5770         (pthread_spin_trylock): Likewise.
5771         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
5772         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
5773         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
5774         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
5775         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
5776         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
5777         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
5778         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
5779         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
5780         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
5781         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
5782         * sysdeps/s390/ffs.c (__ffs): Likewise.
5783         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
5784         Likewise.
5785         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5786         Likewise.
5787         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
5788         Likewise.
5789         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
5790         (pthread_barrier_destroy): Likewise.
5791         * sysdeps/sparc/nptl/pthread_barrier_wait.c
5792         (__pthread_barrier_wait): Likewise.
5793         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
5794         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5795         (__pthread_barrier_wait): Likewise.
5796         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
5797         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
5798         (memcmp_not_common_alignment): Likewise.
5799         (MEMCMP): Likewise.
5800         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
5801         (_wordcopy_fwd_dest_aligned): Likewise.
5802         (_wordcopy_bwd_aligned): Likewise.
5803         (_wordcopy_bwd_dest_aligned): Likewise.
5804         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
5805         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
5806         * sysdeps/unix/bsd/stty.c (stty): Likewise.
5807         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
5808         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
5809         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
5810         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5811         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5812         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5813         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5814         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5815         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5816         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5817         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5818         * sysdeps/unix/stime.c (stime): Likewise.
5819         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5820         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5821         Likewise.  Use internal_function.
5822         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5823         Convert to prototype-style function definition.
5824         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5825         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5826         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5827         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5828         Likewise.  Use internal_function.
5829         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5830         prototype-style function definition
5831         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5832         Likewise.
5833         (__getlogin_r): Likewise.
5834         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5835         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5836         (__pthread_cond_broadcast): Likewise.
5837         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5838         (__pthread_cond_destroy): Likewise.
5839         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5840         (__pthread_cond_init): Likewise.
5841         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5842         (__pthread_cond_signal): Likewise.
5843         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5844         (__pthread_cond_wait): Likewise.
5845         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5846         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5847         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5848         Likewise.
5849         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5850         Likewise.
5851         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5852         Likewise.
5853         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5854         Likewise.
5855         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5857         (__ftruncate64): Likewise.
5858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5859         (truncate64): Likewise.
5860         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5861         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5862         (pthread_getcpuclockid): Likewise.
5863         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5864         Likewise.
5865         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5866         Likewise.
5867         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5868         Likewise.
5869         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5870         Likewise.
5871         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
5872         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
5873         (__libc_sigaction): Likewise.
5874         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
5875         Likewise.
5876         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
5877         (__sigprocmask): Likewise.
5878         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
5879         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
5880         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
5881         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5882         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5883         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
5884         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5885         Likewise.
5886         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5887         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5888         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5889         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
5890         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
5891         Likewise.
5892         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
5893         (__sigprocmask): Likewise.
5894         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
5895         (cfgetispeed): Likewise.
5896         (cfsetospeed): Likewise.
5897         (cfsetispeed): Likewise.
5898         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
5899         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
5900         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5901         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5902         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
5903         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
5904         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
5905         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
5906         Likewise.
5907         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
5908         Likewise.
5909         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
5910         Likewise.
5911         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
5912         Likewise.
5913         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5915 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5917         sunrpc: Rewrite with explicit TLS access using __thread.
5918         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
5919         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
5920         directly.
5921         (__rpc_thread_variables): Access thread_rpc_vars directly.
5922         Eliminate redundant assignment of the tvp variable.
5924 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5926         malloc: Rewrite with explicit TLS access using __thread.
5927         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
5928         (tsd_setspecific, tsd_getspecific): Remove.
5929         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
5930         (tsd_setspecific, tsd_getspecific): Likewise.
5931         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
5932         (tsd_setspecific, tsd_getspecific): Likewise.
5933         * malloc/arena.c (thread_arena): New TLS variable.
5934         (arena_key): Remove variable.
5935         (arena_get): Use thread_arena.
5936         (arena_lookup): Remove macro.
5937         (malloc_atfork, free_atfork, ptmalloc_lock_all)
5938         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
5939         (_int_new_arena, get_free_list, reused_arena)
5940         (arena_thread_freeres): Use thread_arena.
5941         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
5942         tsd_getspecific, tsd_setspecific from safety annotations.
5943         (Allocating Cleared Space): Remove arena_lookup from safety
5944         annotations.
5946 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5948         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
5949         struct scratch_buffer instead of extend_alloca.
5951 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5953         * sysdeps/unix/sysv/linux/kernel-features.h
5954         (__ASSUME_SOCK_CLOEXEC): Remove.
5955         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
5956         (__have_paccept): Remove unused macro.
5957         * include/unistd.h (__have_sock_cloexec): Remove declaration.
5958         * misc/syslog.c (openlog_internal): Remove fallback code for
5959         !__ASSUME_SOCK_CLOEXEC.
5960         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5961         missing SOCK_CLOEXEC.
5962         * nscd/connections.c (have_sock_cloexec): Remove definition.
5963         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5964         * nscd/nscd_helper.c (open_socket): Remove fallback code for
5965         !__ASSUME_SOCK_CLOEXEC.
5966         * resolv/res_send.c (__have_o_nonblock): Remove definition.
5967         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5968         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
5969         definition.
5970         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
5971         code for !__ASSUME_SOCK_CLOEXEC.
5973 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5975         [BZ #18982]
5976         * manual/stdio.texi (Variable Arguments Output): Add portability
5977         note, explaining that vfprintf clobbers the va_list pointer.
5979 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5981         * math/libm-test.inc (fabs_test_data): Add more tests.
5982         (fdim_test_data): Likewise.
5983         (fma_test_data): Likewise.
5984         (fmax_test_data): Likewise.
5985         (fmin_test_data): Likewise.
5986         (fmod_test_data): Likewise.
5988 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
5990         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
5991         data.
5993 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5995         * math/libm-test.inc (ceil_test_data): Add more tests and more
5996         expectations for "inexact".
5997         (floor_test_data): Add more tests.
5998         (round_test_data): Likewise.
5999         (trunc_test_data): Likewise.
6001         * crypt/cert.c (good_bye): Convert to prototype-style function
6002         definition.
6003         (get8): Likewise.
6004         (put8): Likewise.
6005         * crypt/crypt-entry.c (crypt): Likewise.
6006         (__fcrypt): Likewise.
6007         * crypt/crypt_util.c (_ufc_prbits): Likewise.
6008         (_ufc_set_bits): Likewise.
6009         (_ufc_clearmem): Likewise.
6010         (__init_des_r): Likewise.
6011         (shuffle_sb): Likewise.
6012         (shuffle_sb): Likewise.
6013         (_ufc_setup_salt_r): Likewise.
6014         (_ufc_mk_keytab_r): Likewise.
6015         (_ufc_dofinalperm_r): Likewise.
6016         (encrypt): Likewise.
6017         (__setkey_r): Likewise.
6018         (setkey): Likewise.
6019         * crypt/md5.c (md5_init_ctx): Likewise.
6020         (md5_read_ctx): Likewise.
6021         (md5_finish_ctx): Likewise.
6022         (md5_stream): Likewise.
6023         (md5_buffer): Likewise.
6024         (md5_process_bytes): Likewise.
6025         * crypt/sha256.c (__sha256_init_ctx): Likewise.
6026         (__sha256_finish_ctx): Likewise.
6027         (__sha256_process_bytes): Likewise.
6028         * crypt/sha512.c (__sha512_init_ctx): Likewise.
6029         (__sha512_finish_ctx): Likewise.
6030         (__sha512_process_bytes): Likewise.
6031         * ctype/isctype.c (__isctype): Likewise.
6032         * debug/backtrace.c (__backtrace): Likewise.
6033         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
6034         * debug/fgets_chk.c (__fgets_chk): Likewise.
6035         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
6036         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
6037         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6038         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6039         * debug/memset_chk.c (__memset_chk): Likewise.
6040         * debug/strcat_chk.c (__strcat_chk): Likewise.
6041         * debug/strncat_chk.c (__strncat_chk): Likewise.
6042         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
6043         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
6044         * dirent/dirfd.c (dirfd): Likewise.
6045         * dirent/getdents.c (__getdirentries): Likewise.
6046         * dirent/getdents64.c (getdirentries64): Likewise.
6047         * dirent/rewinddir.c (__rewinddir): Likewise.
6048         * dirent/seekdir.c (seekdir): Likewise.
6049         * dirent/telldir.c (telldir): Likewise.
6050         * elf/sln.c (makesymlinks): Likewise.
6051         (makesymlink): Likewise.
6052         * gmon/gmon.c (__moncontrol): Likewise.
6053         (__monstartup): Likewise.
6054         (write_hist): Likewise.
6055         (write_call_graph): Likewise.
6056         (write_bb_counts): Likewise.
6057         * grp/setgroups.c (setgroups): Likewise.
6058         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6059         * inet/inet_net.c (inet_network): Likewise.
6060         * inet/inet_netof.c (inet_netof): Likewise.
6061         * inet/rcmd.c (rresvport_af): Likewise.
6062         (rresvport): Likewise.
6063         * io/access.c (__access): Likewise.
6064         * io/chdir.c (__chdir): Likewise.
6065         * io/chmod.c (__chmod): Likewise.
6066         * io/chown.c (__chown): Likewise.
6067         * io/close.c (__close): Likewise.
6068         * io/creat.c (creat): Likewise.
6069         * io/creat64.c (creat64): Likewise.
6070         * io/dup.c (__dup): Likewise.
6071         * io/dup2.c (__dup2): Likewise.
6072         * io/dup3.c (__dup3): Likewise.
6073         * io/euidaccess.c (__euidaccess): Likewise.
6074         * io/faccessat.c (faccessat): Likewise.
6075         * io/fchmod.c (__fchmod): Likewise.
6076         * io/fchmodat.c (fchmodat): Likewise.
6077         * io/fchown.c (__fchown): Likewise.
6078         * io/fchownat.c (fchownat): Likewise.
6079         * io/fcntl.c (__fcntl): Likewise.
6080         * io/flock.c (__flock): Likewise.
6081         * io/fts.c (fts_load): Likewise.
6082         (fts_close): Likewise.
6083         (fts_read): Likewise.
6084         (fts_set): Likewise.
6085         (fts_children): Likewise.
6086         (fts_build): Likewise.
6087         (fts_stat): Likewise.
6088         (fts_sort): Likewise.
6089         (fts_alloc): Likewise.
6090         (fts_lfree): Likewise.
6091         (fts_palloc): Likewise.
6092         (fts_padjust): Likewise.
6093         (fts_maxarglen): Likewise.
6094         (fts_safe_changedir): Likewise.
6095         * io/getwd.c (getwd): Likewise.
6096         * io/isatty.c (__isatty): Likewise.
6097         * io/lchown.c (__lchown): Likewise.
6098         * io/link.c (__link): Likewise.
6099         * io/linkat.c (linkat): Likewise.
6100         * io/lseek.c (__libc_lseek): Likewise.
6101         * io/mkdir.c (__mkdir): Likewise.
6102         * io/mkdirat.c (mkdirat): Likewise.
6103         * io/mkfifo.c (mkfifo): Likewise.
6104         * io/mkfifoat.c (mkfifoat): Likewise.
6105         * io/open.c (__libc_open): Likewise.
6106         * io/open64.c (__libc_open64): Likewise.
6107         * io/readlink.c (__readlink): Likewise.
6108         * io/readlinkat.c (readlinkat): Likewise.
6109         * io/rmdir.c (__rmdir): Likewise.
6110         * io/symlink.c (__symlink): Likewise.
6111         * io/symlinkat.c (symlinkat): Likewise.
6112         * io/ttyname.c (ttyname): Likewise.
6113         * io/ttyname_r.c (__ttyname_r): Likewise.
6114         * io/umask.c (__umask): Likewise.
6115         * io/unlink.c (__unlink): Likewise.
6116         * io/unlinkat.c (unlinkat): Likewise.
6117         * io/utime.c (utime): Likewise.
6118         * libio/clearerr.c (clearerr): Likewise.
6119         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
6120         * libio/feof.c (_IO_feof): Likewise.
6121         * libio/feof_u.c (feof_unlocked): Likewise.
6122         * libio/ferror.c (_IO_ferror): Likewise.
6123         * libio/ferror_u.c (ferror_unlocked): Likewise.
6124         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6125         * libio/fileno.c (__fileno): Likewise.
6126         * libio/fputc.c (fputc): Likewise.
6127         * libio/fputc_u.c (fputc_unlocked): Likewise.
6128         * libio/fputwc.c (fputwc): Likewise.
6129         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
6130         * libio/freopen.c (freopen): Likewise.
6131         * libio/freopen64.c (freopen64): Likewise.
6132         * libio/fseek.c (fseek): Likewise.
6133         * libio/fseeko.c (fseeko): Likewise.
6134         * libio/fseeko64.c (fseeko64): Likewise.
6135         * libio/ftello.c (__ftello): Likewise.
6136         * libio/ftello64.c (ftello64): Likewise.
6137         * libio/fwide.c (fwide): Likewise.
6138         * libio/genops.c (_IO_un_link): Likewise.
6139         (_IO_link_in): Likewise.
6140         (_IO_least_marker): Likewise.
6141         (_IO_switch_to_main_get_area): Likewise.
6142         (_IO_switch_to_backup_area): Likewise.
6143         (_IO_switch_to_get_mode): Likewise.
6144         (_IO_free_backup_area): Likewise.
6145         (_IO_switch_to_put_mode): Likewise.
6146         (__overflow): Likewise.
6147         (__underflow): Likewise.
6148         (__uflow): Likewise.
6149         (_IO_setb): Likewise.
6150         (_IO_doallocbuf): Likewise.
6151         (_IO_default_underflow): Likewise.
6152         (_IO_default_uflow): Likewise.
6153         (_IO_default_xsputn): Likewise.
6154         (_IO_sgetn): Likewise.
6155         (_IO_default_xsgetn): Likewise.
6156         (_IO_sync): Likewise.
6157         (_IO_default_setbuf): Likewise.
6158         (_IO_default_seekpos): Likewise.
6159         (_IO_default_doallocate): Likewise.
6160         (_IO_init): Likewise.
6161         (_IO_old_init): Likewise.
6162         (_IO_default_sync): Likewise.
6163         (_IO_default_finish): Likewise.
6164         (_IO_default_seekoff): Likewise.
6165         (_IO_sputbackc): Likewise.
6166         (_IO_sungetc): Likewise.
6167         (_IO_set_column): Likewise.
6168         (_IO_set_column): Likewise.
6169         (_IO_adjust_column): Likewise.
6170         (_IO_get_column): Likewise.
6171         (_IO_init_marker): Likewise.
6172         (_IO_remove_marker): Likewise.
6173         (_IO_marker_difference): Likewise.
6174         (_IO_marker_delta): Likewise.
6175         (_IO_seekmark): Likewise.
6176         (_IO_unsave_markers): Likewise.
6177         (_IO_nobackup_pbackfail): Likewise.
6178         (_IO_default_pbackfail): Likewise.
6179         (_IO_default_seek): Likewise.
6180         (_IO_default_stat): Likewise.
6181         (_IO_default_read): Likewise.
6182         (_IO_default_write): Likewise.
6183         (_IO_default_showmanyc): Likewise.
6184         (_IO_default_imbue): Likewise.
6185         (_IO_iter_next): Likewise.
6186         (_IO_iter_file): Likewise.
6187         * libio/getc.c (_IO_getc): Likewise.
6188         * libio/getwc.c (_IO_getwc): Likewise.
6189         * libio/iofclose.c (_IO_new_fclose): Likewise.
6190         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6191         * libio/iofflush.c (_IO_fflush): Likewise.
6192         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
6193         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
6194         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
6195         * libio/iofgets.c (_IO_fgets): Likewise.
6196         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
6197         * libio/iofgetws.c (fgetws): Likewise.
6198         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6199         * libio/iofopen64.c (_IO_fopen64): Likewise.
6200         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6201         (_IO_cookie_write): Likewise.
6202         (_IO_cookie_seek): Likewise.
6203         (_IO_cookie_close): Likewise.
6204         (_IO_cookie_seekoff): Likewise.
6205         (_IO_old_cookie_seek): Likewise.
6206         * libio/iofputs.c (_IO_fputs): Likewise.
6207         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
6208         * libio/iofputws.c (fputws): Likewise.
6209         * libio/iofputws_u.c (fputws_unlocked): Likewise.
6210         * libio/iofread.c (_IO_fread): Likewise.
6211         * libio/iofread_u.c (__fread_unlocked): Likewise.
6212         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
6213         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
6214         * libio/ioftell.c (_IO_ftell): Likewise.
6215         * libio/iofwrite.c (_IO_fwrite): Likewise.
6216         * libio/iogetdelim.c (_IO_getdelim): Likewise.
6217         * libio/iogets.c (_IO_gets): Likewise.
6218         * libio/iopadn.c (_IO_padn): Likewise.
6219         * libio/iopopen.c (_IO_new_proc_open): Likewise.
6220         (_IO_new_popen): Likewise.
6221         (_IO_new_proc_close): Likewise.
6222         * libio/ioputs.c (_IO_puts): Likewise.
6223         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
6224         (_IO_seekoff): Likewise.
6225         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
6226         (_IO_seekpos): Likewise.
6227         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6228         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6229         * libio/ioungetc.c (_IO_ungetc): Likewise.
6230         * libio/ioungetwc.c (ungetwc): Likewise.
6231         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6232         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6233         * libio/iowpadn.c (_IO_wpadn): Likewise.
6234         * libio/libc_fatal.c (__libc_fatal): Likewise.
6235         * libio/memstream.c (__open_memstream): Likewise.
6236         (_IO_mem_sync): Likewise.
6237         (_IO_mem_finish): Likewise.
6238         * libio/oldfileops.c (_IO_old_file_init): Likewise.
6239         (_IO_old_file_close_it): Likewise.
6240         (_IO_old_file_finish): Likewise.
6241         (_IO_old_file_fopen): Likewise.
6242         (_IO_old_file_attach): Likewise.
6243         (_IO_old_file_setbuf): Likewise.
6244         (_IO_old_do_write): Likewise.
6245         (old_do_write): Likewise.
6246         (_IO_old_file_underflow): Likewise.
6247         (_IO_old_file_overflow): Likewise.
6248         (_IO_old_file_sync): Likewise.
6249         (_IO_old_file_seekoff): Likewise.
6250         (_IO_old_file_write): Likewise.
6251         (_IO_old_file_xsputn): Likewise.
6252         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6253         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6254         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
6255         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
6256         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6257         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
6258         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
6259         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6260         (_IO_old_popen): Likewise.
6261         (_IO_old_proc_close): Likewise.
6262         * libio/oldpclose.c (__old_pclose): Likewise.
6263         * libio/pclose.c (__new_pclose): Likewise.
6264         * libio/peekc.c (_IO_peekc_locked): Likewise.
6265         * libio/putc.c (_IO_putc): Likewise.
6266         * libio/putc_u.c (putc_unlocked): Likewise.
6267         * libio/putchar.c (putchar): Likewise.
6268         * libio/putchar_u.c (putchar_unlocked): Likewise.
6269         * libio/putwc.c (putwc): Likewise.
6270         * libio/putwc_u.c (putwc_unlocked): Likewise.
6271         * libio/putwchar.c (putwchar): Likewise.
6272         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6273         * libio/rewind.c (rewind): Likewise.
6274         * libio/setbuf.c (setbuf): Likewise.
6275         * libio/setlinebuf.c (setlinebuf): Likewise.
6276         * libio/vasprintf.c (_IO_vasprintf): Likewise.
6277         * libio/vscanf.c (_IO_vscanf): Likewise.
6278         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
6279         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
6280         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
6281         * libio/wgenops.c (_IO_least_wmarker): Likewise.
6282         (_IO_switch_to_main_wget_area): Likewise.
6283         (_IO_switch_to_wbackup_area): Likewise.
6284         (_IO_wsetb): Likewise.
6285         (_IO_wdefault_pbackfail): Likewise.
6286         (_IO_wdefault_finish): Likewise.
6287         (_IO_wdefault_uflow): Likewise.
6288         (__woverflow): Likewise.
6289         (__wuflow): Likewise.
6290         (__wunderflow): Likewise.
6291         (_IO_wdefault_xsputn): Likewise.
6292         (_IO_wdefault_xsgetn): Likewise.
6293         (_IO_wdoallocbuf): Likewise.
6294         (_IO_wdefault_doallocate): Likewise.
6295         (_IO_switch_to_wget_mode): Likewise.
6296         (_IO_free_wbackup_area): Likewise.
6297         (_IO_switch_to_wput_mode): Likewise.
6298         (_IO_sputbackwc): Likewise.
6299         (_IO_sungetwc): Likewise.
6300         (_IO_adjust_wcolumn): Likewise.
6301         (_IO_init_wmarker): Likewise.
6302         (_IO_wmarker_delta): Likewise.
6303         (_IO_seekwmark): Likewise.
6304         (_IO_unsave_wmarkers): Likewise.
6305         * libio/wmemstream.c (open_wmemstream): Likewise.
6306         (_IO_wmem_sync): Likewise.
6307         (_IO_wmem_finish): Likewise.
6308         * locale/nl_langinfo.c (nl_langinfo): Likewise.
6309         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
6310         * locale/programs/simple-hash.c (init_hash): Likewise.
6311         (delete_hash): Likewise.
6312         (insert_entry): Likewise.
6313         (set_entry): Likewise.
6314         (next_prime): Likewise.
6315         (is_prime): Likewise.
6316         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
6317         (xmalloc): Likewise.
6318         (xrealloc): Likewise.
6319         * locale/programs/xstrdup.c (xstrdup): Likewise.
6320         * localedata/collate-test.c (xstrcoll): Likewise.
6321         * localedata/xfrm-test.c (xstrcmp): Likewise.
6322         * login/getlogin_r.c (__getlogin_r): Likewise.
6323         * login/getpt.c (__posix_openpt): Likewise.
6324         * login/login_tty.c (login_tty): Likewise.
6325         * login/setlogin.c (setlogin): Likewise.
6326         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
6327         (mach_msg_destroy_port): Likewise.
6328         (mach_msg_destroy_memory): Likewise.
6329         * malloc/mcheck.c (flood): Likewise.
6330         * misc/acct.c (acct): Likewise.
6331         * misc/brk.c (__brk): Likewise.
6332         * misc/chflags.c (chflags): Likewise.
6333         * misc/chroot.c (chroot): Likewise.
6334         * misc/fchflags.c (fchflags): Likewise.
6335         * misc/fstab.c (getfsspec): Likewise.
6336         (getfsfile): Likewise.
6337         * misc/fsync.c (fsync): Likewise.
6338         * misc/ftruncate.c (__ftruncate): Likewise.
6339         * misc/ftruncate64.c (__ftruncate64): Likewise.
6340         * misc/getdomain.c (getdomainname): Likewise.
6341         (getdomainname): Likewise.
6342         * misc/gethostname.c (__gethostname): Likewise.
6343         * misc/getpass.c (getpass): Likewise.
6344         * misc/getttyent.c (skip): Likewise.
6345         (value): Likewise.
6346         * misc/gtty.c (gtty): Likewise.
6347         * misc/hsearch.c (hsearch): Likewise.
6348         (hcreate): Likewise.
6349         * misc/hsearch_r.c (__hcreate_r): Likewise.
6350         (__hdestroy_r): Likewise.
6351         * misc/ioctl.c (__ioctl): Likewise.
6352         * misc/mkdtemp.c (mkdtemp): Likewise.
6353         * misc/mkostemp.c (mkostemp): Likewise.
6354         * misc/mkostemp64.c (mkostemp64): Likewise.
6355         * misc/mkostemps.c (mkostemps): Likewise.
6356         * misc/mkostemps64.c (mkostemps64): Likewise.
6357         * misc/mkstemp.c (mkstemp): Likewise.
6358         * misc/mkstemp64.c (mkstemp64): Likewise.
6359         * misc/mkstemps.c (mkstemps): Likewise.
6360         * misc/mkstemps64.c (mkstemps64): Likewise.
6361         * misc/mktemp.c (__mktemp): Likewise.
6362         * misc/preadv.c (preadv): Likewise.
6363         * misc/preadv64.c (preadv64): Likewise.
6364         * misc/pwritev.c (pwritev): Likewise.
6365         * misc/pwritev64.c (pwritev64): Likewise.
6366         * misc/readv.c (__readv): Likewise.
6367         * misc/revoke.c (revoke): Likewise.
6368         * misc/setdomain.c (setdomainname): Likewise.
6369         * misc/setegid.c (setegid): Likewise.
6370         * misc/seteuid.c (seteuid): Likewise.
6371         * misc/sethostid.c (sethostid): Likewise.
6372         * misc/sethostname.c (sethostname): Likewise.
6373         * misc/setregid.c (__setregid): Likewise.
6374         * misc/setreuid.c (__setreuid): Likewise.
6375         * misc/sstk.c (sstk): Likewise.
6376         * misc/stty.c (stty): Likewise.
6377         * misc/syscall.c (syscall): Likewise.
6378         * misc/syslog.c (setlogmask): Likewise.
6379         * misc/truncate.c (__truncate): Likewise.
6380         * misc/truncate64.c (truncate64): Likewise.
6381         * misc/ualarm.c (ualarm): Likewise.
6382         * misc/usleep.c (usleep): Likewise.
6383         * misc/ustat.c (ustat): Likewise.
6384         * misc/writev.c (__writev): Likewise.
6385         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
6386         * nptl/old_pthread_cond_broadcast.c
6387         (__pthread_cond_broadcast_2_0): Likewise.
6388         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
6389         Likewise.
6390         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
6391         Likewise.
6392         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
6393         Likewise.
6394         * nptl/pt-raise.c (raise): Likewise.
6395         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
6396         Likewise.
6397         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
6398         * nptl/pthread_barrierattr_destroy.c
6399         (pthread_barrierattr_destroy): Likewise.
6400         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
6401         Likewise.
6402         * nptl/pthread_barrierattr_setpshared.c
6403         (pthread_barrierattr_setpshared): Likewise.
6404         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6405         Likewise.
6406         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6407         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6408         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6409         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
6410         Likewise.
6411         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
6412         Likewise.
6413         * nptl/pthread_condattr_getpshared.c
6414         (pthread_condattr_getpshared): Likewise.
6415         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
6416         Likewise.
6417         * nptl/pthread_condattr_setpshared.c
6418         (pthread_condattr_setpshared): Likewise.
6419         * nptl/pthread_detach.c (pthread_detach): Likewise.
6420         * nptl/pthread_equal.c (__pthread_equal): Likewise.
6421         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
6422         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
6423         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
6424         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
6425         Likewise.
6426         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6427         Likewise.
6428         * nptl/pthread_mutex_getprioceiling.c
6429         (pthread_mutex_getprioceiling): Likewise.
6430         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
6431         Likewise.
6432         * nptl/pthread_mutexattr_getprotocol.c
6433         (pthread_mutexattr_getprotocol): Likewise.
6434         * nptl/pthread_mutexattr_getpshared.c
6435         (pthread_mutexattr_getpshared): Likewise.
6436         * nptl/pthread_mutexattr_getrobust.c
6437         (pthread_mutexattr_getrobust): Likewise.
6438         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6439         Likewise.
6440         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
6441         Likewise.
6442         * nptl/pthread_mutexattr_setprioceiling.c
6443         (pthread_mutexattr_setprioceiling): Likewise.
6444         * nptl/pthread_mutexattr_setprotocol.c
6445         (pthread_mutexattr_setprotocol): Likewise.
6446         * nptl/pthread_mutexattr_setpshared.c
6447         (pthread_mutexattr_setpshared): Likewise.
6448         * nptl/pthread_mutexattr_setrobust.c
6449         (pthread_mutexattr_setrobust): Likewise.
6450         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
6451         Likewise.
6452         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
6453         Likewise.
6454         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
6455         Likewise.
6456         * nptl/pthread_rwlockattr_getkind_np.c
6457         (pthread_rwlockattr_getkind_np): Likewise.
6458         * nptl/pthread_rwlockattr_getpshared.c
6459         (pthread_rwlockattr_getpshared): Likewise.
6460         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
6461         Likewise.
6462         * nptl/pthread_rwlockattr_setkind_np.c
6463         (pthread_rwlockattr_setkind_np): Likewise.
6464         * nptl/pthread_rwlockattr_setpshared.c
6465         (pthread_rwlockattr_setpshared): Likewise.
6466         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
6467         Likewise.
6468         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
6469         Likewise.
6470         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
6471         Likewise.
6472         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6473         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
6474         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
6475         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
6476         * nptl/sem_close.c (sem_close): Likewise.
6477         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
6478         * nptl/sem_init.c (__old_sem_init): Likewise.
6479         * nptl/sigaction.c (__sigaction): Likewise.
6480         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
6481         * posix/_exit.c (_exit): Likewise.
6482         * posix/alarm.c (alarm): Likewise.
6483         * posix/confstr.c (confstr): Likewise.
6484         * posix/fpathconf.c (__fpathconf): Likewise.
6485         * posix/getgroups.c (__getgroups): Likewise.
6486         * posix/getpgid.c (__getpgid): Likewise.
6487         * posix/group_member.c (__group_member): Likewise.
6488         * posix/pathconf.c (__pathconf): Likewise.
6489         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
6490         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
6491         * posix/setgid.c (__setgid): Likewise.
6492         * posix/setpgid.c (__setpgid): Likewise.
6493         * posix/setuid.c (__setuid): Likewise.
6494         * posix/sleep.c (__sleep): Likewise.
6495         * posix/sysconf.c (__sysconf): Likewise.
6496         * posix/times.c (__times): Likewise.
6497         * posix/uname.c (__uname): Likewise.
6498         * posix/waitid.c (__waitid): Likewise.
6499         * pwd/getpw.c (__getpw): Likewise.
6500         * resolv/base64.c (b64_pton): Likewise.
6501         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
6502         * resolv/gethnamaddr.c (Dprintf): Likewise.
6503         (gethostbyname): Likewise.
6504         (gethostbyname2): Likewise.
6505         (gethostbyaddr): Likewise.
6506         (_sethtent): Likewise.
6507         (_gethtbyname): Likewise.
6508         (_gethtbyname2): Likewise.
6509         (_gethtbyaddr): Likewise.
6510         (map_v4v6_address): Likewise.
6511         (map_v4v6_hostent): Likewise.
6512         (addrsort): Likewise.
6513         (ht_sethostent): Likewise.
6514         (ht_gethostbyname): Likewise.
6515         (ht_gethostbyaddr): Likewise.
6516         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
6517         (inet_net_ntop_ipv4): Likewise.
6518         * resolv/inet_neta.c (inet_neta): Likewise.
6519         * resolv/inet_ntop.c (inet_ntop): Likewise.
6520         (inet_ntop4): Likewise.
6521         (inet_ntop6): Likewise.
6522         * resolv/inet_pton.c (__inet_pton): Likewise.
6523         (inet_pton4): Likewise.
6524         (inet_pton6): Likewise.
6525         * resolv/res_debug.c (loc_aton): Likewise.
6526         (loc_ntoa): Likewise.
6527         * resource/getpriority.c (__getpriority): Likewise.
6528         * resource/getrusage.c (__getrusage): Likewise.
6529         * resource/nice.c (nice): Likewise.
6530         * resource/setpriority.c (__setpriority): Likewise.
6531         * resource/setrlimit64.c (setrlimit64): Likewise.
6532         * resource/vlimit.c (vlimit): Likewise.
6533         * resource/vtimes.c (vtimes): Likewise.
6534         * rt/aio_error.c (aio_error): Likewise.
6535         * rt/aio_return.c (aio_return): Likewise.
6536         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
6537         * signal/kill.c (__kill): Likewise.
6538         * signal/killpg.c (killpg): Likewise.
6539         * signal/raise.c (raise): Likewise.
6540         * signal/sigaction.c (__sigaction): Likewise.
6541         * signal/sigaddset.c (sigaddset): Likewise.
6542         * signal/sigaltstack.c (sigaltstack): Likewise.
6543         * signal/sigandset.c (sigandset): Likewise.
6544         * signal/sigblock.c (__sigblock): Likewise.
6545         * signal/sigdelset.c (sigdelset): Likewise.
6546         * signal/sigempty.c (sigemptyset): Likewise.
6547         * signal/sigfillset.c (sigfillset): Likewise.
6548         * signal/sighold.c (sighold): Likewise.
6549         * signal/sigignore.c (sigignore): Likewise.
6550         * signal/sigintr.c (siginterrupt): Likewise.
6551         * signal/sigisempty.c (sigisemptyset): Likewise.
6552         * signal/sigismem.c (sigismember): Likewise.
6553         * signal/signal.c (signal): Likewise.
6554         * signal/sigorset.c (sigorset): Likewise.
6555         * signal/sigpause.c (__sigpause): Likewise.
6556         * signal/sigpending.c (sigpending): Likewise.
6557         * signal/sigprocmask.c (__sigprocmask): Likewise.
6558         * signal/sigrelse.c (sigrelse): Likewise.
6559         * signal/sigreturn.c (__sigreturn): Likewise.
6560         * signal/sigset.c (sigset): Likewise.
6561         * signal/sigsetmask.c (__sigsetmask): Likewise.
6562         * signal/sigstack.c (sigstack): Likewise.
6563         * signal/sigsuspend.c (__sigsuspend): Likewise.
6564         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
6565         * signal/sysv_signal.c (__sysv_signal): Likewise.
6566         * socket/accept.c (accept): Likewise.
6567         * socket/accept4.c (__libc_accept4): Likewise.
6568         * socket/bind.c (__bind): Likewise.
6569         * socket/connect.c (__connect): Likewise.
6570         * socket/getpeername.c (getpeername): Likewise.
6571         * socket/getsockname.c (__getsockname): Likewise.
6572         * socket/getsockopt.c (getsockopt): Likewise.
6573         * socket/listen.c (__listen): Likewise.
6574         * socket/recv.c (__recv): Likewise.
6575         * socket/recvmsg.c (__recvmsg): Likewise.
6576         * socket/send.c (__send): Likewise.
6577         * socket/sendmsg.c (__sendmsg): Likewise.
6578         * socket/shutdown.c (shutdown): Likewise.
6579         * socket/sockatmark.c (sockatmark): Likewise.
6580         * socket/socket.c (__socket): Likewise.
6581         * stdio-common/ctermid.c (ctermid): Likewise.
6582         * stdio-common/cuserid.c (cuserid): Likewise.
6583         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
6584         * stdio-common/remove.c (remove): Likewise.
6585         * stdio-common/rename.c (rename): Likewise.
6586         * stdio-common/renameat.c (renameat): Likewise.
6587         * stdio-common/tempname.c (__gen_tempname): Likewise.
6588         * stdio-common/xbug.c (InitBuffer): Likewise.
6589         (AppendToBuffer): Likewise.
6590         (ReadFile): Likewise.
6591         * stdlib/a64l.c (a64l): Likewise.
6592         * stdlib/drand48_r.c (drand48_r): Likewise.
6593         * stdlib/getcontext.c (getcontext): Likewise.
6594         * stdlib/getenv.c (getenv): Likewise.
6595         * stdlib/l64a.c (l64a): Likewise.
6596         * stdlib/llabs.c (llabs): Likewise.
6597         * stdlib/lldiv.c (lldiv): Likewise.
6598         * stdlib/lrand48_r.c (lrand48_r): Likewise.
6599         * stdlib/mrand48_r.c (mrand48_r): Likewise.
6600         * stdlib/putenv.c (putenv): Likewise.
6601         * stdlib/random.c (__srandom): Likewise.
6602         (__initstate): Likewise.
6603         (__setstate): Likewise.
6604         * stdlib/random_r.c (__srandom_r): Likewise.
6605         (__setstate_r): Likewise.
6606         (__random_r): Likewise.
6607         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
6608         * stdlib/setcontext.c (setcontext): Likewise.
6609         * stdlib/setenv.c (setenv): Likewise.
6610         (unsetenv): Likewise.
6611         * stdlib/srand48.c (srand48): Likewise.
6612         * stdlib/srand48_r.c (__srand48_r): Likewise.
6613         * stdlib/swapcontext.c (swapcontext): Likewise.
6614         * stdlib/system.c (__libc_system): Likewise.
6615         * stdlib/tst-strtod.c (expand): Likewise.
6616         * stdlib/tst-strtol.c (expand): Likewise.
6617         * stdlib/tst-strtoll.c (expand): Likewise.
6618         * streams/fattach.c (fattach): Likewise.
6619         * streams/fdetach.c (fdetach): Likewise.
6620         * streams/getmsg.c (getmsg): Likewise.
6621         * streams/isastream.c (isastream): Likewise.
6622         * string/ffs.c (__ffs): Likewise.
6623         * string/ffsll.c (ffsll): Likewise.
6624         * string/memcmp.c (memcmp_common_alignment): Likewise.
6625         (memcmp_not_common_alignment): Likewise.
6626         (MEMCMP): Likewise.
6627         * string/memcpy.c (memcpy): Likewise.
6628         * string/memmove.c (MEMMOVE): Likewise.
6629         * string/memset.c (memset): Likewise.
6630         * string/rawmemchr.c (RAWMEMCHR): Likewise.
6631         * string/strchrnul.c (STRCHRNUL): Likewise.
6632         * string/strerror.c (strerror): Likewise.
6633         * string/strndup.c (__strndup): Likewise.
6634         * string/strverscmp.c (__strverscmp): Likewise.
6635         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
6636         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
6637         (clnttcp_freeres): Likewise.
6638         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
6639         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
6640         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
6641         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
6642         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
6643         (xdr_callhdr): Likewise.
6644         * sunrpc/rpcinfo.c (udpping): Likewise.
6645         (tcpping): Likewise.
6646         (pstatus): Likewise.
6647         (pmapdump): Likewise.
6648         (brdcst): Likewise.
6649         (deletereg): Likewise.
6650         (getprognum): Likewise.
6651         (getvers): Likewise.
6652         (get_inet_address): Likewise.
6653         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
6654         * sunrpc/svc_udp.c (svcudp_create): Likewise.
6655         (svcudp_stat): Likewise.
6656         (svcudp_recv): Likewise.
6657         (svcudp_reply): Likewise.
6658         (svcudp_getargs): Likewise.
6659         (svcudp_freeargs): Likewise.
6660         (svcudp_destroy): Likewise.
6661         * sunrpc/xdr.c (xdr_bytes): Likewise.
6662         (xdr_netobj): Likewise.
6663         (xdr_string): Likewise.
6664         (xdr_wrapstring): Likewise.
6665         * sunrpc/xdr_float.c (xdr_float): Likewise.
6666         (xdr_double): Likewise.
6667         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
6668         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
6669         * sysvipc/ftok.c (ftok): Likewise.
6670         * sysvipc/msgctl.c (msgctl): Likewise.
6671         * sysvipc/msgget.c (msgget): Likewise.
6672         * sysvipc/msgrcv.c (msgrcv): Likewise.
6673         * sysvipc/msgsnd.c (msgsnd): Likewise.
6674         * sysvipc/semget.c (semget): Likewise.
6675         * sysvipc/semop.c (semop): Likewise.
6676         * sysvipc/shmat.c (shmat): Likewise.
6677         * sysvipc/shmctl.c (shmctl): Likewise.
6678         * sysvipc/shmdt.c (shmdt): Likewise.
6679         * sysvipc/shmget.c (shmget): Likewise.
6680         * termios/cfmakeraw.c (cfmakeraw): Likewise.
6681         * termios/speed.c (cfgetospeed): Likewise.
6682         (cfgetispeed): Likewise.
6683         (cfsetospeed): Likewise.
6684         (cfsetispeed): Likewise.
6685         * termios/tcflow.c (tcflow): Likewise.
6686         * termios/tcflush.c (tcflush): Likewise.
6687         * termios/tcgetattr.c (__tcgetattr): Likewise.
6688         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
6689         * termios/tcgetsid.c (tcgetsid): Likewise.
6690         * termios/tcsendbrk.c (tcsendbreak): Likewise.
6691         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
6692         * time/adjtime.c (__adjtime): Likewise.
6693         * time/dysize.c (dysize): Likewise.
6694         * time/ftime.c (ftime): Likewise.
6695         * time/getitimer.c (__getitimer): Likewise.
6696         * time/gettimeofday.c (__gettimeofday): Likewise.
6697         * time/gmtime.c (__gmtime_r): Likewise.
6698         (gmtime): Likewise.
6699         * time/localtime.c (__localtime_r): Likewise.
6700         (localtime): Likewise.
6701         * time/offtime.c (__offtime): Likewise.
6702         * time/settimeofday.c (__settimeofday): Likewise.
6703         * time/stime.c (stime): Likewise.
6704         * time/strftime_l.c (tm_diff): Likewise.
6705         (iso_week_days): Likewise.
6706         * time/strptime.c (strptime): Likewise.
6707         * time/time.c (time): Likewise.
6708         * time/timespec_get.c (timespec_get): Likewise.
6709         * time/tzset.c (tzset_internal): Likewise.
6710         (compute_change): Likewise.
6711         (__tz_compute): Likewise.
6712         * wcsmbs/btowc.c (__btowc): Likewise.
6713         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
6714         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
6715         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
6716         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
6717         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
6718         * wcsmbs/wcscat.c (__wcscat): Likewise.
6719         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6720         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
6721         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
6722         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6723         * wcsmbs/wcsdup.c (wcsdup): Likewise.
6724         * wcsmbs/wcslen.c (__wcslen): Likewise.
6725         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
6726         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
6727         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
6728         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
6729         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6730         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
6731         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6732         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6733         * wcsmbs/wcstok.c (wcstok): Likewise.
6734         * wcsmbs/wctob.c (wctob): Likewise.
6735         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
6736         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6737         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
6738         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
6739         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
6740         * wcsmbs/wmemset.c (__wmemset): Likewise.
6741         * wctype/wcfuncs.c (__towlower): Likewise.
6742         (__towupper): Likewise.
6744         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
6745         (lll_unlock_elision): Add adapt_count parameter.
6747 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6749         * sysdeps/nptl/configure.ac: Do not give errors based on the
6750         results of top-level configure tests.
6751         * sysdeps/nptl/configure: Regenerated.
6753         * configure.ac (libc_cv_Bgroup): Remove configure test.
6754         * configure: Regenerated.
6755         * config.make.in (have-Bgroup): Remove variable.
6757         * configure.ac (sizeof_long_double): Remove configure test.
6758         * configure: Regenerated.
6759         * config.make.in (sizeof-long-double): Remove variable.
6761         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
6762         * configure: Regenerated.
6763         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
6764         variable.
6765         (exceptions): Likewise.
6766         * sysdeps/arm/configure: Regenerated.
6767         * config.make.in (exceptions): Remove variable.
6768         * Makeconfig (uses-callbacks): Use -fexceptions instead of
6769         $(exceptions).
6770         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
6771         (CFLAGS-vdprintf_chk.c): Likewise.
6772         (CFLAGS-printf_chk.c): Likewise.
6773         (CFLAGS-fprintf_chk.c): Likewise.
6774         (CFLAGS-vprintf_chk.c): Likewise.
6775         (CFLAGS-vfprintf_chk.c): Likewise.
6776         (CFLAGS-gets_chk.c): Likewise.
6777         (CFLAGS-fgets_chk.c): Likewise.
6778         (CFLAGS-fgets_u_chk.c): Likewise.
6779         (CFLAGS-fread_chk.c): Likewise.
6780         (CFLAGS-fread_u_chk.c): Likewise.
6781         (CFLAGS-wprintf_chk.c): Likewise.
6782         (CFLAGS-fwprintf_chk.c): Likewise.
6783         (CFLAGS-vwprintf_chk.c): Likewise.
6784         (CFLAGS-vfwprintf_chk.c): Likewise.
6785         (CFLAGS-fgetws_chk.c): Likewise.
6786         (CFLAGS-fgetws_u_chk.c): Likewise.
6787         * libio/Makefile (CFLAGS-fileops.c): Likewise.
6788         (CFLAGS-fputc.c): Likewise.
6789         (CFLAGS-fputwc.c): Likewise.
6790         (CFLAGS-freopen64.c): Likewise.
6791         (CFLAGS-freopen.c): Likewise.
6792         (CFLAGS-fseek.c): Likewise.
6793         (CFLAGS-fseeko64.c): Likewise.
6794         (CFLAGS-fseeko.c): Likewise.
6795         (CFLAGS-ftello64.c): Likewise.
6796         (CFLAGS-ftello.c): Likewise.
6797         (CFLAGS-fwide.c): Likewise.
6798         (CFLAGS-genops.c): Likewise.
6799         (CFLAGS-getc.c): Likewise.
6800         (CFLAGS-getchar.c): Likewise.
6801         (CFLAGS-getwc.c): Likewise.
6802         (CFLAGS-getwchar.c): Likewise.
6803         (CFLAGS-iofclose.c): Likewise.
6804         (CFLAGS-iofflush.c): Likewise.
6805         (CFLAGS-iofgetpos64.c): Likewise.
6806         (CFLAGS-iofgetpos.c): Likewise.
6807         (CFLAGS-iofgets.c): Likewise.
6808         (CFLAGS-iofgetws.c): Likewise.
6809         (CFLAGS-iofputs.c): Likewise.
6810         (CFLAGS-iofputws.c): Likewise.
6811         (CFLAGS-iofread.c): Likewise.
6812         (CFLAGS-iofsetpos64.c): Likewise.
6813         (CFLAGS-iofsetpos.c): Likewise.
6814         (CFLAGS-ioftell.c): Likewise.
6815         (CFLAGS-iofwrite.c): Likewise.
6816         (CFLAGS-iogetdelim.c): Likewise.
6817         (CFLAGS-iogetline.c): Likewise.
6818         (CFLAGS-iogets.c): Likewise.
6819         (CFLAGS-iogetwline.c): Likewise.
6820         (CFLAGS-ioputs.c): Likewise.
6821         (CFLAGS-ioseekoff.c): Likewise.
6822         (CFLAGS-ioseekpos.c): Likewise.
6823         (CFLAGS-iosetbuffer.c): Likewise.
6824         (CFLAGS-iosetvbuf.c): Likewise.
6825         (CFLAGS-ioungetc.c): Likewise.
6826         (CFLAGS-ioungetwc.c): Likewise.
6827         (CFLAGS-oldfileops.c): Likewise.
6828         (CFLAGS-oldiofclose.c): Likewise.
6829         (CFLAGS-oldiofgetpos64.c): Likewise.
6830         (CFLAGS-oldiofgetpos.c): Likewise.
6831         (CFLAGS-oldiofsetpos64.c): Likewise.
6832         (CFLAGS-oldiofsetpos.c): Likewise.
6833         (CFLAGS-peekc.c): Likewise.
6834         (CFLAGS-putc.c): Likewise.
6835         (CFLAGS-putchar.c): Likewise.
6836         (CFLAGS-putwc.c): Likewise.
6837         (CFLAGS-putwchar.c): Likewise.
6838         (CFLAGS-rewind.c): Likewise.
6839         (CFLAGS-wfileops.c): Likewise.
6840         (CFLAGS-wgenops.c): Likewise.
6841         (CFLAGS-oldiofopen.c): Likewise.
6842         (CFLAGS-iofopen.c): Likewise.
6843         (CFLAGS-iofopen64.c): Likewise.
6844         (CFLAGS-oldtmpfile.c): Likewise.
6845         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6846         (CFLAGS-fprintf.c): Likewise.
6847         (CFLAGS-printf.c): Likewise.
6848         (CFLAGS-vfwprintf.c): Likewise.
6849         (CFLAGS-vfscanf.c): Likewise.
6850         (CFLAGS-vfwscanf.c): Likewise.
6851         (CFLAGS-fscanf.c): Likewise.
6852         (CFLAGS-scanf.c): Likewise.
6853         (CFLAGS-isoc99_vfscanf.c): Likewise.
6854         (CFLAGS-isoc99_vscanf.c): Likewise.
6855         (CFLAGS-isoc99_fscanf.c): Likewise.
6856         (CFLAGS-isoc99_scanf.c): Likewise.
6857         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6858         (CFLAGS-isoc99_fwscanf.c): Likewise.
6859         (CFLAGS-isoc99_vwscanf.c): Likewise.
6860         (CFLAGS-isoc99_vfwscanf.c): Likewise.
6862         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6863         after mkstemp64.
6864         * login/tst-utmp.c (do_prepare): Likewise.
6865         * rt/tst-aio.c (do_prepare): Likewise.
6866         * rt/tst-aio64.c (do_prepare): Likewise.
6868 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6870         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6871         (__lll_lock_elision): Remove adapt_count decrement...
6872         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6873         (__lll_trylock_elision): Likewise.
6874         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6875         (__lll_unlock_elision): ... to here. And utilize
6876         new adapt_count parameter.
6877         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6878         (__lll_unlock_elision): Update to include adapt_count
6879         parameter.
6880         (lll_unlock_elision): Pass pointer to adapt_count
6881         variable.
6883 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6885         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
6886         Add elision adapt_count parameter to list of arguments.
6887         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6888         (lll_unlock_elision): Update with new parameter list
6889         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6890         (lll_unlock_elision): Likewise.
6891         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
6892         (lll_unlock_elision): Likewise.
6894 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6896         [BZ #19122]
6897         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
6898         attribute_hidden.
6900         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
6901         attribute_hidden.
6902         [IS_IN (rtld)] (__strdup): Likewise.
6903         [IS_IN (rtld)] (__strerror_r): Likewise.
6904         [IS_IN (rtld)] (__strsep_g): Likewise.
6905         [IS_IN (rtld)] (memchr): Likewise.
6906         [IS_IN (rtld)] (memcmp): Likewise.
6907         [IS_IN (rtld)] (memcpy): Likewise.
6908         [IS_IN (rtld)] (memmove): Likewise.
6909         [IS_IN (rtld)] (memset): Likewise.
6910         [IS_IN (rtld)] (rawmemchr): Likewise.
6911         [IS_IN (rtld)] (stpcpy): Likewise.
6912         [IS_IN (rtld)] (strchr): Likewise.
6913         [IS_IN (rtld)] (strcmp): Likewise.
6914         [IS_IN (rtld)] (strlen): Likewise.
6915         [IS_IN (rtld)] (strnlen): Likewise.
6916         [IS_IN (rtld)] (strsep): Likewise.
6918         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
6919         attribute_hidden.
6920         [IS_IN (rtld)] (__strtoul_internal): Likewise.
6922         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
6923         attribute_hidden.
6924         [IS_IN (rtld)] (__libc_sigaction): Likewise.
6926         * include/setjmp.h (__longjmp): Add attribute_hidden.
6927         [IS_IN (rtld)] (__sigsetjmp): Likewise.
6929         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
6930         Add attribute_hidden.
6932         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
6933         [IS_IN (rtld)] (__open): Likewise.
6934         [IS_IN (rtld)] (__fcntl): Likewise.
6936         * include/dirent.h (__opendirat): Add attribute_hidden.
6937         (__getdents): Likewise.
6938         (__getdents64): Likewise.
6939         (__alloc_dir): Likewise.
6940         [IS_IN (rtld)] (__closedir): Likewise.
6941         [IS_IN (rtld)] (__fdopendir): Likewise.
6942         [IS_IN (rtld)] (__readdir): Likewise.
6943         [IS_IN (rtld)] (__readdir64): Likewise.
6944         [IS_IN (rtld)] (__rewinddir): Likewise.
6946         * include/dlfcn.h (_dl_catch_error): Moved to ...
6947         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
6948         attribute_hidden.
6950         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
6951         (_itoa_word): Likewise.
6953         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
6954         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6955         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6956         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
6957         (_dl_higher_prime_number): Likewise.
6958         (_dl_debug_printf_c): Likewise.
6959         (_dl_signal_cerror): Likewise.
6960         (_dl_receive_error): Likewise.
6961         (_dl_reloc_bad_type): Likewise.
6962         (_dl_resolve_conflicts): Likewise.
6963         (_dl_check_all_versions): Likewise.
6964         (_dl_check_map_versions): Likewise.
6965         (_dl_sort_fini): Likewise.
6966         (_dl_debug_initialize): Likewise.
6967         (_dl_init_paths): Likewise.
6968         (_dl_show_auxv): Likewise.
6969         (_dl_next_ld_env_entry): Likewise.
6970         (_dl_important_hwcaps): Likewise.
6971         (_dl_load_cache_lookup): Likewise.
6972         (_dl_update_slotinfo): Likewise.
6973         (_dl_show_scope): Likewise.
6975         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
6976         attribute_hidden.
6977         (_wordcopy_fwd_dest_aligned): Likewise.
6978         (_wordcopy_bwd_aligned): Likewise.
6979         (_wordcopy_bwd_dest_aligned): Likewise.
6981         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6982         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6983         Likewise.
6984         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6985         Likewise.
6986         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6988 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6990         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
6991         GCC 5 requirement.
6993 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6995         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
6996         test.
6997         * sysdeps/i386/configure: Regenerated.
6998         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6999         code unconditional.
7001         * configure.ac (libc_cv_asm_previous_directive): Remove configure
7002         test.
7003         (libc_cv_asm_popsection_directive): Likewise.
7004         * configure: Regenerated.
7005         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
7006         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
7007         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
7008         (__make_section_unallocated): Make definition unconditional.
7009         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
7010         Remove conditional definition.
7011         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
7012         (__make_section_unallocated): Likewise.
7014         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
7015         * configure: Regenerated.
7016         * config.make.in (static-libgcc): Remove variable.
7017         * Makerules (build-shlib-helper): Use -static-libgcc instead of
7018         $(static-libgcc).
7019         (build-module-helper): Likewise.
7021         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
7022         * configure: Regenerated.
7024 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7026         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
7027         (struct char_buffer): New type.
7028         (char_buffer_start, char_buffer_size, char_buffer_error)
7029         (char_buffer_rewind, char_buffer_add): New functions.
7030         (ADDW): Remove macro, replaced by the char_buffer_add function.
7031         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
7032         of extend_alloca.  Make control flow more explicit.
7034 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7036         [BZ #19137]
7037         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7038         Add -fomit-frame-pointer.
7039         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
7041 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7043         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
7044         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
7045         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
7046         only if !__GNUC_PREREQ (5,0).
7047         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
7048         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7049         (INTERNAL_SYSCALL_NCS): Likewise.
7050         (LOADREGS_0): New macro for GCC 5.
7051         (ASMARGS_0): Likewise.
7052         (LOADREGS_1): Likewise.
7053         (ASMARGS_1): Likewise.
7054         (LOADREGS_2): Likewise.
7055         (ASMARGS_2): Likewise.
7056         (LOADREGS_3): Likewise.
7057         (ASMARGS_3): Likewise.
7058         (LOADREGS_4): Likewise.
7059         (ASMARGS_4): Likewise.
7060         (LOADREGS_5): Likewise.
7061         (ASMARGS_5): Likewise.
7062         (LOADREGS_6): Likewise.
7063         (ASMARGS_6): Likewise.
7065 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7067         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
7068         -fomit-frame-pointer.
7069         (CFLAGS-mmap64.c): Likewise.
7070         (CFLAGS-semtimedop.c): Likewise.
7071         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
7072         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
7073         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7074         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7076 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7078         [BZ #18928]
7079         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
7080         _dl_pointer_guard member.
7081         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
7082         initializer.
7083         (security_init): Always set up pointer guard.
7084         (process_envvars): Do not process LD_POINTER_GUARD.
7086 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
7088         [BZ #19134]
7089         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
7090         (.LC2): Likewise.
7091         (.LC3): Likewise.
7092         (__lround): Do not add 0.5 to integer or out-of-range arguments.
7094 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7096         [BZ #19129]
7097         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
7098         r0 and r1.
7100 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
7102         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
7104 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
7106         * include/stap-probe.h: Fix macro definition formatting.
7108 2015-10-14  Florian Weimer  <fweimer@redhat.com>
7110         [BZ #19074]
7111         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
7112         load and store num_ifs.
7114 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7116         [BZ #18822]
7117         * sysdeps/unix/sysv/linux/sched_getaffinity.c
7118         (__sched_getaffinity_new): Add libc_hidden_proto and
7119         libc_hidden_def.
7121 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7123         [BZ #19007]
7124         * scripts/localplt.awk: Also allow GOT references.
7125         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
7126         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
7127         with "+ REL R_386_GLOB_DAT".
7128         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
7129         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
7131 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7133         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
7134         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7135         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
7136         Likewise.
7137         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7138         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
7139         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7140         INTERNAL_SYSCALLINTERNAL_SYSCALL and
7141         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7142         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7143         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7144         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7145         Likewise.
7146         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7148 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
7150         [BZ #19125]
7151         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
7152         <math_private.h> and <stdint.h>.
7153         (__llround): Avoid conversions to and from long long int, and
7154         subtractions, where those might raise spurious exceptions.
7155         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
7156         <math_private.h> and <stdint.h>.
7157         (__llroundf): Avoid conversions to and from long long int, and
7158         subtractions, where those might raise spurious exceptions.
7160 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7162         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
7163         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7164         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7165         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
7166         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7167         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7168         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
7169         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
7170         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
7171         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7172         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7173         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7174         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
7175         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7176         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7177         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
7178         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
7179         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7180         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
7181         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
7182         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7183         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
7184         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
7185         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7186         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
7187         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7188         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
7189         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7190         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7191         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
7192         (__xstat64_conv): Likewise.
7193         (__xstat32_conv): Likewise.
7195 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7197         * sysdeps/unix/sysv/linux/sysdep.h: New file.
7198         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
7199         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
7200         <sysdeps/unix/sysv/linux/sysdep.h>.
7201         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7202         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
7203         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
7204         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7205         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7206         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
7207         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
7208         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7209         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7212         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7213         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7214         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7215         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7216         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7217         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
7218         (sysdep-dl-routines): Add sysdep.
7219         [$(subdir) == nptl] (libpthread-routines): Likewise.
7220         [$(subdir) == rt] (librt-routines): Likewise.
7221         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
7222         PIC when branching to SYSCALL_ERROR_LABEL.
7223         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
7224         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
7225         <sysdeps/unix/sysv/linux/sysdep.h>.
7226         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
7227         (SYSCALL_ERROR_ERRNO): Removed.
7228         (SYSCALL_ERROR_HANDLER): Changed to empty.
7229         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
7230         (__syscall_error): New prototype.
7231         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
7232         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
7234 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7236         [BZ #19124]
7237         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
7238         (_dl_runtime_resolve_avx512): Make it a hidden alias of
7239         _dl_runtime_resolve_avx.
7240         (_dl_runtime_profile_avx512): Make it a hidden alias of
7241         _dl_runtime_profile_avx.
7243 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
7245         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
7246         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
7247         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
7248         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
7250         [BZ #16422]
7251         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
7252         New configure test.
7253         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
7254         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
7255         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
7256         <math_private.h> and <stdint.h>.
7257         (__llrint): Avoid conversions to long long int where those might
7258         raise spurious exceptions.
7259         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
7260         <math_private.h> and <stdint.h>.
7261         (__llrintf): Avoid conversions to long long int where those might
7262         raise spurious exceptions.
7264 2015-10-12  Andreas Schwab  <schwab@suse.de>
7266         [BZ #18969]
7267         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
7268         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
7269         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
7270         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
7271         $(gen-locales).
7272         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
7273         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
7274         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
7275         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
7276         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
7277         $(gen-locales).
7278         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
7279         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
7280         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
7281         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
7282         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
7283         ($(objpfx)tst-ftell-active-handler.out)
7284         ($(objpfx)tst-ftell-append.out)
7285         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
7286         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
7287         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
7288         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
7289         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
7290         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
7291         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
7292         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
7293         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
7294         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
7295         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
7296         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
7297         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
7298         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
7299         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
7300         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
7301         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
7302         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
7303         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
7304         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
7305         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
7306         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
7307         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
7308         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
7309         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
7310         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
7311         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
7312         $(gen-locales).
7313         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
7314         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
7315         $(gen-locales).
7316         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
7317         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
7318         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
7319         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
7320         $(gen-locales).
7321         * libio/tst_wprintf2.c (main): Use explicit locale.
7322         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
7324 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7326         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
7327         __msg_sig_post.
7328         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
7330 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
7332         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7333         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7335         * sysdeps/arm/libm-test-ulps: Regenerated.
7337         [BZ #15470]
7338         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
7340         [BZ #16399]
7341         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
7342         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
7343         and <fix-fp-int-convert-overflow.h>.
7344         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7345         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7346         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
7347         and <fix-fp-int-convert-overflow.h>.
7348         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
7349         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7350         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
7351         <fix-fp-int-convert-overflow.h>.
7352         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7353         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7354         * sysdeps/ieee754/dbl-64/s_lround.c: Include
7355         <fix-fp-int-convert-overflow.h>.
7356         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
7357         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7358         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
7359         and <fix-fp-int-convert-overflow.h>.
7360         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7361         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7362         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
7363         <limits.h> and <fix-fp-int-convert-overflow.h>.
7364         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7365         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7366         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
7367         and <fix-fp-int-convert-overflow.h>.
7368         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7369         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7370         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
7371         and <fix-fp-int-convert-overflow.h>.
7372         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7373         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7374         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
7376 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
7378         [BZ #18589]
7379         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
7380         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
7381         $(gen-locales).
7383 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7384             Phil Blundell <pb@pbcl.net>
7386         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
7387         * nptl/tst-cancel26.c: New file.
7388         * nptl/tst-cancel27.c: Likewise.
7390 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
7392         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
7393         __ILP32__ isn't defined.
7394         (lrint): Likewise.
7395         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
7396         (lrintf): Likewise.
7397         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
7398         (lrintl): Likewise.
7399         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
7400         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
7401         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
7403 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7405         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7406         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7408         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
7409         file.
7410         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
7411         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7413 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
7415         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
7416         configure test.
7417         * sysdeps/i386/configure: Regenerated.
7418         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
7419         configure test.
7420         * sysdeps/x86_64/configure: Regenerated.
7421         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
7422         Make code unconditional.
7424         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
7425         test.
7426         * sysdeps/i386/configure: Regenerated.
7427         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
7428         test.
7429         * sysdeps/x86_64/configure: Regenerated.
7430         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
7431         Make code unconditional.
7432         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7433         Likewise.
7434         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
7435         Likewise.
7436         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7437         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
7438         code unconditional.
7439         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7440         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
7441         code unconditional.
7442         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7443         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
7444         code unconditional.
7445         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
7446         code unconditional.
7447         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7448         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
7449         code unconditional.
7450         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7451         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
7452         code unconditional.
7453         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7454         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
7455         code unconditional.
7456         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7457         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
7458         code unconditional.
7459         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7460         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
7462         [BZ #19095]
7463         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
7464         mantissa to long int before shifting left.
7466 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
7468         [BZ #19094]
7469         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
7470         <limits.h>.
7471         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7472         when result overflows but exception would not result from cast.
7473         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
7474         <limits.h>.
7475         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7476         when result overflows but exception would not result from cast.
7477         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
7478         <limits.h>.
7479         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7480         when result overflows but exception would not result from cast.
7481         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
7482         <limits.h>.
7483         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7484         when result overflows but exception would not result from cast.
7485         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
7486         <limits.h>.
7487         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7488         when result overflows but exception would not result from cast.
7489         * math/libm-test.inc (lrint_test_data): Add more tests.
7490         (llrint_test_data): Likewise.
7492 2015-10-08  Roland McGrath  <roland@hack.frob.com>
7494         [BZ #18872]
7495         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
7496         Move out from under [$(run-built-tests) = yes] conditional.
7497         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
7498         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
7500 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
7502         [BZ #18589]
7503         * string/Makefile (tests): Add bug-strcoll2.
7504         (LOCALES): Add cs_CZ.UTF-8.
7505         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
7507         [BZ #18589]
7508         * string/bug-strcoll2.c: New file.
7509         * locale/categories.def: Revert commit
7510         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
7511         * locale/langinfo.h: Likewise.
7512         * locale/localeinfo.h: Likewise.
7513         * locale/C-collate.c: Likewise.
7514         * locale/programs/ld-collate.c (collate_output): Likewise.
7515         * string/strcoll_l.c (STRDIFF): Likewise.
7516         (STRCOLL): Likewise.
7517         * wcsmbs/wcscoll_l.c: Likewise.
7519 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
7521         * math/libm-test.inc (lround_test_data): Do not expect the absence
7522         of "inexact" for some tests with non-integer arguments.
7523         (llround_test_data): Likewise.
7525         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
7526         test.
7527         (libc_cv_cc_sse2avx): Likewise.
7528         * sysdeps/i386/configure: Regenerated.
7529         * sysdeps/i386/i686/multiarch/Makefile
7530         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
7531         [$(subdir) = math].
7532         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
7533         code unconditional.
7534         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7535         Likewise.
7536         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
7537         Likewise.
7538         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7539         Likewise.
7540         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
7541         test.
7542         (libc_cv_cc_sse2avx): Likewise.
7543         * sysdeps/x86_64/configure: Regenerated.
7544         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
7545         unconditional.
7546         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
7547         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
7548         unconditional.
7549         (_dl_runtime_profile)
7550         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
7551         conditional code.
7552         * sysdeps/x86_64/fpu/multiarch/Makefile
7553         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
7554         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7555         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7556         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7557         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7558         * sysdeps/x86_64/fpu/multiarch/e_log.c
7559         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7560         * sysdeps/x86_64/fpu/multiarch/s_atan.c
7561         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7562         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7563         Likewise.
7564         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7565         Likewise.
7566         * sysdeps/x86_64/fpu/multiarch/s_sin.c
7567         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7568         * sysdeps/x86_64/fpu/multiarch/s_tan.c
7569         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7570         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
7571         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
7572         (HAVE_SSE2AVX_SUPPORT): Likewise.
7574 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
7576         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
7577         instead of #pragma optimize.
7579 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7581         [BZ #17195]
7582         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
7583         as is similarly done in systrim and _int_free already.
7585 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7587         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
7589 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7591         [BZ #19088]
7592         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
7593         <limits.h>.
7594         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7595         overflows but exception would not result from cast.
7596         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
7597         and <limits.h>.
7598         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7599         overflows but exception would not result from cast.
7600         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
7601         <limits.h>.
7602         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7603         overflows but exception would not result from cast.
7604         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
7605         <limits.h>.
7606         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7607         overflows but exception would not result from cast.
7608         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
7609         <limits.h>.
7610         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7611         overflows but exception would not result from cast.
7612         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
7613         <limits.h>.
7614         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7615         overflows but exception would not result from cast.
7616         * math/libm-test.inc (lround_test_data): Add more tests.
7617         (llround_test_data): Likewise.
7619 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
7621         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
7622         (CFLAGS-ialloc.c): Ditto.
7623         (CFLAGS-scheck.c): Ditto.
7625 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7627         [BZ #19086]
7628         * manual/filesys.texi (Storage Allocation): Fix argument order for
7629         posix_fallocate64.
7631 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7633         [BZ #19085]
7634         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
7635         exponent below 48 inside case for non-overflowing exponent.
7636         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
7638 2015-10-07  Florian Weimer  <fweimer@redhat.com>
7640         * iconvdata/cp737.h (from_idx): Add const.
7641         * iconvdata/cp775.h (from_idx): Likewise.
7643 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7645         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
7646         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7647         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
7649         [BZ #19079]
7650         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
7651         file, conditioned on [!_LP64].
7652         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
7653         [!_LP64] (__lround): Do not define as function or alias.
7654         [!_LP64] (lround): Likewise.
7655         [!_LP64] (__lroundl): Likewise.
7656         [!_LP64] (lroundl): Likewise.
7657         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
7658         macro.
7659         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7660         Likewise.
7662 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7664         * math/libm-test.inc (lrint_test_data): Add more tests.
7665         (llrint_test_data): Likewise.
7666         (lround_test_data): Likewise.
7667         (llround_test_data): Likewise.
7669         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
7670         (llrint_test_data): Add tests used for lrint.
7672         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
7673         test.
7674         * sysdeps/i386/configure: Regenerated.
7675         * sysdeps/i386/i686/multiarch/Makefile
7676         [$(config-cflags-sse4) = yes]: Make code unconditional.
7677         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7678         Likewise.
7679         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
7680         Likewise.
7681         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
7682         test.
7683         * sysdeps/x86_64/configure: Regenerated.
7684         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
7685         Make code unconditional.
7686         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7687         Likewise.
7688         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
7689         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
7691         * scripts/rpm2dynsym.sh: Remove file.
7693 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7695         * configure.ac (libc_cv_cxx_thread_local): Define.
7696         * configure: Regenerate.
7697         * config.make.in (have-cxx-thread_local): Define.
7698         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
7699         (LDLIBS-tst-thread_local1): Define.
7700         (tests): Add tst-thread_local1.
7701         [have-cxx-thread_local != yes] (tests-unsupported): Add
7702         tst-thread_local1.
7703         * nptl/tst-thread_local1.cc: New file.
7705 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7707         [BZ #19078]
7708         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
7709         (u_thres): Likewise.
7710         (__expl): Determine whether to call __kernel_standard_l based on
7711         value of result, not argument.
7713         * math/libm-test.inc (scalb_test_data): Add more expectations for
7714         the "inexact" exception.
7716         [BZ #19077]
7717         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
7718         0.0L for argument 1.0L.
7720         [BZ #19076]
7721         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
7722         constant 0.0L when computing infinite result.
7724 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7726         [BZ #10432]
7727         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
7728         malloc_usable_size.
7730 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7732         [BZ #19018]
7733         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7734         Mangle function pointer before storing it.
7735         (__call_tls_dtors): Demangle function pointer before calling it.
7737 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7739         [BZ #19012]
7740         * iconv/gconv_db.c (gen_steps): Check for additional errors.
7741         Clean up on failure.
7743 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
7745         [BZ #19071]
7746         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
7747         long int variable to store possibly incremented high part of
7748         mantissa.
7749         * math/libm-test.inc (lround_test_data): Add tests used for
7750         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
7751         for tests requiring 64-bit long.  Do not condition tests on
7752         [TEST_FLOAT] unnecessarily.
7753         (llround_test_data): Add tests used for lround.  Add another
7754         expectation for the "inexact" exception.  Do not condition tests
7755         on [TEST_FLOAT] unnecessarily.
7757         [BZ #887]
7758         [BZ #19049]
7759         [BZ #19050]
7760         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
7761         * sysdeps/ieee754/dbl-64/e_log10.c: Include
7762         <fix-int-fp-convert-zero.h>.
7763         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7764         * sysdeps/ieee754/dbl-64/e_log2.c: Include
7765         <fix-int-fp-convert-zero.h>.
7766         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7767         * sysdeps/ieee754/dbl-64/s_erf.c: Include
7768         <fix-int-fp-convert-zero.h>.
7769         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7770         * sysdeps/ieee754/dbl-64/s_logb.c: Include
7771         <fix-int-fp-convert-zero.h>.
7772         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7773         * sysdeps/ieee754/flt-32/e_log10f.c: Include
7774         <fix-int-fp-convert-zero.h>.
7775         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7776         * sysdeps/ieee754/flt-32/e_log2f.c: Include
7777         <fix-int-fp-convert-zero.h>.
7778         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7779         * sysdeps/ieee754/flt-32/s_erff.c: Include
7780         <fix-int-fp-convert-zero.h>.
7781         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7782         * sysdeps/ieee754/flt-32/s_logbf.c: Include
7783         <fix-int-fp-convert-zero.h>.
7784         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7785         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
7786         <fix-int-fp-convert-zero.h>.
7787         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7788         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
7789         <fix-int-fp-convert-zero.h>.
7790         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7791         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
7792         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
7793         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
7794         file.
7795         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
7797 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7799         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7801 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
7803         [BZ #19059]
7804         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
7805         overflowing computation.
7806         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7807         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7808         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7809         Likewise.
7810         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7811         Likewise.
7812         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7813         Likewise.
7814         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7815         Likewise.
7816         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7817         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7818         Likewise.
7819         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7820         Likewise.
7821         * math/libm-test.inc (nexttoward_test_data): Add more tests.
7823         * nss/rewrite_field.c (__nss_rewrite_field): Use
7824         internal_function.
7825         * nss/valid_field.c (__nss_valid_field): Likewise.
7826         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7828 2015-10-02  Florian Weimer  <fweimer@redhat.com>
7830         [BZ #18724]
7831         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7832         (__nss_invalid_field_characters, __nss_valid_field)
7833         (__nss_valid_list_field, __nss_rewrite_field): Declare.
7834         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7835         tst-field.c: New file.
7836         * nss/Makefile (routines): Add valid_field, rewrite_field.
7837         (tests-static): Define unconditionally.
7838         (tests): Include tests-static.
7839         [build-static-nss] (tests-static): Use append.
7840         [build-static-nss] (tests): Remove modification.
7841         * nss/getent.c (print_group): Call putgrent.  Report error.
7842         (print_gshadow): Call putsgent.  Report error.
7843         (print_passwd): Call putpwent.  Report error.
7844         (print_shadow): Call putspent.  Report error.
7845         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7846         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7847         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
7848         name, password, directory, shell fields for valid syntax.  Rewrite
7849         GECOS field to match syntax.
7850         * pwd/Makefile (tests): Add tst-putpwent.
7851         * pwd/tst-putpwent.c: New file.
7852         * grp/putgrent.c (putgrent): Convert to ISO function definition.
7853         Check grName, grpasswd, gr_mem fields for valid syntax.
7854         Change loop variable i to size_t.
7855         * grp/Makefile (tests): Add tst-putgrent.
7856         * grp/tst-putgrent.c: New file.
7857         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7858         valid syntax.
7859         * shadow/Makefile (tests): Add tst-putspent.
7860         * shadow/tst-putspent.c: New file.
7861         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7862         sg_mem fields for valid syntax.
7863         * gshadow/Makefile (tests): Add tst-putsgent.
7864         * gshadow/tst-putsgent.c: New file.
7866 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7868         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7869         assembly instructions.
7871 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7873         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
7874         prefix from operands.
7876 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
7878         [BZ #16347]
7879         [BZ #19046]
7880         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
7881         <libc-internal.h>.
7882         (MAXLGM): Do not use diagnostic control macros.
7883         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
7884         threshold for ldbl-128ibm.
7885         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
7886         instead of multiplying by log then subtracting.
7887         * math/auto-libm-test-in: Add more tests of lgamma.
7888         * math/auto-libm-test-out: Regenerated.
7890         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
7891         (TYPE_HEX_DIG): Likewise.
7892         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
7893         precisions when printing floating-point numbers.
7894         (check_float_internal): Likewise.
7896 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7898         [BZ #16620]
7899         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
7900         of log (10) rounded downward to 48 bits.
7901         (log10_low): Use corresponding low part of log (10).
7903         [BZ #19032]
7904         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
7905         compute result as (x - x) / (x - x) not as 0 / 0.
7906         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7907         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
7909         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7910         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
7911         and expm1.
7912         * math/auto-libm-test-out: Regenerated.
7913         * math/libm-test.inc (acos_test_data): Add more tests.
7914         (asin_test_data): Likewise.
7915         (asinh_test_data): Likewise.
7916         (atan_test_data): Likewise.
7917         (atanh_test_data): Likewise.
7918         (atan2_test_data): Likewise.
7919         (cbrt_test_data): Likewise.
7920         (ceil_test_data): Likewise.
7921         (copysign_test_data): Likewise.
7922         (cos_test_data): Likewise.
7923         (cosh_test_data): Likewise.
7924         (erf_test_data): Likewise.
7925         (erfc_test_data): Likewise.
7926         (exp_test_data): Likewise.
7927         (exp10_test_data): Likewise.
7928         (exp2_test_data): Likewise.
7929         (expm1_test_data): Likewise.
7930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7932 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
7934         [BZ #19006]
7935         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
7936         to ...
7937         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
7938         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
7939         to ...
7940         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
7941         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
7942         to ...
7943         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
7944         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
7945         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
7946         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
7947         to ...
7948         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
7949         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7950         Moved to ...
7951         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
7952         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7953         Moved to ...
7954         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
7955         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
7956         to ...
7957         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
7958         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7959         Moved to ...
7960         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7961         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7962         to ...
7963         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7964         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7965         Removed.
7966         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7967         Likewise.
7968         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
7969         Likewise.
7970         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
7971         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
7972         Likewise.
7973         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7974         Likewise.
7975         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7976         Likewise.
7977         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7978         Likewise.
7979         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7980         Likewise.
7981         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
7982         Likewise.
7983         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
7984         Likewise.
7985         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
7986         Likewise.
7987         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
7988         Likewise.
7989         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
7990         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
7991         Likewise.
7992         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7993         Likewise.
7994         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7995         Likewise.
7996         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7997         Likewise.
7998         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7999         Likewise.
8000         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8001         Replace ../i486/pthread_cond_timedwait.S with
8002         ../pthread_cond_timedwait.S.
8004 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8006         * math/libm-test.inc (acos_test_data): Refine expectations for
8007         errno and "inexact" exceptions.
8008         (acosh_test_data): Likewise.
8009         (asin_test_data): Likewise.
8010         (asinh_test_data): Likewise.
8011         (atan_test_data): Likewise.
8012         (atanh_test_data): Likewise.
8013         (atan2_test_data): Likewise.
8014         (cbrt_test_data): Likewise.
8015         (ceil_test_data): Likewise.
8016         (copysign_test_data): Likewise.
8017         (cosh_test_data): Likewise.
8018         (erf_test_data): Likewise.
8019         (erfc_test_data): Likewise.
8020         (exp_test_data): Likewise.
8021         (exp10_test_data): Likewise.
8022         (exp2_test_data): Likewise.
8023         (expm1_test_data): Likewise.
8024         (fabs_test_data): Likewise.
8025         (floor_test_data): Likewise.
8026         (fma_test_data): Likewise.
8027         (fmax_test_data): Likewise.
8028         (fmin_test_data): Likewise.
8029         (fmod_test_data): Likewise.
8030         (fpclassify_test_data): Likewise.
8031         (frexp_test_data): Likewise.
8032         (hypot_test_data): Likewise.
8033         (ilogb_test_data): Likewise.
8034         (isgreater_test_data): Likewise.
8035         (isgreaterequal_test_data): Likewise.
8036         (isinf_test_data): Likewise.
8037         (isless_test_data): Likewise.
8038         (islessequal_test_data): Likewise.
8039         (islessgreater_test_data): Likewise.
8040         (isnan_test_data): Likewise.
8041         (isnormal_test_data): Likewise.
8042         (issignaling_test_data): Likewise.
8043         (isunordered_test_data): Likewise.
8044         (j0_test_data): Likewise.
8045         (j1_test_data): Likewise.
8046         (jn_test_data): Likewise.
8047         (lgamma_test_data): Likewise.
8048         (lrint_test_data): Likewise.
8049         (llrint_test_data): Likewise.
8050         (log_test_data): Likewise.
8051         (log10_test_data): Likewise.
8052         (log1p_test_data): Likewise.
8053         (log2_test_data): Likewise.
8054         (logb_test_data): Likewise.
8055         (lround_test_data): Likewise.
8056         (llround_test_data): Likewise.
8057         (modf_test_data): Likewise.
8058         (nearbyint_test_data): Likewise.
8059         (nextafter_test_data): Likewise.
8060         (nexttoward_test_data): Likewise.
8061         (pow_test_data): Likewise.
8062         (remainder_test_data): Likewise.
8063         (remquo_test_data): Likewise.
8064         (rint_test_data): Likewise.
8065         (round_test_data): Likewise.
8066         (signbit_test_data): Likewise.
8067         (sinh_test_data): Likewise.
8068         (sqrt_test_data): Likewise.
8069         (tanh_test_data): Likewise.
8070         (tgamma_test_data): Likewise.
8071         (trunc_test_data): Likewise.
8072         (y0_test_data): Likewise.
8073         (y1_test_data): Likewise.
8074         (yn_test_data): Likewise.
8075         (significand_test_data): Likewise.
8077 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
8079         * manual/filesys.texi (Storage Allocation): Document that
8080         posix_fallocate emulation fails when fd is open with O_WRONLY.
8082 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
8084         [BZ #19016]
8085         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
8086         allow more cases with X^2 + Y^2 >= 0.5.
8087         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
8088         normal element in sum instead of special-casing based on values of
8089         arguments.
8090         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
8091         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
8092         -1 as normal element in sum instead of special-casing based on
8093         values of arguments.
8094         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
8095         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
8096         (__x2y2m1): Update comment.
8097         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
8098         as normal element in sum instead of special-casing based on values
8099         of arguments.
8100         * math/s_clog.c (__clog): Handle more cases using log1p without
8101         hypot.
8102         * math/s_clog10.c (__clog10): Likewise.
8103         * math/s_clog10f.c (__clog10f): Likewise.
8104         * math/s_clog10l.c (__clog10l): Likewise.
8105         * math/s_clogf.c (__clogf): Likewise.
8106         * math/s_clogl.c (__clogl): Likewise.
8107         * math/auto-libm-test-in: Add more tests of clog and clog10.
8108         * math/auto-libm-test-out: Regenerated.
8109         * sysdeps/i386/fpu/libm-test-ulps: Update.
8110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8112 2015-09-28  Martin Sebor  <msebor@redhat.com>
8114         [BZ #18969]
8115         * string/Makefile (LOCALES): Define.
8116         (gen-locales.mk): Include.
8117         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
8118         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
8119         * string/tst-strxfrm2.c (do_test): Print the name of the locale
8120         on setlocale failure.
8122 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8124         [BZ #18985]
8125         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
8126         (__strftime_internal): Likewise.
8127         * time/tst-strftime.c (do_bz18985): New test.
8128         (do_test): Call it.
8130 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
8132         [BZ #18956]
8133         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
8134         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
8135         extracting high part.
8136         * math/auto-libm-test-in: Add another test of pow.
8137         * math/auto-libm-test-out: Regenerated.
8138         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8140 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
8142         [BZ #18825]
8143         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
8144         New macro.
8145         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
8146         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8147         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
8148         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
8149         DBL_NARROW_EVAL, reloading the PIC register as needed.
8150         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
8151         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
8152         FLT_NARROW_EVAL.  Use separate return path for case when first
8153         argument is NaN.
8154         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
8155         DEFINE_LDBL_MIN.
8156         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
8157         PIC register.
8158         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
8159         math_check_force_underflow_nonneg.
8160         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
8161         underflow for subnormal result.
8162         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8163         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
8164         math_check_force_underflow_nonneg.
8165         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
8166         math_check_force_underflow.
8167         * sysdeps/x86_64/fpu/x86_64-math-asm.h
8168         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
8169         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
8170         DEFINE_LDBL_MIN.
8171         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
8172         * math/auto-libm-test-in: Add more tests of pow.
8173         * math/auto-libm-test-out: Regenerated.
8175 2015-09-25  Florian Weimer  <fweimer@redhat.com>
8177         * nss/bug17079.c (init_test_items): Add diagnostic for
8178         inconsistent entries.
8179         (test_buffer_size): Skip inconsistent entries.
8181 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
8183         [BZ #13304]
8184         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
8185         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
8186         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
8188         [BZ #13304]
8189         * sysdeps/microblaze/s_fma.c: New file.
8190         * sysdeps/microblaze/s_fmaf.c: Likewise.
8191         * sysdeps/microblaze/sfp-machine.h: Likewise.
8193 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
8195         [BZ #17250]
8196         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
8197         member.
8199 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
8201         [BZ #18803]
8202         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
8203         (MO): New macro.
8204         (__ieee754_hypot) [PIC]: Load PIC register.
8205         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
8206         DBL_NARROW_EVAL.
8207         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
8208         math_check_force_underflow_nonneg in case where result might be
8209         tiny.
8210         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8211         Likewise.
8212         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8213         Likewise.
8214         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8215         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
8216         * math/auto-libm-test-in: Add more tests of hypot.
8217         * math/auto-libm-test-out: Regenerated.
8219 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
8221         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
8223 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
8225         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
8226         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
8227         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
8228         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
8229         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
8230         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
8231         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
8233         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
8234         LOAD_PIC_REG.
8236         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
8237         (FLT_CHECK_FORCE_UFLOW): Likewise.
8238         (DBL_CHECK_FORCE_UFLOW): Likewise.
8239         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
8240         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
8241         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
8242         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8243         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8244         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8245         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8246         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8247         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
8248         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8249         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
8250         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
8251         (flt_min): Replace with use of DEFINE_FLT_MIN.
8252         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
8253         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
8254         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8255         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
8256         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
8257         (flt_min): Replace with use of DEFINE_FLT_MIN.
8258         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
8259         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
8260         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8261         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
8262         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
8263         (flt_min): Replace with use of DEFINE_FLT_MIN.
8264         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
8265         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
8266         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
8267         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
8268         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
8269         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
8270         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
8271         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
8272         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8273         (__atan): Use DBL_CHECK_FORCE_UFLOW.
8274         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
8275         (flt_min): Replace with use of DEFINE_FLT_MIN.
8276         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
8277         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
8278         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8279         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
8280         main computation.
8281         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
8282         (flt_min): Replace with use of DEFINE_FLT_MIN.
8283         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
8284         main computation.
8285         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
8286         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8287         (MO): New macro.
8288         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
8289         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
8290         (flt_min): Replace with use of DEFINE_FLT_MIN.
8291         (MO): New macro.
8292         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
8293         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
8294         (__log1pl): Use MO.
8296         [BZ #19003]
8297         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
8298         $(config-cflags-nofma).
8300 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8302         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8304 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
8306         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
8307         (TWO127): Likewise.
8309         * sysdeps/generic/math_private.h (fabs_tg): New macro.
8310         (min_of_type): Likewise.
8311         (math_check_force_underflow): Likewise.
8312         (math_check_force_underflow_nonneg): Likewise.
8313         (math_check_force_underflow_complex): Likewise.
8314         * math/e_exp2l.c (__ieee754_exp2l): Use
8315         math_check_force_underflow_nonneg.
8316         * math/k_casinh.c (__kernel_casinh): Likewise.
8317         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8318         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8319         * math/s_catan.c (__catan): Use
8320         math_check_force_underflow_complex.
8321         * math/s_catanf.c (__catanf): Likewise.
8322         * math/s_catanh.c (__catanh): Likewise.
8323         * math/s_catanhf.c (__catanhf): Likewise.
8324         * math/s_catanhl.c (__catanhl): Likewise.
8325         * math/s_catanl.c (__catanl): Likewise.
8326         * math/s_ccosh.c (__ccosh): Likewise.
8327         * math/s_ccoshf.c (__ccoshf): Likewise.
8328         * math/s_ccoshl.c (__ccoshl): Likewise.
8329         * math/s_cexp.c (__cexp): Likewise.
8330         * math/s_cexpf.c (__cexpf): Likewise.
8331         * math/s_cexpl.c (__cexpl): Likewise.
8332         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
8333         * math/s_clog10.c (__clog10): Likewise.
8334         * math/s_clog10f.c (__clog10f): Likewise.
8335         * math/s_clog10l.c (__clog10l): Likewise.
8336         * math/s_clogf.c (__clogf): Likewise.
8337         * math/s_clogl.c (__clogl): Likewise.
8338         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
8339         * math/s_csinf.c (__csinf): Likewise.
8340         * math/s_csinh.c (__csinh): Likewise.
8341         * math/s_csinhf.c (__csinhf): Likewise.
8342         * math/s_csinhl.c (__csinhl): Likewise.
8343         * math/s_csinl.c (__csinl): Likewise.
8344         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
8345         * math/s_csqrtf.c (__csqrtf): Likewise.
8346         * math/s_csqrtl.c (__csqrtl): Likewise.
8347         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
8348         * math/s_ctanf.c (__ctanf): Likewise.
8349         * math/s_ctanh.c (__ctanh): Likewise.
8350         * math/s_ctanhf.c (__ctanhf): Likewise.
8351         * math/s_ctanhl.c (__ctanhl): Likewise.
8352         * math/s_ctanl.c (__ctanl): Likewise.
8353         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
8354         instead of volatile.
8355         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
8356         math_check_force_underflow.
8357         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8358         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
8359         volatile when forcing underflow.
8360         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8361         math_check_force_underflow_nonneg.
8362         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8363         Likewise.
8364         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
8365         math_check_force_underflow.
8366         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8367         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8368         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8369         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
8370         math_check_force_underflow_nonneg.
8371         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
8372         math_check_force_underflow.
8373         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
8374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
8375         instead of volatile.
8376         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
8377         math_check_force_underflow.
8378         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8379         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8380         math_check_force_underflow_nonneg.
8381         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
8382         math_check_force_underflow.
8383         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
8384         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8385         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
8386         math_check_force_underflow_nonneg.
8387         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8388         Likewise.
8389         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
8390         math_check_force_underflow.
8391         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8392         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8393         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8394         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
8395         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8396         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
8397         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8398         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8399         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8400         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
8401         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
8402         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8403         Likewise.
8404         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
8405         math_check_force_underflow_nonneg.
8406         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8407         Likewise.
8408         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
8409         math_check_force_underflow.
8410         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8411         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8412         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8413         Likewise.
8414         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8415         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
8416         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
8417         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
8418         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
8419         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8420         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
8421         instead of volatile.
8422         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
8423         math_check_force_underflow.
8424         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8425         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
8426         math_check_force_underflow.
8427         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
8428         Likewise.
8429         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8430         Use math_check_force_underflow_nonneg.
8431         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
8432         math_check_force_underflow.
8433         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8434         Likewise.
8435         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8436         Likewise.
8437         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8438         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8439         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8440         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8441         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
8442         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8443         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8444         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8445         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
8446         math_check_force_underflow_nonneg.
8447         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
8448         math_check_force_underflow.
8449         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8450         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8451         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
8452         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
8453         math_check_force_underflow_nonneg.
8454         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
8455         math_check_force_underflow.
8456         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8457         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
8458         instead of volatile.
8459         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
8460         math_check_force_underflow.
8462         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
8463         * stdlib/strtod_l.c: Include <math_private.h>.
8464         (overflow_value): Use math_narrow_eval.
8465         (underflow_value): Likewise.
8466         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8467         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8468         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
8469         (__ieee754_gamma_r): Likewise.
8470         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
8471         Likewise.
8472         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8473         Likewise.
8474         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8475         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
8476         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
8477         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
8478         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8479         (__ieee754_gammaf_r): Likewise.
8480         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8481         Likewise.
8482         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8483         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
8484         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
8485         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
8486         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
8487         volatile.
8488         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8489         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
8490         math_narrow_eval.
8491         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8492         Likewise.
8493         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8494         Likewise.
8495         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
8496         Likewise.
8497         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
8498         volatile.
8499         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8500         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
8501         math_narrow_eval.
8502         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8503         Likewise.
8504         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8505         Likewise.
8507 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
8509         * nptl/Versions: Remove ignored symbols.
8511 2015-09-22  Florian Weimer  <fweimer@redhat.com>
8513         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
8514         * nss/Makefile (tests): Update.
8516 2015-09-22  Florian Weimer  <fweimer@redhat.com>
8518         * nss/bug18287.c: New file.
8519         * nss/Makefile (tests): Add bug18287.
8521 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8523         * mach/Versions (__mach_host_self_): Add symbol.
8525 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8527         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
8528         vm_page_size.
8530 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8532         Really fix sysdeps/i386/fpu/s_scalbn.S build
8534         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
8535         (libc: GLIBC_2_22): Remove unused version set.
8537 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
8539         * config.make.in (enable-timezone-tools): New variable.
8540         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
8541         (enable_timezone_tools): Export to generated files.
8542         * configure: Regenerate.
8543         * INSTALL: Regenerate.
8544         * manual/install.texi (--disable-timezone-tools): Document new flag.
8545         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
8546         ifeq ($(enable-timezone-tools),yes) check.
8548 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8550         * timezone/Makefile: Revert previous change.
8552         [BZ #18980]
8553         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
8554         (DEFINE_DBL_MIN): Likewise.
8555         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8556         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8557         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8558         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8559         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
8560         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8561         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8562         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
8563         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
8564         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8565         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8566         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
8567         (flt_min): Replace with use of DEFINE_FLT_MIN.
8568         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8569         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
8570         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8571         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8572         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
8573         (flt_min): Replace with use of DEFINE_FLT_MIN.
8574         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8575         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
8576         (flt_min): Replace with use of DEFINE_FLT_MIN.
8577         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8578         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
8579         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
8580         (__ieee754_hypot): Use DBL_NARROW_EVAL.
8581         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
8582         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
8583         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
8584         (__ieee754_pow): Use DBL_NARROW_EVAL.
8585         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
8586         (__ieee754_powf): Use FLT_NARROW_EVAL.
8587         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
8588         (__ieee754_expf_sse2): Convert double-precision result to single
8589         precision.
8590         * sysdeps/i386/fpu/libm-test-ulps: Update.
8592 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8594         * timezone/Makefile: Ignore unused variable errors due to private.h
8595         (time_t_min) and (time_t_max).
8596         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
8597         Likewise.
8599 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8601         [BZ #18981]
8602         * sysdeps/i386/fpu/i386-math-asm.h: New file.
8603         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
8604         (__ieee754_scalb): Use DBL_NARROW_EVAL.
8605         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
8606         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
8607         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
8608         (__scalbn): Use DBL_NARROW_EVAL.
8609         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
8610         (__scalbnf): Use FLT_NARROW_EVAL.
8612 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8614         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
8615         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
8616         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
8617         * stdio-common/printf_fp.c (___printf_fp):
8618         Use signbit to get the sign. Use isinf macro to allow inlining.
8619         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
8620         * stdio-common/printf_size.c (__printf_size): Likewise.
8622 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
8624         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
8626 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8628         [BZ #18980]
8629         * sysdeps/generic/math_private.h: Include <float.h>.
8630         (math_narrow_eval): New macro.
8631         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
8632         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
8633         math_narrow_eval on overflowing return value.
8634         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
8635         Likewise.
8636         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8637         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
8638         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
8639         Likewise.
8640         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8642 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8644         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
8645         * math/Makefile: Remove isinf_ns.c.
8646         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
8647         * math/multc3.c (__multc3): Likewise.
8648         * math/s_casin.c (__casin): Likewise.
8649         * math/s_casinf.c (__casinf): Likewise.
8650         * math/s_casinl.c (__casinl): Likewise.
8651         * math/s_cproj.c (__cproj): Likewise.
8652         * math/s_cprojf.c (__cprojf): Likewise.
8653         * math/s_cprojl.c (__cprofl): Likewise.
8654         * math/s_ctan.c (__ctan): Likewise.
8655         * math/s_ctanf.c (__ctanf): Likewise.
8656         * math/s_ctanh.c (__ctanh): Likewise.
8657         * math/s_ctanhf.c (__ctanhf): Likewise.
8658         * math/s_ctanhl.c (__ctanhl): Likewise.
8659         * math/s_ctanl.c (__ctanl): Likewise.
8660         * math/w_fmod.c (__fmod): Likewise.
8661         * math/w_fmodf.c (__fmodf): Likewise.
8662         * math/w_fmodl.c (_fmodl): Likewise.
8663         * math/w_remainder.c (__remainder): Likewise.
8664         * math/w_remainderf.c (__remainderf): Likewise.
8665         * math/w_remainderl.c (__remainderl): Likewise.
8666         * math/w_scalb.c (__scalb): Likewise.
8667         * math/w_scalbf.c (__scalbf): Likewise.
8668         * math/w_scalbl.c (__scalbl): Likewise.
8669         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
8670         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
8671         with isinf.
8672         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
8673         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
8674         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
8675         __isinf_nsf with isinf.
8676         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
8677         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
8678         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
8679         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
8680         with isinf.
8681         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
8682         __isinf_nsl with isinf.
8683         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
8684         with isinf.
8685         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
8686         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
8687         __isinf_nsl with isinf.
8688         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
8689         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
8690         with isinf.
8692 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8694         * resolv/base64.c (rcsid): Remove unused static.
8695         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
8696         static.  (tqpi1): Likewise.
8697         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
8698         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
8699         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
8700         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
8701         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
8702         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
8703         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
8704         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
8705         Likewise.
8707 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
8709         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
8710         <nptl/pthreadP.h>.
8711         (_longjmp_unwind): Use __libc_ptf_call.
8712         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
8714 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
8716         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
8717         * sysdeps/arm/__longjmp.S: Likewise.
8719 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8721         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
8722         Use __builtin_signbit.
8723         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
8724         Use __builtin_signbitf.
8725         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
8726         Use __builtin_signbitl.
8727         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8728         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
8730 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8732         [BZ #15367]
8733         [BZ #17441]
8735         * math/Makefile: Build test-snan.c with -fsignaling-nans.
8736         * math/math.h (fpclassify): Use __builtin_fpclassify when
8737         available.  (signbit): Use __builtin_signbit(f/l).
8738         (isfinite): Use__builtin_isfinite.  (isnormal): Use
8739         __builtin_isnormal.  (isnan): Use __builtin_isnan.
8740         (isinf): Use __builtin_isinf_sign.
8742 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8744         * benchtests/Makefile: Add bench-math-inlines, link with libm.
8745         * benchtests/bench-math-inlines.c: New benchmark.
8746         * benchtests/bench-util.h: New file.
8747         * benchtests/bench-util.c: New file.
8748         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
8750 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
8752         * elf/tst-dlmopen1.c: Define TEST_SO.
8753         (do_test): Use TEST_SO.
8755         * elf/dl-load.c: Include libc-internal.h.
8756         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
8758 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8760         [BZ #17887]
8761         * time/strptime_l.c (__strptime_internal): Make %z accept
8762         [+-]HH:MM time zones.
8764 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8766         [BZ #17886]
8767         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
8768         valid time zone.
8770 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
8772         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
8773         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
8774         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8775         (__ASSUME_FDATASYNC): Delete.
8777 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8779         * conform/linknamespace.pl: Require weak undefined symbols to be
8780         in the standard namespace.
8781         (%strong_syms): Rename to %seen_syms.
8782         (%strong_seen): Rename to %seen_where.
8784 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
8786         [BZ #18970]
8787         * misc/error.c (error): Replace pthread_setcancelstate with
8788         __pthread_setcancelstate.
8789         (error_at_line): Likewise.
8790         * posix/wordexp.c (parse_comm): Likewise.
8791         * stdlib/fmtmsg.c (fmtmsg): Likewise.
8792         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
8793         (__pthread_setcancelstate): This.
8794         (pthread_setcancelstate): Add an alias.
8795         * nptl/nptl-init.c (pthread_functions): Replace
8796         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
8797         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
8798         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
8799         hidden_proto.
8800         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
8801         it with hidden_def.
8802         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
8803         (pthread_setcancelstate): Renamed to ...
8804         (__pthread_setcancelstate): This.
8805         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
8806         __libc_ptf_call with __pthread_setcancelstate.
8808 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8809             Andreas Schwab  <schwab@suse.de>
8811         [BZ #17118]
8812         * math/s_ctan.c (__ctan): Determine sign of zero real part of
8813         result when imaginary part of argument is infinite using sine and
8814         cosine.
8815         * math/s_ctanf.c (__ctanf): Likewise.
8816         * math/s_ctanl.c (__ctanl): Likewise.
8817         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8818         of result when real part of argument is infinite using sine and
8819         cosine.
8820         * math/s_ctanhf.c (__ctanhf): Likewise.
8821         * math/s_ctanhl.c (__ctanhl): Likewise.
8822         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8823         (ctanh_test_data): Add more tests of ctanh.
8825 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8827         [BZ #15384]
8828         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8829         bit-mask as in subtraction.
8830         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8831         Likewise.
8832         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8833         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8834         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8836         [BZ #18951]
8837         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8838         underflow exception for small results.
8839         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8840         Likewise.
8841         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8842         Likewise.
8843         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8844         Likewise.
8845         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8846         Likewise.
8847         * math/auto-libm-test-in: Add more tests of tgamma.
8848         * math/auto-libm-test-out: Regenerated.
8850 2015-09-17  Andreas Schwab  <schwab@suse.de>
8852         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8854 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8856         [BZ #18977]
8857         * math/bits/mathcalls.h
8858         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8859         not declare.
8860         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8861         Likewise.
8862         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8863         Likewise.
8864         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8865         Likewise.
8866         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8867         Likewise.
8868         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8869         Likewise.
8870         * conform/data/math.h-data
8871         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
8872         function.
8873         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
8874         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
8875         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
8876         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
8877         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
8878         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
8879         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
8880         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
8881         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
8882         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
8883         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
8885         [BZ #6803]
8886         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
8887         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
8888         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
8889         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
8890         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
8891         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
8892         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
8893         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
8894         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8895         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
8896         Likewise.
8897         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8898         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
8899         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
8900         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
8901         long_double_symbol calls.
8902         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
8903         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
8904         strong alias of __ldexpl.
8905         (scalbnl): Define using long_double_symbol.
8906         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
8907         Remove alias.
8908         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
8909         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
8910         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
8911         (scalbln_test_data): Add more errno expectations.
8913 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
8915         Cache the host port like we cache the task port.  This way we do not
8916         need to call the kernel just to get the port.  Furthermore, we no
8917         longer increase the reference count on every invocation of
8918         `mach_host_self'.
8920         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
8921         Protect declarations against the macro expansion.
8922         * mach/mach_init.c (__mach_host_self_): New variable.
8923         (mach_init): Initialize `__mach_host_self_'.
8924         * mach/mach_init.h (__mach_host_self_): New declaration.
8925         (__mach_host_self, mach_host_self): New macros.
8926         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
8927         Release reference.
8929 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8931         [BZ #4404]
8932         * po/de.po: Update from Translation Project.
8934         [BZ #16415]
8935         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8936         (__expm1l): Remove code to handle positive infinity and overflow.
8937         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
8938         variable.
8939         (__expm1l): Remove code to handle positive infinity and overflow.
8941 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
8942             Paul Pluzhnikov  <ppluzhnikov@google.com>
8944         [BZ #18872]
8945         * stdio-common/Makefile (tst-printf-bz18872): New test.
8946         (tst-printf-bz18872-mem.out): Likewise.
8947         * stdio-common/tst-printf-bz18872.sh: Generate new test.
8948         * stdio-common/vfprintf.c: Fix memory leaks.
8950 2015-09-16  Andreas Schwab  <schwab@suse.de>
8952         [BZ #17244]
8953         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
8954         Remove extra va_start/va_end calls.
8956         [BZ #17243]
8957         * posix/execl.c (execl): Add missing va_end.
8958         * posix/execle.c (execle): Likewise.
8959         * posix/execlp.c (execlp): Likewise.
8961 2015-09-15  Roland McGrath  <roland@hack.frob.com>
8963         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8964         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8966 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
8968         [BZ #18967]
8969         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
8970         undefine around includes of <bits/mathcalls.h>.
8971         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
8972         not declare function.
8973         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
8974         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
8975         (scalb): Likewise.
8976         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
8977         not define macro.
8978         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
8979         variable.
8980         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8981         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8982         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8984         [BZ #18857]
8985         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
8986         return non-finite argument without doing ordered comparisons on
8987         it.
8989         [BZ #16296]
8990         * math/fenv.h (fegetround): Use __attribute_pure__.
8991         * include/fenv.h (__fegetround): Likewise.
8993         [BZ #18595]
8994         * math/s_ctan.c (__ctan): Force underflow exception for results
8995         whose real or imaginary part has small absolute value.
8996         * math/s_ctanf.c (__ctanf): Likewise.
8997         * math/s_ctanh.c (__ctanh): Likewise.
8998         * math/s_ctanhf.c (__ctanhf): Likewise.
8999         * math/s_ctanhl.c (__ctanhl): Likewise.
9000         * math/s_ctanl.c (__ctanl): Likewise.
9001         * math/auto-libm-test-in: Do not allow missing underflow for ctan
9002         and ctanh.  Add more tests of ctan and ctanh.
9004         [BZ #15918]
9005         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
9006         handling of cases where one argument is an infinity.
9008         [BZ #18875]
9009         [BZ #18966]
9010         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
9011         (MO): New macro.
9012         (__ieee754_exp10): For small results, force underflow exception
9013         and remove excess range and precision from return value.
9014         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
9015         (MO): New macro.
9016         (__ieee754_exp10f): For small results, force underflow exception
9017         and remove excess range and precision from return value.
9018         * math/auto-libm-test-in: Add more tests of exp10.
9019         * math/auto-libm-test-out: Regenerated.
9021 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
9023         [BZ #18875]
9024         [BZ #18961]
9025         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
9026         (MO): New macro.
9027         (__ieee754_exp): For small results, force underflow exception and
9028         remove excess range and precision from return value.
9029         (__exp_finite): Likewise.
9030         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
9031         (MO): New macro.
9032         (__ieee754_expf): For small results, force underflow exception and
9033         remove excess range and precision from return value.
9034         (__expf_finite): Likewise.
9035         * math/auto-libm-test-in: Add more tests of exp.
9036         * math/auto-libm-test-out: Regenerated.
9038         [BZ #16521]
9039         [BZ #18875]
9040         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
9041         small results.
9042         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
9043         (MO): New macro.
9044         (__ieee754_exp2): For small results, force underflow exception and
9045         remove excess range and precision from return value.
9046         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
9047         (MO): New macro.
9048         (__ieee754_exp2f): For small results, force underflow exception
9049         and remove excess range and precision from return value.
9050         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
9051         (MO): New macro.
9052         (__ieee754_exp2l): Force underflow exception for small results.
9053         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9054         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9055         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
9056         (MO): New macro.
9057         (__ieee754_exp2l): Force underflow exception for small results.
9058         * math/auto-libm-test-in: Add more tests or exp2.
9059         * math/auto-libm-test-out: Regenerated.
9061 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
9063         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
9065         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
9066         /dev/null.
9068 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9070         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9071         io fs process)): Drop spurious backslash.
9073 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9075         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
9076         Use sysinfo system call instead of parsing /proc/meminfo.
9077         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
9078         Likewise.
9080 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
9082         [BZ #16985]
9083         * programs/localedef.c (main): Display argv[remaining] when
9084         output_path is NULL.
9086 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9088         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9089         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
9090         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
9091         tanh.
9092         * math/auto-libm-test-out: Regenerated.
9093         * sysdeps/i386/fpu/libm-test-ulps: Update.
9094         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9095         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9098 2015-09-11  Roland McGrath  <roland@hack.frob.com>
9100         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
9101         Use 'override' keyword to freeze the value here, preventing
9102         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
9104 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9106         [BZ #14912]
9107         * sysdeps/aarch64/bits/atomic.h: Move to ...
9108         * sysdeps/aarch64/atomic-machine.h: ...here.
9109         (_AARCH64_BITS_ATOMIC_H): Rename macro to
9110         _AARCH64_ATOMIC_MACHINE_H.
9111         * sysdeps/alpha/bits/atomic.h: Move to ...
9112         * sysdeps/alpha/atomic-machine.h: ...here.
9113         * sysdeps/arm/bits/atomic.h: Move to ...
9114         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
9115         * bits/atomic.h: Move to ...
9116         * sysdeps/generic/atomic-machine.h: ...here.
9117         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9118         * sysdeps/i386/bits/atomic.h: Move to ...
9119         * sysdeps/i386/atomic-machine.h: ...here.
9120         * sysdeps/ia64/bits/atomic.h: Move to ...
9121         * sysdeps/ia64/atomic-machine.h: ...here.
9122         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
9123         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
9124         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9125         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
9126         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
9127         * sysdeps/microblaze/bits/atomic.h: Move to ...
9128         * sysdeps/microblaze/atomic-machine.h: ...here.
9129         * sysdeps/mips/bits/atomic.h: Move to ...
9130         * sysdeps/mips/atomic-machine.h: ...here.
9131         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
9132         * sysdeps/powerpc/bits/atomic.h: Move to ...
9133         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
9134         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
9135         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
9136         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
9137         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
9138         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
9139         <atomic-machine.h> instead of <bits/atomic.h>.
9140         * sysdeps/s390/bits/atomic.h: Move to ...
9141         * sysdeps/s390/atomic-machine.h: ...here.
9142         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
9143         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
9144         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9145         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
9146         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
9147         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
9148         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
9149         * sysdeps/tile/bits/atomic.h: Move to ...
9150         * sysdeps/tile/atomic-machine.h: ...here.
9151         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
9152         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
9153         <sysdeps/tile/atomic-machine.h> instead of
9154         <sysdeps/tile/bits/atomic.h>.
9155         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9156         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
9157         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
9158         <sysdeps/tile/atomic-machine.h> instead of
9159         <sysdeps/tile/bits/atomic.h>.
9160         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9161         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
9162         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
9163         <sysdeps/arm/atomic-machine.h> instead of
9164         <sysdeps/arm/bits/atomic.h>.
9165         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
9166         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
9167         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9168         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
9169         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
9170         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9171         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
9172         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
9173         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
9174         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
9175         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
9176         * sysdeps/x86_64/bits/atomic.h: Move to ...
9177         * sysdeps/x86_64/atomic-machine.h: ...here.
9178         * include/atomic.h: Include <atomic-machine.h> instead of
9179         <bits/atomic.h>.
9181         * sysdeps/mips/mips32/libm-test-ulps: Update.
9182         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9184         [BZ #18952]
9185         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
9186         not convert non-integer negative arguments to int to determine the
9187         value of signgam.
9188         * math/auto-libm-test-in: Add more tests of lgamma.
9189         * math/auto-libm-test-out: Regenerated.
9191         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
9192         cosh, csqrt, erfc, expm1 and lgamma.
9193         * math/auto-libm-test-out: Regenerated.
9194         * sysdeps/i386/fpu/libm-test-ulps: Update.
9195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9197 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
9199         [BZ #2542]
9200         [BZ #2543]
9201         [BZ #2558]
9202         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
9203         __lgamma_neg for arguments from -28.0 to -2.0.
9204         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
9205         __lgamma_negf for arguments from -15.0 to -2.0.
9206         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9207         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
9208         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
9209         Call __lgamma_negl for arguments from -33.0 to -2.0.
9210         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
9211         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
9212         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9213         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
9214         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9215         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9216         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9217         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
9218         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9219         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
9220         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
9221         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
9222         (__lgamma_neg): Likewise.
9223         (__lgamma_negl): Likewise.
9224         (__lgamma_product): Likewise.
9225         (__lgamma_productl): Likewise.
9226         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
9227         * math/auto-libm-test-in: Add more tests of lgamma.
9228         * math/auto-libm-test-out: Regenerated.
9229         * sysdeps/i386/fpu/libm-test-ulps: Update.
9230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9232 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
9234         [BZ #18675]
9235         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
9237 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
9239         [BZ #14912]
9240         * bits/libc-lock.h: Move to ...
9241         * sysdeps/generic/libc-lock.h: ...here.
9242         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9243         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
9244         * sysdeps/mach/hurd/libc-lock.h: ...here.
9245         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9246         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
9247         * sysdeps/mach/bits/libc-lock.h: Move to ...
9248         * sysdeps/mach/libc-lock.h: ...here.
9249         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9250         * sysdeps/nptl/bits/libc-lock.h: Move to ...
9251         * sysdeps/nptl/libc-lock.h: ...here.
9252         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9253         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
9254         * sysdeps/nptl/libc-lockP.h: ...here.
9255         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
9256         * crypt/crypt_util.c: Include <libc-lock.h> instead of
9257         <bits/libc-lock.h>.
9258         * dirent/scandir-tail.c: Likewise.
9259         * dlfcn/dlerror.c: Likewise.
9260         * elf/dl-close.c: Likewise.
9261         * elf/dl-iteratephdr.c: Likewise.
9262         * elf/dl-lookup.c: Likewise.
9263         * elf/dl-open.c: Likewise.
9264         * elf/dl-support.c: Likewise.
9265         * elf/dl-writev.h: Likewise.
9266         * elf/rtld.c: Likewise.
9267         * grp/fgetgrent.c: Likewise.
9268         * gshadow/fgetsgent.c: Likewise.
9269         * gshadow/sgetsgent.c: Likewise.
9270         * iconv/gconv_conf.c: Likewise.
9271         * iconv/gconv_db.c: Likewise.
9272         * iconv/gconv_dl.c: Likewise.
9273         * iconv/gconv_int.h: Likewise.
9274         * iconv/gconv_trans.c: Likewise.
9275         * include/link.h: Likewise.
9276         * inet/getnameinfo.c: Likewise.
9277         * inet/getnetgrent.c: Likewise.
9278         * inet/getnetgrent_r.c: Likewise.
9279         * intl/bindtextdom.c: Likewise.
9280         * intl/dcigettext.c: Likewise.
9281         * intl/finddomain.c: Likewise.
9282         * intl/gettextP.h: Likewise.
9283         * intl/loadmsgcat.c: Likewise.
9284         * intl/localealias.c: Likewise.
9285         * intl/textdomain.c: Likewise.
9286         * libidn/idn-stub.c: Likewise.
9287         * libio/libioP.h: Likewise.
9288         * locale/duplocale.c: Likewise.
9289         * locale/freelocale.c: Likewise.
9290         * locale/newlocale.c: Likewise.
9291         * locale/setlocale.c: Likewise.
9292         * login/getutent_r.c: Likewise.
9293         * login/getutid_r.c: Likewise.
9294         * login/getutline_r.c: Likewise.
9295         * login/utmp-private.h: Likewise.
9296         * login/utmpname.c: Likewise.
9297         * malloc/mtrace.c: Likewise.
9298         * misc/efgcvt.c: Likewise.
9299         * misc/error.c: Likewise.
9300         * misc/fstab.c: Likewise.
9301         * misc/getpass.c: Likewise.
9302         * misc/mntent.c: Likewise.
9303         * misc/syslog.c: Likewise.
9304         * nis/nis_call.c: Likewise.
9305         * nis/nis_callback.c: Likewise.
9306         * nis/nss-default.c: Likewise.
9307         * nis/nss_compat/compat-grp.c: Likewise.
9308         * nis/nss_compat/compat-initgroups.c: Likewise.
9309         * nis/nss_compat/compat-pwd.c: Likewise.
9310         * nis/nss_compat/compat-spwd.c: Likewise.
9311         * nis/nss_nis/nis-alias.c: Likewise.
9312         * nis/nss_nis/nis-ethers.c: Likewise.
9313         * nis/nss_nis/nis-grp.c: Likewise.
9314         * nis/nss_nis/nis-hosts.c: Likewise.
9315         * nis/nss_nis/nis-network.c: Likewise.
9316         * nis/nss_nis/nis-proto.c: Likewise.
9317         * nis/nss_nis/nis-pwd.c: Likewise.
9318         * nis/nss_nis/nis-rpc.c: Likewise.
9319         * nis/nss_nis/nis-service.c: Likewise.
9320         * nis/nss_nis/nis-spwd.c: Likewise.
9321         * nis/nss_nisplus/nisplus-alias.c: Likewise.
9322         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9323         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9324         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9325         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
9326         * nis/nss_nisplus/nisplus-network.c: Likewise.
9327         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9328         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9329         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9330         * nis/nss_nisplus/nisplus-service.c: Likewise.
9331         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9332         * nis/ypclnt.c: Likewise.
9333         * nptl/libc_pthread_init.c: Likewise.
9334         * nss/getXXbyYY.c: Likewise.
9335         * nss/getXXent.c: Likewise.
9336         * nss/getXXent_r.c: Likewise.
9337         * nss/nss_db/db-XXX.c: Likewise.
9338         * nss/nss_db/db-netgrp.c: Likewise.
9339         * nss/nss_db/nss_db.h: Likewise.
9340         * nss/nss_files/files-XXX.c: Likewise.
9341         * nss/nss_files/files-alias.c: Likewise.
9342         * nss/nsswitch.c: Likewise.
9343         * posix/regex_internal.h: Likewise.
9344         * posix/wordexp.c: Likewise.
9345         * pwd/fgetpwent.c: Likewise.
9346         * resolv/res_hconf.c: Likewise.
9347         * resolv/res_libc.c: Likewise.
9348         * shadow/fgetspent.c: Likewise.
9349         * shadow/lckpwdf.c: Likewise.
9350         * shadow/sgetspent.c: Likewise.
9351         * socket/opensock.c: Likewise.
9352         * stdio-common/reg-modifier.c: Likewise.
9353         * stdio-common/reg-printf.c: Likewise.
9354         * stdio-common/reg-type.c: Likewise.
9355         * stdio-common/vfprintf.c: Likewise.
9356         * stdio-common/vfscanf.c: Likewise.
9357         * stdlib/abort.c: Likewise.
9358         * stdlib/cxa_atexit.c: Likewise.
9359         * stdlib/fmtmsg.c: Likewise.
9360         * stdlib/random.c: Likewise.
9361         * stdlib/setenv.c: Likewise.
9362         * string/strsignal.c: Likewise.
9363         * sunrpc/auth_none.c: Likewise.
9364         * sunrpc/bindrsvprt.c: Likewise.
9365         * sunrpc/create_xid.c: Likewise.
9366         * sunrpc/key_call.c: Likewise.
9367         * sunrpc/rpc_thread.c: Likewise.
9368         * sysdeps/arm/backtrace.c: Likewise.
9369         * sysdeps/generic/ldsodefs.h: Likewise.
9370         * sysdeps/generic/stdio-lock.h: Likewise.
9371         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
9372         * sysdeps/i386/backtrace.c: Likewise.
9373         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9374         * sysdeps/m68k/backtrace.c: Likewise.
9375         * sysdeps/mach/hurd/cthreads.c: Likewise.
9376         * sysdeps/mach/hurd/dirstream.h: Likewise.
9377         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9378         * sysdeps/nptl/malloc-machine.h: Likewise.
9379         * sysdeps/nptl/stdio-lock.h: Likewise.
9380         * sysdeps/posix/dirstream.h: Likewise.
9381         * sysdeps/posix/getaddrinfo.c: Likewise.
9382         * sysdeps/posix/system.c: Likewise.
9383         * sysdeps/pthread/aio_suspend.c: Likewise.
9384         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9385         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9386         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9387         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9388         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
9389         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
9390         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
9391         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9392         * sysdeps/unix/sysv/linux/system.c: Likewise.
9393         * sysdeps/x86_64/backtrace.c: Likewise.
9394         * time/alt_digit.c: Likewise.
9395         * time/era.c: Likewise.
9396         * time/tzset.c: Likewise.
9397         * wcsmbs/wcsmbsload.c: Likewise.
9398         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
9399         instead of <bits/libc-lock.h> in comment.
9401 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
9403         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
9404         Only use .set mips2 if the current ISA is below mips2.
9405         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
9406         Likewise.
9407         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
9408         mips32r2 if the current ISA is below mips32r2.
9409         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
9410         (TLS_IE): Updated to use the TLD_RDHWR macro.
9411         (TLS_LE): Likewise.
9412         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
9413         __ASSEMBLER__ condition.
9415 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9417         Fix parallel build of before-compile targets.
9419         * sysdeps/mach/Makefile ($(patsubst
9420         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
9421         mach-before-compile target.
9422         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9423         io fs process)): Move rule to dedicated hurd-before-compile target.
9425 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9427         Fix rules generating headers in hurd/ and mach/ when initial make call
9428         has subdir= explicitly set.
9430         * sysdeps/mach/Makefile ($(patsubst
9431         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
9432         calling $(MAKE).
9433         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9434         io fs process)): Force subdir to hurd when calling $(MAKE).
9435         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
9436         subdir to mach when calling $(MAKE).
9438 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
9440         Check sysheaders when looking for Mach and Hurd headers
9442         * sysdeps/mach/configure.ac: Add sysheaders check.
9443         * sysdeps/mach/configure: Regenerate.
9444         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
9445         * sysdeps/mach/hurd/configure: Regenerate.
9447 2015-09-04  Roland McGrath  <roland@hack.frob.com>
9449         [BZ #18921]
9450         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
9451         Fix inverted sense of test of 'o_directory_works' value.
9452         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
9453         Bernhard Voelker <mail@bernhard-voelker.de>.
9455 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
9457         [BZ #14912]
9458         * bits/linkmap.h: Move to ...
9459         * sysdeps/generic/linkmap.h: ...here.
9460         * sysdeps/aarch64/bits/linkmap.h: Move to ...
9461         * sysdeps/aarch64/linkmap.h: ...here.
9462         * sysdeps/arm/bits/linkmap.h: Move to ...
9463         * sysdeps/arm/linkmap.h: ...here.
9464         * sysdeps/hppa/bits/linkmap.h: Move to ...
9465         * sysdeps/hppa/linkmap.h: ...here.
9466         * sysdeps/ia64/bits/linkmap.h: Move to ...
9467         * sysdeps/ia64/linkmap.h: ...here.
9468         * sysdeps/mips/bits/linkmap.h: Move to ...
9469         * sysdeps/mips/linkmap.h: ...here.
9470         * sysdeps/s390/bits/linkmap.h: Move to ...
9471         * sysdeps/s390/linkmap.h: ...here.
9472         * sysdeps/sh/bits/linkmap.h: Move to ...
9473         * sysdeps/sh/linkmap.h: ...here.
9474         * sysdeps/x86/bits/linkmap.h: Move to ...
9475         * sysdeps/x86/linkmap.h: ...here.
9476         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
9478 2015-09-04  Andreas Schwab  <schwab@suse.de>
9480         [BZ #18635]
9481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
9482         (__makecontext): Terminate FDE before return label.
9483         (__novec_makecontext): Likewise.
9485 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9487         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
9488         first member of struct sv in syscall macro.
9490 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
9492         [BZ #14912]
9493         * bits/stdio-lock.h: Move to ...
9494         * sysdeps/generic/stdio-lock.h: ...here.
9495         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9496         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
9497         * sysdeps/nptl/stdio-lock.h: ...here.
9498         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9499         * include/libio.h: Include <stdio-lock.h> instead of
9500         <bits/stdio-lock.h>.
9501         * sysdeps/nptl/fork.c: Likewise.
9502         * sysdeps/pthread/flockfile.c: Likewise.
9503         * sysdeps/pthread/ftrylockfile.c: Likewise.
9504         * sysdeps/pthread/funlockfile.c: Likewise.
9506         [BZ #14912]
9507         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
9508         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
9509         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
9510         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
9511         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
9512         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9513         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
9515 2015-09-03  Roland McGrath  <roland@hack.frob.com>
9517         * elf/Makefile (test-xfail-tst-protected1a): New variable.
9518         (test-xfail-tst-protected1b): New variable.
9520 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
9522         [BZ #14912]
9523         * bits/libc-tsd.h: Move to ...
9524         * sysdeps/generic/libc-tsd.h: ...here.
9525         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
9526         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
9527         * sysdeps/mach/hurd/libc-tsd.h: ...here.
9528         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
9529         * include/ctype.h: Include <libc-tsd.h> instead of
9530         <bits/libc-tsd.h>.
9531         * include/rpc/rpc.h: Likewise.
9532         * locale/localeinfo.h: Likewise.
9533         * sunrpc/rpc_thread.c: Likewise.
9534         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9535         * sysdeps/nptl/malloc-machine.h: Likewise.
9537         * Makefile (headers): Remove bits/libc-lock.h.
9538         * libio/Makefile (headers): Remove bits/stdio-lock.h.
9540         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
9541         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
9542         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
9543         <bits/stdio-lock.h>.
9544         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
9545         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
9547 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9549         [BZ #18757]
9550         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
9551         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
9552         BZ #18757.
9554 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9556         * malloc/mtrace.pl: Filter out NULL entries.
9558 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
9560         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
9561         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
9562         macro.
9564         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
9565         (TCP_CC_INFO): Likewise.
9566         (TCP_SAVE_SYN): Likewise.
9567         (TCP_SAVED_SYN): Likewise.
9569 2015-08-31  Brett Neumeier <brett@neumeier.us>
9571         [BZ #18870]
9572         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
9574 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
9576         [BZ #18873]
9577         Fix broken overflow check in posix_fallocate
9578         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
9579         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9580         Fix parenthesization typo.
9582 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
9584         [BZ #18887]
9585         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
9586         tst-mntent-blank-passno.
9587         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
9588         * misc/tst-mntent-blank-corrupt.c: New test.
9589         * misc/tst-mntent-blank-passno.c: New test ripped from ...
9590         * misc/tst-mntent.c (do_test): ... here.
9592 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
9594         [BZ #4404]
9595         * po/de.po: Fix SIGALRM typo.
9597 2015-08-28  James Perkins  <james@loowit.net>
9599         * time/tst-strptime2.c (tests): Replace short list of test
9600         strings for strptime %z specifier with code which exhaustively
9601         tests every combination of sign and 0 to 5 digits. Tests for
9602         rejection of invalid strings.
9604 2015-08-28  James Perkins  <james@loowit.net>
9606         [BZ #16141]
9607         * time/strptime_l.c (__strptime_internal): Fix %z minutes
9608         calculation, removing incorrect decimal time rounding, so that
9609         all minute values result in a valid seconds value.
9610         * time/strptime_l.c (__strptime_internal): Extend %z time zone
9611         offset range limits to UTC-99:59 through UTC+99:59 to parse
9612         current and historical use cases.
9613         * time/tst-strptime2.c (tests): Modify and add tests for the
9614         strptime %z input field descriptor, specifically conversion of
9615         minutes to seconds and validating an offset range of -9959 to
9616         +9959.
9618 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9619             Dmitry V. Levin  <ldv@altlinux.org>
9621         [BZ #18877]
9622         * posix/Makefile (tests): Add tst-mmap-offset.
9623         * posix/tst-mmap.c: New file.
9624         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
9625         offset calculation for negative values.
9627 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9629         * sysdeps/i386/init-arch.h: New file.
9630         * sysdeps/i386/i586/init-arch.h: Likewise.
9631         * sysdeps/i386/i686/init-arch.h: Likewise.
9632         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
9633         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
9634         * sysdeps/x86/cpu-features.h (bit_I586): New.
9635         (bit_I686): Likewise.
9636         (bit_CX8): Likewise.
9637         (bit_CMOV): Likewise.
9638         (index_CX8): Likewise.
9639         (index_CMOV): Likewise.
9640         (index_I586): Likewise.
9641         (index_I686): Likewise.
9642         (reg_CX8): Likewise.
9643         (reg_CMOV): Likewise.
9644         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
9645         available at compile-time.
9646         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
9647         available at compile-time.
9648         * sysdeps/x86/init-arch.h (USE_I586): New macro.
9649         (USE_I686): Likewise.
9651 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9653         * sysdeps/i386/bcopy.S: New file.
9654         * sysdeps/i386/bzero.S: Likewise.
9655         * sysdeps/i386/memcpy.S: Likewise.
9656         * sysdeps/i386/memmove.S: Likewise.
9657         * sysdeps/i386/mempcpy.S: Likewise.
9658         * sysdeps/i386/memset.S: Likewise.
9659         * sysdeps/i386/bzero.c: Removed.
9660         * sysdeps/i386/memset.c: Likewise.
9661         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
9662         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
9663         * sysdeps/i386/i586/memset_chk.S: Likewise.
9664         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
9665         * sysdeps/i386/memcpy_chk.S: Here.
9666         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
9667         * sysdeps/i386/memmove_chk.S: Here.
9668         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
9669         * sysdeps/i386/mempcpy_chk.S: Likewise.
9670         * sysdeps/i386/i686/memset_chk.S: Moved to ...
9671         * sysdeps/i386/memset_chk.S: Likewise.
9673 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
9675         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
9676         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
9677         file, move DIAG_POP_NEEDS_COMMENT to end of file.
9678         * soft-fp/fmadf4.c: Ditto.
9679         * soft-fp/fmatf4.c: Ditto.
9681 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9683         * sysdeps/i386/i586/Implies: Removed.
9684         * sysdeps/i386/i686/Implies: Likewise.
9686 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9688         * sysdeps/i386/i486/strlen.S: Moved to ...
9689         * sysdeps/i386/strlen.S: Here.
9691 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9693         * sysdeps/i386/i486/strcat.S: Moved to ...
9694         * sysdeps/i386/strcat.S: Here.
9696 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9698         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
9699         * sysdeps/i386/pthread_spin_trylock.S: Here.
9700         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
9701         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
9703 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9705         * sysdeps/i386/i486/string-inlines.c: Moved to ...
9706         * sysdeps/i386/string-inlines.c: Here.
9708 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9710         * sysdeps/i386/i486/htonl.S: Moved ...
9711         * sysdeps/i386/htonl.S: here.
9713 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9715         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
9716         * sysdeps/i386/bits/atomic.h: Here.
9718 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9720         * sysdeps/i386/i486/Versions: Removed.
9722 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9724         [BZ #2898]
9725         * misc/mktemp.c: Add mkdtemp to the link_warning message.
9726         Based on patch by Aurelien Jarno.
9728 2015-08-26  Stan Shebs  <stanshebs@google.com>
9730         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
9731         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9733 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9735         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
9736         * sysdeps/powerpc/dl-procinfo.c:
9737         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
9738         feature so it shows when LD_SHOW_AUXV=1.
9740 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9742         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9743         (__arch_compare_and_exchange_val_32_acq): Remove and use common
9744         definition.  ISA 2.07B no longer requires full sync.
9746 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
9748         [BZ #18863]
9749         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
9750         (si_call_addr): Define.
9751         (si_syscall): Define.
9752         (si_arch): Define.
9754 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9756         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
9757         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
9758         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
9759         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9760         (__memset_zero_constant_len_parameter): New.
9761         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
9762         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9763         (__memset_zero_constant_len_parameter): Don't define if
9764         __memset_chk or USE_AS_BZERO are defined.
9766         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
9767         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
9768         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
9770         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
9771         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
9772         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
9773         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
9774         comments.
9775         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
9776         -mno-mmx for $(all-rtld-routines).
9777         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
9778         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
9779         i386.
9781 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9783         * sysdeps/generic/unwind.h
9784         (_Unwind_Word): Use __mode__(__unwind_word__)
9785         instead of __mode__(__word__).
9786         (_Unwind_Sword): Likewise.
9788         * sysdeps/s390/s390-64/utf8-utf16-z9.c
9789         (MAX_NEEDED_INPUT): New define.
9790         (MAX_NEEDED_OUTPUT): New define.
9792         * NEWS: New item for IBM z13 string optimizations.
9794         * sysdeps/s390/multiarch/memrchr-c.c: New File.
9795         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
9796         * sysdeps/s390/multiarch/memrchr.c: Likewise.
9797         * sysdeps/s390/multiarch/Makefile
9798         (sysdep_routines): Add memrchr functions.
9799         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9800         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
9802         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
9803         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
9804         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
9805         * sysdeps/s390/multiarch/Makefile
9806         (sysdep_routines): Add wmemcmp functions.
9807         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9808         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
9809         * benchtests/bench-wmemcmp.c: New File.
9810         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9812         * sysdeps/s390/multiarch/wmemset-c.c: New File.
9813         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9814         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9815         * sysdeps/s390/multiarch/Makefile
9816         (sysdep_routines): Add wmemset functions.
9817         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9818         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9819         * wcsmbs/wmemset.c: Use WMEMSET if defined.
9820         * string/test-memset.c: Add wmemset support.
9821         * wcsmbs/test-wmemset.c: New File.
9822         * wcsmbs/Makefile (strop-tests): Add wmemset.
9823         * benchtests/bench-memset.c: Add wmemset support.
9824         * benchtests/bench-wmemset.c: New File.
9825         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9827         * sysdeps/s390/multiarch/memccpy-c.c: New File.
9828         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9829         * sysdeps/s390/multiarch/memccpy.c: Likewise.
9830         * sysdeps/s390/multiarch/Makefile
9831         (sysdep_routines): Add memccpy functions.
9832         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9833         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9834         * string/memccpy.c: Use MEMCCPY if defined.
9836         * sysdeps/s390/multiarch/memchr-vx.S: New File.
9837         * sysdeps/s390/multiarch/memchr.c: Likewise.
9838         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9839         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9840         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9841         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9842         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9843         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9844         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9845         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9846         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9847         and rawmemchr functions.
9848         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9849         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9850         and wmemchr.
9851         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9852         * string/test-memchr.c: Add wmemchr support.
9853         * wcsmbs/test-wmemchr.c: New File.
9854         * wcsmbs/Makefile (strop-tests): Add wmemchr.
9855         * benchtests/bench-memchr.c: Add wmemchr support.
9856         * benchtests/bench-wmemchr.c: New File.
9857         * benchtests/Makefile (wcsmbs-bench): wmemchr.
9859         * sysdeps/s390/multiarch/strcspn-c.c: New File.
9860         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9861         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9862         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9863         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9864         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9865         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9866         wcscspn functions.
9867         * sysdeps/s390/multiarch/ifunc-impl-list.c
9868         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9869         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9870         * string/test-strcspn.c: Add wcscspn support.
9871         * wcsmbs/test-wcscspn.c: New File.
9872         * wcsmbs/Makefile (strop-tests): Add wcscspn.
9873         * benchtests/bench-strcspn.c: Add wcscspn support.
9874         * benchtests/bench-wcscspn.c: New File.
9875         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
9877         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
9878         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
9879         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9880         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
9881         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
9882         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9883         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
9884         wcspbrk functions.
9885         * sysdeps/s390/multiarch/ifunc-impl-list.c
9886         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
9887         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
9888         * string/test-strpbrk.c: Add wcspbrk support.
9889         * wcsmbs/test-wcspbrk.c: New File.
9890         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
9891         * benchtests/bench-strpbrk.c: Add wcspbrk support.
9892         * benchtests/bench-wcspbrk.c: New File.
9893         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
9895         * sysdeps/s390/multiarch/strspn-c.c: New File.
9896         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
9897         * sysdeps/s390/multiarch/strspn.c: Likewise.
9898         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
9899         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
9900         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9901         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
9902         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
9903         wcsspn functions.
9904         * sysdeps/s390/multiarch/ifunc-impl-list.c
9905         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
9906         * string/test-strspn.c: Add wcsspn support.
9907         * wcsmbs/test-wcsspn.c: New File.
9908         * wcsmbs/Makefile (strop-tests): Add wcsspn.
9909         * benchtests/bench-strspn.c: Add wcsspn support.
9910         * benchtests/bench-wcsspn.c: New File.
9911         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
9913         * sysdeps/s390/multiarch/strrchr-c.c: New File.
9914         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
9915         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9916         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
9917         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
9918         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
9919         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
9920         wcsrchr functions.
9921         * sysdeps/s390/multiarch/ifunc-impl-list.c
9922         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
9923         * benchtests/bench-wcsrchr.c: New File.
9924         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
9926         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
9927         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
9928         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
9929         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
9930         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
9931         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9932         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
9933         wcschrnul functions.
9934         * sysdeps/s390/multiarch/ifunc-impl-list.c
9935         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
9936         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
9937         * string/test-strchr.c: Add wcschrnul support.
9938         * wcsmbs/test-wcschrnul.c: New File.
9939         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
9940         * benchtests/bench-strchr.c: Add wcschrnul support.
9941         * benchtests/bench-wcschrnul.c: New File.
9942         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
9944         * sysdeps/s390/multiarch/strchr-c.c: New File.
9945         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
9946         * sysdeps/s390/multiarch/strchr.c: Likewise.
9947         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
9948         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
9949         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9950         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
9951         wcschr functions.
9952         * sysdeps/s390/multiarch/ifunc-impl-list.c
9953         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
9954         * string/strchr.c (STRCHR): Define and use macro.
9955         * benchtests/bench-wcschr.c: New File.
9956         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
9958         * sysdeps/s390/multiarch/strncmp-c.c: New File.
9959         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9960         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9961         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9962         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9963         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9964         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9965         wcsncmp functions.
9966         * sysdeps/s390/multiarch/ifunc-impl-list.c
9967         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
9968         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
9969         * benchtests/bench-strncmp.c: Add wcsncmp support.
9970         * benchtests/bench-wcsncmp.c: New File.
9971         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
9973         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
9974         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9975         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
9976         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
9977         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9978         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
9979         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9980         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
9981         wcscmp functions.
9982         * sysdeps/s390/multiarch/ifunc-impl-list.c
9983         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
9984         * string/strcmp.c (STRCMP): Define and use macro.
9985         * benchtests/bench-wcscmp.c: New File.
9986         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
9987         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
9988         instead of _HAVE_STRING_ARCH_memchr.
9990         * sysdeps/s390/multiarch/strncat-c.c: New File.
9991         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
9992         * sysdeps/s390/multiarch/strncat.c: Likewise.
9993         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
9994         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
9995         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
9996         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9997         wcsncat functions.
9998         * sysdeps/s390/multiarch/ifunc-impl-list.c
9999         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
10000         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
10001         * string/test-strncat.c: Add wcsncat support.
10002         * wcsmbs/test-wcsncat.c: New File.
10003         * wcsmbs/Makefile (strop-tests): Add wcsncat.
10004         * benchtests/bench-strncat.c: Add wcsncat support.
10005         * benchtests/bench-wcsncat.c: New File.
10006         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
10008         * sysdeps/s390/multiarch/strcat-c.c: New File.
10009         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
10010         * sysdeps/s390/multiarch/strcat.c: Likewise.
10011         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
10012         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
10013         * sysdeps/s390/multiarch/wcscat.c: Likewise.
10014         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
10015         wcscat functions.
10016         * sysdeps/s390/multiarch/ifunc-impl-list.c
10017         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
10018         * string/strcat.c (STRCAT): Define and use macro.
10019         * wcsmbs/wcscat.c: Use WCSCAT if defined.
10020         * string/test-strcat.c: Add wcscat support.
10021         * wcsmbs/test-wcscat.c: New File.
10022         * wcsmbs/Makefile (strop-tests): Add wcscat.
10023         * benchtests/bench-strcat.c: Add wcscat support.
10024         * benchtests/bench-wcscat.c: New File.
10025         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
10027         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
10028         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
10029         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10030         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
10031         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
10032         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
10033         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
10034         wcpncpy functions.
10035         * sysdeps/s390/multiarch/ifunc-impl-list.c
10036         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
10037         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
10038         * string/test-stpncpy.c: Add wcpncpy support.
10039         * wcsmbs/test-wcpncpy.c: New File.
10040         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
10041         * benchtests/bench-stpncpy.c: Add wcpncpy support.
10042         * benchtests/bench-wcpncpy.c: New File.
10043         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
10045         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
10046         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10047         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
10048         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
10049         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
10050         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
10051         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
10052         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
10053         wcsncpy functions.
10054         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
10055         * sysdeps/s390/multiarch/ifunc-impl-list.c
10056         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
10057         * string/test-strncpy.c: Add wcsncpy support.
10058         * wcsmbs/test-wcsncpy.c: New File.
10059         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
10060         * benchtests/bench-strncpy.c: Add wcsncpy support.
10061         * benchtests/bench-wcsncpy.c: New File.
10062         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
10064         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
10065         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
10066         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10067         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
10068         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
10069         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
10070         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
10071         wcpcpy functions.
10072         * string/stpcpy.c: Use STPCPY if defined.
10073         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
10074         * sysdeps/s390/multiarch/ifunc-impl-list.c
10075         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
10076         * string/test-stpcpy.c: Add wcpcpy support.
10077         * wcsmbs/test-wcpcpy.c: New File.
10078         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
10079         * benchtests/bench-stpcpy.c: Add wcpcpy support.
10080         * benchtests/bench-wcpcpy.c: New File.
10081         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
10083         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
10084         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10085         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
10086         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
10087         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
10088         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
10089         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
10090         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
10091         wcscpy functions.
10092         * sysdeps/s390/multiarch/ifunc-impl-list.c
10093         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
10094         * benchtests/bench-wcscpy.c: New File.
10095         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
10097         * sysdeps/s390/multiarch/strnlen-c.c: New File.
10098         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
10099         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10100         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
10101         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
10102         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
10103         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
10104         wcsnlen functions.
10105         * sysdeps/s390/multiarch/ifunc-impl-list.c
10106         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
10107         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
10108         * string/test-strnlen.c: Add wcsnlen support.
10109         * wcsmbs/test-wcsnlen.c: New File.
10110         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
10111         * benchtests/bench-strnlen.c: Add wcsnlen support.
10112         * benchtests/bench-wcsnlen.c: New File.
10113         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
10115         * sysdeps/s390/multiarch/Makefile: New File.
10116         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
10117         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
10118         * sysdeps/s390/multiarch/strlen.c: Likewise.
10119         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
10120         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
10121         * sysdeps/s390/multiarch/wcslen.c: Likewise.
10122         * string/strlen.c (STRLEN): Define and use macro.
10123         * sysdeps/s390/multiarch/ifunc-impl-list.c
10124         (IFUNC_VX_IMPL): New macro function.
10125         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
10126         * benchtests/Makefile (wcsmbs-bench): New variable.
10127         (string-bench-all): Added wcsmbs-bench.
10128         * benchtests/bench-wcslen.c: New File.
10130         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
10131         s390_vx_libc_ifunc2): New macro function.
10133         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
10134         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
10135         assembler support.
10136         * sysdeps/s390/configure: Regenerated.
10138         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
10139         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
10141         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
10142         * sysdeps/s390/dl-procinfo.h: Add vector capability.
10143         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
10145         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
10146         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
10147         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
10148         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
10149         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
10150         (memcmp, bcmp): Use __memcmp_default as alias source.
10151         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
10152         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
10153         Rename to __memcmp_default.
10154         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
10155         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
10156         (memcpy): Use __memcpy_default as alias source.
10157         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
10158         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
10159         Rename to __memcpy_default.
10160         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
10161         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
10162         (memset): Use __memset_default as alias source.
10163         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
10164         * sysdeps/s390/s390-32/memset.S (__memset_g5):
10165         Rename to __memset_default.
10166         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
10167         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
10168         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
10169         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
10170         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
10171         (memcmp, bcmp): Use __memcmp_default as alias source.
10172         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
10173         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
10174         Rename to __memcmp_default.
10175         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
10176         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
10177         (memcpy): Use __memcpy_default as alias source.
10178         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
10179         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
10180         Rename to __memcpy_default.
10181         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
10182         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
10183         (memset): Use __memset_default as alias source.
10184         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
10185         * sysdeps/s390/s390-64/memset.S (__memset_z900):
10186         Rename to __memset_default.
10187         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
10188         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
10190         [BZ #18610]
10191         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
10192         __ieee_instruction_pointer to __unused.
10193         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
10194         __ieee_instruction_pointer.
10195         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
10196         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
10197         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10198         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10199         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
10200         Mark dxc-field as reserved.
10202 2015-08-25  Roland McGrath  <roland@hack.frob.com>
10204         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
10205         if the weak reference is not null.
10207 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10209         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
10211         [BZ #11214]
10212         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
10214 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10216         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
10217         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
10218         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
10219         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
10220         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
10221         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
10222         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
10223         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
10224         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
10225         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
10226         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
10227         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
10228         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
10229         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
10230         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
10231         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
10232         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
10233         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
10235 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10237         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
10238         register other than r0 for tabort, it has special meaning.
10239         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
10240         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
10241         transaction before starting syscall.
10243 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10245         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
10247 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10249         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
10251         * sysdeps/x86_64/rtld-memcmp.c: Removed.
10252         * sysdeps/x86_64/rtld-memset.S: Likewise.
10253         * sysdeps/x86_64/rtld-strchr.S: Likewise.
10254         * sysdeps/x86_64/rtld-strlen.S: Likewise.
10255         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
10256         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10258         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
10260 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
10262         * debug/strcpy_chk.c: Improve performance.
10263         * debug/stpcpy_chk.c: Likewise.
10264         * sysdeps/x86_64/strcpy_chk.S: Remove.
10265         * sysdeps/x86_64/stpcpy_chk.S: Remove.
10267         [BZ #18240]
10268         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
10270 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10272         [BZ #15128]
10273         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
10274         ifuncmain8.
10275         (modules-names): Add ifuncmod8.
10276         ($(objpfx)ifuncmain8): New rule.
10277         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
10278         <cpuid.h>.
10279         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
10280         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
10281         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
10282         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
10283         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
10284         * sysdeps/x86_64/dl-trampoline.h: Likewise.
10285         * sysdeps/x86_64/ifuncmain8.c: New file.
10286         * sysdeps/x86_64/ifuncmod8.c: Likewise.
10287         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
10288         Removed.
10289         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
10290         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
10291         Change rtld_savespace_sse to __glibc_unused2.
10292         (RTLD_CHECK_FOREIGN_CALL): Removed.
10293         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
10294         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
10295         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
10297 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
10299         * sysdeps/aarch64/bzero.S (__bzero): Remove.
10301 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
10303         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
10304         Unconditionally set __fpcr to avoid uninialized warning.
10305         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
10307 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10309         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
10310         is corrupt.
10312         * malloc/arena.c (arena_get2): Drop unused argument.
10313         (arena_lock): Adjust.
10314         (arena_get_retry): Likewise.
10316 2015-08-24  Andreas Schwab  <schwab@suse.de>
10318         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
10319         Don't define.
10320         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10321         (__ASSUME_IPC64): Don't undef.
10322         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
10323         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10324         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10325         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
10326         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
10327         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
10328         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
10329         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
10330         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
10331         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
10332         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
10333         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
10334         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
10335         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
10336         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
10337         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
10338         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
10339         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
10340         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
10341         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
10342         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
10344 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
10346         * manual/Makefile (install): Only build manual when perl is available.
10348 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10350         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
10351         '#undef memcpy' by '#undef memchr'.
10353 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10355         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
10356         memchr not point to the internal __GI_memchr implementation.
10358 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
10360         * timezone/Makefile (CFLAGS-zdump.c): Remove
10361         -Wno-strict-prototypes.
10362         (CFLAGS-zic.c): Likewise.
10363         (CFLAGS-ialloc.c): Likewise.
10364         (CFLAGS-scheck.c): Likewise.
10366         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
10367         -Wno-error=undef.
10369 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10371         * i386/i686/multiarch/strcasestr-c.c: Removed.
10372         * x86_64/multiarch/strcasestr.c: Likewise.
10373         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10374         Remove strcasestr.
10376 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
10378         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
10380         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
10381         variables for high and low parts before possibly modifying them.
10383 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10385         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
10386         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
10387         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
10388         of "multiarch/init-arch.h".
10389         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
10390         * sysdeps/x86/init-arch.h: This.
10392 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10394         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
10395         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
10397 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
10399         [BZ #17787]
10400         * manual/macros.texi: Add twoexp macro.
10401         * manual/filesys.texi: Fix exponents.
10402         * manual/llio.texi: Likewise.
10403         * manual/stdio.texi: Likewise.
10405 2015-08-20  Florian Weimer  <fweimer@redhat.com>
10407         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
10408         incorrect use.
10410 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
10412         [BZ #18370]
10413         * math/s_csqrt.c (__csqrt): Force underflow exception for results
10414         whose real or imaginary part has small absolute value.
10415         * math/s_csqrtf.c (__csqrtf): Likewise.
10416         * math/s_csqrtl.c (__csqrtl): Likewise.
10417         * math/auto-libm-test-in: Add more tests of csqrt.
10418         * math/auto-libm-test-out: Regenerated.
10419         * sysdeps/i386/fpu/libm-test-ulps: Update.
10421 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10423         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
10424         __ppc_set_ppr_very_low): New functions.
10425         * manual/platform.texi: Add documentation about
10426         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
10428 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
10430         * string/stpncpy.c (stpncpy): Improve performance using
10431         __strnlen/memcpy/memset.
10433 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10435         [BZ #18796]
10436         * scripts/test-installation.pl: Don't add -lmvec to build options if
10437         libmvec wasn't built.
10439 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10441         [BZ #14341]
10442         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
10443         case when there is a gap between DT_REL and DT_JMPREL sections.
10444         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
10445         (LDFLAGS-tst-split-dynreloc): New.
10446         (tst-split-dynreloc-ENV): Likewise.
10447         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
10448         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
10450 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10452         [BZ #18822]
10453         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
10454         attribute_hidden.
10455         (__xstat64_conv): Likewise.
10456         (__xstat32_conv): Likewise.
10458 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10460         [BZ #18822]
10461         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
10462         Don't load %ebx when calling __setcontext.  Call __setcontext
10463         with HIDDEN_JUMPTARGET.
10464         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
10465         libc_hidden_def.
10467 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10469         * sysdeps/i386/i686/Makefile
10470         [$(subdir) == string] (sysdep_routines): Moved to ...
10471         * sysdeps/i386/Makefile: Here.
10472         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
10473         * sysdeps/i386/cacheinfo.c: Here.
10474         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
10475         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
10476         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
10477         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
10479 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10481         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
10482         __i586__ is defined.
10483         (HAS_I686): Defined to 1 if __i686__ is defined.
10485 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
10487         * elf/Makefile [$(have-z-execstack) = yes]
10488         (CPPFLAGS-tst-execstack.c): New variable.
10490         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
10491         conditional to [defined UTMPX || _HAVE_UT_TYPE].
10492         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
10493         UTMPX || _HAVE_UT_TV].
10494         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
10495         UTMPX || _HAVE_UT_TV - 0].
10497 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
10499         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
10500         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
10501         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
10503 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10505         * sysdeps/powerpc/dl-procinfo.c:
10506         (_dl_powerpc_cap_flags): Added missing strings for some
10507         hwcap features.
10508         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
10510 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
10512         Port the 0x7efe...feff pattern to GCC 6.
10513         See Steve Ellcey's bug report in:
10514         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
10515         * string/memrchr.c (MEMRCHR):
10516         * string/rawmemchr.c (RAWMEMCHR):
10517         * string/strchr.c (strchr):
10518         * string/strchrnul.c (STRCHRNUL):
10519         Rewrite code to avoid issues with signed shift overflow.
10521 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
10523         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
10524         whether cpuid is available only if HAS_CPUID is 0.
10525         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
10526         (HAS_I586): Likewise.
10527         (HAS_I686): Likewise.
10529 2015-08-18  Zack Weinberg  <zackw@panix.com>
10531         * misc/Versions (libc): Add GLIBC_2.23.
10533 2015-08-18  Alan Modra  <amodra@gmail.com>
10535         [BZ #18421]
10536         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
10537         .Lp__global.
10538         (_start): Load %dp via .Lp__global.
10539         [!SHARED]: Use .section .rodata.
10541 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10543         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
10544         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
10546 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10548         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
10549         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
10551 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10553         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
10554         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
10556 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10558         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
10559         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
10561 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10563         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
10564         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
10566 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10568         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
10569         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
10571 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10573         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
10575 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10577         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
10578         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
10579         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10580         (__ASSUME_LWS_CAS): Delete.
10582 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10584         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
10585         * sysdeps/hppa/configure: Regenerated.
10586         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
10587         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
10588         * sysdeps/hppa/nptl/tls.h: Likewise.
10590 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
10592         [BZ #18823]
10593         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
10594         for scaling up small arguments.
10595         * math/s_csqrtf.c (__csqrtf): Likewise.
10596         * math/s_csqrtl.c (__csqrtl): Likewise.
10597         * math/auto-libm-test-in: Add more tests of csqrt.
10598         * math/auto-libm-test-out: Regenerated.
10600 2015-08-17  Andreas Schwab  <schwab@suse.de>
10602         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
10603         version set GLIBC_2.19.
10605 2015-08-16  Zack Weinberg  <zackw@panix.com>
10607         [BZ #18681]
10608         * misc/regexp.h: This interface is no longer supported.
10609         Remove all contents, leaving only an #error directive.
10610         * misc/regexp.c (loc1, loc2, locs, step, advance):
10611         Demote to compatibility symbols.
10613 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
10615         [BZ #18084]
10616         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
10617         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
10618         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10619         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
10620         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
10621         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
10622         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
10623         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
10624         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10626 2015-08-15  Zack Weinberg  <zackw@panix.com>
10628         [BZ #18795]
10629         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
10630         buffer length is known to be too large, not if it's known to be
10631         small enough.
10632         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
10633         overflow at runtime, involving a length parameter, twice: once
10634         with a compile-time constant length parameter, once without.
10636 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
10638         [BZ #18824]
10639         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
10640         scaling x * y up instead of down.
10641         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10642         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10643         * math/auto-libm-test-in: Add more tests of fma.
10644         * math/auto-libm-test-out: Regenerated.
10646 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10648         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10650 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10652         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
10653         unnecessary movq.
10654         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
10655         Likewise.
10657 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
10659         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10660         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
10661         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
10662         and tgamma.
10663         * math/auto-libm-test-out: Regenerated.
10664         * sysdeps/i386/fpu/libm-test-ulps: Update.
10665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10667         [BZ #16520]
10668         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
10669         (__tanh): Force underflow exception for arguments with small
10670         absolute value.
10671         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
10672         (__tanhf): Force underflow exception for arguments with small
10673         absolute value.
10674         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
10675         (__tanhl): Force underflow exception for arguments with small
10676         absolute value.
10677         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
10678         (__tanhl): Force underflow exception for arguments with small
10679         absolute value.
10680         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
10681         (__tanhl): Force underflow exception for arguments with small
10682         absolute value.
10683         * math/auto-libm-test-in: Add more tests of tanh.
10684         * math/auto-libm-test-out: Regenerated.
10685         * sysdeps/i386/fpu/libm-test-ulps: Update.
10687 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10689         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
10690         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
10692 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10694         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
10695         <cpuid.h>.
10697 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10699         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
10700         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
10702 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10704         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
10705         Remove $(objpfx)init-arch.o.
10706         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
10707         init-arch.
10708         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
10709         (INIT_ARCH_EXT): Defined as empty.
10710         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
10711         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
10712         __init_cpu_features call.  Replace HAS_XXX with
10713         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10714         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
10715         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
10716         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
10717         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
10718         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10719         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
10720         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
10721         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10722         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
10723         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
10724         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10725         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
10726         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
10727         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10728         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
10729         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
10730         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10731         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10732         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
10733         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
10734         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10735         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
10736         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
10737         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10738         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
10739         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
10740         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10741         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
10742         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
10743         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10744         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
10745         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
10746         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10747         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
10748         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
10750 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10752         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
10753         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10754         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10755         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10756         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
10757         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
10758         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
10759         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
10760         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
10761         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
10762         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
10763         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
10764         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10765         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10766         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10767         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10768         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10769         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10770         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10771         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10772         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10773         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10774         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10775         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10776         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10777         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10778         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10779         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10780         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10781         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10782         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10783         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10784         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10785         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10786         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10787         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10788         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10789         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10790         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10791         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10792         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10793         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10794         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10796 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10798         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
10799         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10800         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10801         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10802         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10803         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10804         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10805         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
10806         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10807         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10808         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10809         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
10810         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10811         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10812         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10813         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10814         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10815         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10816         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10817         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10818         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10819         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10820         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10821         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10822         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10823         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10824         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10825         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
10826         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10827         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10828         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10829         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10830         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10831         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10832         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10833         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10834         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10835         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10836         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10837         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10838         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10839         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10840         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10842 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10844         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10845         (dl_platform_init): Call init_cpu_features.
10846         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10847         * sysdeps/i386/i686/cacheinfo.c
10848         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10849         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10850         * sysdeps/i386/i686/multiarch/Versions: Removed.
10851         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10852         Removed.
10853         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10854         * sysdeps/unix/sysv/linux/x86/Makefile
10855         (libpthread-sysdep_routines): Remove init-arch.
10856         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10857         <sysdeps/x86_64/dl-procinfo.c> instead of
10858         sysdeps/generic/dl-procinfo.c>.
10859         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10860         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10861         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10862         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10863         [$(subdir) == elf] (tests-static): Add
10864         tst-get-cpu-features-static.
10865         * sysdeps/x86/Versions: New file.
10866         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10867         * sysdeps/x86/cpu-features.c: Likewise.
10868         * sysdeps/x86/cpu-features.h: Likewise.
10869         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10870         * sysdeps/x86/libc-start.c: Likewise.
10871         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10872         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
10873         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
10874         * sysdeps/x86_64/dl-procinfo.c: Likewise.
10875         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
10876         Assume USE_MULTIARCH is defined and don't check it.
10877         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
10878         (is_amd): Likewise.
10879         (max_cpuid): Likewise.
10880         (intel_check_word): Likewise.
10881         (__cache_sysconf): Don't call __init_cpu_features.
10882         (__x86_preferred_memory_instruction): Removed.
10883         (init_cacheinfo): Don't call __init_cpu_features. Replace
10884         __cpu_features with GLRO(dl_x86_cpu_features).
10885         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
10886         (dl_platform_init): Call init_cpu_features.
10887         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
10888         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
10889         * sysdeps/x86_64/multiarch/Versions: Removed.
10890         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
10891         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
10892         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
10893         Removed.
10894         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
10896 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10898         [BZ #18820]
10899         * libio/Makefile (test-fmemopen-mem): New test.
10900         * libio/test-fmemopen.c (do_bz18820): New test.
10901         * libio/fmemopen.c (__fmemopen): Fix memory leak.
10902         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
10904 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10906         [BZ #16734]
10907         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
10908         (FREE_BUF): Delete.
10909         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
10910         * libio/genops.c (_IO_setb): Use malloc and free directly.
10911         (_IO_default_doallocate, _IO_default_finish): Likewise.
10912         ( _IO_unbuffer_all): Likewise.
10913         ( libc_freeres_fn): Likewise.
10914         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10915         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10916         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
10917         (_IO_wdefault_doallocate): Likewise.
10919 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10921         [BZ #18086]
10922         * sysdeps/posix/nice.c (nice): Restore old errno.
10923         * posix/tst-nice.c (do_test): Add test for BZ #18086.
10925 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
10927         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
10929 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10931         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
10932         __bcopy and add a weak_alias to bcopy.
10933         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
10934         for static build.
10936         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
10937         cleanup macro usage.
10938         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
10939         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
10940         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10941         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
10942         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10943         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
10944         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
10945         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10946         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10947         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
10948         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10949         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
10950         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10951         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
10952         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10953         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
10954         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
10955         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
10956         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10958         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10959         libc_hidden_def.
10960         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10962         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10963         (sysdep_routines): Add strstr-ppc64.
10964         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10966 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
10968         [BZ #18778]
10969         * elf/Makefile (tests): Add Add tst-nodelete2.
10970         (modules-names): Add tst-nodelete2mod.
10971         (tst-nodelete2mod.so-no-z-defs): New.
10972         ($(objpfx)tst-nodelete2): Likewise.
10973         ($(objpfx)tst-nodelete2.out): Likewise.
10974         (LDFLAGS-tst-nodelete2): Likewise.
10975         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
10976         out of loop through all loaded libraries.
10977         * elf/tst-nodelete2.c: New file.
10978         * elf/tst-nodelete2mod.c: Likewise.
10979         * elf/tst-znodelete-zlib.cc: Delete.
10981 2015-08-11  Andreas Schwab  <schwab@suse.de>
10983         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
10984         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
10985         (__openat64_nocancel): Likewise.
10987 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
10989         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
10990         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
10991         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
10992         * math/auto-libm-test-out: Regenerated.
10993         * sysdeps/i386/fpu/libm-test-ulps: Update.
10994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10996 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10998         [BZ #18790]
10999         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
11000         threshold for returning +/- 1.
11001         * math/auto-libm-test-in: Add more tests of tanh.
11002         * math/auto-libm-test-out: Regenerated.
11003         * sysdeps/i386/fpu/libm-test-ulps: Update.
11005 2015-08-10  Andreas Schwab  <schwab@suse.de>
11007         [BZ #18781]
11008         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
11009         MORE_OFLAGS to oflag.
11010         * io/test-lfs.c (do_test): Test openat64.
11012 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11014         [BZ #18789]
11015         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
11016         smaller threshold for returning the argument.
11017         * math/auto-libm-test-in: Add more tests of sinh.
11018         * math/auto-libm-test-out: Regenerated.
11019         * sysdeps/i386/fpu/libm-test-ulps: Update.
11021 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
11023         [BZ #18674]
11024         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
11025         break.
11027 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11029         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
11030         (generated): Don't add $(addprefix z.,$(tzfiles)).
11032 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11034         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
11035         * scripts/sysd-rules.awk: Likewise.
11037 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11039         * iconvdata/tst-tables.sh: Change echo -n to printf.
11040         * nss/db-Makefile: Likewise.
11041         * posix/tst-getconf.sh: Likewise.
11042         * stdio-common/tst-unbputc.sh: Likewise.
11044 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11046         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
11047         MADV_*_PAGES defines behind this feature check.
11049 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
11051         [BZ #18480]
11052         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
11053         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
11054         Define.
11055         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
11056         LOAD_REGS_5, LOAD_REGS_6): Update.
11057         (INTERNAL_SYSCALL): Update using new LOAD defines.
11058         (INTERNAL_SYSCALL_NCS): Likewise.
11059         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
11061 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11063         [BZ #16734]
11064         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
11066 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11068         [BZ #17905]
11069         * catgets/Makefile (tst-catgets-mem): New test.
11070         * catgets/catgets.c (catopen): Don't use unbounded alloca.
11071         * catgets/open_catalog.c (__open_catalog): Likewise.
11072         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
11074 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
11076         [BZ #18787]
11077         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
11078         clobber registers.
11079         (atomic_compare_and_exchange_val_acq): Use register asms to assign
11080         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
11081         Cast return to __typeof (oldval).
11083 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
11085         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
11086         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
11087         and delete sys/syscall.h include.
11089 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
11091         [BZ #16517]
11092         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
11093         (tan): Force underflow exception for arguments with small absolute
11094         value.
11095         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
11096         (__kernel_tanf): Force underflow exception for arguments with
11097         small absolute value.
11098         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
11099         (__kernel_tanl): Force underflow exception for arguments with
11100         small absolute value.
11101         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
11102         (__kernel_tanl): Force underflow exception for arguments with
11103         small absolute value.
11104         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
11105         (__kernel_tanl): Force underflow exception for arguments with
11106         small absolute value.
11107         * math/auto-libm-test-in: Add more tests of tan.
11108         * math/auto-libm-test-out: Regenerated.
11110 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11112         Fix sysdeps/i386/fpu/s_scalbn.S build
11114         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
11116 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
11118         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11120 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11122         Fix gcrt0.o compilation
11124         When static-start-installed-name is different from
11125         start-installed-name, we must not use the shared objects.
11127         * csu/Makefile
11128         (extra-objs): Add gmon-start.o when building shared library and
11129         $(static-start-installed-name) is different from
11130         $(start-installed-name).
11131         $(objpfx)g$(static-start-installed-name): When building shared
11132         library and $(static-start-installed-name) is different from
11133         $(static-start-installed-name), revert to non-shared rule,
11134         i.e. using $(objpfx)% and gmon-start.o.
11136 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
11138         [BZ #16519]
11139         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
11140         (__ieee754_sinh): Force underflow exception for arguments with
11141         small absolute value.
11142         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
11143         (__ieee754_sinhf): Force underflow exception for arguments with
11144         small absolute value.
11145         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
11146         (__ieee754_sinhl): Force underflow exception for arguments with
11147         small absolute value.
11148         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
11149         (__ieee754_sinhl): Force underflow exception for arguments with
11150         small absolute value.
11151         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
11152         (__ieee754_sinhl): Force underflow exception for arguments with
11153         small absolute value.
11154         * math/auto-libm-test-in: Add more tests of sinh.
11155         * math/auto-libm-test-out: Regenerated.
11156         * sysdeps/i386/fpu/libm-test-ulps: Update.
11158 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11160         * libio/oldfileops.c: Include unistd.h.
11162 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
11164         * stdlib/isomac.c: Include ctype.h.
11166 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
11168         * dirent/tst-seekdir.c (main): Converted to ...
11169         (do_test): ... this.
11170         (TEST_FUNCTION): New macro.
11171         Include test-skeleton.c.
11172         * elf/tst-dlmodcount.c (main): Converted to ...
11173         (do_test): ... this.
11174         (TEST_FUNCTION): New macro.
11175         Include test-skeleton.c.
11176         * elf/tst-order-main.c (main): Converted to ...
11177         (do_test): ... this.
11178         (TEST_FUNCTION): New macro.
11179         Include test-skeleton.c.
11180         * elf/tst-pie2.c (main): Converted to ...
11181         (do_test): ... this.
11182         (TEST_FUNCTION): New macro.
11183         Include test-skeleton.c.
11184         * inet/tst-ether_aton.c (main): Converted to ...
11185         (do_test): ... this.
11186         (TEST_FUNCTION): New macro.
11187         Include test-skeleton.c.
11188         * misc/tst-mntent.c (main): Converted to ...
11189         (do_test): ... this.
11190         (TEST_FUNCTION): New macro.
11191         Include test-skeleton.c.
11192         * misc/tst-tsearch.c (main): Converted to ...
11193         (do_test): ... this.
11194         (TEST_FUNCTION): New macro.
11195         Include test-skeleton.c.
11196         * posix/tst-regexloc.c (main): Converted to ...
11197         (do_test): ... this.
11198         (TEST_FUNCTION): New macro.
11199         Include test-skeleton.c.
11200         * resolv/tst-aton.c (main): Converted to ...
11201         (do_test): ... this.
11202         (TEST_FUNCTION): New macro.
11203         Include test-skeleton.c.
11204         * stdio-common/test-fwrite.c (main): Converted to ...
11205         (do_test): ... this.
11206         (TEST_FUNCTION): New macro.
11207         Include test-skeleton.c.
11208         * stdio-common/tst-ferror.c (main): Converted to ...
11209         (do_test): ... this.
11210         (TEST_FUNCTION): New macro.
11211         Include test-skeleton.c.
11212         * stdio-common/tst-printf.c (main): Converted to ...
11213         (do_test): ... this.
11214         (TEST_FUNCTION): New macro.
11215         Include test-skeleton.c.
11216         * stdio-common/tst-printfsz.c (main): Converted to ...
11217         (do_test): ... this.
11218         (TEST_FUNCTION): New macro.
11219         Include test-skeleton.c.
11220         * stdlib/tst-strtod.c (main): Converted to ...
11221         (do_test): ... this.
11222         (TEST_FUNCTION): New macro.
11223         Include test-skeleton.c.
11224         * string/tst-strlen.c (main): Converted to ...
11225         (do_test): ... this.
11226         (TEST_FUNCTION): New macro.
11227         Include test-skeleton.c.
11228         * string/tst-svc.c (main): Converted to ...
11229         (do_test): ... this.
11230         (TEST_FUNCTION): New macro.
11231         Include test-skeleton.c.
11232         * time/tst-strptime.c (main): Converted to ...
11233         (do_test): ... this.
11234         (TEST_FUNCTION): New macro.
11235         Include test-skeleton.c.
11236         * timezone/tst-timezone.c (main): Converted to ...
11237         (do_test): ... this.
11238         (TEST_FUNCTION): New macro.
11239         Include test-skeleton.c.
11241 2015-08-05  Zack Weinberg  <zackw@panix.com>
11243         * misc/regexp.h: Update comments.
11245 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
11247         [BZ #18635]
11248         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
11249         before return label.
11251 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11253         [BZ #18661]
11254         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
11255         when calling __errno_location.
11256         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
11257         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
11259 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11261         [BZ #18661]
11262         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
11263         (__lll_timedwait_tid): Align stack to 16 bytes when calling
11264         __gettimeofday.
11266 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11268         [BZ #18661]
11269         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11270         (__start_context): Don't use pop to restore %rdi so that stack
11271         is aligned to 16 bytes when calling __setcontext.
11273 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11275         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
11276         only for libc.
11277         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11279 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11281         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
11282         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
11283         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
11285 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11287         * string/memccpy.c (memccpy):
11288         Improve performance by using memchr/memcpy/__mempcpy.
11290 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11292         * string/strncpy.c (strncpy):
11293         Improve performance by using __strnlen/memcpy.
11295 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11297         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11298         Optimize to avoid an unnecessary FPCR read.
11300 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11302         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11303         Optimize to reduce FPCR/FPSR accesses.
11305 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11307         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
11308         dead->data[category] != NULL.
11310 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
11312         [BZ #18647]
11313         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
11314         and |x| close to 1, use absolute value of x when computing log.
11315         * math/auto-libm-test-in: Add more tests of pow.
11316         * math/auto-libm-test-out: Regenerated.
11318 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11320         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
11321         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
11322         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
11324 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
11326         [BZ #18525]
11327         * locales/km_KH: Remove timezone definition.
11328         * locales/lo_LA: Likewise.
11329         * locales/my_MM: Likewise.
11330         * locales/nan_TW@latin: Likewise.
11331         * locales/th_TH: Likewise.
11332         * locales/uk_UA: Likewise.
11334 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11336         [BZ #18265]
11337         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
11338         (wcsncat): Likewise.
11339         (wcscmp): Likewise.
11340         (wcsncmp): Likewise.
11342 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11344         * test-skeleton.c (usage): New function.
11345         (main): Call usage when opt is '?'.
11347 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11349         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
11350         before first use.
11352 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11354         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
11355         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
11356         in there too.
11358 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
11360         * version.h (RELEASE): Set to "development".
11361         (VERSION): Set to "2.22.90"
11363         * version.h (RELEASE): Set to "stable".
11364         (VERSION): Set to "2.22"
11365         * include/features.h (__GLIBC_MINOR__): Set to 22.
11367 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
11369         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
11370         Restructure macro to avoid "value computed is not used" warning.
11371         (atomic_compare_and_exchange_val_acq): Likewise.
11373 2015-08-04  Andreas Schwab  <schwab@suse.de>
11375         [BZ #18635]
11376         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
11377         ret.
11378         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
11380 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
11382         * po/pl.po: Updated translation.
11383         * po/uk.po: Likewise.
11384         * po/fi.po: Likewise.
11385         * po/ko.po: Likewise.
11386         * po/ru.po: Likewise.
11387         * po/vi.po: Likewise.
11389 2015-07-31  Zack Weinberg  <zackw@panix.com>
11391         [BZ #18681]
11392         * regexp.h: Add unconditional #warning stating that this header
11393         will be removed soon.  Revise banner comment to match.
11394         (compile): Consistently use ERROR instead of RETURN to report
11395         errors (partial fix for bz#18681).
11396         * regexp.c: Don't include regexp.h. Remove some unnecessary
11397         declarations.
11399 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
11401         * po/libc.pot: Regenerated.
11403 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11405         [BZ #18740]
11406         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
11407         float-vlen4-arch-ext-cflags): Removed.
11408         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
11409         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
11411 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11413         [BZ #14113]
11414         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
11415         aligned to __aligned__.
11416         (pthread_cond_t, pthread_rwlock_t): Likewise.
11418 2015-07-30  Torvald Riegel  <triegel@redhat.com>
11420         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
11422 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11424         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
11425         (struct sigaction): Change sa_flags from a long to an int, and add
11426         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
11428 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11430         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
11431         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
11432         sysdeps/generic/sysdep.h include.
11433         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
11434         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
11435         sysdeps/hppa/sysdep.h.
11436         (ENTRY, PSEUDO): Undefine before defining.
11438 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11440         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
11441         from scratch to use INTERNAL_SYSCALL.
11443 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
11445         [BZ #18078]
11446         * scripts/check-localplt.awk: Support alternate relocations.
11447         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
11448         sections.
11449         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
11450         malloc entries with + REL R_386_GLOB_DAT.
11451         * sysdeps/x86_64/localplt.data: New file.
11453 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
11455         [BZ #18731]
11456         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
11457         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11458         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11460 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11462         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
11464 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11466         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
11467         directly in terms of __sync_fetch_and_add and delete (int) cast.
11469 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11471         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
11472         the -D_ASM_IA64_CURRENT_H flag.
11474 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11476         [BZ #18641]
11477         * pwd/pwd.h (putpwent): Delete __nonnull markings.
11479 2015-07-27  Andreas Schwab  <schwab@suse.de>
11481         * conform/conformtest.pl (checknamespace): Filter out string
11482         literals while tokenizing.
11484 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
11486         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11487         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
11488         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11490 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
11492         * nptl/tst-join7mod.c: Add #include <string.h>.
11494 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
11496         * sysdeps/nios2/libm-test-ulps: Update.
11498 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
11500         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
11501         Fix order of arguments to the rt_sigprocmask syscall.
11502         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
11503         Likewise.
11505 2015-07-24  Roland McGrath  <roland@hack.frob.com>
11507         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
11509 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11511         [BZ #18457]
11512         * nptl/Makefile (tests): New test case tst-join7.
11513         (modules-names): New test case module tst-join7mod.
11514         * nptl/tst-join7.c: New file.
11515         * nptl/tst-join7mod.c: New file.
11516         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
11517         all translation units in libc.so, libpthread.so and rtld.
11519 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11523 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11525         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
11526         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11527         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11528         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11529         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11530         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11531         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11532         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11533         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11534         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11535         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11536         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11537         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
11538         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
11539         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
11540         implementation.
11542 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11544         [BZ #17711]
11545         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11546         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
11547         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11548         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11549         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
11550         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11552 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11554         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
11555         instead of just saying load lock in the comments.
11557 2015-07-23  Roland McGrath  <roland@hack.frob.com>
11559         * sysdeps/unix/Subdirs: Moved ...
11560         * sysdeps/posix/Subdirs: ... here.
11561         * login/pty.h (struct termios, struct winsize): Add forward decls.
11562         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
11563         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
11564         * sysdeps/arm/nacl/libc.abilist: Updated.
11565         * sysdeps/nacl/libutil.abilist: New file.
11567         * bits/signum.h: Update comments to mention 1003.1-2013 too.
11568         (SIGWINCH): New macro.
11570         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
11571         * sysdeps/arm/nacl/libc.abilist: Add it.
11573 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11575         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
11577 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11579         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11580         Swap __glibc_reserved0 and sa_flags order.
11582 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11584         [BZ #18657]
11585         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
11586         are pending TLS destructor calls.
11587         * include/link.h (struct link_map): Add concurrency note for
11588         L_TLS_DTOR_COUNT.
11589         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11590         Don't touch the link map flag.  Atomically increment
11591         l_tls_dtor_count.
11592         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
11593         Avoid taking the load lock and don't touch the link map flag.
11594         * stdlib/tst-tls-atexit-nodelete.c: New test case.
11595         * stdlib/Makefile (tests): Use it.
11596         * stdlib/tst-tls-atexit.c (do_test): dlopen
11597         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
11598         to allow tst-tls-atexit-nodelete test case to use it.
11600 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11602         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
11603         to bits/types.h.
11604         (msgqnum_t): New typedef.
11605         (msglen_t): Likewise.
11606         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
11607         and msg_qbytes type to msglen_t.
11609 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11611         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
11612         pad0 to __glibc_reserved0.
11613         (struct stat64): Likewise.
11615 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11617         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11618         Change sa_flags from a long to an int and add __glibc_reserved0 before
11619         it for padding.
11621 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11623         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
11624         anonymous by deleting "siginfo" name.
11626 2015-07-21  Roland McGrath  <roland@hack.frob.com>
11628         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
11629         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
11630         rather than __nacl_irt_filename.
11631         * sysdeps/nacl/xstat.c (__xstat): Likewise.
11633         * NEWS: New item for arm-nacl port.
11634         * sysdeps/arm/nacl/libc.abilist: New file.
11635         * sysdeps/nacl/ld.abilist: New file.
11636         * sysdeps/nacl/libBrokenLocale.abilist: New file.
11637         * sysdeps/nacl/libanl.abilist: New file.
11638         * sysdeps/nacl/libcrypt.abilist: New file.
11639         * sysdeps/nacl/libdl.abilist: New file.
11640         * sysdeps/nacl/libm.abilist: New file.
11641         * sysdeps/nacl/libpthread.abilist: New file.
11642         * sysdeps/nacl/libresolv.abilist: New file.
11643         * sysdeps/nacl/librt.abilist: New file.
11645 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
11647         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
11648         __startcontext to initialize the new context.
11649         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
11650         up CFI directive to forbid further backtracing.
11652 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
11654         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
11655         reference.
11656         * charmaps/ANSI_X3.4-1968: Likewise.
11657         * charmaps/BS_4730: Likewise.
11658         * charmaps/BS_VIEWDATA: Likewise.
11659         * charmaps/CP1250: Likewise.
11660         * charmaps/CP1251: Likewise.
11661         * charmaps/CP1252: Likewise.
11662         * charmaps/CP1253: Likewise.
11663         * charmaps/CP1254: Likewise.
11664         * charmaps/CP1255: Likewise.
11665         * charmaps/CP1256: Likewise.
11666         * charmaps/CSN_369103: Likewise.
11667         * charmaps/EBCDIC-DK-NO: Likewise.
11668         * charmaps/GB_1988-80: Likewise.
11669         * charmaps/GREEK-CCITT: Likewise.
11670         * charmaps/GREEK7: Likewise.
11671         * charmaps/INIS-8: Likewise.
11672         * charmaps/ISIRI-3342: Likewise.
11673         * charmaps/ISO_2033-1983: Likewise.
11674         * charmaps/ISO_5427-EXT: Likewise.
11675         * locales/POSIX: Likewise.
11676         * locales/ar_SA: Likewise.
11677         * locales/be_BY: Likewise.
11678         * locales/be_BY@latin: Likewise.
11679         * locales/ca_ES: Likewise.
11680         * locales/cs_CZ: Likewise.
11681         * locales/da_DK: Likewise.
11682         * locales/de_BE: Likewise.
11683         * locales/de_CH: Likewise.
11684         * locales/de_LU: Likewise.
11685         * locales/en_AU: Likewise.
11686         * locales/en_BW: Likewise.
11687         * locales/en_CA: Likewise.
11688         * locales/en_DK: Likewise.
11689         * locales/en_GB: Likewise.
11690         * locales/en_IE: Likewise.
11691         * locales/en_NZ: Likewise.
11692         * locales/en_ZA: Likewise.
11693         * locales/en_ZW: Likewise.
11694         * locales/es_AR: Likewise.
11695         * locales/es_BO: Likewise.
11696         * locales/es_CL: Likewise.
11697         * locales/es_CO: Likewise.
11698         * locales/es_DO: Likewise.
11699         * locales/es_EC: Likewise.
11700         * locales/es_ES: Likewise.
11701         * locales/es_HN: Likewise.
11702         * locales/es_MX: Likewise.
11703         * locales/es_PA: Likewise.
11704         * locales/es_PE: Likewise.
11705         * locales/es_PY: Likewise.
11706         * locales/es_SV: Likewise.
11707         * locales/es_US: Likewise.
11708         * locales/es_UY: Likewise.
11709         * locales/es_VE: Likewise.
11710         * locales/et_EE: Likewise.
11711         * locales/fa_IR: Likewise.
11712         * locales/fo_FO: Likewise.
11713         * locales/fr_CA: Likewise.
11714         * locales/fr_CH: Likewise.
11715         * locales/gv_GB: Likewise.
11716         * locales/he_IL: Likewise.
11717         * locales/hr_HR: Likewise.
11718         * locales/id_ID: Likewise.
11719         * locales/is_IS: Likewise.
11720         * locales/it_CH: Likewise.
11721         * locales/iw_IL: Likewise.
11722         * locales/kl_GL: Likewise.
11723         * locales/ko_KR: Likewise.
11724         * locales/kw_GB: Likewise.
11725         * locales/lg_UG: Likewise.
11726         * locales/lt_LT: Likewise.
11727         * locales/lv_LV: Likewise.
11728         * locales/mi_NZ: Likewise.
11729         * locales/nhn_MX: Likewise.
11730         * locales/nl_BE: Likewise.
11731         * locales/pl_PL: Likewise.
11732         * locales/sk_SK: Likewise.
11733         * locales/sl_SI: Likewise.
11734         * locales/sv_FI: Likewise.
11735         * locales/tl_PH: Likewise.
11736         * locales/tr_TR: Likewise.
11737         * locales/vi_VN: Likewise.
11739 2015-07-21  Khem Raj  <raj.khem@gmail.com>
11741         [BZ #17475]
11742         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
11743         of tu_IN and bh_IN.
11745 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
11747         [BZ #18694]
11748         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
11749         bits/wordsize.h.
11750         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
11752 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11754         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
11755         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
11756         (spawn_thread): New function.
11757         (load): Rename to reg_dtor_and_close.  Move dlopen to...
11758         (do_test): ... here.  Use IS_LOADED to test for its
11759         availability.
11761 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
11763         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11765 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
11767         [BZ #18696]
11768         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
11769         si_addr_bnd.
11770         (si_lower): New.
11771         (si_upper): Likewise.
11773 2015-07-16  David S. Miller  <davem@davemloft.net>
11775         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11777 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11779         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
11780         buffer.
11781         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
11782         fail output information.
11784 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
11787         and strstr-ppc64..
11788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11789         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
11790         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
11791         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
11792         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
11794 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11796         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11797         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11798         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11799         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11801 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11803         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11804         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
11805         rtld_hidden_proto.
11806         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
11808 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11810         * tst-nodelete-opened.c (do_test): Add comment to clarify how
11811         the test can fail.
11813         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11815         [BZ #18676]
11816         * elf/tst-nodelete-opened.c: New test case.
11817         * elf/tst-nodelete-opened-lib.c: New test case module.
11818         * elf/Makefile (tests, modules-names): Use them.
11819         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11820         early.
11822 2015-07-15  David S. Miller  <davem@davemloft.net>
11824         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11825         futex-intenal.h
11826         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11827         * sysdeps/sparc/sparc64/Makefile: Likewise.
11828         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11829         Remove space from macro define.
11830         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11832 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
11834         [BZ #17475]
11835         * locale/iso-639.def: Update Bhili and Tulu language codes as
11836         per iso639-3.
11838 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
11840         * elf/tst-leaks1.c (main): Converted to ...
11841         (do_test): ... this.
11842         (TEST_FUNCTION): New macro.
11843         Include test-skeleton.c.
11844         * localedata/tst-langinfo.c (main): Converted to ...
11845         (do_test): ... this.
11846         (TEST_FUNCTION): New macro.
11847         Include test-skeleton.c.
11848         * math/test-fpucw.c (main): Converted to ...
11849         (do_test): ... this.
11850         (TEST_FUNCTION): New macro.
11851         Include test-skeleton.c.
11852         * math/test-tgmath.c (main): Converted to ...
11853         (do_test): ... this.
11854         (TEST_FUNCTION): New macro.
11855         Include test-skeleton.c.
11856         * math/test-tgmath2.c (main): Converted to ...
11857         (do_test): ... this.
11858         (TEST_FUNCTION): New macro.
11859         Include test-skeleton.c.
11860         * setjmp/tst-setjmp.c (main): Converted to ...
11861         (do_test): ... this.
11862         (TEST_FUNCTION): New macro.
11863         Include test-skeleton.c.
11864         * stdio-common/tst-sscanf.c (main): Converted to ...
11865         (do_test): ... this.
11866         (TEST_FUNCTION): New macro.
11867         Include test-skeleton.c.
11868         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11869         (do_test): ... this.
11870         (TEST_FUNCTION): New macro.
11871         Include test-skeleton.c.
11873         * elf/tst-audit9.c (main): Converted to ...
11874         (do_test): ... this.
11875         (TEST_FUNCTION): New macro.
11876         Include test-skeleton.c.
11878 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
11880         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
11882 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11884         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
11885         New variable.
11887 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11889         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11891 2015-07-14  Roland McGrath  <roland@hack.frob.com>
11893         * sysdeps/generic/dl-fileid.h: New file.
11894         * sysdeps/posix/dl-fileid.h: New file.
11895         * sysdeps/nacl/dl-fileid.h: New file.
11896         * include/link.h: Include <dl-fileid.h>.
11897         (struct link_map): Replace l_dev and l_ino with l_file_id.
11898         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
11899         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
11900         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
11902 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11904         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
11906 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11908         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
11909         Add iff $CXX is set.
11910         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
11911         Likewise.
11912         (tst-nodelete-zmodiff): Likewise.
11913         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
11915 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11917         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
11919 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11921         * sysdeps/aarch64/fpu/math_private.h
11922         (define math_opt_barrier): Add AArch64 version.
11923         (math_force_eval): Likewise.
11925 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11927         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
11929 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11931         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
11932         %ld with %jd and cast to intmax_t.
11933         (do_test_length_zero): Likewise.
11935 2015-07-10  Roland McGrath  <roland@hack.frob.com>
11937         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
11939 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
11941         * sysdeps/tile/libm-test-ulps: Regenerated.
11943         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
11944         Comment out the whole function, not just its body.
11946 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11948         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11949         locks.
11951         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
11953 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11955         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
11956         (sem_assume_only_signals_cause_futex_EINTR): Remove.
11958 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11960         * sysdeps/nptl/futex-internal.h: New file.
11961         * sysdeps/nacl/futex-internal.h: New file.
11962         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11963         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11964         error checking.
11965         (setxid_unmark_thread): Likewise.
11966         (__nptl_setxid): Likewise.
11967         (__wait_lookup_done): Likewise.
11968         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11969         * nptl/nptl-init.c (sighandler_setxid): Likewise.
11970         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
11971         * nptl/pthread_once.c (clear_once_control): Likewise.
11972         (__pthread_once_slow): Likewise.
11973         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11974         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
11975         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
11976         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11977         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
11978         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
11979         Likewise.
11980         (__pthread_rwlock_rdlock): Likewise.
11981         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11982         Likewise.
11983         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11984         Likewise.
11985         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11986         Likewise.
11987         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
11988         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
11989         Likewise.
11990         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
11991         __ASSUME_PRIVATE_FUTEX check.
11992         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
11993         Check that shared futexes are supported.
11994         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
11995         wrappers with error checking.
11996         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11997         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11998         * nptl/pthread_barrierattr_setpshared.c
11999         (pthread_barrierattr_setpshared): Check that shared futexes are
12000         supported.
12001         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
12002         Likewise.
12003         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
12004         Likewise.
12005         * nptl/sem_init.c (futex_private_if_supported): Remove.
12006         (__new_sem_init): Adapt and check that shared futexes are supported.
12007         * nptl/sem_open.c (sem_open): Likewise.
12008         * nptl/sem_post.c (futex_wake): Remove.
12009         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
12010         (do_futex_wait): Use futex wrappers with error checking.
12011         * nptl/sem_wait.c: Include lowlevellock.h.
12012         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
12013         Use futex_supports_pshared.
12014         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
12015         Use futex wrappers with error checking.
12016         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
12017         Likewise.
12018         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
12019         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
12020         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
12021         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
12022         (futex_wake): Likewise.
12023         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
12024         (do_futex_wait): Use futex wrappers with error checking.
12025         (__new_sem_wait_slow): Update EINTR handling.
12026         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
12028 2015-07-09  Martin Sebor  <msebor@redhat.com>
12030         [BZ #18435]
12031         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12032         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
12033         * nptl/Makefile (test-xfail-tst-once5): Define.
12035 2015-07-09  Roland McGrath  <roland@hack.frob.com>
12037         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
12038         * elf/dl-minimal.c: For readability, reorder some definitions and
12039         introduce more page breaks.  Include <stdio.h>.
12040         (__libc_fatal): New function.
12042         * include/unistd.h: Add rtld_hidden_proto for _exit.
12043         * posix/_exit.c: Add rtld_hidden_def.
12044         * sysdeps/mach/hurd/_exit.c: Likewise.
12045         * sysdeps/nacl/_exit.c: Likewise.
12046         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
12047         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
12049 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
12051         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
12052         bndmov encoding with zero displacement.
12054 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12055             H.J. Lu  <hongjiu.lu@intel.com>
12057         [BZ #18134]
12058         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
12059         * sysdeps/i386/configure: Regenerated.
12060         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12061         (_dl_runtime_profile): Save and restore Intel MPX return bound
12062         registers when calling _dl_call_pltexit.  Add
12063         PRESERVE_BND_REGS_PREFIX before return.
12064         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
12065         (LRV_BND1_OFFSET): Likewise.
12066         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
12067         lrv_bnd1.
12068         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
12069         typo in bndmov encoding.
12070         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
12071         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
12072         branch instructions to preserve bounds.
12074 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12077         [GLIBC_2.22]: Add fmemopen.
12079 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12081         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
12082         returns an error, also try to use host port from __mach_host_self for
12083         the __vm_wire call.
12084         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
12086 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12088         [BZ #18400]
12089         [BZ #18648]
12090         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
12091         Fix pr_uid and pr_gid members.
12092         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
12093         definition to elf_greg_t.
12095 2015-07-08  Roland McGrath  <roland@hack.frob.com>
12097         [BZ #18383]
12098         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
12099         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
12100         * sysdeps/arm/configure: Regenerated.
12101         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
12102         (test-xfail-tst-tlsalign-static): Variable removed.
12104         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
12105         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
12106         rather than explicit 'ln -s'.
12108         * resolv/rpc/netdb.h: New file.
12109         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
12111 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12113         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
12114         length buffers.
12115         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12116         test-skeleton.c.
12118         [BZ #6544]
12119         [BZ #11216]
12120         [BZ #12836]
12121         [BZ #13151]
12122         [BZ #13152]
12123         [BZ #14292]
12124         * include/stdio.h (fmemopen): Remove hidden prototype.
12125         (__fmemopen): Add new hidden prototype.
12126         * libio/Makefile: Add oldfmemopen object.
12127         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
12128         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
12129         compliance.
12130         * libio/oldfmemopen.c: New file: old fmemopen implementation for
12131         symbol compatibility.
12132         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
12133         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
12134         fmemopen.
12135         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
12136         on append and read mode.
12137         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
12138         fmemopen.
12139         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
12140         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
12141         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
12142         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
12143         Likewise.
12144         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12145         [GLIBC_2.22]: Likewise.
12146         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
12147         Likewise.
12148         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
12149         Likewise.
12150         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12151         [GLIBC_2.22]: Likewise.
12152         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12153         [GLIBC_2.22]: Likewise.
12154         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12155         [GLIBC_2.22]: Likewise.
12156         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12157         [GLIBC_2.22]: Likewise.
12158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12159         [GLIBC_2.22]: Likewise.
12160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12161         [GLIBC_2.22]: Likewise.
12162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12163         [GLIBC_2.22]: Likewise.
12164         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
12165         Likewise.
12166         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
12167         Likewise.
12168         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
12169         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12170         [GLIBC_2.22]: Likewise.
12171         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12172         [GLIBC_2.22]: Likewise.
12173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12174         [GLIBC_2.22]: Likewise.
12175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12176         [GLIBC_2.22]: Likewise.
12177         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
12178         Likewise.
12179         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
12180         Likewise.
12181         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
12182         Likewise.
12183         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
12184         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
12186 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
12188         [BZ #18643]
12189         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
12190         IPV6_PATHMTU, and IPV6_DONTFRAG.
12192 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
12194         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
12195         and _IO_UNBUFFERED.
12196         * libio/oldfileops.c: Likewise.
12197         * libio/wfileops.c: Likewise.
12199 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
12201         * nscd/selinux.c: Delete selinux/flask.h include.
12203 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
12205         [BZ #18641]
12206         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
12207         (putpwent): Likewise.
12208         (getpwnam): Likewise.
12209         (getpwent_r): Likewise.
12210         (getpwuid_r): Likewise.
12211         (getpwnam_r): Likewise.
12212         (fgetpwent_r): Likewise.
12214 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
12216         [BZ #18557]
12217         * inet/rcmd.c (__validuser2_sa): Check user first to
12218         short-circuit host check.
12220 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
12221             Mikhail Ilin  <m.ilin@samsung.com>
12223         [BZ #17833]
12224         * elf/Makefile (tests): Add tst-nodelete.
12225         (modules-names): Add tst-nodelete-uniquemod.
12226         (tst-nodelete-uniquemod.so-no-z-defs): New.
12227         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
12228         (tst-nodelete-zmod.so-no-z-defs): Likewise.
12229         ($(objpfx)tst-nodelete): Likewise.
12230         ($(objpfx)tst-nodelete.out): Likewise.
12231         (LDFLAGS-tst-nodelete): Likewise.
12232         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
12233         * elf/dl-close.c (_dl_close_worker): Add a parameter to
12234         implement forced object deletion.
12235         (_dl_close): Pass false to _dl_close_worker.
12236         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
12237         * elf/tst-nodelete.cc: New file.
12238         * elf/tst-nodeletelib.cc: Likewise.
12239         * elf/tst-znodeletelib.cc: Likewise.
12240         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
12242 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12244         [BZ #18508]
12245         * stdlib/Makefile ($(objpfx)tst-makecontext3):
12246         Depend on $(libdl).
12247         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
12248         is not called infinitely times.
12249         (backtrace_helper): New function.
12250         (trace_arg): New struct.
12251         (st1): Enlarge stack size.
12252         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12253         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
12254         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12255         Likewise.
12257 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12259         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12261 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12263         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
12264         Include sys/types.h instead of bits/types.h.
12265         Remove inclusion of bits/wordsize.h.
12267 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12269         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
12270         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
12271         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
12272         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
12273         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
12274         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
12276 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12278         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
12279         link-defines.sym.
12280         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
12281         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
12282         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
12283         and LR_SIZE.
12284         * sysdeps/i386/link-defines.sym: New file.
12286 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12288         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
12289         (modules-names): Add tst-auditmod3a tst-auditmod3b.
12290         ($(objpfx)tst-audit3): New rule.
12291         ($(objpfx)tst-audit3.out): Likewise.
12292         * sysdeps/i386/tst-audit3.c: New file.
12293         * sysdeps/i386/tst-audit3.h: Likewise.
12294         * sysdeps/i386/tst-auditmod3a.c: Likewise.
12295         * sysdeps/i386/tst-auditmod3b.c: Likewise.
12297 2015-07-07  Torvald Riegel  <triegel@redhat.com>
12299         [BZ #18633]
12300         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
12301         pointer in C code.
12302         (__strcat_c): Likewise.
12303         (__strcat_g): Likewise.
12305 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
12307         [BZ #18592]
12308         * misc/sbrk.c: Set errno to ENOMEM on overflow.
12310 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
12312         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
12313         New function.  (__ieee754_sqrtf): New function.
12314         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
12315         New function.
12316         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
12317         New function.
12319 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
12321         * sysdeps/ieee754/support.c: Remove unused file.
12323 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12325         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
12326         registers instead of d ones so the layout is kernel abi compatible.
12327         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
12328         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
12329         Likewise.
12331 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12333         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12335 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
12337         [BZ #18619]
12338         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
12339         and return argument in case of subnormal argument.
12341 2015-07-01  Martin Sebor  <msebor@redhat.com>
12343         [BZ #18435]
12344         * nptl/Makefile: Add tst-once5.cc.
12345         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12346         Remove macro redefinitions.
12347         * nptl/tst-once5.cc: New test.
12349 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
12351         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12353         * sysdeps/arm/libm-test-ulps: Regenerated.
12355         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12356         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12358 2015-06-30  Torvald Riegel  <triegel@redhat.com>
12360         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
12361         lll_lock_wait_private and lll_futex_wake probes.
12363         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12364         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
12365         Likewise.
12366         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
12367         atomic_spin_nop.
12368         * sysdeps/x86_64/bits/atomic.h: Likewise.
12369         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
12370         to atomic_spin_nop and move ...
12371         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12372         ... here and ...
12373         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
12374         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
12375         atomic_spin_nop instead of BUSY_WAIT_NOP.
12376         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
12377         Likewise.
12378         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
12379         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12380         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
12381         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
12382         instead of atomic_delay.
12384 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
12386         [BZ #18613]
12387         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
12388         X_ADJ not X when adjusting exponent.
12389         (__ieee754_gamma_r): Do intermediate computations in
12390         round-to-nearest then adjust overflowing and underflowing results
12391         as needed.
12392         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
12393         of X_ADJ not X when adjusting exponent.
12394         (__ieee754_gammaf_r): Do intermediate computations in
12395         round-to-nearest then adjust overflowing and underflowing results
12396         as needed.
12397         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
12398         log of X_ADJ not X when adjusting exponent.
12399         (__ieee754_gammal_r): Do intermediate computations in
12400         round-to-nearest then adjust overflowing and underflowing results
12401         as needed.  Use 1.0L not 1.0f as numerator of division.
12402         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
12403         log of X_ADJ not X when adjusting exponent.
12404         (__ieee754_gammal_r): Do intermediate computations in
12405         round-to-nearest then adjust overflowing and underflowing results
12406         as needed.  Use 1.0L not 1.0f as numerator of division.
12407         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
12408         of X_ADJ not X when adjusting exponent.
12409         (__ieee754_gammal_r): Do intermediate computations in
12410         round-to-nearest then adjust overflowing and underflowing results
12411         as needed.  Use 1.0L not 1.0f as numerator of division.
12412         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
12413         to auto-libm-test-in.
12414         (tgamma_test): Use ALL_RM_TEST.
12415         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
12416         tests of tgamma with spurious-overflow.
12417         * math/auto-libm-test-out: Regenerated.
12418         * math/gen-libm-have-vector-test.sh: Do not check for START.
12419         * sysdeps/i386/fpu/libm-test-ulps: Update.
12420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12422         [BZ #18612]
12423         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
12424         arguments, just return 0.5 times the argument, with underflow
12425         forced as needed.
12426         * math/auto-libm-test-in: Add more tests of j1.
12427         * math/auto-libm-test-out: Regenerated.
12429         [BZ #16559]
12430         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
12431         (__ieee754_j1): Force underflow exception for small results.
12432         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12433         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
12434         (__ieee754_j1f): Force underflow exception for small results.
12435         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12436         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12437         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12438         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
12439         (__ieee754_j1l): Force underflow exception for small results.
12440         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12441         * math/auto-libm-test-in: Add more tests of j1 and jn.
12442         * math/auto-libm-test-out: Regenerated.
12444         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
12445         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
12446         (PF_MPLS): Likewise.
12447         (AF_IB): Likewise.
12448         (AF_MPLS): Likewise.
12449         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
12450         value and macro.
12451         (MS_RMT_MASK): Include MS_LAZYTIME.
12453 2015-06-26  Mel Gorman  <mgorman@suse.de>
12455         [BZ #18502]
12456         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
12457         already minimal.
12459 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
12461         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
12462         (DT_MIPS_NUM): Update.
12463         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
12464         DT_MIPS_RLD_MAP_REL.
12466 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
12468         [BZ #16559]
12469         [BZ #18602]
12470         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
12471         round-to-nearest internally then recompute results that
12472         underflowed to zero in the original rounding mode.
12473         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12474         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12475         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12476         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12477         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
12478         * sysdeps/i386/fpu/libm-test-ulps: Update.
12479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12481 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12483         * NEWS: Fixed description of link with vector math library.
12485 2015-06-25  Andreas Schwab  <schwab@suse.de>
12487         [BZ #18549]
12488         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
12489         * libio/test-fmemopen.c (do_test): Add test for it.
12491 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12493         [BZ #17841]
12494         * Makeconfig (no-pie-ldflag): New.
12495         (+link): Set to $(+link-pie) if default to PIE.
12496         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
12497         * config.make.in (build-pie-default): New.
12498         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
12499         is default.  AC_SUBST.
12500         * configure: Regenerated.
12501         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
12503 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12505         * nptl/descr.h (struct pthread): Change type of field setxid_futex
12506         to 'unsigned int'.
12508         * resolv/gai_misc.h (struct waitlist): Change type of field
12509         counterp to 'volatile unsigned int *'.
12510         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
12511         FUTEXADDR and OLDVAL.
12512         * resolv/getaddrinfo_a.c (getaddrinfo_a):
12513         Give local variable TOTAL type 'volatile unsigned int'.
12514         (struct async_waitlist): Change type of field counter to 'unsigned int'.
12515         * resolv/gai_suspend.c (gai_suspend):
12516         Give local variable CNTR type 'unsigned int'.
12518         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
12519         counterp to 'volatile unsigned int *'.
12520         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
12521         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
12522         (aio_suspend): Give local variable CNTR type 'unsigned int'.
12523         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
12524         Give local variable TOTAL type 'volatile unsigned int'.
12525         (struct async_waitlist): Change type of field counter to 'unsigned int'.
12527 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12529         [BZ #18383]
12530         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
12531         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
12532         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
12533         comment for i386/x86-64.
12534         (test-xfail-tst-tlsalign-extern-static): Removed.
12536 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12538         * math/test-double.h: New file.
12539         * math/test-float.h: Likewise.
12540         * math/test-ldouble.h: Likewise.
12541         * math/test-math-inline.h: Likewise.
12542         * math/test-math-no-inline.h: Likewise.
12543         * math/test-math-scalar.h: Likewise.
12544         * math/test-math-vector.h: Likewise.
12545         * math/test-vec-loop.h: Remove file.  Contents moved into
12546         test-math-vector.h.
12547         * math/libm-test.inc (MATHCONST): Do not document macro.
12548         * math/test-double.c: Include test-double.h, test-math-no-inline.h
12549         and test-math-scalar.h.
12550         (FUNC): Remove macro.
12551         (FUNC_TEST): Likewise.
12552         (FLOAT): Likewise.
12553         (MATHCONST): Likewise.
12554         (PRINTF_EXPR): Likewise.
12555         (PRINTF_XEXPR): Likewise.
12556         (PRINTF_NEXPR): Likewise.
12557         (TEST_DOUBLE): Likewise.
12558         (TEST_MATHVEC): Likewise.
12559         (__NO_MATH_INLINES): Likewise.
12560         * math/test-float.c: Include test-float.h, test-math-no-inline.h
12561         and test-math-scalar.h.
12562         (FUNC): Remove macro.
12563         (FUNC_TEST): Likewise.
12564         (FLOAT): Likewise.
12565         (MATHCONST): Likewise.
12566         (PRINTF_EXPR): Likewise.
12567         (PRINTF_XEXPR): Likewise.
12568         (PRINTF_NEXPR): Likewise.
12569         (TEST_FLOAT): Likewise.
12570         (TEST_MATHVEC): Likewise.
12571         (__NO_MATH_INLINES): Likewise.
12572         * math/test-idouble.c: Include test-double.h, test-math-inline.h
12573         and test-math-scalar.h.
12574         (FUNC): Remove macro.
12575         (FUNC_TEST): Likewise.
12576         (FLOAT): Likewise.
12577         (MATHCONST): Likewise.
12578         (PRINTF_EXPR): Likewise.
12579         (PRINTF_XEXPR): Likewise.
12580         (PRINTF_NEXPR): Likewise.
12581         (TEST_DOUBLE): Likewise.
12582         (TEST_MATHVEC): Likewise.
12583         (TEST_INLINE): Likewise.
12584         (__NO_MATH_INLINES): Likewise.
12585         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
12586         test-math-scalar.h.
12587         (FUNC): Remove macro.
12588         (FUNC_TEST): Likewise.
12589         (FLOAT): Likewise.
12590         (MATHCONST): Likewise.
12591         (PRINTF_EXPR): Likewise.
12592         (PRINTF_XEXPR): Likewise.
12593         (PRINTF_NEXPR): Likewise.
12594         (TEST_FLOAT): Likewise.
12595         (TEST_MATHVEC): Likewise.
12596         (TEST_INLINE): Likewise.
12597         (__NO_MATH_INLINES): Likewise.
12598         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
12599         and test-math-scalar.h.
12600         (FUNC): Remove macro.
12601         (FUNC_TEST): Likewise.
12602         (FLOAT): Likewise.
12603         (MATHCONST): Likewise.
12604         (PRINTF_EXPR): Likewise.
12605         (PRINTF_XEXPR): Likewise.
12606         (PRINTF_NEXPR): Likewise.
12607         (TEST_LDOUBLE): Likewise.
12608         (TEST_MATHVEC): Likewise.
12609         (TEST_INLINE): Likewise.
12610         (__NO_MATH_INLINES): Likewise.
12611         * math/test-ldouble.c: Include test-ldouble.h,
12612         test-math-no-inline.h and test-math-scalar.h.
12613         (FUNC): Remove macro.
12614         (FUNC_TEST): Likewise.
12615         (FLOAT): Likewise.
12616         (MATHCONST): Likewise.
12617         (PRINTF_EXPR): Likewise.
12618         (PRINTF_XEXPR): Likewise.
12619         (PRINTF_NEXPR): Likewise.
12620         (TEST_LDOUBLE): Likewise.
12621         (TEST_MATHVEC): Likewise.
12622         (__NO_MATH_INLINES): Likewise.
12623         * math/test-double-vlen2.h: Include test-double.h,
12624         test-math-no-inline.h and test-math-vector.h.
12625         (FLOAT): Remove macro.
12626         (FUNC): Likewise.
12627         (MATHCONST): Likewise.
12628         (PRINTF_EXPR): Likewise.
12629         (PRINTF_XEXPR): Likewise.
12630         (PRINTF_NEXPR): Likewise.
12631         (TEST_DOUBLE): Likewise.
12632         (TEST_MATHVEC): Likewise.
12633         (__NO_MATH_INLINES): Likewise.
12634         (CNCT): Likewise.
12635         (CONCAT): Likewise.
12636         (WRAPPER_NAME): Likewise.
12637         (WRAPPER_DECL): Likewise.
12638         (WRAPPER_DECL_ff): Likewise.
12639         (WRAPPER_DECL_fFF): Likewise.
12640         (VECTOR_WRAPPER): Likewise.
12641         (VECTOR_WRAPPER_ff): Likewise.
12642         (VECTOR_WRAPPER_fFF): Likewise.
12643         (VEC_LEN): New macro.
12644         * math/test-double-vlen4.h: Include test-double.h,
12645         test-math-no-inline.h and test-math-vector.h.
12646         (FLOAT): Remove macro.
12647         (FUNC): Likewise.
12648         (MATHCONST): Likewise.
12649         (PRINTF_EXPR): Likewise.
12650         (PRINTF_XEXPR): Likewise.
12651         (PRINTF_NEXPR): Likewise.
12652         (TEST_DOUBLE): Likewise.
12653         (TEST_MATHVEC): Likewise.
12654         (__NO_MATH_INLINES): Likewise.
12655         (CNCT): Likewise.
12656         (CONCAT): Likewise.
12657         (WRAPPER_NAME): Likewise.
12658         (WRAPPER_DECL): Likewise.
12659         (WRAPPER_DECL_ff): Likewise.
12660         (WRAPPER_DECL_fFF): Likewise.
12661         (VECTOR_WRAPPER): Likewise.
12662         (VECTOR_WRAPPER_ff): Likewise.
12663         (VECTOR_WRAPPER_fFF): Likewise.
12664         (VEC_LEN): New macro.
12665         * math/test-double-vlen8.h: Include test-double.h,
12666         test-math-no-inline.h and test-math-vector.h.
12667         (FLOAT): Remove macro.
12668         (FUNC): Likewise.
12669         (MATHCONST): Likewise.
12670         (PRINTF_EXPR): Likewise.
12671         (PRINTF_XEXPR): Likewise.
12672         (PRINTF_NEXPR): Likewise.
12673         (TEST_DOUBLE): Likewise.
12674         (TEST_MATHVEC): Likewise.
12675         (__NO_MATH_INLINES): Likewise.
12676         (CNCT): Likewise.
12677         (CONCAT): Likewise.
12678         (WRAPPER_NAME): Likewise.
12679         (WRAPPER_DECL): Likewise.
12680         (WRAPPER_DECL_ff): Likewise.
12681         (WRAPPER_DECL_fFF): Likewise.
12682         (VECTOR_WRAPPER): Likewise.
12683         (VECTOR_WRAPPER_ff): Likewise.
12684         (VECTOR_WRAPPER_fFF): Likewise.
12685         (VEC_LEN): New macro.
12686         * math/test-float-vlen4.h: Include test-float.h,
12687         test-math-no-inline.h and test-math-vector.h.
12688         (FLOAT): Remove macro.
12689         (FUNC): Likewise.
12690         (MATHCONST): Likewise.
12691         (PRINTF_EXPR): Likewise.
12692         (PRINTF_XEXPR): Likewise.
12693         (PRINTF_NEXPR): Likewise.
12694         (TEST_FLOAT): Likewise.
12695         (TEST_MATHVEC): Likewise.
12696         (__NO_MATH_INLINES): Likewise.
12697         (CNCT): Likewise.
12698         (CONCAT): Likewise.
12699         (WRAPPER_NAME): Likewise.
12700         (WRAPPER_DECL): Likewise.
12701         (WRAPPER_DECL_ff): Likewise.
12702         (WRAPPER_DECL_fFF): Likewise.
12703         (VECTOR_WRAPPER): Likewise.
12704         (VECTOR_WRAPPER_ff): Likewise.
12705         (VECTOR_WRAPPER_fFF): Likewise.
12706         (VEC_LEN): New macro.
12707         * math/test-float-vlen8.h: Include test-float.h,
12708         test-math-no-inline.h and test-math-vector.h.
12709         (FLOAT): Remove macro.
12710         (FUNC): Likewise.
12711         (MATHCONST): Likewise.
12712         (PRINTF_EXPR): Likewise.
12713         (PRINTF_XEXPR): Likewise.
12714         (PRINTF_NEXPR): Likewise.
12715         (TEST_FLOAT): Likewise.
12716         (TEST_MATHVEC): Likewise.
12717         (__NO_MATH_INLINES): Likewise.
12718         (CNCT): Likewise.
12719         (CONCAT): Likewise.
12720         (WRAPPER_NAME): Likewise.
12721         (WRAPPER_DECL): Likewise.
12722         (WRAPPER_DECL_ff): Likewise.
12723         (WRAPPER_DECL_fFF): Likewise.
12724         (VECTOR_WRAPPER): Likewise.
12725         (VECTOR_WRAPPER_ff): Likewise.
12726         (VECTOR_WRAPPER_fFF): Likewise.
12727         (VEC_LEN): New macro.
12728         * math/test-float-vlen16.h: Include test-float.h,
12729         test-math-no-inline.h and test-math-vector.h.
12730         (FLOAT): Remove macro.
12731         (FUNC): Likewise.
12732         (MATHCONST): Likewise.
12733         (PRINTF_EXPR): Likewise.
12734         (PRINTF_XEXPR): Likewise.
12735         (PRINTF_NEXPR): Likewise.
12736         (TEST_FLOAT): Likewise.
12737         (TEST_MATHVEC): Likewise.
12738         (__NO_MATH_INLINES): Likewise.
12739         (CNCT): Likewise.
12740         (CONCAT): Likewise.
12741         (WRAPPER_NAME): Likewise.
12742         (WRAPPER_DECL): Likewise.
12743         (WRAPPER_DECL_ff): Likewise.
12744         (WRAPPER_DECL_fFF): Likewise.
12745         (VECTOR_WRAPPER): Likewise.
12746         (VECTOR_WRAPPER_ff): Likewise.
12747         (VECTOR_WRAPPER_fFF): Likewise.
12748         (VEC_LEN): New macro.
12749         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
12750         test-vec-loop.h.
12751         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12752         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12753         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12754         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12755         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12756         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12757         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12759 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12761         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
12762         (__getlogin_r): ... this.
12764 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12766         [BZ #18594]
12767         * math/s_ccosh.c (__ccosh): Compare with least normal value
12768         instead of comparing class with FP_SUBNORMAL.
12769         * math/s_ccoshf.c (__ccoshf): Likewise.
12770         * math/s_ccoshl.c (__ccoshl): Likewise.
12771         * math/s_cexp.c (__cexp): Likewise.
12772         * math/s_cexpf.c (__cexpf): Likewise.
12773         * math/s_cexpl.c (__cexpl): Likewise.
12774         * math/s_csin.c (__csin): Likewise.
12775         * math/s_csinf.c (__csinf): Likewise.
12776         * math/s_csinh.c (__csinh): Likewise.
12777         * math/s_csinhf.c (__csinhf): Likewise.
12778         * math/s_csinhl.c (__csinhl): Likewise.
12779         * math/s_csinl.c (__csinl): Likewise.
12780         * math/s_ctan.c (__ctan): Likewise.
12781         * math/s_ctanf.c (__ctanf): Likewise.
12782         * math/s_ctanh.c (__ctanh): Likewise.
12783         * math/s_ctanhf.c (__ctanhf): Likewise.
12784         * math/s_ctanhl.c (__ctanhl): Likewise.
12785         * math/s_ctanl.c (__ctanl): Likewise.
12786         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
12787         csin, csinh, ctan and ctanh.
12788         * math/auto-libm-test-out: Regenerated.
12789         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
12790         * sysdeps/i386/fpu/libm-test-ulps: Update.
12791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12793 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12795         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
12796         return value is wrong, print the expected value too.
12798 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12800         [BZ #18585]
12801         * elf/readlib.c (is_gdb_python_file): New.
12802         (process_file): Don't issue errors on filenames with -gdb.py
12803         suffix.
12805 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12807         * math/auto-libm-test-in: Add more tests of csin and csinh.
12808         * math/auto-libm-test-out: Regenerated.
12809         * math/libm-test.inc (csin_test_data): Remove tests moved to
12810         auto-libm-test-in.
12811         (csinh_test_data): Likewise.
12813         [BZ #18593]
12814         * math/s_csin.c (__csin): Negate before rather than after possibly
12815         overflowing multiplication.
12816         * math/s_csinf.c (__csinf): Likewise.
12817         * math/s_csinh.c (__csinh): Likewise.
12818         * math/s_csinhf.c (__csinhf): Likewise.
12819         * math/s_csinhl.c (__csinhl): Likewise.
12820         * math/s_csinl.c (__csinl): Likewise.
12821         * math/auto-libm-test-in: Add some tests of csin and csinh.
12822         * math/auto-libm-test-out: Regenerated.
12823         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12824         (csinh_test_data): Likewise.
12825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12827         [BZ #18586]
12828         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12829         underflow exception for small results.
12831 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12833         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12834         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12835         variable and included header.
12836         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12837         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12838         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12839         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12840         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12841         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12842         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12843         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12844         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12845         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12846         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12847         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12848         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12849         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12850         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12851         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12853 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12855         [BZ #16526]
12856         [BZ #16538]
12857         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12858         (__sin): Force underflow exception for arguments with small
12859         absolute value.
12860         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12861         (__kernel_sinf): Force underflow exception for arguments with
12862         small absolute value.
12863         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12864         (__kernel_sincosl): Force underflow exception for arguments with
12865         small absolute value.
12866         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12867         (__kernel_sinl): Force underflow exception for arguments with
12868         small absolute value.
12869         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12870         (__kernel_sincosl): Force underflow exception for arguments with
12871         small absolute value.
12872         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
12873         (__kernel_sinl): Force underflow exception for arguments with
12874         small absolute value.
12875         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
12876         (__kernel_sinl): Force underflow exception for arguments with
12877         small absolute value.
12878         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
12879         (__kernel_sinf): Force underflow exception for arguments with
12880         small absolute value.
12881         * math/auto-libm-test-in: Add more tests of sin and sincos.
12882         * math/auto-libm-test-out: Regenerated.
12884         [BZ #18245]
12885         [BZ #18583]
12886         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
12887         (__kernel_standard_l): Use feholdexcept and fesetenv around
12888         conversion to double instead of special-casing overflow and
12889         underflow.
12890         * math/libm-test.inc (fmod_test_data): Add more tests.
12891         (remainder_test_data): Likewise.
12892         (sqrt_test_data): Likewise.
12894 2015-06-23  Torvald Riegel  <triegel@redhat.com>
12896         [BZ #17403]
12897         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
12898         atomic_read_barrier, atomic_write_barrier): Define.
12899         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
12900         atomic_read_barrier, atomic_write_barrier): Define.
12902 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12904         * math/Makefile [$(PERL) != no]
12905         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
12906         dependency on libm-test.stmp below the inclusion of Rules.
12908 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
12910         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12911         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
12912         and included header.
12913         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
12914         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
12915         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
12916         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
12917         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
12918         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
12919         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12920         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12921         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
12922         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
12923         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
12924         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
12925         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
12926         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
12927         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
12928         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
12929         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
12930         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
12931         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
12933 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12935         [BZ #18371]
12936         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
12937         intermediate but not final result might underflow.
12938         * math/s_csqrtf.c (__csqrtf): Likewise.
12939         * math/s_csqrtl.c (__csqrtl): Likewise.
12940         * math/auto-libm-test-in: Add more tests of csqrt.
12941         * math/auto-libm-test-out: Regenerated.
12942         * sysdeps/i386/fpu/libm-test-ulps: Update.
12944         [BZ #18219]
12945         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
12946         threshold on absolute value of exponent for which scaling is used.
12947         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12948         * math/auto-libm-test-in: Add more tests of exp2.
12949         * math/auto-libm-test-out: Regenerated.
12951 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
12953         [BZ #17977]
12954         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
12955         when initializing interface list, based on the bug analysis
12956         and the patch proposed by Eric Newton.
12957         * resolv/tst-res_hconf_reorder.c: New test.
12958         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12959         tst-res_hconf_reorder.
12960         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12961         and $(shared-thread-library).
12962         (tst-res_hconf_reorder-ENV): New variable.
12964         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12965         in comment.
12967 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
12969         [BZ #16353]
12970         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
12971         (__expm1): Force underflow exception for arguments with small
12972         absolute value.
12973         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
12974         (__expm1f): Force underflow exception for arguments with small
12975         absolute value.
12976         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
12977         (__expm1): Force underflow exception for arguments with small
12978         absolute value.
12979         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
12980         (__expm1f): Force underflow exception for arguments with small
12981         absolute value.
12982         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12983         Check for small arguments before calling __expm1.
12984         * math/auto-libm-test-in: Do not mark underflow exceptions as
12985         possibly missing for bug 16353.
12986         * math/auto-libm-test-out: Regenerated.
12988 2015-06-22  Andreas Schwab  <schwab@suse.de>
12990         [BZ #18513]
12991         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
12992         PTR queries.
12994 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
12996         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12998         * string/strcoll_l.c: Remove unused struct element idxnow.
13000 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
13002         [BZ #18569]
13003         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
13004         underflow and return argument in case of subnormal argument.
13005         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13006         Likewise.
13007         * math/auto-libm-test-in: Add more tests of expm1.
13008         * math/auto-libm-test-out: Regenerated.
13010         [BZ #16361]
13011         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13012         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13013         tiny results.
13014         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13015         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13016         tiny results.
13017         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
13018         mark underflow exceptions as possibly missing for bug 16361.
13019         * math/auto-libm-test-out: Regenerated.
13021 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
13023         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
13024         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
13025         Remove variable.
13026         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13027         (test-xfail-XOPEN2K8/utmpx.h/conform).
13029         * conform/conformtest.pl ($xerrors): New variable.
13030         (note_error): New function.
13031         (compiletest): New argument $xfail.  Use not_error.
13032         (runtest): Likewise.
13033         (top level): Handle xfail- lines.  Update calls to compiletest and
13034         runtest.  Handle xfail- and optional- in headers listed with
13035         allow-header.
13036         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
13037         (O_EXEC): Likewise.
13038         (O_SEARCH): Likewise.
13039         * conform/data/stropts.h-data (ioctl): Likewise.
13040         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
13041         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
13042         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
13043         (msghdr.msg_controllen): Likewise.
13044         (cmsghdr.cmsg_len): Likewise.
13045         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
13046         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
13047         variable.
13048         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13049         (test-xfail-XPG4/stropts.h/conform): Likewise.
13050         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13051         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13052         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13053         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13054         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13055         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13056         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13057         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13058         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13059         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13060         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13061         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13062         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13063         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13064         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13065         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13066         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13067         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13068         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13070 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13072         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
13073         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
13074         definitions for proper unfolding of __MATHDECL_VEC.
13076 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13078         * benchtests/bench-strcoll.c:
13079         Include string.h.
13080         (main): Remove unused variable res.
13082 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13084         * timezone/Makefile (%/UTC %/Universal):
13085         Generate test-result files for UTC and Universal.
13087 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13089         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13091 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
13093         [BZ #16350]
13094         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
13095         for arguments with small absolute value.
13096         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
13097         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
13098         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
13099         (__asinh): Force underflow exception for arguments with small
13100         absolute value.
13101         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
13102         (__asinhf): Force underflow exception for arguments with small
13103         absolute value.
13104         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
13105         (__asinhl): Force underflow exception for arguments with small
13106         absolute value.
13107         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
13108         (__asinhl): Force underflow exception for arguments with small
13109         absolute value.
13110         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
13111         (__asinhl): Force underflow exception for arguments with small
13112         absolute value.
13113         * math/auto-libm-test-in: Do not mark underflow exceptions as
13114         possibly missing for bug 16350.
13115         * math/auto-libm-test-out: Regenerated.
13117         * include/bits/ipc.h: Remove file.
13118         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
13119         variable.
13120         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13121         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13122         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13123         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13124         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13125         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13126         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13127         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13128         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13130         * math/auto-libm-test-in: Remove spurious underflow allowance for
13131         tests of cexp.
13132         * math/auto-libm-test-out: Regenerated.
13134         [BZ #18558]
13135         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
13136         unconditional definition.
13137         (MCAST_BLOCK_SOURCE): Likewise.
13138         (MCAST_UNBLOCK_SOURCE): Likewise.
13139         (MCAST_LEAVE_GROUP): Likewise.
13140         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13141         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13142         (MCAST_MSFILTER): Likewise.
13143         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
13144         Remove variable.
13145         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13146         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13147         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13148         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13149         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13151 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
13153         * NEWS: Mention addition of x86_64 vector sincosf.
13154         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
13155         * math/test-float-vlen4.h: Likewise.
13156         * math/test-float-vlen8.h: Likewise.
13157         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13158         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
13159         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13160         * sysdeps/x86_64/fpu/Versions: New versions added.
13161         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13162         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13163         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13164         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
13165         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13166         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
13167         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13168         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
13169         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13170         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
13171         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
13172         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
13173         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
13174         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
13175         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
13176         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
13177         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
13178         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13179         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13180         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13181         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13182         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13183         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13184         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13186         * NEWS: Mention addition of x86_64 vector sincos.
13187         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
13188         * math/math.h (__MATHDECL_VEC): New macro.
13189         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
13190         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
13191         declaration under condition.
13192         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
13193         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
13194         TEST_VEC_LOOP change.
13195         * math/test-double-vlen4.h: Likewise.
13196         * math/test-double-vlen8.h: Likewise.
13197         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
13198         * math/test-float-vlen4.h: Likewise.
13199         * math/test-float-vlen8.h: Likewise.
13200         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13201         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
13202         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13203         * sysdeps/x86_64/fpu/Versions: New versions added.
13204         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13205         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13206         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13207         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
13208         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
13209         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
13210         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
13211         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
13212         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
13213         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
13214         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
13215         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
13216         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
13217         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
13218         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
13219         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
13220         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
13221         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13222         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13223         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13224         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13225         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13226         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13227         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13229         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13230         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13231         redirections for powf.
13232         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13233         * sysdeps/x86_64/fpu/Versions: New versions added.
13234         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13235         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13236         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13237         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
13238         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
13239         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
13240         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
13241         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
13242         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
13243         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
13244         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
13245         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
13246         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
13247         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
13248         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
13249         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
13250         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
13251         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13252         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13253         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13254         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13255         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13256         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13257         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13258         * math/test-float-vlen16.h: Fixed 2 argument macro.
13259         * math/test-float-vlen4.h: Likewise.
13260         * math/test-float-vlen8.h: Likewise.
13261         * NEWS: Mention addition of x86_64 vector powf.
13263 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
13265         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13266         and redefine.
13267         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13268         and redefine.
13269         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
13270         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13271         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13273         [BZ #18553]
13274         * resource/getpriority.c (getpriority): Rename to __getpriority
13275         and define as weak alias of __getpriority.
13276         * resource/setpriority.c (setpriority): Rename to __setpriority
13277         and define as weak alias of __setpriority.
13278         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
13279         __getpriority and define as weak alias of __getpriority.
13280         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
13281         __setpriority and define as weak alias of __setpriority.
13282         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
13283         strong name.
13284         (setpriority): Use __setpriority as strong name.
13285         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
13286         __getpriority and define as weak alias of __getpriority.
13287         * include/sys/resource.h (__getpriority): Declare.  Use
13288         libc_hidden_proto.
13289         (__setpriority): Likewise.
13290         (getpriority): Don't use libc_hidden_proto.
13291         (setpriority): Likewise.
13292         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
13293         getpriority.  Call __setpriority instead of setpriority.
13294         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
13295         Remove variable.
13297         [BZ #18547]
13298         * misc/getttyent.c (getttynam): Rename to __getttynam and define
13299         as weak alias of __getttynam.  Use prototype function definition.
13300         Call __setttyent, __getttyent and __endttyent instead of
13301         setttyent, getttyent and endttyent.
13302         (getttyent): Rename to __getttyent and define as weak alias of
13303         __getttyent.  Call __setttyent instead of setttyent.  Call
13304         __fgets_unlocked instead of fgets_unlocked.
13305         (setttyent): Rename to __setttyent and define as weak alias of
13306         __setttyent.
13307         (endttyent): Rename to __endttyent and define as weak alias of
13308         __endttyent.
13309         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
13310         (__setttyent): Likewise.
13311         (__endttyent): Likewise.
13312         (getttyent): Don't use libc_hidden_proto.
13313         (setttyent): Likewise.
13314         (endttyent): Likewise.
13315         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
13316         __endttyent instead of setttyent, getttyent and endttyent.
13317         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
13318         Remove variable.
13320         [BZ #18546]
13321         * socket/recv.c (__recv): Use libc_hidden_def.
13322         * socket/socket.c (__socket): Likewise.
13323         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13324         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13325         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
13326         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
13327         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
13328         libc_hidden_def.
13329         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
13330         libc_hidden_weak.
13331         * include/sys/socket.h (__socket): Do not use attribute_hidden.
13332         Use libc_hidden_proto.
13333         (__recv): Likewise.
13334         * socket/Versions (libc): Export __recv and __socket at version
13335         GLIBC_PRIVATE.
13336         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
13337         instead of recv.
13338         (init_mq_netlink): Call __socket instead of socket.
13339         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
13340         Remove variable.
13342         [BZ #18545]
13343         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
13344         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
13345         hidden_weak.
13346         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
13347         define as alias of __mq_timedsend.  Use hidden_weak.
13348         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
13349         __mq_timedsend as strong name.
13350         (mq_timedreceive): Use __mq_timedreceive as strong name.
13351         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
13352         (__mq_timedreceive): Likewise.
13353         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
13354         __mq_timedreceive instead of mq_timedreceive.
13355         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
13356         instead of mq_timedsend.
13357         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
13358         Remove variable.
13360         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
13361         hidden_def and hidden_weak instead of libc_hidden_def and
13362         libc_hidden_weak.
13363         (top level): Refer to hidden_def in comment.
13364         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
13365         macro.  Use it instead of libc_hidden_def.
13366         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
13367         specify __GI_* name explicitly.
13368         (mq_timedreceive): Likewise.
13369         (mq_setattr): Likewise.
13371         [BZ #18544]
13372         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
13373         __pthread_barrier_init and define as weak alias of
13374         __pthread_barrier_init.
13375         * sysdeps/sparc/nptl/pthread_barrier_init.c
13376         (pthread_barrier_init): Likewise.
13377         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
13378         __pthread_barrier_wait and define as weak alias of
13379         __pthread_barrier_wait.
13380         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13381         (pthread_barrier_wait): Likewise.
13382         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13383         (pthread_barrier_wait): Likewise.
13384         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
13385         (pthread_barrier_wait): Likewise.
13386         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
13387         (pthread_barrier_wait): Likewise.
13388         * nptl/Versions (libpthread): Export __pthread_barrier_init and
13389         __pthread_barrier_wait at version GLIBC_PRIVATE.
13390         * include/pthread.h (__pthread_barrier_init): Declare.
13391         (__pthread_barrier_wait): Likewise.
13392         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
13393         Call __pthread_barrier_wait instead of pthread_barrier_wait.
13394         (helper_thread): Likewise.
13395         (init_mq_netlink): Call __pthread_barrier_init instead of
13396         pthread_barrier_init.
13398         [BZ #18542]
13399         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
13400         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
13401         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
13402         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
13403         vswscanf.
13404         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
13405         Remove variable.
13407         [BZ #18540]
13408         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
13409         strong alias of _IO_fflush.  Use libc_hidden_def.
13410         * libio/iofflush_u.c (fflush_unlocked): Rename to
13411         __fflush_unlocked and define as weak alias of __fflush_unlocked.
13412         Use libc_hidden_weak.
13413         * include/stdio.h (__fflush_unlocked): Declare.  Use
13414         libc_hidden_proto.
13415         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
13416         fflush_unlocked.
13417         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
13418         Remove variable.
13420         [BZ #18539]
13421         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
13422         define as weak alias of __addseverity.
13423         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
13424         Remove variable.
13425         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13426         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13427         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13429         [BZ #18536]
13430         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
13431         (__tfind): Likewise.
13432         (__tdelete): Likewise.
13433         (__twalk): Likewise.
13434         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
13435         __twalk to GLIBC_PRIVATE.
13436         * include/search.h (__tsearch): Use libc_hidden_proto.
13437         (__tfind): Likewise.
13438         (__tdelete): Likewise.
13439         (__twalk): Likewise.
13440         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
13441         Call __tdelete instead of tdelete.
13442         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
13443         tfind.  Call __tsearch instead of tsearch.
13444         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
13445         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
13446         Remove variable.
13447         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13449         [BZ #18534]
13450         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
13451         (dprintf): Define as a weak alias of __dprintf, not a strong
13452         alias.
13453         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
13454         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
13455         dprintf.
13456         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
13457         Remove variable.
13458         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13459         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13461         [BZ #18533]
13462         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
13463         not a strong alias.
13464         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
13465         Remove variable.
13467         [BZ #18532]
13468         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
13469         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
13470         (in6addr_loopback): Rename to __in6addr_loopback and define as
13471         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
13472         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
13473         libc_hidden_proto.
13474         (__in6addr_any): Likewise.
13475         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
13476         in6addr_any.
13477         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
13478         variable.
13479         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13481 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
13483         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
13484         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
13485         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13486         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13487         redirections for pow.
13488         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13489         * sysdeps/x86_64/fpu/Versions: New versions added.
13490         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13491         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13492         build of SSE, AVX2 and AVX512 IFUNC versions.
13493         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
13494         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
13495         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
13496         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
13497         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
13498         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
13499         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
13500         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
13501         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
13502         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
13503         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
13504         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
13505         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
13506         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
13507         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13508         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13509         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13510         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13511         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13512         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13513         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13514         * NEWS: Mention addition of x86_64 vector pow.
13516         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13517         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13518         redirections for expf.
13519         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13520         * sysdeps/x86_64/fpu/Versions: New versions added.
13521         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13522         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13523         build of SSE, AVX2 and AVX512 IFUNC versions.
13524         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
13525         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
13526         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
13527         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
13528         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
13529         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
13530         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
13531         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
13532         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
13533         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
13534         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
13535         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
13536         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
13537         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13538         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13539         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13540         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13541         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13542         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13543         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13544         * NEWS: Mention addition of x86_64 vector expf.
13546         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
13547         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
13548         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13549         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13550         redirections for exp.
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_d_exp2_core.S: New file.
13557         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
13558         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
13559         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
13560         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
13561         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
13562         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
13563         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
13564         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
13565         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
13566         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
13567         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
13568         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
13569         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13570         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13571         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13572         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13573         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13574         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13575         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13576         * NEWS: Mention addition of x86_64 vector exp.
13578         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13579         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13580         redirections for logf.
13581         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13582         * sysdeps/x86_64/fpu/Versions: New versions added.
13583         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13584         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13585         build of SSE, AVX2 and AVX512 IFUNC versions.
13586         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
13587         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
13588         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
13589         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
13590         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
13591         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
13592         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
13593         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
13594         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
13595         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
13596         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
13597         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
13598         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
13599         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13600         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13601         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13602         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13603         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13604         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13605         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13606         * NEWS: Mention addition of x86_64 vector logf.
13608         * bits/libm-simd-decl-stubs.h: Added stubs for log.
13609         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
13610         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13611         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13612         redirections for log.
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_d_log2_core.S: New file.
13619         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
13620         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
13621         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
13622         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
13623         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
13624         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
13625         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
13626         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
13627         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
13628         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
13629         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
13630         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
13631         test.
13632         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13633         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13634         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13635         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13636         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13637         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13638         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13639         * NEWS: Mention addition of x86_64 vector log.
13641 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13643         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
13644         cfi_adjust_cfa_offset argument.
13645         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
13646         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
13648         [BZ #18034]
13649         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
13650         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
13651         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
13652         ordering using ldar.
13653         (_dl_tlsdesc_dynamic): Likewise.
13654         (_dl_tlsdesc_return_lazy): Likewise.
13655         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
13656         relaxed atomics instead of volatile and synchronize with release store.
13657         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
13658         volatile.
13659         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13661 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
13663         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13664         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
13665         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13666         * sysdeps/x86_64/fpu/Versions: New versions added.
13667         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13668         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13669         build of SSE, AVX2 and AVX512 IFUNC versions.
13670         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
13671         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
13672         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
13673         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
13674         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
13675         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
13676         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
13677         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
13678         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
13679         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
13680         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
13681         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
13682         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
13683         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13684         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13685         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13686         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13687         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13688         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13689         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13690         * NEWS: Mention addition of x86_64 vector sinf.
13692 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
13694         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
13695         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
13696         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
13697         Remove variable.
13698         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13699         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13701 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13703         [BZ #18530]
13704         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
13705         strong alias of _IO_fputs.  Use libc_hidden_def.
13706         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
13707         and define as weak alias of __fputs_unlocked.  Use
13708         libc_hidden_weak.
13709         * include/stdio.h (__fputs_unlocked): Declare.  Use
13710         libc_hidden_proto.
13711         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
13712         fputs_unlocked.
13714         [BZ #18529]
13715         * resolv/netdb.h [__USE_POSIX]: Change condition to
13716         [__USE_XOPEN2K].
13717         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
13718         not expect.
13719         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
13720         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
13721         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
13722         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
13723         [XPG4 || UNIX98] (AI_ALL): Likewise.
13724         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
13725         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
13726         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
13727         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
13728         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
13729         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
13730         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
13731         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
13732         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
13733         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
13734         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
13735         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
13736         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
13737         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
13738         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
13739         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13740         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13741         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
13742         [XPG4 || UNIX98] (gai_strerror): Likewise.
13743         [XPG4 || UNIX98] (getaddrinfo): Likewise.
13744         [XPG4 || UNIX98] (getnameinfo): Likewise.
13746         [BZ #18528]
13747         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
13748         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
13749         __USE_XOPEN2K8].
13750         (getgrent): Likewise.
13751         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
13752         expect.
13753         [XPG3 || POSIX2008] (endgrent): Likewise.
13754         [XPG3] (setgrent): Likewise.
13755         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
13756         variable.
13757         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13759         [BZ #18527]
13760         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
13761         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
13762         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
13763         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
13764         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
13765         * include/unistd.h (__getlogin_r): Declare.  Use
13766         libc_hidden_proto.
13767         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
13768         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
13769         variable.
13770         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13771         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13772         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13774 2015-06-12  Martin Sebor  <msebor@redhat.com>
13776         [BZ #18512]
13777         * Makerules (check-install-supported): New target.
13778         (install): Add check-install-supported as a dependency.
13779         * manual/install.texi (Installing the C Library): Document
13780         that overriding prefix and exec_prefix is not supported.
13781         Mention DESTDIR.
13782         * INSTALL: Regenerate from the above.
13784 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13786         [BZ #18519]
13787         * posix/Versions (libc): Export __libc_pread at version
13788         GLIBC_PRIVATE.
13789         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
13790         instead of pread.
13791         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
13792         variable.
13794         [BZ #18522]
13795         * misc/efgcvt_r.c
13796         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
13797         (cvt_symbol): Use weak_alias instead of strong_alias.
13798         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
13799         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
13800         Remove variable.
13801         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13802         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13804         [BZ #18520]
13805         * inet/herrno.c (h_errno): Rename to __h_errno.
13806         (__libc_h_errno): Define as alias of __h_errno not h_errno.
13807         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
13808         to __h_errno instead of h_errno.
13809         * nptl/herrno.c (h_errno): Rename to __h_errno.
13810         (__h_errno_location): Refer to __h_errno not h_errno.
13811         * resolv/Versions (h_errno): Rename to __h_errno.
13812         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13813         Remove variable.
13814         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13816 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
13818         * configure.ac: More strict check for AVX512 assembler support.
13819         * configure: Regenerated.
13821         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13822         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13823         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13824         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13825         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13826         * sysdeps/x86_64/fpu/Versions: New versions added.
13827         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13828         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13829         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13830         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13831         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13832         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13833         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13834         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13835         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13836         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13837         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13838         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13839         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13840         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13841         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13842         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13843         test.
13844         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13845         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13846         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13847         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13848         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13849         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13850         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13851         * NEWS: Mention addition of x86_64 vector sin.
13853 2015-06-11  Florian Weimer  <fweimer@redhat.com>
13855         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13856         comment.
13858 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13860         [BZ #18479]
13861         * nptl/pt-interp.c: New file.
13862         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13863         Add pt-interp.
13864         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13865         $(common-objpfx)runtime-linker.h.
13867 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
13869         * Makeconfig (+interp): Remove unused variable.
13870         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
13871         only.  Depend on $(common-objpfx)runtime-linker.h instead of
13872         $(elf-objpfx)runtime-linker.h.
13873         ($(elf-objpfx)runtime-linker.h): Rename to
13874         $(common-objpfx)runtime-linker.h and move ...
13875         * Makerules [$(build-shared) = yes]: ... here.
13876         * elf/interp.c: Include <runtime-linker.h> instead of
13877         <elf/runtime-linker.h>.
13879 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13881         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
13882         (__gettimeofday_syscall): Remove vsyscall fallback.
13883         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
13884         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
13885         Add syscall fallback function.
13886         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
13887         if vDSO is not present.
13888         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
13889         fallback function.
13890         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
13891         present.
13892         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
13893         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13895 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
13897         [BZ #18497]
13898         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
13899         of wcscmp.
13900         (wcscmp): Define as weak alias of WCSCMP.
13901         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
13902         wcscoll.
13903         (USE_HIDDEN_DEF): Define.
13904         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
13905         __wcscoll.  Don't use libc_hidden_weak.
13906         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13907         wcscmp.
13908         * sysdeps/i386/i686/multiarch/wcscmp-c.c
13909         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
13910         __GI_wcscmp.
13911         (weak_alias): Undefine and redefine.
13912         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
13913         __wcscmp and define as weak alias of __wcscmp.
13914         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
13915         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
13916         (__wcscoll): Likewise.
13917         (wcscmp): Don't use libc_hidden_proto.
13918         (wcscoll): Likewise.
13919         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
13920         wcscoll.
13921         * posix/regexec.c (check_node_accept_bytes): Likewise.
13922         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
13923         variable.
13924         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13925         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13927         [BZ #18507]
13928         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
13929         __fstatvfs and define as weak alias of __fstatvfs.  Use
13930         libc_hidden_weak.
13931         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
13932         and define as weak alias of __statvfs.  Use libc_hidden_weak.
13933         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
13934         Define as alias of __fstatvfs, not fstatvfs.
13935         (fstatvfs64): Likewise.
13936         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
13937         Define as alias of __statvfs, not statvfs.
13938         (statvfs64): Likewise.
13939         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
13940         Remove variable.
13942 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13945         (HAVE_GETCPU_VSYSCALL): Define.
13946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13947         (HAVE_GETCPU_VSYSCALL): Likewise.
13948         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
13949         * sysdeps/unix/sysv/linux/sched_getcpu.c
13950         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
13951         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
13952         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
13953         prototype.
13954         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13955         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
13956         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
13957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
13958         Define.
13959         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13960         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13961         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13962         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13964 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
13966         * sysdeps/x86_64/fpu/Makefile: New file.
13967         * sysdeps/x86_64/fpu/Versions: New file.
13968         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
13969         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
13970         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
13971         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
13972         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
13973         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
13974         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
13975         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13976         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
13977         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
13978         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
13979         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
13980         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
13981         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13982         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13983         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
13984         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
13985         * sysdeps/x86_64/configure.ac: Options for libmvec build.
13986         * sysdeps/x86_64/configure: Regenerated.
13987         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
13988         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
13989         * manual/install.texi (Configuring and compiling): Document
13990         --disable-mathvec.
13991         * INSTALL: Regenerated.
13992         * NEWS: Mention addition of libmvec and x86_64 vector cos.
13994         * math/Makefile: Added rules for vector tests.
13995         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
13996         declaration under condition.
13997         * math/test-double-vlen2.h: New file.
13998         * math/test-double-vlen4.h: New file.
13999         * math/test-double-vlen8.h: New file.
14000         * math/test-vec-loop.h: Added initialization macro.
14001         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
14002         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
14003         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
14004         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
14005         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
14006         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
14007         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
14008         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
14009         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
14010         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
14011         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
14013         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14014         * sysdeps/x86_64/fpu/Versions: New versions added.
14015         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
14016         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
14017         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
14018         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
14019         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
14020         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
14021         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
14022         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
14023         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
14024         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
14025         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
14026         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
14027         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
14028         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14029         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14030         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14031         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
14032         * NEWS: Mention addition of x86_64 vector cosf.
14034         * math/Makefile: Added CFLAGS for new tests.
14035         * math/test-float-vlen16.h: New file.
14036         * math/test-float-vlen4.h: New file.
14037         * math/test-float-vlen8.h: New file.
14038         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
14039         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
14040         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14041         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
14042         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
14043         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
14044         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
14045         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
14046         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
14047         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
14048         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
14050 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
14052         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
14053         * locale/programs/ld-ctype.c: Likewise.
14055 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
14057         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
14058         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
14059         bit_ZMM16_31_state): New macro.
14060         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14061         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
14063 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
14065         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
14067 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
14069         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
14071 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
14073         [BZ #18498]
14074         * libio/memstream.c (open_memstream): Rename to __open_memstream
14075         and define as weak alias of __open_memstream.
14076         * include/stdio.h (__open_memstream): Declare.  Use
14077         libc_hidden_proto.
14078         (open_memstream): Don't use libc_hidden_proto.
14079         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
14080         open_memstream.
14081         * posix/getopt.c (_getopt_internal_r): Likewise.
14082         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
14083         variable.
14084         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14085         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14086         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14088         [BZ #18496]
14089         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
14090         instead of wcrtomb.
14092         [BZ #18483]
14093         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
14094         [__USE_XOPEN2K8].  Remove redundant #endif.
14095         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
14096         Remove redundant #if.
14097         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
14098         Remove variable.
14099         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14100         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14102         [BZ #18495]
14103         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
14104         (__iswlower): Likewise.
14105         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
14106         (__iswlower): Likewise.
14107         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
14108         instead of towlower.
14109         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
14110         instead of iswlower.  Call __towupper instead of towupper.
14111         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
14112         instead of iswalnum.
14114 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14116         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
14117         errors to stderr.
14119 2015-06-05  Florian Weimer  <fweimer@redhat.com>
14121         [BZ #15661]
14122         [BZ #17322]
14123         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14124         Check for overflow properly.  Check for O_APPEND.  Ignore large
14125         file system block sizes.  Add comments about problems.
14126         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
14127         * manual/filesys.texi (Storage Allocation): New node.
14129 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14131         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
14132         cancellable syscalls.
14133         (SYS_ify): Add guard to no redefine it.
14134         (INLINE_SYSCALL): Likewise.
14135         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
14136         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
14137         SYSCALL_CANCEL instead.
14138         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
14139         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
14140         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
14141         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
14142         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
14143         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
14144         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
14145         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
14146         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14147         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14148         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
14149         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
14150         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
14151         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
14152         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
14153         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
14154         Likewise.
14155         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
14156         (__libc_pread64): Likewise.
14157         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
14158         (__libc_preadv): Likewise.
14159         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
14160         (__libc_readv64): Likewise.
14161         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
14162         (__libc_pwrite): Likewise.
14163         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
14164         (__libc_pwrite64): Likewise.
14165         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
14166         (__libc_pwritev): Likewise.
14167         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
14168         (__libc_pwritev64): Likewise.
14169         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
14170         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14171         (sync_file_range): Likewise.
14172         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
14173         Likewise.
14174         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
14175         Likewise.
14176         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
14177         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
14178         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
14179         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
14180         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
14181         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
14182         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14183         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
14184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
14185         Likewise.
14186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14187         (__libc_read64): Likewise.
14188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
14189         Likewise.
14190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
14191         Likewise.
14192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
14193         Likewise.
14194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
14195         Likewise.
14196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14197         (__libc_pread64): Likewise.
14198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
14199         Likewise.
14200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14201         (__libc_pwrite64): Likewise.
14202         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
14203         (sync_file_range): Likewise.
14204         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
14205         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
14206         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
14207         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
14208         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
14209         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14210         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14211         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
14212         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
14213         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14214         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14215         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
14216         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
14217         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
14218         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
14219         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
14220         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
14221         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
14222         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
14223         Likewise.
14224         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
14225         Likewise.
14226         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
14227         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
14228         Likewise.
14229         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
14230         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
14231         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
14232         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
14233         Likewise.
14234         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
14235         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
14236         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
14237         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
14238         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
14240 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
14242         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
14243         Include dl-vdso.
14244         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
14245         Use VDSO routines for gettimeofday, clock_gettime if
14246         available.
14247         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
14248         Declare VDSO symbols.
14249         * sysdeps/unix/sysv/linux/arm/sysdep.h:
14250         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
14251         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14252         * sysdeps/unix/sysv/linux/arm/Versions: Add
14253         __vdso_clock_gettime.
14255 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14257         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
14258         be an inline implementation regardless of library is built within.
14259         (open_not_cancel_2): Likewise.
14260         (__read_nocancel): Likewise.
14261         (__write_nocancel): Likewise.
14262         (openat_not_cancel): Likewise.
14263         (openat_not_cancel_3): Likewise.
14264         (openat64_not_cancel): Likewise.
14265         (openat64_not_cancel_3): Likewise.
14266         (__close_nocancel): Likewise.
14267         (pause_not_cancel): Likewise.
14268         (nanosleep_not_cancel): Likewise.
14269         (sigsuspend_not_cancel): Likewise.
14271 2015-06-04  Torvald Riegel  <triegel@redhat.com>
14273         [BZ #14958]
14274         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
14275         wake-up.
14276         (__pthread_rwlock_rdlock_slow): Likewise.
14277         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14278         Likewise.
14279         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14280         Likewise.
14281         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
14282         * nptl/tst-rwlock16.c: New file.
14283         * nptl/Makefile (tests): Add new test.
14285 2015-06-04  Torvald Riegel  <triegel@redhat.com>
14287         [BZ #18324]
14288         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
14289         missing wake-up of readers.
14290         * nptl/tst-rwlock15.c: New file.
14291         * nptl/Makefile (tests): Add new test.
14293 2015-06-03  Roland McGrath  <roland@hack.frob.com>
14295         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
14296         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
14297         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
14298         and __nacl_supply_interface_rtld.
14299         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
14300         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
14301         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
14302         Add __nacl_supply_interface_rtld.
14303         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
14305 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
14307         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
14308         isfinite.
14309         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14310         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
14312 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
14314         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
14315         __signbit* with standard C99 macros.
14316         * math/e_exp10l.c: Likewise.
14317         * math/e_exp2l.c: Likewise.
14318         * math/e_scalb.c: Likewise.
14319         * math/e_scalbf.c: Likewise.
14320         * math/e_scalbl.c: Likewise.
14321         * math/s_ldexp.c: Likewise.
14322         * math/s_ldexpf.c: Likewise.
14323         * math/s_ldexpl.c: Likewise.
14324         * math/w_atan2.c: Likewise.
14325         * math/w_atan2f.c: Likewise.
14326         * math/w_atan2l.c: Likewise.
14327         * math/w_cosh.c: Likewise.
14328         * math/w_coshf.c: Likewise.
14329         * math/w_coshl.c: Likewise.
14330         * math/w_exp10.c: Likewise.
14331         * math/w_exp10f.c: Likewise.
14332         * math/w_exp10l.c: Likewise.
14333         * math/w_exp2.c: Likewise.
14334         * math/w_exp2f.c: Likewise.
14335         * math/w_exp2l.c: Likewise.
14336         * math/w_fmod.c: Likewise.
14337         * math/w_fmodf.c: Likewise.
14338         * math/w_fmodl.c: Likewise.
14339         * math/w_hypot.c: Likewise.
14340         * math/w_hypotf.c: Likewise.
14341         * math/w_hypotl.c: Likewise.
14342         * math/w_jnl.c: Likewise.
14343         * math/w_lgamma.c: Likewise.
14344         * math/w_lgamma_r.c: Likewise.
14345         * math/w_lgammaf.c: Likewise.
14346         * math/w_lgammaf_r.c: Likewise.
14347         * math/w_lgammal.c: Likewise.
14348         * math/w_lgammal_r.c: Likewise.
14349         * math/w_pow.c: Likewise.
14350         * math/w_powf.c: Likewise.
14351         * math/w_powl.c: Likewise.
14352         * math/w_remainder.c: Likewise.
14353         * math/w_remainderf.c: Likewise.
14354         * math/w_remainderl.c: Likewise.
14355         * math/w_scalb.c: Likewise.
14356         * math/w_scalbf.c: Likewise.
14357         * math/w_scalbl.c: Likewise.
14358         * math/w_scalbln.c: Likewise.
14359         * math/w_scalblnf.c: Likewise.
14360         * math/w_scalblnl.c: Likewise.
14361         * math/w_sinh.c: Likewise.
14362         * math/w_sinhf.c: Likewise.
14363         * math/w_sinhl.c: Likewise.
14364         * math/w_tgamma.c: Likewise.
14365         * math/w_tgammaf.c: Likewise.
14366         * math/w_tgammal.c: Likewise.
14367         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14368         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
14369         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14370         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14371         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14372         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14373         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14374         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14375         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14376         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14377         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14378         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14379         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14380         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14381         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14382         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14383         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14384         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14385         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14386         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14387         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14388         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14389         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14390         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14391         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14392         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14393         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
14394         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14395         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14396         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14397         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
14398         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
14399         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
14400         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
14401         * stdio-common/printf_fp.c: Likewise.
14402         * stdio-common/printf_fphex.c: Likewise.
14403         * stdio-common/printf_size.c: Likewise.
14405 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
14407         [BZ #18470]
14408         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
14409         strnlen.
14410         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
14411         Remove variable.
14412         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14413         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14414         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14415         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14416         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14417         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14418         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14419         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14420         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14421         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14423         [BZ #18468]
14424         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
14425         weak alias of __wmemchr.  Use libc_hidden_weak.
14426         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
14427         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
14428         instead of wmemchr.
14430 2015-06-02  Roland McGrath  <roland@hack.frob.com>
14432         [BZ #18383]
14433         * elf/tst-tlsalign-extern.c: New file.
14434         * elf/tst-tlsalign-extern-static.c: New file.
14435         * elf/tst-tlsalign-vars.c: New file.
14436         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
14437         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
14438         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
14439         ($(objpfx)tst-tlsalign-extern-static): Likewise.
14440         (test-xfail-tst-tlsalign-extern-static): New variable.
14442 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
14444         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
14445         Use variable name _sc_err instead of err.
14446         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
14447         instead of ret.
14448         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
14449         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
14450         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
14451         (INLINE_SYSCALL): Likewise.
14453         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
14454         * include/string.h (__strnlen): Use libc_hidden_proto.
14455         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
14456         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
14457         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
14458         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
14459         (libc_hidden_def): Undefine and redefine.
14460         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
14461         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
14462         __GI_strnlen.
14463         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
14464         libc_hidden_def.
14465         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
14467         [BZ #18469]
14468         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
14469         weak alias of __towlower.  Use libc_hidden_weak.
14470         (towupper): Rename to __towupper and define as weak alias of
14471         __towupper.  Use libc_hidden_weak.
14472         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
14473         (__towupper): Likewise.
14474         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
14475         __towlower instead of towlower.
14477 2015-06-02  Roland McGrath  <roland@hack.frob.com>
14479         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
14480         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
14482 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14484         * sysdeps/aarch64/libm-test-ulps: Update.
14486 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14488         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
14489         Define.
14490         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14491         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14492         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14493         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14494         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
14495         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
14496         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
14498 2015-06-01  Martin Sebor  <msebor@redhat.com>
14500         [BZ #18116]
14501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14502         (__setcontext): Use extended four-operand version of mtsf whenever
14503         possible.
14504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14505         (__novec_swapcontext): Likewise.
14507 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14509         * benchtests/scripts/compare_bench.py: New file.
14510         * benchtests/scripts/import_bench.py (mean): New function.
14511         (split_list): Likewise.
14512         (do_for_all_timings): Likewise.
14513         (compress_timings): Likewise.
14515         * benchtests/scripts/import_bench.py: New file.
14516         * benchtests/scripts/validate_benchout.py: Import import_bench
14517         instead of jsonschema.
14518         (validate_bench): Remove function.
14519         (main): Use import_bench.
14521 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
14523         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
14524         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
14526 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14530 2015-05-28  Roland McGrath  <roland@hack.frob.com>
14532         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
14533         set THREAD_SELF->tid to a magic value and futex-wake it.
14534         Pass its address to the thread_exit system call.
14535         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
14536         bit is clear.
14537         * sysdeps/nacl/lowlevellock.h: New file.
14538         * sysdeps/nacl/lll_timedwait_tid.c: New file.
14540         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
14541         Add TIMEOUT to current time, don't subtract it.
14543 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
14545         [BZ #2981]
14546         [BZ #18422]
14547         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
14548         ($(objpfx)tst-audit2.out): Also depend on
14549         $(objpfx)tst-auditmod9b.so.
14550         * elf/tst-audit2.c: Include <dlfcn.h>.
14551         (calloc_called): New.
14552         (calloc): Allow to be called more than once.
14553         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
14555 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
14557         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
14558         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
14560 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
14562         * stdlib/monetary.h: Fix comment.
14564 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
14566         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
14567         Avoid using variables in #defines that might cause shadowing.
14568         (INTERNAL_VSYSCALL_CALL): Likewise.
14570 2015-05-26  Roland McGrath  <roland@hack.frob.com>
14572         * sysdeps/nacl/lll_timedlock_wait.c: New file.
14574         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
14575         * nptl/lll_timedlock_wait.c: ... to this new file.
14576         * nptl/Makefile (libpthread-routines): Add it.
14577         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
14578         * nptl/lll_timedwait_tid.c: ... to this new file.
14579         * nptl/Makefile (libpthread-routines): Add it.
14580         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
14581         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
14582         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
14583         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
14584         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
14585         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
14586         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
14587         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
14588         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
14589         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
14591 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14593         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
14594         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14595         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14596         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
14597         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14598         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14599         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14600         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14601         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14602         * sysdeps/unix/sysv/linux/tile/sysdep.h
14603         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14604         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
14605         using vDSO syscall macro.
14607 2015-05-26  Andriy Rysin  <arysin@gmail.com>
14609         [BZ #17293]
14610         * uk_UA: Fix sorting order for Ukrainian locale
14612 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
14614         * stdlib/monetary.h: Fix comment.
14616 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14618         [BZ #18234]
14619         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
14620         st_mtim and st_ctim members.
14621         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
14622         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
14623         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
14624         (struct stat64): Likewise.
14625         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
14626         (struct stat64): Likewise.
14627         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
14628         (struct stat64): Likewise.
14630 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14632         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
14633         Define and include sysdep-vdso.h.
14634         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
14635         Likewise.
14636         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
14637         Likewise.
14638         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
14639         Define with VDSO_SYMBOL and use PTR_MANGLE.
14640         (__vdso_clock_gettime): Likewise.
14641         (__vdso_clock_getres): Likewise.
14642         (_libc_vdso_platform_setup): Likewise.
14643         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14644         Likewise.
14645         (_libc_vdso_platform_setup): Likewise.
14646         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
14647         Likewise.
14648         (__vdso_clock_gettime): Likewise.
14649         (__vdso_clock_getres): Likewise.
14650         (__vdso_get_tbfreq): Likewise.
14651         (__vdso_getcpu): Likewise.
14652         (__vdso_time): Likewise.
14653         (__vdso_sigtramp_rt64): Likewise.
14654         (__vdso_signtramp32): Likewise.
14655         (__vdso_sigtramp_rt32): Likewise.
14656         (_libc_vdso_platform_setup): Likewise.
14657         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
14658         Likewise.
14659         (__vdso_clock_gettime): Likewise.
14660         (__vdso_clock_getres): Likewise.
14661         (_libc_vdso_platform_setup): Likewise.
14662         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
14663         Likewise.
14664         (__vdso_clock_gettime): Likewise.
14665         (_libc_vdso_platform_setup): Likewise.
14666         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14667         Likewise.
14668         (__vdso_getcpu): Likewise.
14669         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
14670         Use VDSO_SYMBOL macro to define.
14671         (__vdso_clock_gettime): Likewise.
14672         (__vdso_clock_getres): Likewise.
14673         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
14674         Likewise.
14675         (__vdso_clock_gettime): Likewise.
14676         (__vdso_clock_getres): Likewise.
14677         (__vdso_get_tbfreq): Likewise.
14678         (__vdso_getcpu): Likewise.
14679         (__vdso_time): Likewise.
14680         (__vdso_sigtramp_rt64): Likewise.
14681         (__vdso_signtramp32): Likewise.
14682         (__vdso_sigtramp_rt32): Likewise.
14683         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
14684         Likewise.
14685         (__vdso_clock_gettime): Likewise.
14686         (__vdso_clock_getres): Likewise.
14687         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
14688         Likewise.
14689         (__vdso_clock_gettime): Likewise.
14690         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14691         Likewise.
14692         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
14693         macro.
14694         (INTERNAL_VSYSCALL): Likewise.
14695         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
14696         Remove macro.
14697         (INTERNAL_VSYSCALL): Likewise.
14698         (INTERNAL_VSYSCALL_NCS): Likewise.
14699         (INTERNAL_VSYSCALL_CALL): New macro.
14700         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14701         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
14702         Likewise.
14703         (INTERNAL_VSYSCALL): Likewise.
14704         (INTERNAL_VSYSCALL_NCS): Likewise.
14705         (INTERNAL_VSYSCALL_CALL): New macro.
14706         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14708         (INLINE_VSYSCALL): Remove macro.
14709         (INTERNAL_VSYSCALL): Remove macro.
14710         (INTERNAL_VSYSCALL_NCS): Remove macro.
14711         (INTERNAL_VSYSCALL_CALL): New macro.
14712         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
14713         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
14714         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14715         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
14716         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14718         (INLINE_VSYSCALL): Remove macro.
14719         (INTERNAL_VSYSCALL): Likewise.
14720         (INTERNAL_VSYSCALL_NCS): Likewise.
14721         (INTERNAL_VSYSCALL_CALL): New macro.
14722         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
14723         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
14724         PTR_DEMANGLE on vDSO pointer.
14725         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14726         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
14727         macro.
14728         (INTERNAL_SYSCALL): Likewise.
14729         (INTERNAL_VSYSCALL_NCS): Remove macro.
14730         (INTERNAL_VSYSCALL_CALL): New macro.
14731         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
14732         Remove macro.
14733         (INTERNAL_VSYSCALL): Likewise.
14734         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
14735         sysdep-vdso.h instead of libc-vdso.h.
14736         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
14737         definition.
14738         (INLINE_VSYSCALL): Likewise.
14739         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
14740         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
14741         definition.
14742         (INLINE_VSYSCALL): Likewise.
14743         (INTERNAL_VSYSCALL): Likewise.
14744         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14745         * sysdeps/unix/sysv/linux/timespec_get.c
14746         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14747         (timespec_get): Use ANSI prototype.
14748         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
14749         and definition for Linux.
14751 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14753         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
14754         * include/libc-symbols.h: libmvec_hidden_* macro series added.
14756 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14758         [BZ #2981]
14759         [BZ #18410]
14760         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
14761         for missing DT_PLTRELSZ.
14763 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
14765         Remove obsolete aliases that broke 'locale -a'
14766         [BZ #18412]
14767         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
14768         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
14769         breaking some applications that use 'locale -a' output.
14770         Change the encoding of this file from Latin-1 to ASCII to avoid
14771         other potential problems with people grepping this file.
14773 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14775         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
14776         -fasynchronous-unwind-tables.
14777         (CFLAGS-sendto.c): Likewise.
14778         (CFLAGS-sendmsg.c): Likewise.
14779         (CFLAGS-connect.c): Likewise.
14780         (CFLAGS-recvmsg.c): Likewise.
14781         (CFLAGS-recvfrom.c): Likewise.
14782         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
14783         (SOCKETCALL): New macro: non-cancellable socketcall.
14784         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
14785         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
14786         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
14787         * sysdeps/unix/sysv/linux/accept.c: New file.
14788         * sysdeps/unix/sysv/linux/bind.c: Likewise.
14789         * sysdeps/unix/sysv/linux/connect.c: Likewise.
14790         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
14791         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
14792         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
14793         * sysdeps/unix/sysv/linux/listen.c: Likewise.
14794         * sysdeps/unix/sysv/linux/recv.c: Likewise.
14795         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
14796         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14797         * sysdeps/unix/sysv/linux/send.c: Likewise.
14798         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14799         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
14800         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
14801         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
14802         * sysdeps/unix/sysv/linux/socket.c: Likewise.
14803         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
14804         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
14805         prototype.
14806         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
14807         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14808         instead of __internal_xxx function.
14809         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
14810         prototype.
14811         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14812         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14813         instead of __internal_xxx function.
14814         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14815         prototype.
14816         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14817         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14818         instead of __internal_xxx function.
14819         * sysdeps/unix/sysv/linux/accept.S: Remove file.
14820         * sysdeps/unix/sysv/linux/bind.S: Likewise.
14821         * sysdeps/unix/sysv/linux/connect.S: Likewise.
14822         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14823         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14824         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14825         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14826         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14827         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14828         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14829         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14830         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14831         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14832         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14833         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14834         * sysdeps/unix/sysv/linux/listen.S: Likewise.
14835         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14836         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14837         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14838         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14841         * sysdeps/unix/sysv/linux/recv.S: Likewise.
14842         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14843         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14844         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14845         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14846         * sysdeps/unix/sysv/linux/send.S: Likewise.
14847         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14848         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14849         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14850         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14851         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14852         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14853         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14854         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14855         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14856         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14857         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14858         socketcall is implemented in GLIBC.
14860 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14862         * soft-fp/fmadf4.c: Include <libc-internal.h>.
14863         (__fma): Ignore uninitialized warnings around packing.
14864         * soft-fp/fmasf4.c: Include <libc-internal.h>.
14865         (__fmaf): Ignore uninitialized warnings around packing.
14866         * soft-fp/fmatf4.c: Include <libc-internal.h>.
14867         (__fmal): Ignore uninitialized warnings around packing.
14869         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14870         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14871         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
14872         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14874         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
14875         switch statement into default case.
14876         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
14878         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
14879         a conditional in forcing "inexact".
14880         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14881         Likewise.
14883 2015-05-22  Roland McGrath  <roland@hack.frob.com>
14885         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14886         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
14887         for each INTERNAL_SYSCALL use.
14889 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14891         [BZ #438]
14892         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
14893         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
14894         variable.
14896         [BZ #18444]
14897         * string/basename.c (basename): Rename to __basename and define as
14898         weak alias of __basename.  Use libc_hidden_weak.
14899         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
14900         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
14901         __basename instead of basename.
14902         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
14903         Remove variable.
14904         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14906 2015-05-18  Florian Weimer  <fweimer@redhat.com>
14908         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
14909         (_IO_JUMPS_FILE_plus): New.
14910         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
14911         _IO_CAST_FIELD_ACCESS.
14912         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
14913         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
14914         * libio/freopen.c (freopen): Likewise.
14915         * libio/freopen64.c (freopen64): Likewise.
14916         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
14917         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
14918         * libio/iofwide.c (_IO_fwide): Likewise.
14919         * libio/memstream.c (open_memstream): Likewise.
14920         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14921         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14922         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14924 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
14926         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
14927         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
14928         NADJ.
14929         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
14930         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
14931         NADJ.
14932         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
14933         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
14934         NADJ.
14936         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
14937         (p == 4) case.
14939         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
14940         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
14941         Remove variable.
14942         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14943         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14944         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14946 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14948         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
14949         Adjust jump table label generation macros.
14951 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14953         * stdio-common/vfprintf.c (vfprintf): Move local variables
14954         args_malloced, specs, specs_malloced, and the code after
14955         do_positional to the printf_positional function.
14956         (printf_positional): New function.
14958 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14960         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14961         function.
14962         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14963         STEP4_TABLE, process_arg): Move macro definitions
14964         out of the vfprintf function.  (Cosmetic change only.)
14966 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
14968         * benchtests/Makefile (stdio-common-bench): Define.
14969         (benchset): Add stdio-common-bench.
14970         * sprintf-inputs: New file.
14971         * sprintf-source.c: New file.
14973 2015-05-21  Andreas Schwab  <schwab@suse.de>
14975         [BZ #13028]
14976         [BZ #17053]
14977         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
14978         of struct __res_state.
14979         * resolv/res_send.c (__libc_res_nsend): Likewise.
14980         (get_nsaddr): New function.
14981         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
14982         statp directly.
14984 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
14986         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
14987         -D_POSIX_C_SOURCE=199506L.
14989         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
14991         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
14992         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
14993         Do not mention otherwise.
14994         [POSIX] (_XOPEN_VERSION): Do not expect.
14995         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
14996         [POSIX] (_POSIX2_C_BIND): Likewise.
14997         [POSIX] (_POSIX2_VERSION): Likewise.
14998         [POSIX] (_XOPEN_XPG2): Likewise.
14999         [POSIX] (_XOPEN_XPG3): Likewise.
15000         [POSIX] (_XOPEN_XPG4): Likewise.
15001         [POSIX] (_XOPEN_UNIX): Likewise.
15002         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
15003         [POSIX] (_POSIX_BARRIERS): Likewise.
15004         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
15005         [POSIX] (_POSIX_CPUTIME): Likewise.
15006         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
15007         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
15008         [POSIX] (_POSIX_SHELL): Likewise.
15009         [POSIX] (_POSIX_SPAWN): Likewise.
15010         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
15011         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
15012         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
15013         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
15014         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
15015         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
15016         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
15017         [POSIX] (_XBS5_LP64_OFF64): Likewise.
15018         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
15019         [POSIX] (_POSIX_TIMEOUTS): Likewise.
15020         [POSIX] (_POSIX2_PBS): Likewise.
15021         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
15022         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
15023         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
15024         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
15025         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
15026         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
15027         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
15028         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
15029         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
15030         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
15031         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
15032         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
15033         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
15034         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
15035         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
15036         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
15037         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
15038         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
15039         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
15040         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
15041         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
15042         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
15043         [POSIX] (_SC_2_C_BIND): Likewise.
15044         [POSIX] (_SC_2_C_VERSION): Likewise.
15045         [POSIX] (_SC_2_PBS): Likewise.
15046         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
15047         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
15048         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
15049         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
15050         [POSIX] (_SC_2_PBS_TRACK): Likewise.
15051         [POSIX] (_SC_ATEXIT_MAX): Likewise.
15052         [POSIX] (_SC_BARRIERS): Likewise.
15053         [POSIX] (_SC_BASE): Likewise.
15054         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
15055         [POSIX] (_SC_DEVICE_IO): Likewise.
15056         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
15057         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
15058         [POSIX] (_SC_FD_MGMT): Likewise.
15059         [POSIX] (_SC_FIFO): Likewise.
15060         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
15061         [POSIX] (_SC_FILE_LOCKING): Likewise.
15062         [POSIX] (_SC_FILE_SYSTEM): Likewise.
15063         [POSIX] (_SC_IOV_MAX): Likewise.
15064         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
15065         [POSIX] (_SC_NETWORKING): Likewise.
15066         [POSIX] (_SC_PAGE_SIZE): Likewise.
15067         [POSIX] (_SC_PASS_MAX): Likewise.
15068         [POSIX] (_SC_PIPE): Likewise.
15069         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
15070         [POSIX] (_SC_REGEXP): Likewise.
15071         [POSIX] (_SC_SHELL): Likewise.
15072         [POSIX] (_SC_SIGNALS): Likewise.
15073         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
15074         [POSIX] (_SC_SPIN_LOCKS): Likewise.
15075         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
15076         [POSIX] (_SC_USER_GROUPS): Likewise.
15077         [POSIX] (_SC_USER_GROUPS_R): Likewise.
15078         [POSIX] (_SC_STREAMS): Likewise.
15079         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
15080         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
15081         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
15082         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
15083         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
15084         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
15085         [POSIX] (_PC_FILESIZEBITS): Likewise.
15086         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
15087         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
15088         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
15089         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
15090         [POSIX] (uid_t): Likewise.
15091         [POSIX] (gid_t): Likewise.
15092         [POSIX] (off_t): Likewise.
15093         [POSIX] (pid_t): Likewise.
15094         [POSIX] (cuserid): Allow.
15095         (_SC_2_CHAR_TERM): Require constant.
15096         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
15097         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
15098         variable.
15100 2015-05-20  Roland McGrath  <roland@hack.frob.com>
15102         * sysdeps/nacl/pthread-pids.h: New file.
15103         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
15104         (create_thread): Use __nacl_get_tid to initialize PD->tid.
15106         * nptl/pthread-pids.h: New file.
15107         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
15108         * nptl/nptl-init.c: Include <pthread-pids.h>.
15109         (__pthread_initialize_minimal_internal):
15110         Call __pthread_initialize_pids instead of set_tid_address syscall.
15112         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
15113         * sysdeps/posix/usleep.c: ... here.
15115 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15117         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
15118         call_pselect6 object.
15119         [$(subdir) = io]: Remove call_sync_file_range object.
15120         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
15121         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
15122         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
15123         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
15125 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
15127         * math/s_cproj.c: Add include "math_private.h".
15128         * math/s_cprojf.c: Likewise.
15129         * math/s_cprojl.c: Likewise.
15131 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
15133         [BZ #18244]
15134         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
15135         high mantissa bit when testing whether P is a NaN.
15136         * math/libm-test.inc (remainder_test_data): Add more tests.
15137         (remquo_test_data): Likewise.
15139         [BZ #18049]
15140         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
15141         below -32, return the argument, with underflow if subnormal.
15142         * math/auto-libm-test-in: Add more tests of atanh.
15143         * math/auto-libm-test-out: Regenerated.
15145 2015-05-19  Roland McGrath  <roland@hack.frob.com>
15147         [BZ #18434]
15148         * nptl/tst-sem15.c: New file.
15149         * nptl/Makefile (tests): Add it.
15150         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
15151         s/<</>>/ to fix typo in EOVERFLOW check.
15152         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
15154 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15156         * manual/strings.texi (envz_remove): Fix typo in safety
15157         annotations.
15159 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
15160             Steve Ellcey  <sellcey@imgtec.com>
15162         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
15163         in order to avoid strict alias warnings.
15164         (iruserok_af): Ditto for ra.
15166 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
15168         [BZ #17581]
15169         * malloc/hooks.c
15170         (magicbyte): Convert to a function and avoid returning 0x01.
15171         (mem2mem_check): Avoid using a length byte equal to the magic byte.
15172         (mem2chunk_check): Fix unsigned comparisons to zero.
15173         Hoist defs of sz and magic.
15175 2015-05-19  Richard Henderson  <rth@redhat.com>
15177         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
15179         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15181 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15183         [BZ #16159]
15184         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
15185         * malloc/arena.c (arena_lock): Check if arena is corrupt.
15186         (reused_arena): Find a non-corrupt arena.
15187         (heap_trim): Pass arena to unlink.
15188         * malloc/hooks.c (malloc_check_get_size): Pass arena to
15189         malloc_printerr.
15190         (top_check): Likewise.
15191         (free_check): Likewise.
15192         (realloc_check): Likewise.
15193         * malloc/malloc.c (malloc_printerr): Add arena argument.
15194         (unlink): Likewise.
15195         (munmap_chunk): Adjust.
15196         (ARENA_CORRUPTION_BIT): New macro.
15197         (arena_is_corrupt): Likewise.
15198         (set_arena_corrupt): Likewise.
15199         (sysmalloc): Use mmap if there are no usable arenas.
15200         (_int_malloc): Likewise.
15201         (__libc_malloc): Don't fail if arena_get returns NULL.
15202         (_mid_memalign): Likewise.
15203         (__libc_calloc): Likewise.
15204         (__libc_realloc): Adjust for additional argument to
15205         malloc_printerr.
15206         (_int_free): Likewise.
15207         (malloc_consolidate): Likewise.
15208         (_int_realloc): Likewise.
15209         (_int_memalign): Don't touch corrupt arenas.
15210         * malloc/tst-malloc-backtrace.c: New test case.
15212         * Makefile (summarize-tests): Fix return value on success.
15214         * manual/string.texi (Envz Functions): Add envz_remove.
15216 2015-05-18  Roland McGrath  <roland@hack.frob.com>
15218         * sysdeps/posix/opendir.c: Include <stdbool.h>.
15219         (invalid_name): New function, broken out of ...
15220         (__opendirat): ... here.  Call it.
15221         (need_isdir_precheck): New function, broken out of ...
15222         (__opendirat): ... here.  Call it.
15223         Use __fxstatat64, not __xstatat64.
15224         (opendir_oflags): New function, broken out of ...
15225         (__opendirat): ... here.  Call it.
15226         (opendir_tail): New function, broken out of ...
15227         (__opendirat): ... here.  Call it.
15228         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
15229         opendir_tail, rather than punting to __opendirat.
15230         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
15232 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15234         * .gitignore: Ignore generated *.pyc.
15236 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
15238         * include/stdio.h: Define __need_wint_t.
15239         * test-skeleton.c: Avoid `for' loop initial declaration.
15240         * nptl/tst-initializers1.c: Use test-skeleton.c.
15242 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15244         [BZ #18418]
15245         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
15247 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
15249         [BZ #16352]
15250         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
15251         (__ieee754_atanh): Force underflow exception for results with
15252         small absolute value.
15253         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
15254         (__ieee754_atanhf): Force underflow exception for results with
15255         small absolute value.
15256         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
15257         (__ieee754_atanh): Force underflow exception for results with
15258         small absolute value.
15259         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
15260         (__ieee754_atanhf): Force underflow exception for results with
15261         small absolute value.
15262         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
15263         (__ieee754_atanhl): Force underflow exception for results with
15264         small absolute value.
15265         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
15266         (__ieee754_atanhl): Force underflow exception for results with
15267         small absolute value.
15268         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
15269         (__ieee754_atanhl): Force underflow exception for results with
15270         small absolute value.
15271         * math/auto-libm-test-in: Do not allow missing underflow
15272         exceptions from atanh.
15273         * math/auto-libm-test-out: Regenerated.
15275         [BZ #18221]
15276         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
15277         2**-28 as threshold for returning x or +/- 1/x.
15278         * math/auto-libm-test-in: Add more tests of tan.
15279         * math/auto-libm-test-out: Regenerated.
15281         [BZ #18220]
15282         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15283         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
15284         * math/auto-libm-test-in: Add another test of lgamma.
15285         * math/auto-libm-test-out: Regenerated.
15287 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
15289         * stdio-common/printf_fp.c (___printf_fp): Use abs.
15290         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
15291         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
15292         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
15293         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
15294         (ADD2A): Use fabs.  (SUB2A): Use fabs.
15295         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
15296         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
15297         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
15298         (log1): Use fabs.  (my_log2): Use fabs.
15299         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
15300         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
15301         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
15302         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
15303         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
15304         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
15305         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
15306         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
15307         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
15308         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
15309         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
15311 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
15313         [BZ #18217]
15314         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
15315         as threshold for returning 1 - x.
15316         * math/auto-libm-test-in: Add more tests of erfc.
15317         * math/auto-libm-test-out: Regenerated.
15319 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
15321         [BZ #18196]
15322         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
15323         threshold for large arguments.
15324         * math/auto-libm-test-in: Add another test of atan.
15325         * math/auto-libm-test-out: Regenerated.
15327         [BZ #16339]
15328         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
15329         (__log1p): Force underflow exception for results with small
15330         absolute value.
15331         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
15332         (__log1pf): Force underflow exception for results with small
15333         absolute value.
15334         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
15335         (__log1p): Force underflow exception for results with small
15336         absolute value.
15337         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
15338         (__log1pf): Force underflow exception for results with small
15339         absolute value.
15340         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
15341         (__log1pl): Force underflow exception for results with small
15342         absolute value.
15343         * math/auto-libm-test-in: Do not allow missing underflow
15344         exceptions from log1p.
15345         * math/auto-libm-test-out: Regenerated.
15347 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
15348             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15350         [BZ #16704]
15351         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
15353 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
15355         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
15356         (libmvec): New variable.
15357         * configure.ac: Added option for mathvec build.
15358         * configure: Regenerated.
15359         * mathvec/Depend: New file.
15360         * mathvec/Makefile: New file.
15361         * shlib-versions: Added libmvec.
15362         * math/Makefile: Added rule for libm.so installation.
15364         * bits/math-vector.h: New file.
15365         * bits/libm-simd-decl-stubs.h: New header.
15366         * math/Makefile (headers): Added new header
15367         libm-simd-decl-stubs.h.
15368         * math/math.h (__MATHCALL_VEC): New macro.
15370         * math/gen-libm-have-vector-test.sh: Script generates series of macros
15371         for conditions in testing functions.
15372         * math/Makefile: Added call of libm-have-vector-test.sh.
15373         * math/libm-test.inc (HAVE_VECTOR): New macros.
15375         * math/libm-test.inc: START refactored.
15376         * math/test-double.c (TEST_MATHVEC): Add define.
15377         * math/test-float.c: Likewise.
15378         * math/test-idouble.c: Likewise.
15379         * math/test-ifloat.c: Likewise.
15380         * math/test-ildoubl.c: Likewise.
15381         * math/test-ldouble.c: Likewise.
15382         * sysdeps/generic/math-tests-arch.h
15383         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
15384         architecture check.
15386         * math/test-double.c (FUNC_TEST): New macro.
15387         * math/test-float.c: Likewise.
15388         * math/test-idouble.c: Likewise.
15389         * math/test-ifloat.c: Likewise.
15390         * math/test-ildoubl.c: Likewise.
15391         * math/test-ldouble.c: Likewise.
15392         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
15394 2015-05-13  Roland McGrath  <roland@hack.frob.com>
15396         * sysdeps/nacl/fdopendir.c: New file.
15398         * dirent/scandir-tail.c: New file.
15399         * dirent/scandir64-tail.c: New file.
15400         * dirent/Makefile (routines): Add them.
15401         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
15402         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
15403         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
15404         [!SCANDIR] (SCANDIR_TAIL): New macro.
15405         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
15406         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
15407         (SCANDIRAT): Macro removed.
15408         (SCANDIR_TAIL): New macro.
15409         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
15410         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
15411         (SCANDIRAT): Just call __opendirat and __scandir_tail.
15412         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
15413         (READDIR): Macro removed.
15414         (SCANDIR_TAIL): New macro.
15415         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
15416         (SCANDIR_TAIL): New macro.
15418         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
15419         * dirent/scandir-cancel.c: ... to this new file.
15420         * dirent/Makefile (routines): Add it.
15421         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
15422         * sysdeps/unix/sysv/linux/i386/scandir64.c
15423         (SKIP_SCANDIR_CANCEL): Macro removed.
15424         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
15426         * dirent/tst-scandir.c: New file.
15427         * dirent/tst-scandir64.c: New file.
15428         * dirent/Makefile (tests): Add them.
15430 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15432         [BZ #18409]
15433         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
15435 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15437         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
15438         list.
15440 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
15442         * benchtests/bench-strcoll.c: New benchmark.
15443         * benchtests/Makefile: Generate locales and run benchmark.
15444         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
15445         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15446         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
15447         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
15448         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
15449         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
15450         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
15451         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
15452         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
15453         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
15454         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
15455         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
15456         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
15457         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
15458         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
15459         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
15460         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
15461         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
15462         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
15463         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
15464         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
15465         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
15466         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
15467         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
15469 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
15471         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
15472         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15474 2015-05-12  Roland McGrath  <roland@hack.frob.com>
15476         * posix/uname-values.h: New file.
15477         * posix/uname.c: Include that instead of <config-name.h>.
15478         * sysdeps/nacl/uname-values.h: New file.
15479         * sysdeps/arm/nacl/uname-values.h: New file.
15481 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
15483         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
15484         splitting into fields.
15486 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
15488         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
15489         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
15490         * locale/localeinfo.h: Add enum collation_encoding_type.
15491         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
15492         * programs/ld-collate.c (collate_output): Add encoding type info.
15493         * string/strcoll_l.c (STRDIFF): New function.
15494         * (STRCOLL): Use STRDIFF to skip over equal prefix.
15495         * wcsmbs/wcscoll_l.c: Define STRDIFF.
15497 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
15499         [BZ #18397]
15500         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
15501         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
15502         <fpu_control.h> instead of <math/fpu_control.c>.
15503         * sysdeps/mips/mips32/fpu/Makefile: New file.
15505 2015-05-11  Andreas Schwab  <schwab@suse.de>
15507         [BZ #18007]
15508         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
15509         nss_endgrent.
15510         (_nss_compat_endgrent): Call nss_endgrent.
15511         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
15512         nss_endpwent.
15513         (_nss_compat_endpwent): Call nss_endpwent.
15514         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
15515         needent, call nss_setspent only if non-zero.
15516         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
15517         (internal_endspent): Don't call nss_endspent.
15518         (_nss_compat_endspent): Call nss_endspent.
15519         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
15520         Remove.  All uses removed.
15521         (internal_setent): Remove parameter stayopen, add parameter
15522         stream.  Use it instead of global variable.
15523         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
15524         (internal_endent, internal_getent): Add parameter stream.  Use it
15525         instead of global variable.
15526         (CONCAT(_nss_files_end,ENTNAME))
15527         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
15528         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
15529         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
15530         uses removed.
15531         (internal_setent, internal_endent): Add parameter stream.  Use it
15532         instead of global variable.
15533         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
15534         stream.
15535         (get_next_alias): Add parameter stream.
15536         (_nss_files_getaliasent_r): Pass global stream.
15537         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
15538         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
15539         (_nss_files_gethostbyname4_r): Pass local stream to
15540         internal_setent, internal_getent and internal_endent.  Remove
15541         locking.
15543 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15545         * tst-strfmon1.c (tests): Update expected currency symbol.
15547 2015-05-08  Roland McGrath  <roland@hack.frob.com>
15549         * sysdeps/nacl/gethostname.c: New file.
15551 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
15553         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
15554         and sinh.
15555         * math/auto-libm-test-out: Regenerated.
15556         * sysdeps/i386/fpu/libm-test-ulps: Update.
15557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15559 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
15561         [BZ #18125]
15562         * stdlib/tst-setcontext3.c: New file.
15563         * stdlib/tst-setcontext3.sh: New file.
15564         * stdlib/Makefile (tests): Add tst-setcontext3.
15565         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
15566         to verify test program created output file.
15567         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
15568         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
15569         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
15570         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
15572 2015-05-06  Roland McGrath  <roland@hack.frob.com>
15574         [BZ #18383]
15575         * elf/tst-tlsalign.c: New file.
15576         * elf/tst-tlsalign-static.c: New file.
15577         * elf/tst-tlsalign-lib.c: New file.
15578         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
15579         (tests-static): Add tst-tlsalign-static.
15580         (modules-names): Add tst-tlsalign-lib.
15581         (test-xfail-tst-tlsalign): New variable.
15582         (test-xfail-tst-tlsalign-static): New variable.
15584         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
15585         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
15587 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
15589         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
15590         csqrt, erfc, sin and sincos.
15591         * math/auto-libm-test-out: Regenerated.
15592         * sysdeps/i386/fpu/libm-test-ulps: Update.
15593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15595 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15597         * sysdeps/aarch64/libm-test-ulps: Update.
15599 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
15601         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
15602         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
15603         * math/auto-libm-test-out: Regenerated.
15604         * sysdeps/i386/fpu/libm-test-ulps: Update.
15605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15607 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15609         [BZ #18265]
15610         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
15611         (wcsncpy): Likewise.
15613 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15615         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15616         Assume __ASSUME_FALLOCATE is always true.
15617         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15618         (__posix_fallocate64_l64): Likweise.
15619         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
15620         (posix_fallocate): Likewise.
15621         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
15622         (__posix_fallocate64_l64): Likewise.
15623         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15624         [!__ASSUME_FALLOCATE]: Add comment.
15626 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15628         * sysdeps/unix/sysv/linux/i386/Makefile
15629         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
15630         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
15631         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
15632         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15633         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15634         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
15635         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
15637 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
15639         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
15640         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
15641         tgamma.
15642         * math/auto-libm-test-out: Regenerated.
15643         * sysdeps/i386/fpu/libm-test-ulps: Update.
15644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15646 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15648         * math/auto-libm-test-in: Add more tests of tgamma.
15649         * math/auto-libm-test-out: Regenerated.
15650         * sysdeps/i386/fpu/libm-test-ulps: Update.
15651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15653         * math/auto-libm-test-in: Add more tests of tanh.
15654         * math/auto-libm-test-out: Regenerated.
15655         * sysdeps/i386/fpu/libm-test-ulps: Update.
15656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15658         * math/auto-libm-test-in: Add more tests of tan.
15659         * math/auto-libm-test-out: Regenerated.
15660         * sysdeps/i386/fpu/libm-test-ulps: Update.
15661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15663         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
15664         * math/auto-libm-test-out: Regenerated.
15665         * sysdeps/i386/fpu/libm-test-ulps: Update.
15666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15668         * math/auto-libm-test-in: Add another test of pow.
15669         * math/auto-libm-test-out: Regenerated.
15670         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15672         * math/auto-libm-test-in: Add more tests of lgamma.
15673         * math/auto-libm-test-out: Regenerated.
15674         * sysdeps/i386/fpu/libm-test-ulps: Update.
15675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15677         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
15678         log1p.
15679         * math/auto-libm-test-out: Regenerated.
15680         * sysdeps/i386/fpu/libm-test-ulps: Update.
15681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15683 2015-05-01  Mark Wielaard  <mjw@redhat.com>
15685         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
15686         Elf64_Chdr structs and ELFCOMPRESS constants.
15688 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15690         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
15691         expm1.
15692         * math/auto-libm-test-out: Regenerated.
15693         * sysdeps/i386/fpu/libm-test-ulps: Update.
15694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15696         * math/auto-libm-test-in: Add more tests of erf and erfc.
15697         * math/auto-libm-test-out: Regenerated.
15698         * sysdeps/i386/fpu/libm-test-ulps: Update.
15699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15701 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15703         * config.h.in (HAVE_AARCH64_BE): Add.
15705 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
15707         * math/auto-libm-test-in: Add more tests of csqrt.
15708         * math/auto-libm-test-out: Regenerated.
15709         * sysdeps/i386/fpu/libm-test-ulps: Update.
15710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15712         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15713         * math/auto-libm-test-out: Regenerated.
15714         * sysdeps/i386/fpu/libm-test-ulps: Update.
15715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15717         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
15719 2015-04-29  Roland McGrath  <roland@hack.frob.com>
15721         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
15722         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
15724         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
15725         (euidaccess, eaccess): Define as weak aliases.
15727         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
15728         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
15729         but __suseconds_t is often 'long int' so some sources assume that
15730         type is being used (e.g. they use %ld to print tv_usec).
15732 2015-04-29  Florian Weimer  <fweimer@redhat.com>
15734         [BZ #18007]
15735         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
15736         (CVE-2014-8121)
15737         * nss/tst-nss-getpwent.c: New file.
15738         * nss/Makefile (tests): Add new test.
15740 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
15742         [BZ #18346]
15743         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
15744         exponents less than 48 as cases where high part of mantissa needs
15745         examining to determine whether argument is integral.
15746         * math/libm-test.inc (round_test_data): Add more tests.
15748 2015-04-28  Mark Wielaard  <mjw@redhat.com>
15750         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
15752 2015-04-27  David S. Miller  <davem@davemloft.net>
15754         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
15755         __tls_get_addr.
15756         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15758 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
15760         [BZ#18333]
15761         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
15763 2015-04-27  Florian Weimer  <fweimer@redhat.com>
15765         [BZ#18333]
15766         * time/tzset.c (parse_tzname): Return error on memory allocation
15767         failure.
15768         * test-skeleton.c (struct temp_name_list): Change type of name
15769         member to non-const.
15770         (add_temp_file): Create a copy of the file name.
15771         (delete_temp_files): Deallocate memory.
15772         (create_temp_file): Add comment.
15774 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15776         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
15777         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
15779 2015-04-24  Roland McGrath  <roland@hack.frob.com>
15781         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
15782         * sysdeps/arm/configure: Regenerated.
15784 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15786         [BZ #17715]
15787         * time/tzfile.c (__tzfile_read): Check for large values of
15788         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
15789         * time/tzset.c (__tzstring_len): New function, based on the old
15790         __tzstring function.
15791         (__tzstring): Call __tzstring_len.
15792         (parse_tzname): New helper function extracted from
15793         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
15794         the input string.
15795         (parse_offset): New helper function extracted from
15796         __tzset_parse_tz.  Replace switch with fallthrough with
15797         initialization before sscanf.
15798         (parse_rule): Likewise.
15799         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
15800         new-style function definition.
15801         * timezone/Makefile (tests): Add tst-tzset.
15802         (tst-tzset.out): Dependencies on time zone files.
15803         (tst-tzset-ENV): Set TZDIR.
15804         (testdata/XT%): Copy crafted time zone files.
15805         * timezone/README: Mention crafted time zone files.
15806         * timezone/testdata/XT1, timezone/testdata/XT2,
15807         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
15808         files.
15809         * timezone/tst-tzset.c: New test.
15811 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15813         * Makeconfig (+gccwarn): Remove -Winline.
15815 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15817         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15819 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15821         * NEWS: Mention sysconf() cache information support for s390.
15822         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15824 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
15826         * math/k_casinh.c (__kernel_casinh): Use __copysign.
15827         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15828         (__nearbyint): Likewise.
15829         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15830         (copysignl): Likewise.
15832 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
15834         [BZ #18287]
15835         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15836         based on padding.  (CVE-2015-1781)
15838 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15840         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15841         libc-vdso.h.
15842         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15843         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15844         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15845         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15846         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15847         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15848         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15849         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15850         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15851         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15852         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15853         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15854         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15855         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15856         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15857         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15858         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15859         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15860         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15861         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15862         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15863         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15864         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15866 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
15868         * stdlib/setenv.c (__add_to_environ):
15869         Dump core quickly if setenv (..., NULL, ...) is called.
15870         This time, do it the right way, and pacify GCC with a pragma.
15872 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15874         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
15875         IMAP->l_prev cannot be null, and #if out the code for the contrary
15876         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
15877         believe that NS (&_dl_ns[NSID]) could point outside the array.
15879         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15880         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
15881         before using NSID as an index.
15883 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
15885         [BZ #17825]
15886         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
15887         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
15888         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15890 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15892         Add preliminary port to Google Native Client on ARM.
15893         * abi-tags (.*-.*-nacl.*): New entry.
15894         * sysdeps/arm/nacl: New directory.
15895         * sysdeps/nacl: New directory.
15897 2015-04-16  David S. Miller  <davem@davemloft.net>
15899         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
15900         lowlevellock-futex.h
15902 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
15904         * sysdeps/tile/configure.ac: New file.
15905         * sysdeps/tile/configure: Regenerated.
15907 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15909         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
15910         conditionals for weak_alias and libc_hidden_weak.
15911         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
15912         libc_hidden_weak and weak_alias.
15913         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
15914         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
15915         and weak_alias for static one.
15917 2015-04-15  David S. Miller  <davem@davemloft.net>
15919         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15921 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15923         [BZ #18206]
15924         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
15925           Use signed comparision instead of substraction to avoid
15926           overflow bug.
15927         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
15928           Take the sign of ret.
15929         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
15930           Do not expect precise return values. Only the sign matters.
15931         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
15932         * wcsmbs/test-wcsncmp.c: New File.
15933         * string/test-strncmp.c: Add wcsncmp support.
15935 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15937         [BZ #6792]
15938         * math/w_log1p.c: New file.
15939         * math/w_log1pf.c: Likewise.
15940         * math/w_log1pl.c: Likewise.
15941         * math/Makefile (libm-calls): Add w_log1p.
15942         * math/s_log1pl.c (log1pl): Remove weak_alias.
15943         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
15944         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
15945         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
15946         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
15947         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
15948         [NO_LONG_DOUBLE] (log1pl): Likewise.
15949         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
15950         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
15951         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
15952         (log1p): Remove long_double_symbol.
15953         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
15954         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
15955         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
15956         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
15957         remove weak_alias for corresponding log1p function.
15958         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15959         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15960         * sysdeps/ia64/fpu/w_log1p.c: New file.
15961         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15962         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15963         * math/libm-test.inc (log1p_test_data): Add errno expectations.
15965 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
15967         [BZ #18247]
15968         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
15969         decimal exponent by 1.
15970         * stdlib/tst-strtod-round-data: Add more tests.
15971         * stdlib/tst-strtod-round.c (tests): Regenerated.
15973 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
15975         * math/auto-libm-test-in: Add more tests of clog and clog10.
15976         * math/auto-libm-test-out: Regenerated.
15977         * sysdeps/i386/fpu/libm-test-ulps: Update.
15978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15980 2015-04-09  Roland McGrath  <roland@hack.frob.com>
15982         * Makeconfig (module-cppflags): Exclude all .v.i files.
15983         (skip-module-cppflags): Variable removed.
15985         * configure.ac (libc_config_ok): Initialize before reading
15986         preconfigure scripts, not after.
15987         * configure: Regenerated.
15989         * test-skeleton.c (TIMEOUT): Move #define to top level.
15990         (main): Grok environment variable TEST_DIRECT.  If set, print
15991         test expectation details into that file and then behave as if
15992         given --direct.
15994 2015-04-09  Florian Weimer  <fweimer@redhat.com>
15996         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15997         warning on 32-bit.
15999 2015-04-08  David S. Miller  <davem@davemloft.net>
16001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16003 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16005         * math/auto-libm-test-in: Add more tests of atanh.
16006         * math/auto-libm-test-out: Regenerated.
16007         * sysdeps/i386/fpu/libm-test-ulps: Update.
16008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16010         * math/auto-libm-test-in: Add more tests of atan.
16011         * math/auto-libm-test-out: Regenerated.
16012         * sysdeps/i386/fpu/libm-test-ulps: Update.
16013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16015 2015-04-08  Florian Weimer  <fweimer@redhat.com>
16017         * elf/pldd.c (main): Rewrite to use struct
16018         scratch_buffer instead of extend_alloca.
16019         * elf/pldd-xx.c (find_maps): Likewise.
16020         * grp/initgroups.c: Include <scratch_buffer.h> instead of
16021         <alloca.h>.
16022         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
16023         scratch_buffer instead of extend_alloca.
16024         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
16025         grp/compat-initgroups.c.
16026         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
16027         Rewrite to use struct scratch_buffer instead of extend_alloca.
16028         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
16029         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16031 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16033         * math/auto-libm-test-in: Add more tests of cbrt.
16034         * math/auto-libm-test-out: Regenerated.
16035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16037         * math/auto-libm-test-in: Add more tests of cabs.
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         [BZ #18210]
16043         [BZ #18211]
16044         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
16045         (__ieee754_atan2): Set FE_TONEAREST mode for internal
16046         computations.
16047         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
16048         clog10.
16049         * math/auto-libm-test-out: Regenerated.
16050         * sysdeps/i386/fpu/libm-test-ulps: Update.
16051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16053         [BZ #18197]
16054         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
16055         (atan): Set FE_TONEAREST mode for internal computations.
16056         * math/auto-libm-test-in: Add more tests of atan.
16057         * math/auto-libm-test-out: Regenerated.
16059 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
16061         [BZ #17930]
16062         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
16064 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16066         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
16068 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16070         * include/scratch_buffer.h: New file.
16071         * malloc/scratch_buffer_grow.c: Likewise.
16072         * malloc/scratch_buffer_grow_preserve.c: Likewise.
16073         * malloc/scratch_buffer_set_array_size.c: Likewise.
16074         * malloc/tst-scratch_buffer.c: Likewise.
16075         * malloc/Makefile (routines): Add scratch_buffer_grow.
16076         (tests): Add test case.
16077         * malloc/Versions (GLIBC_PRIVATE): Export
16078         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
16079         __libc_scratch_buffer_set_array_size.
16081 2015-04-06  Richard Henderson  <rth@redhat.com>
16083         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
16084         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16086         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
16087         unsigned int before printing.
16089 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16091         [BZ #17596]
16092         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
16093         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16095 2015-04-02  Florian Weimer  <fweimer@redhat.com>
16097         * include/libc-internal.h (libc_max_align_t): Define.
16099 2015-04-02  Andreas Schwab  <schwab@suse.de>
16101         [BZ #16850]
16102         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
16104 2015-04-02  Mel Gorman  <mgorman@suse.de>
16106         [BZ #17195]
16107         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
16108         as well as the main arena.
16110 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16112         [BZ #18185]
16113         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
16114         sharing L2 cache to 2 for Silvermont/Knights Landing.
16116 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16118         [BZ #17711]
16119         * config.make.in (have-protected-data): New.
16120         * configure.ac: Check linker support for protected data symbol.
16121         * configure: Regenerated.
16122         * elf/Makefile (modules-names): Add tst-protected1moda and
16123         tst-protected1modb if $(have-protected-data) is yes.
16124         (tests): Add tst-protected1a and tst-protected1b if
16125         $(have-protected-data) is yes.
16126         ($(objpfx)tst-protected1a): New.
16127         ($(objpfx)tst-protected1b): Likewise.
16128         (tst-protected1modb.so-no-z-defs): Likewise.
16129         * elf/tst-protected1a.c: New file.
16130         * elf/tst-protected1b.c: Likewise.
16131         * elf/tst-protected1mod.h: Likewise.
16132         * elf/tst-protected1moda.c: Likewise.
16133         * elf/tst-protected1modb.c: Likewise.
16135 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16137         [BZ #17711]
16138         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
16139         indicates it is called from do_lookup_x on relocation against
16140         protected data, skip the data definion in the executable from
16141         copy reloc.
16142         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
16143         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
16144         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
16145         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
16146         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
16147         otherwise to 0.
16148         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16149         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
16150         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
16151         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16152         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
16153         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
16155 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
16157         * sysdeps/nptl/pthread.h: Remove duplicate definition of
16158         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
16160 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
16162         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
16163         THREAD_SETMEM_NC.
16164         * sysdeps/x86_64/nptl/tls.h: Ditto.
16166 2015-03-27  Roland McGrath  <roland@hack.frob.com>
16168         * dlfcn/tststatic.c (main): Converted to ...
16169         (do_test): ... this.
16170         (TEST_FUNCTION): New macro.
16171         Include test-skeleton.c.
16173 2015-03-26  Alan Modra  <amodra@gmail.com>
16175         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
16176         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
16177         zero for undefined weak.
16178         (elf_machine_plt_conflict): Similarly.
16180 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
16182         * math/auto-libm-test-in: Add more tests of acosh, asinh and
16183         atanh.
16184         * math/auto-libm-test-out: Regenerated.
16185         * sysdeps/i386/fpu/libm-test-ulps: Update.
16186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16188         * math/auto-libm-test-in: Add another test of asin.
16189         * math/auto-libm-test-out: Regenerated.
16190         * sysdeps/i386/fpu/libm-test-ulps: Update.
16191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16193         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
16194         Remove macro.
16195         (LLL_EBX_REG): Likewise.
16196         (LLL_ENTER_KERNEL): Likewise.
16198         * math/auto-libm-test-in: Add more tests of asin.
16199         * math/auto-libm-test-out: Regenerated.
16200         * sysdeps/i386/fpu/libm-test-ulps: Update.
16201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16203         [BZ #18138]
16204         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
16205         libc_do_syscall_args): New structure.
16206         (INTERNAL_SYSCALL_MAIN_0): New macro.
16207         (INTERNAL_SYSCALL_MAIN_1): Likewise.
16208         (INTERNAL_SYSCALL_MAIN_2): Likewise.
16209         (INTERNAL_SYSCALL_MAIN_3): Likewise.
16210         (INTERNAL_SYSCALL_MAIN_4): Likewise.
16211         (INTERNAL_SYSCALL_MAIN_5): Likewise.
16212         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
16213         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
16214         Replace conditional definitions by conditional definitions of ....
16215         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
16216         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
16217         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
16218         (libpthread-sysdep_routines): Add libc-do-syscall.
16219         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
16220         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
16221         to __NR_futex not 240.
16223 2015-03-25  Alan Modra  <amodra@gmail.com>
16225         * NEWS: Advertise TLS optimization.
16226         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
16227         (DT_PPC_NUM): Increment.
16228         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
16229         (CHECK_STATIC_TLS): Use here.
16230         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
16231         TLS descriptors.
16232         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16233         * sysdeps/powerpc/dl-tls.c: New file.
16234         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
16235         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
16236         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
16237         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
16238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
16239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16242 2015-03-25  Alan Modra  <amodra@gmail.com>
16244         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
16245         for overlapping .opd entries" to "support...".
16246         * sysdeps/powerpc/powerpc64/configure: Regenerate
16248 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
16250         * math/auto-libm-test-in: Add more tests of acos.
16251         * math/auto-libm-test-out: Regenerated.
16252         * sysdeps/i386/fpu/libm-test-ulps: Update.
16253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16255         * math/auto-libm-test-in: Add more tests of expm1.
16256         * math/auto-libm-test-out: Regenerated.
16257         * sysdeps/i386/fpu/libm-test-ulps: Update.
16258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16260 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
16262         * math/auto-libm-test-in: Add more tests of cosh and sinh.
16263         * math/auto-libm-test-out: Regenerated.
16264         * sysdeps/i386/fpu/libm-test-ulps: Update.
16265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16267         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16270         * math/auto-libm-test-in: Add more tests of log2.
16271         * math/auto-libm-test-out: Regenerated.
16272         * sysdeps/i386/fpu/libm-test-ulps: Update.
16273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16275 2015-03-23  Roland McGrath  <roland@hack.frob.com>
16277         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
16278         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
16279         _IO_IS_APPENDING bit in READ_WRITE instead.
16281 2015-03-23  Florian Weimer  <fweimer@redhat.com>
16283         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
16284         (__determine_cpumask_size): Replace extend_alloca with a
16285         variable-length array.  Do not treat res == 0 as an error.
16287 2015-03-23  Florian Weimer  <fweimer@redhat.com>
16289         [BZ #18100]
16290         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
16291         and integer overflow.
16292         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
16293         (main): Add integer overflow tests.
16294         * manual/pattern.texi (Calling Wordexp): Document additional use
16295         for WRDE_SYNTAX.
16297 2015-03-23  Alan Modra  <amodra@gmail.com>
16299         * config.h.in: Remove HAVE_ASM_PPC_REL16.
16300         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
16301         and false branch of conditional.
16302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16303         Likewise.
16305 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
16307         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
16308         libc-modules.h
16309         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
16310         unused declaration of _hurd_intr_rpc_msg_in_trap.
16311         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
16312         defined instead of whether it is non-zero.
16313         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
16314         input constraint instead of both input and output constraint.  Use ecx
16315         clobber instead of %ecx.
16316         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
16317         mutex_unlock): Use a statement expression instead of an expression list.
16318         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
16319         type to vm_size_t instead of vm_address_t.
16320         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
16321         defined instead of whether it is non-zero.
16322         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
16323         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
16324         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
16325         comparisons with mapaddr.
16326         * nscd/nscd-client.h: Include <time.h>.
16327         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
16328         9th parameter to __vm_region instead of int.
16329         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
16330         * scripts/check-local-headers.sh (exclude): Add device/,
16331         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
16332         cthreads.h.
16334 2015-03-19  Roland McGrath  <roland@hack.frob.com>
16336         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
16337         to account for alignment padding.
16338         * sysdeps/arm/memmove.S: Likewise.
16340 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
16342         * sysdeps/unix/sysv/linux/generic/README: New file.
16344 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
16346         [BZ #18138]
16347         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
16348         (futex_abstimed_wait)
16349         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
16350         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
16351         of lll_futex_timed_wait.
16353 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
16355         [BZ #17542]
16356         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
16358 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
16360         [BZ #17090]
16361         [BZ #17620]
16362         [BZ #17621]
16363         [BZ #17628]
16364         * NEWS: Update.
16365         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
16366         entries with Static TLS too.  Skip entries past the end of the
16367         allocated DTV, from Alan Modra.
16368         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
16369         Static TLS DTV entry set up from...
16370         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
16371         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
16372         * nptl/allocatestack.c (init_one_static_tls): ... and here...
16373         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
16374         for Static TLS.
16375         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
16376         that the slot we find is associated with the given map before
16377         using its generation count.
16378         * nptl_db/db_info.c: Include ldsodefs.h.
16379         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
16380         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
16381         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
16382         (link_map::l_tls_offset): New struct field.
16383         (dtv_t::counter): Likewise.
16384         (rtld_global): New struct.
16385         (_rtld_global): New rtld variable.
16386         (dl_tls_dtv_slotinfo_list): New rtld global field.
16387         (dtv_slotinfo_list): New struct.
16388         (dtv_slotinfo): Likewise.
16389         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
16390         (td_lookup): Rename to...
16391         (td_mod_lookup): ... this.  Use new mod parameter instead of
16392         LIBPTHREAD_SO.
16393         * nptl_db/td_thr_tlsbase.c: Include link.h.
16394         (dtv_slotinfo_list, dtv_slotinfo): New functions.
16395         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
16396         addresses even if the DTV is out of date or missing them.
16397         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
16398         index zero-length arrays.
16399         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
16400         (td_lookup): Make it a macro implemented in terms of...
16401         (td_mod_lookup): ... this declaration.
16402         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
16403         (DB_MAIN_VARIABLE): Likewise.
16405 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16407         [BZ #18134]
16408         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16410 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
16412         * stdlib/setenv.c (__add_to_environ): Revert previous change.
16414 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16416         [BZ #18128]
16417         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
16418         (atomic_add, atomic_increment_and_test)
16419         (atomic_decrement_and_test): Fix 64-bit arithmetic.
16421 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
16423         * stdlib/setenv.c (__add_to_environ):
16424         Dump core quickly if setenv (..., NULL, ...) is called.
16426 2015-03-13  Roland McGrath  <roland@hack.frob.com>
16428         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
16429         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
16430         all the necessary asm magic in one place.
16431         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
16432         using those.
16434 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
16436         [BZ #14906]
16437         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
16438         traced file mtime. Use consistent log message.
16439         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
16440         (register_traced_file): Call install_watches. Always set mtime.
16441         (invalidate_cache): Iterate over all trace files. Call install_watches.
16442         (inotify_check_files): Don't inline. Handle watching parent
16443         directories and configuration file movement in and out.
16444         (handle_inotify_events): New function.
16445         (main_loop_poll): Call handle_inotify_events.
16446         (main_loop_epoll): Likewise.
16447         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
16448         (struct traced_file): Use array of inotify fds. Add parent directory,
16449         and basename.
16450         (struct database_dyn): Remove unused file_mtime.
16451         (init_traced_file): New inline function.
16452         (define_traced_file): New macro.
16453         * nss/nss_db/db-init.c: Use define_traced_file.
16454         (_nss_db_init): Use init_traced_file.
16455         * nss/nss_files/files-init.c: Use define_traced_file.
16456         (_nss_files_init): Use init_traced_file.
16458 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
16460         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
16461         [_LIBC]: Do not include <stdlib.h>.
16462         [!_LIBC] (abort): Remove declaration.
16463         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
16464         _FP_STATIC_ASSERT instead of conditionally calling abort.
16465         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
16466         (_FP_EXTEND_CNAN): Likewise.
16467         (FP_TRUNC): Likewise.
16468         (__FP_CLZ): Likewise.
16469         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
16471 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
16473         * manual/string.texi (XPG basename): Fix prototype.
16475 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16477         [BZ #18080]
16478         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
16479         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
16480         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
16481         (__setcontext): Likewise.
16482         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
16483         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
16484         Call rt_sigprocmask syscall one time to set new signal mask
16485         and retrieve the current signal mask instead of two calls.
16486         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
16487         (__swapcontext): Likewise.
16488         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
16489         * stdlib/tst-setcontext2.c: New file.
16491 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16493         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16495 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
16497         [BZ #18093]
16498         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
16499         the wrong size.
16501 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16503         [BZ #18043]
16504         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
16506 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16508         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
16509         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
16510         Remove define.
16511         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
16512         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
16513         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
16514         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
16515         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
16516         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
16517         define.
16518         * nptl_db/td_symbol_list.c (td_lookup): Remove
16519         HAVE_ASM_GLOBAL_DOT_NAME code.
16520         * sysdeps/powerpc/powerpc64/configure.ac: Remove
16521         HAVE_ASM_GLOBAL_DOT_NAME check.
16522         * sysdeps/powerpc/powerpc64/configure: Regenerate.
16523         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
16524         (DOT_LABEL): Remove define.
16525         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
16526         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
16527         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
16528         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
16529         (__TLS_GET_ADDR): Likewise.
16530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
16531         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
16533 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
16535         [BZ #18111]
16536         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
16537         (_FPU_SETCW): Initialize cw from fpsr before storing.
16538         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
16539         (fesetexceptflag): Rewrite using fpu_control.h.
16540         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
16542 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
16544         [BZ #18110]
16545         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
16546         asms.
16547         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16549 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
16551         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
16552         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
16553         abort.
16554         (_FP_FMA): Likewise.
16555         (_FP_DIV): Likewise.
16557 2015-03-10  Roland McGrath  <roland@hack.frob.com>
16559         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
16560         with 0 in that case.
16561         * Makefile (summarize-tests): New canned sequence, factored out of
16562         commands for targets tests and xtests.  Display summary lines that
16563         don't start with PASS: or XFAIL: rather than ones that do start with
16564         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
16565         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
16566         do start with ERROR: or FAIL:.
16567         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
16568         (except for [$(build-shared) = yes]).
16569         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
16570         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
16571         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
16572         * nptl/Makefile: Revert 2015-03-04 changes.
16573         [$(CXX) empty] (tests-unsupported): New variable.
16574         * debug/Makefile: Likewise.
16576         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
16577         gnulib file.  Replace __attribute with __attribute__ throughout.
16579 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
16581         * sysdeps/hppa/fpu/libm-test-ulps: Update.
16583 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16585         [BZ #18104]
16586         * math/auto-libm-test-in: Add another test of pow.
16587         * math/auto-libm-test-out: Regenerated.
16589 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16591         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
16592         $(config-cflags-nofma).
16594 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16596         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
16597         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
16598         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
16599         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
16600         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
16601         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
16602         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
16603         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
16604         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
16605         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
16606         Add comment on closing #endif.
16608 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16610         * posix/wordexp.c (CHAR_IN_SET): New macro.
16611         (parse_param): Use it.
16613 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16615         * sysdeps/powerpc/fpu/libm-test-ulps: update.
16617 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16619         [BZ #18043]
16620         * posix/wordexp.c (parse_param): Fix buffer overflow.
16621         * posix/wordexp-test.c (test_case): Add test case.
16623 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16625         [BZ #18042]
16626         * posix/wordexp.c (parse_backtick): Fix off-by-one.
16627         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
16629 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16631         [BZ #18043]
16632         * posix/wordexp-test.c (test_case): Add test for BZ #18043
16633         (do_bz18043): Delete.
16634         (at_page_end): New.
16635         (testit): Refactor to have words at the edge of unreadable page.
16637 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16639         [BZ #16734]
16640         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
16641         Cleanup read-only streams as well.
16642         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
16644 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16646         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
16647         <bits/libc-lockP.h>
16649 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
16651         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
16652         on [__KERNEL__].
16653         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
16654         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
16655         * soft-fp/op-common.h (_FP_DECL): Likewise.
16657 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16659         * elf/ifuncdep2.c (global): Replace
16660         __attribute__((visibility("protected"))) with
16661         asm (".protected global").
16662         * elf/ifuncmod1.c (global): Likewise.
16663         * elf/ifuncmod5.c (global): Likewise.
16665 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
16667         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
16668         <asm/sfp-machine.h> instead of <sfp-machine.h>.
16670 2015-03-06  Roland McGrath  <roland@hack.frob.com>
16672         * manual/install.texi (Configuring and compiling):
16673         Document test-wrapper-env-only.
16674         * INSTALL: Regenerated.
16676 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16678         [BZ #18043]
16679         * posix/wordexp.c (parse_param): Fix buffer overflow.
16680         * posix/wordexp-test.c (do_bz18043): Add test case.
16682 2015-03-06  Vincent Bernat  <vincent@bernat.im>
16684         * time/tst-strptime2.c (do_test): Ensure failing tests are
16685         reported correctly.
16686         * time/tst-strptime3.c (do_test): Likewise.
16688 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
16690         Fix aio_error thread-safety.
16691         * sysdeps/pthread/aio_error.c: New file
16692         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
16693         synchronization.
16695 2015-03-06  Florian Weimer  <fweimer@redhat.com>
16697         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
16698         (group_number, vfprintf): Use it.
16699         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
16700         (JUMP, REF): Use it.
16701         (WORK_BUFFER_SIZE): New enum constant.
16702         (process_arg, vfprintf): Use it.
16704 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
16706         * manual/errno.texi (Error Messages): Complete example function
16707         by adding missing #define.
16708         (program_invocation_name): Add statement indicating GNU
16709         extension and reference which header file declares the variable.
16710         (program_invocation_short_name): Likewise.
16712 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
16714         * manual/errno.texi (Error Messages): Delete strerror ISO C89
16715         compatibility note.
16717 2015-03-05  Roland McGrath  <roland@hack.frob.com>
16719         * Makeconfig (test-wrapper-env-only): New variable.
16720         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
16721         then use that with $(test-wrapper-env-only) rather than using
16722         $(test-wrapper-env) $(run-program-env) $($*-ENV).
16724 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
16726         [BZ #18082]
16727         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
16728         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
16729         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
16730         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
16731         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
16732         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
16733         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
16734         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
16735         Likewise.
16736         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
16737         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
16738         Likewise.
16739         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
16740         Likewise.
16741         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
16742         Likewise.
16743         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
16744         Likewise.
16745         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
16746         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
16747         Likewise.
16748         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
16749         Likewise.
16750         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
16751         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
16753 2015-03-04  Roland McGrath  <roland@hack.frob.com>
16755         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
16756         (ETH_ALEN): New macro.
16757         (struct ether_addr): Use it for length of ether_addr_octet.
16759         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
16760         (setdb): Don't call __nss_configure_lookup for "rpc".
16761         (do_test): Don't call test_rpc.
16762         (output_rpcent, test_rpc): Functions moved ...
16763         * sunrpc/test-rpcent.c: ... to this new file.
16764         * sunrpc/Makefile (tests): Add it.
16766         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
16767         __xpg_sigpause.
16768         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
16769         * nptl/tst-signal6.c: Likewise.
16770         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
16771         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
16773         * configure.ac (libc_cv_cxx_link_ok): New check.
16774         Reset CXX to empty if it fails to link.
16775         * configure: Regenerated.
16776         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
16777         bug-atexit3-lib only if $(CXX) is nonempty.
16778         * nptl/Makefile (tests): Likewise for tst-cancel24.
16779         (tests, tests-static): Likewise for tst-cancel24-static.
16780         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
16781         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
16782         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
16783         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
16785 2015-03-04  Andreas Schwab  <schwab@suse.de>
16787         [BZ #17631]
16788         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
16789         for non-GCC compilers.
16790         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16791         Likewise.
16793 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16795         [BZ #17776]
16796         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
16797         integer before bitwise and assembly operations.
16798         (feclearexcept): Likewise.
16799         * math/test-fenvinline.c: New file.
16800         * math/Makefile: Add test-fenvinline test.
16802 2015-03-03  Alan Modra  <amodra@gmail.com>
16804         [BZ #16512]
16805         * scripts/localplt.awk: Strip off symbol version.
16806         * NEWS: Mention bug fix.
16808 2015-03-02  Roland McGrath  <roland@hack.frob.com>
16810         * sysdeps/pthread/timer_routines.c
16811         (timer_free_list, thread_free_list, thread_active_list): Make static.
16813 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
16815         [BZ #17779]
16816         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16817         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16818         Undefine.
16819         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16820         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16821         Likewise.
16822         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16823         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16824         Likewise.
16826 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16828         [BZ #18036]
16829         * posix/fnmatch_loop.c (END): Detect invalid pattern.
16830         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16832 2015-03-02  Andreas Schwab  <schwab@suse.de>
16834         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16835         variable name.
16837 2015-03-02  Florian Weimer  <fweimer@redhat.com>
16839         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16840         Return error status.
16842 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
16844         [BZ #15969]
16845         * locale/findlocale.c (_nl_find_locale): Introduce const
16846         version of loc_name and drop unsafe type casts.
16848 2015-02-27  Roland McGrath  <roland@hack.frob.com>
16850         * dlfcn/tststatic2.c (main): Converted to ...
16851         (do_test): ... this.
16852         (TEST_FUNCTION): New macro.
16853         Include test-skeleton.c.
16855 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
16857         [BZ #17711]
16858         * elf/Makefile (tests): Add vismain only if PIE is enabled.
16859         (tests-pie): Add vismain.
16860         (CFLAGS-vismain.c): New.
16861         * elf/vismain.c: Add comments for PIE requirement.
16863 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16865         [BZ #18046]
16866         [BZ #18047]
16867         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16868         0x1p-56L as threshold for just returning the argument.
16869         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16870         0x1p-32L as threshold for just returning the argument.
16871         * math/auto-libm-test-in: Add more tests of atanh.
16872         * math/auto-libm-test-out: Regenerated.
16873         * sysdeps/i386/fpu/libm-test-ulps: Update.
16874         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
16876 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16878         * string/bcopy.c (bcopy): Call memmove for performance.
16880 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16882         * string/bzero.c (__bzero): Call memset for performance.
16884 2015-02-27  John David Anglin  <dave.anglin@bell.net>
16886         [BZ #18068]
16887         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
16888         to 00100000.
16890 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16892         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
16894 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16896         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
16897         (__kernel_standard): Use CSTR macro when setting exc.name.
16898         * sysdeps/ieee754/Makefile [$(subdir) = math]
16899         (CFLAGS-k_standard.c): Remove variable.
16901         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
16902         setting p and q from "else if" to "else".
16903         (qzero): Likewise.
16904         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
16905         (qone): Likewise.
16906         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
16907         (qzerof): Likewise.
16908         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
16909         (qonef): Likewise.
16910         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
16911         (qzero): Likewise.
16912         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
16913         (qone): Likewise.
16915         [BZ #18038]
16916         [BZ #18039]
16917         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
16918         return pi/2 for arguments below 0x1p-113L.
16919         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
16920         return pi/2 for arguments below 0x1p-106L.
16921         * math/auto-libm-test-in: Add more tests of acos.
16922         * math/auto-libm-test-out: Regenerated.
16924         [BZ #16351]
16925         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
16926         (MO): New macro.
16927         (__ieee754_asin): Force underflow exception for results with small
16928         absolute value.
16929         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
16930         (MO): New macro.
16931         (__ieee754_asinf): Force underflow exception for results with
16932         small absolute value.
16933         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
16934         (__ieee754_asin): Force underflow exception for results with small
16935         absolute value.
16936         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16937         (__ieee754_asinf): Force underflow exception for results with
16938         small absolute value.
16939         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
16940         (__ieee754_asinl): Force underflow exception for results with
16941         small absolute value.
16942         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
16943         (__ieee754_asinl): Force underflow exception for results with
16944         small absolute value.
16945         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
16946         (__ieee754_asinl): Force underflow exception for results with
16947         small absolute value.
16948         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16949         Include <math.h>.
16950         * math/auto-libm-test-in: Do not mark underflow exceptions as
16951         possibly missing for bug 16351.
16952         * math/auto-libm-test-out: Regenerated.
16954         [BZ #18030]
16955         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
16956         of power of 2 down when low part has opposite sign.
16957         * math/libm-test.inc (logb_test_data): Add more tests.
16959 2015-02-26  Andreas Schwab  <schwab@suse.de>
16961         [BZ #18032]
16962         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16963         over collating symbol inside a bracket expression.  Minor cleanup.
16964         * posix/tst-fnmatch3.c (do_test): Add test case.
16966 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16968         [BZ #18029]
16969         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
16970         Adjust exponent of power of 2 down when low part has opposite
16971         sign.
16972         * math/libm-test.inc (ilogb_test_data): Add more tests.
16974 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
16976         [BZ #15969]
16977         * locale/findlocale.c (_nl_find_locale): Fix constness error in
16978         the previous change.
16980         [BZ #15969]
16981         * locale/findlocale.c (_nl_find_locale): Retry archive search
16982         after alias expansion.
16984 2015-02-25  Roland McGrath  <roland@hack.frob.com>
16986         * iconv/tst-iconv3.c (main): Converted to ...
16987         (do_test): ... this.
16988         (TEST_FUNCTION): New macro.
16989         Include test-skeleton.c.
16991         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
16992         (convert): Make function static.
16993         (test_unalign): Likewise.  Add const to argument pointee types.
16994         (main): Replace with static function do_test.
16995         Print "Succeeded." only if RET is zero.
16996         (TEST_FUNCTION): New macro.
16997         Include test-skeleton.c.
16999         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
17000         returns a null pointer.
17002 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17004         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
17005         to __memcpy_ppc only for static builds.
17007 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
17009         [BZ #18020]
17010         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
17011         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
17012         * math/auto-libm-test-in: Add more tests of asinh.
17013         * math/auto-libm-test-out: Regenerated.
17014         * sysdeps/i386/fpu/libm-test-ulps: Update.
17015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17017 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
17019         [BZ #15850]
17020         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
17021         and ip6_mtuinfo definitions here.
17022         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
17023         in this define too.  Update comment.
17025 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
17027         * elf/sprof.c (load_shobj): Tweak error message to match others.
17029 2015-02-24  Kevin Easton  <kevin@guarana.org>
17031         [BZ #16145] (partial fix)
17032         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
17033         to reduce lock contention.
17035 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
17037         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
17038         (struct timex): Update time comment.
17039         (ADJ_SETOFFSET): Define.
17041 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17043         [BZ #18019]
17044         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17045         2**56 not 2**28 as threshold for log (2x) formula.
17046         * math/auto-libm-test-in: Add more tests of acosh.
17047         * math/auto-libm-test-out: Regenerated.
17048         * sysdeps/i386/fpu/libm-test-ulps: Update.
17049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17051 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17053         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
17054         parenthesis around the buf assignment.
17055         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
17057 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17059         [BZ #16783]
17060         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
17061         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
17062         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
17063         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17064         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17065         * math/libm-test.inc (scalb_test_data): Add more tests.
17067 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17069         [BZ #17916]
17070         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
17071         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
17073 2015-02-24  Eric Rannaud  <e@nanocritical.com>
17075         [BZ #17523]
17076         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
17077         * io/bits/fcntl2.h (open): Use it.
17078         (openat): Likewise.
17079         * io/open.c (__libc_open): Likewise.
17080         * io/open64.c (__libc_open64): Likewise.
17081         * io/open64_2.c (__open64_2): Likewise.
17082         * io/open_2.c (__open_2): Likewise.
17083         * io/openat.c (__openat): Likewise.
17084         * io/openat64.c (__openat64): Likewise.
17085         * io/openat64_2.c (__openat64_2): Likewise.
17086         * io/openat_2.c (__openat_2): Likewise.
17087         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
17088         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17089         * sysdeps/posix/open64.c (__libc_open64): Likewise.
17090         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17091         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17092         (__open_nocancel): Likewise.
17093         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17094         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17095         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
17097 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17099         [BZ #14841]
17100         * resolv/gethnamaddr.c (getanswer): Skip logging if
17101         RES_USE_DNSSEC is set.
17102         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17104 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17106         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
17108 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
17110         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
17111         201304L, for Unicode 7.
17113 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
17115         [BZ #17836]
17116         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
17117         shared library.  Add gmon-start.os otherwise.
17118         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
17119         $(objpfx)gmon-start.os if builing shared library.
17120         ($(objpfx)g$(static-start-installed-name)): Likewise.
17122 2015-02-23  Andreas Schwab  <schwab@suse.de>
17124         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
17126 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17128         [BZ #17269]
17129         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
17130         (enlarge_userbuf): Likewise.
17132 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
17134         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
17135         * math/atest-exp.c (TIMEOUT): Adjust to 200.
17136         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
17137         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
17139 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
17141         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
17142         expression inside statement expression.
17144 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17146         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
17147         <sysdeps/nptl/lowlevellock.h> and remove macros and
17148         functions that are now defined there.
17149         (SYS_futex): Remove.
17150         (lll_compare_and_swap): Remove.
17151         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
17153 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
17155         [BZ #17999]
17156         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
17157         instead of scandirat.
17158         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
17159         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
17160         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
17161         __scandirat.
17162         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
17163         (__scandirat): Declare.  Use libc_hidden_proto.
17164         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
17165         Remove variable.
17166         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17168 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
17170         [BZ #15319]
17171         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
17172         (MO): New macro.
17173         (__ieee754_atan2): For results with small absolute value, force
17174         underflow exception and remove excess range and precision from
17175         return value.
17176         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
17177         (MO): New macro.
17178         (__ieee754_atan2f): For results with small absolute value, force
17179         underflow exception and remove excess range and precision from
17180         return value.
17181         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
17182         (MO): New macro.
17183         (__atan): For results with small absolute value, force underflow
17184         exception and remove excess range and precision from return value.
17185         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
17186         (MO): New macro.
17187         (__atanf): For results with small absolute value, force underflow
17188         exception and remove excess range and precision from return value.
17189         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
17190         <math.h>.
17191         (__ieee754_atan2): Force underflow exception for results with
17192         small absolute value.
17193         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
17194         <math_private.h>.
17195         (atan): Force underflow exception for results with small absolute
17196         value.
17197         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
17198         (__atanf): Force underflow exception for results with small
17199         absolute value.
17200         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
17201         <math.h>.
17202         (__atanl): Force underflow exception for results with small
17203         absolute value.
17204         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
17205         (__atanl): Force underflow exception for results with small
17206         absolute value.
17207         * sysdeps/x86/fpu/bits/mathinline.h
17208         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
17209         (__ieee754_atan2): Only define inline for long double.
17210         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
17211         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
17212         * math/auto-libm-test-in: Do not mark underflow exceptions as
17213         possibly missing for bug 15319.  Add more tests of atan2.
17214         * math/auto-libm-test-out: Regenerated.
17215         * math/libm-test.inc (casin_test_data): Do not mark underflow
17216         exceptions as possibly missing for bug 15319.
17217         (casinh_test_data): Likewise.
17218         * sysdeps/i386/fpu/libm-test-ulps: Update.
17220 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
17222         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
17223         * sysdeps/mips/bits/endian.h: Fix comments.
17225 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
17227         [BZ #17996]
17228         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
17229         (hdestroy_r): Likewise.
17230         (hsearch_r): Likewise.
17231         (__hcreate_r): Declare and use libc_hidden_proto.
17232         (__hdestroy_r): Likewise.
17233         (__hsearch_r): Likewise.
17234         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
17235         (hcreate): Call __hcreate_r instead of hcreate_r.
17236         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
17237         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
17238         as weak alias of __hcreate_r.
17239         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
17240         __hdestroy_r.
17241         (hsearch_r): Rename to __hsearch_r and define as weak alias of
17242         __hsearch_r.
17243         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
17244         Remove variable.
17245         (test-xfail-XPG4/search.h/linknamespace): Likewise.
17246         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17247         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17248         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
17250 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17252         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
17253         arena_lock into a single arena_get.
17255 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
17257         * dl-reloc.c: Inlucde libc-internal.h.
17258         (_dl_try_allocate_static_tls): Call ALIGN_UP.
17259         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
17260         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
17261         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
17262         (grow_heap): Likewise.
17263         * malloc/malloc.c: Include libc-internal.h.
17264         (do_check_malloc): Call powerof2.
17265         (sysmalloc): Use pagesize. Call ALIGN_UP.
17266         (systrim): Use pagesize.
17267         (mremap_chunk): Use pagesize. Call ALIGN_UP.
17268         (__libc_valloc): Use pagesize.
17269         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
17271 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
17273         [BZ #17991]
17274         * include/sys/resource.h (__getrlimit64): Declare.  Use
17275         libc_hidden_proto.
17276         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
17277         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
17278         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
17279         getrlimit64.
17280         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
17281         __getrlimit64.
17282         [!getrlimit64] (getrlimit64): Define as weak alias of
17283         __getrlimit64.  Use libc_hidden_weak.
17284         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
17285         using __getrlimit64 not __new_getrlimit64.
17286         (__GI_getrlimit64): Likewise.
17287         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
17288         Likewise.
17289         (__GI_getrlimit64): Likewise.
17290         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
17291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
17292         (getrlimit): Add __getrlimit64 alias.
17293         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
17294         Likewise.
17295         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
17296         Remove variable.
17297         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17298         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17300 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
17302         * libio/fileops.c: Add missing sys/mman.h
17303         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
17305 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
17307         * manual/math.texi (Errors in Math Functions): Clarify goals
17308         regarding inexact and underflow exceptions.
17310 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
17312         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
17313         * sysdeps/mips/memset.S: Ditto.
17315 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
17317         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
17319 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17321         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
17322         (__v1longjmp): Remove versioned symbol.
17323         (__v1siglongjmp): Remove alias and versioned symbol.
17324         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
17325         (__v2siglongjmp): Likewise.
17327 2015-02-16  Torvald Riegel  <triegel@redhat.com>
17329         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
17331 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
17333         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
17335 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
17337         [BZ #17987]
17338         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
17339         zero result does not depend on the sign resulting from
17340         subtraction.
17341         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17342         Likewise.
17343         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17344         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17345         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17346         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17347         * math/libm-test.inc (remquo_test_data): Add more tests.
17349 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
17351         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
17352         Problem reported by J William Piggott.
17354 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
17356         [BZ #17978]
17357         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
17358         products 4 * y and 2 * y where those would overflow.
17359         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17360         Likewise.
17361         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17362         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17363         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17364         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17365         * math/libm-test.inc (remquo_test_data): Add more tests.
17367         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
17369         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
17370         [defined _COMPILING_NEWLIB].
17371         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
17372         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
17374         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
17375         [!defined __mips_isa_rev || __mips_isa_rev < 6].
17377 2015-02-16  Torvald Riegel  <triegel@redhat.com>
17379         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
17380         acquired.
17382 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
17384         [BZ #17792]
17385         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
17386         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
17387         HOST_STACK_END_ADDR): Likewise.
17389 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
17391         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
17392         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
17393         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
17395 2015-02-13  Roland McGrath  <roland@hack.frob.com>
17397         * sysdeps/generic/c++-types.data: New file.
17398         * sysdeps/generic/ld.abilist: New file.
17399         * sysdeps/generic/libBrokenLocale.abilist: New file.
17400         * sysdeps/generic/libanl.abilist: New file.
17401         * sysdeps/generic/libc.abilist: New file.
17402         * sysdeps/generic/libcrypt.abilist: New file.
17403         * sysdeps/generic/libdl.abilist: New file.
17404         * sysdeps/generic/libm.abilist: New file.
17405         * sysdeps/generic/libpthread.abilist: New file.
17406         * sysdeps/generic/libresolv.abilist: New file.
17407         * sysdeps/generic/librt.abilist: New file.
17409 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
17411         [BZ #17569]
17412         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17413         Compute absolute value of x as modified by fmod, not original
17414         value of x.
17415         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
17416         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
17417         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
17418         RUN_TEST_ffI_f1_mod8.
17419         (remquo_test_data): Add more tests.
17421 2015-02-13  Roland McGrath  <roland@hack.frob.com>
17423         * sysdeps/init_array/pt-crti.S: New file.
17425 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
17427         [BZ #17967]
17428         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
17429         __builtin_fmaf instead of relying on contraction of a * b + c.
17431 2015-02-12  J William Piggott  <elseifthen@gmx.com>
17433         [BZ #17969]
17434         * manual/time.texi: correct the zoneinfo path in the TZ Variable
17435         node.
17437 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
17439         [BZ #17964]
17440         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
17441         __builtin_fma instead of relying on contraction of a * b + c.
17443 2015-02-12  Roland McGrath  <roland@hack.frob.com>
17445         * Makeconfig (ASFLAGS): Add -Werror=undef.
17446         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
17447         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
17448         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
17450         * Makeconfig (after-link): New variable.
17451         (+link-pie, +link-pie-tests): Use it.
17452         (+link-static, +link-static-tests): Likewise.
17453         (+link, +link-tests): Likewise.
17454         * Makerules (build-module, build-module-asneeded): Likewise.
17455         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
17456         Likewise.
17457         * elf/Makefile ($(objpfx)ld.so): Likewise.
17459 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
17461         [BZ #17965]
17462         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
17463         both struct timeval and struct timespec.
17465 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
17467         [BZ #16560]
17468         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17469         and redefine.
17470         (__ieee754_exp2l): Do not multiply small fractional parts by
17471         M_LN2l.
17472         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
17473         small argument.
17474         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17475         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17476         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
17477         * math/auto-libm-test-in: Add more tests of exp2.
17478         * math/auto-libm-test-out: Regenerated.
17480 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17482         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
17483         unaligned path.
17485 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17487         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
17488         little endian.
17490 2015-02-12  Andreas Schwab  <schwab@suse.de>
17492         [BZ #15790]
17493         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17494         Filter out elision flags from value returned in kind.
17495         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
17496         * nptl/tst-pthread-mutexattr.c: New file.
17498 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17500         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
17501         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
17502         into gnu-gnu, and update comment to refer to abi-tags.
17504 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
17506         [BZ #15467]
17507         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
17508         (__sincos): Set errno to EDOM for infinite argument.
17509         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
17510         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
17511         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
17512         (__sincosl): Set errno to EDOM for infinite argument.
17513         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
17514         (__sincosl): Set errno to EDOM for infinite argument.
17515         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
17516         (__sincosl): Set errno to EDOM for infinite argument.
17517         * math/libm-test.inc (sincos_test_data): Test errno setting.
17519 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
17521         * string/strxfrm_l.c: Remove #define STRCMP.
17522         * string/strcoll_l.c: Remove #define STRLEN.
17523         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
17524         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
17526 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
17528         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
17529         * sysdeps/mips/mips32/sfp-machine.h: ... here.
17530         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
17531         * sysdeps/mips/mips64/Makefile: ... here.
17532         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
17533         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
17534         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
17535         * sysdeps/mips/mips64/sfp-machine.h: ... here.
17536         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
17537         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
17538         * sysdeps/mips/mips64/n64/Implies: Likewise.
17540 2015-02-10  Roland McGrath  <roland@hack.frob.com>
17542         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
17543         <sys/time.h>, <string.h>, and <errno.h>.
17544         (dest_offset, dest_address, value, zero): Remove unused variables.
17545         (ldouble): Remove typedef.
17546         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
17547         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
17548         1).  Fix code style.
17549         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
17550         (check): Function removed.
17551         (CHECK): New macro.
17552         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
17553         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
17554         Don't call set_sigaction_FP and remove_sigaction_FP here.
17555         (ldouble_test): Just use 'long double' as macro argument, no need for
17556         the 'ldouble' typedef.
17557         (do_test): Set up SIGFPE handler at start, using plain signal rather
17558         than sigaction.  Fix code style.
17560 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
17562         [BZ #17949]
17563         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
17564         jump label.
17566 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17568         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
17569         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17571         * sysdeps/powerpc/configure.ac: Remove file.
17572         * sysdeps/powerpc/configure: Likewise.
17574         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17575         [sysdep_routines]: Remove wordcopy-power6 object.
17576         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17577         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
17578         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
17579         (__memmove_ppc32): Likewise.
17580         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
17581         file.
17582         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
17583         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
17584         Remove preprocessor.
17586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17587         [sysdep_routines]: Remove wide chars objects.
17588         [wcsmbs]: New rule for wide char objects.
17590         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17591         Remove wordcopy-power6 obejct.
17592         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
17593         Use local call for wordcopy and memcpy symbols.
17594         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
17595         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
17596         implementation for loader.
17597         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
17599         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17600         Remove wordcopy-power7 object.
17601         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
17602         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
17603         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
17604         (_wordcopy_fwd_dest_aligned): Likewise.
17605         (_wordcopy_bwd_aligned): Likewise.
17606         (_wordcopy_bwd_dest_aligned): Likewise.
17608         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
17609         Rewrite to call __memmove_ppc instead of include default
17610         implementation.
17612         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17613         Remove wide chars objects.
17614         [wcsmbs]: New rule for wide char objects.
17616 2015-02-09  Andreas Schwab  <schwab@suse.de>
17618         [BZ #17912]
17619         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17620         in terms of __O_DIRECTORY.
17622 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17624         * time/getdate.c: Include <stdbool.h>.
17625         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
17626         call PTR_MANGLE.
17627         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
17628         PTR_DEMANGLE.
17630 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
17632         Add ersatz _Static_assert on older C hosts
17633         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
17634         pre-C11 C platform that is not known to support _Static_assert.
17636 2015-02-07  Richard Braun  <rbraun@sceen.net>
17638         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
17639         sigstate.
17640         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
17642 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17644         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
17645         priority against unexistent AIO_PRIO_DELTA_MAX.
17646         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
17647         instead of int.
17648         * misc/fchflags.c (fchflags): Likewise.
17649         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
17650         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
17651         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
17652         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
17653         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
17654         Declare macros.
17655         [__USE_MISC] (chflags, fchflags): Declare functions.
17656         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
17657         EINVAL when nfds is greater than FD_SETSIZE.
17658         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
17659         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
17660         45.
17661         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
17662         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
17663         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
17664         MACH_RCV_TIMED_OUT.
17665         * hurd/hurd/signal.h (_hurd_self_sigstate,
17666         _hurd_critical_section_lock, _hurd_critical_section_unlock):
17667         Explicit casts from void *.
17668         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
17669         * abi-tags: Rename gnu-gnu os into gnu.
17671         [BZ #4719]
17672         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
17673         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
17674         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
17675         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
17676         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
17677         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
17679         [BZ #17944]
17680         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
17681         duplicates ADDR->sun_path with sockaddr LEN limitation.
17682         * sysdeps/mach/hurd/connect.c: Include <string.h>
17683         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
17684         * sysdeps/mach/hurd/sendmsg.c: Likewise.
17685         * sysdeps/mach/hurd/sendto.c: Likewise.
17686         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
17687         implementing it by hand.
17689 2015-02-06  Roland McGrath  <roland@hack.frob.com>
17691         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
17692         Use sfi_breg on ldr.
17693         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
17694         Likewise.
17696         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
17697         it's defined.
17698         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
17699         Test SIGSETXID only if it's defined.
17701         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
17703         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
17704         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
17706         * nptl/tst-align2.c: Moved ...
17707         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
17708         * nptl/Makefile (tests): Remove tst-align2.
17709         * sysdeps/unix/sysv/linux/Makefile
17710         [$(subdir) = nptl] (tests): Add tst-align-clone.
17711         * nptl/tst-getpid1.c: Moved ...
17712         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
17713         * nptl/tst-getpid2.c: Moved ...
17714         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
17715         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
17716         * sysdeps/unix/sysv/linux/Makefile
17717         [$(subdir) = nptl] (tests): ... here.
17718         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
17719         * sysdeps/unix/sysv/linux/Makefile
17720         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
17722         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
17723         Drop trailing \n from perror argument.  Use return rather than exit.
17725         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
17726         on [SA_SIGINFO].
17727         * nptl/tst-cancel21.c (do_test): Likewise.
17728         * debug/tst-backtrace6.c: Include <signal.h> first thing.
17729         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
17730         [!SA_SIGINFO]: Make it a stub test.
17732         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
17733         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
17735         * posix/tst-getlogin.c: Move to ...
17736         * login/tst-getlogin.c: ... here.
17737         * posix/Makefile (tests): Move tst-getlogin to ...
17738         * login/Makefile (tests): ... here.
17740         * libio/tst-atime.c (do_test): Move local variables SV and E
17741         inside [ST_NOATIME] conditional.
17743         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
17745         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
17747         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
17748         (wait_code): New function replaces macro.
17749         Call nanosleep rather than syscall.
17751         * nptl/pt-system.c: Rewritten.  Put everything under
17752         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17753         Use IFUNC to redirect when possible.
17755         * nptl/pt-longjmp.c: Rewritten.  Put everything under
17756         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17757         Use IFUNC to redirect when possible.
17759         * nptl/pt-fork.c: Rewritten.  Put everything under
17760         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17761         Use IFUNC to redirect when possible.
17762         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
17764         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
17765         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
17766         unconditionally nowadays.  This included the only reference to
17767         __vdso_clock_gettime that appears outside libc proper.
17768         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
17769         Remove version set (containing only __vdso_clock_gettime).
17770         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17771         Add attribute_hidden.
17772         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17773         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
17774         libc_hidden_data_def.
17775         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17776         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17778         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
17779         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
17780         setrpcent, and getrpcport to ...
17781         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
17782         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
17783         getrpcbynumber_r, and getrpcent_r to ...
17784         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
17785         * inet/getrpcbyname.c: Moved ...
17786         * sunrpc/getrpcbyname.c: ... here.
17787         * inet/getrpcbyname_r.c: Moved ...
17788         * sunrpc/getrpcbyname_r.c: ... here.
17789         * inet/getrpcbynumber.c: Moved ...
17790         * sunrpc/getrpcbynumber.c: ... here.
17791         * inet/getrpcbynumber_r.c: Moved ...
17792         * sunrpc/getrpcbynumber_r.c: ... here.
17793         * inet/getrpcent.c: Moved ...
17794         * sunrpc/getrpcent.c: ... here.
17795         * inet/getrpcent_r.c: Moved ...
17796         * sunrpc/getrpcent_r.c: ... here.
17797         * inet/Makefile (routines): Move those to ...
17798         * sunrpc/Makefile (routines): ... here.
17799         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
17800         the $(subdirs) list.
17801         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
17802         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
17803         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
17804         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
17806         * elf/Makefile (routines): Include $(all-dl-routines), not just
17807         $(dl-routines).
17808         (rtld-routines): Likewise.  Use = rather than :=.
17809         * sysdeps/aarch64/Makefile [$(subdir) = elf]
17810         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17811         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17812         * sysdeps/arm/Makefile: Likewise.
17813         * sysdeps/i386/Makefile: Likewise.
17814         * sysdeps/x86_64/Makefile: Likewise.
17815         * sysdeps/hppa/Makefile [$(subdir) = elf]
17816         (sysdep_routines, sysdep-rtld-routines): Don't add
17817         $(sysdep-dl-routines) to these.
17818         * sysdeps/ia64/Makefile: Likewise.
17819         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17820         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17821         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17822         Don't add dl-static to these; sysdep-dl-routines alone is enough.
17823         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17824         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17825         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17826         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17827         * sysdeps/powerpc/Makefile [$(subdir) = elf]
17828         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17829         these; sysdep-dl-routines alone is enough.
17831 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
17833         [BZ #17932]
17834         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17835         where multiplication results in zero and third argument is finite
17836         and nonzero.
17837         * math/auto-libm-test-in: Add more tests of fma.
17838         * math/auto-libm-test-out: Regenerated.
17840         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17841         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17842         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17843         (_FP_CMP_EQ): Likewise.
17844         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17846         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17847         extra argument CHECK_NAN.  Redefine as wrapper around
17848         _FP_EXTEND_CNAN.
17850 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
17852         * version.h (RELEASE): Set to "stable".
17853         (VERSION): Set to "2.21"
17854         * include/features.h (__GLIBC_MINOR__): Set to 21.
17856         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17858 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17859             Paul Eggert  <eggert@cs.ucla.edu>
17861         [BZ #16618]
17862         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17863         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17864         size in bytes. Store needed elements in wpmax. Use needed size
17865         in bytes for extend_alloca.
17867 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
17869         * manual/install.texi: Latest tested versions are GCC 4.9.2,
17870         binutls 2.25, and texinfo 5.2.
17871         * INSTALL: Regenerate.
17872         * sysdeps/nios2/configure: Regenerate.
17873         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
17874         * manual/contrib.texi: Update.
17875         * po/be.po: Update.
17876         * po/bg.po: Update.
17877         * po/ca.po: Update.
17878         * po/cs.po: Update.
17879         * po/da.po: Update.
17880         * po/de.po: Update.
17881         * po/el.po: Update.
17882         * po/eo.po: Update.
17883         * po/es.po: Update.
17884         * po/fi.po: Update.
17885         * po/fr.po: Update.
17886         * po/gl.po: Update.
17887         * po/hr.po: Update.
17888         * po/hu.po: Update.
17889         * po/ia.po: Update.
17890         * po/id.po: Update.
17891         * po/it.po: Update.
17892         * po/ja.po: Update.
17893         * po/ko.po: Update.
17894         * po/lt.po: Update.
17895         * po/nb.po: Update.
17896         * po/nl.po: Update.
17897         * po/pl.po: Update.
17898         * po/pt_BR.po: Update.
17899         * po/ru.po: Update.
17900         * po/rw.po: Update.
17901         * po/sk.po: Update.
17902         * po/sl.po: Update.
17903         * po/sv.po: Update.
17904         * po/tr.po: Update.
17905         * po/uk.po: Update.
17906         * po/vi.po: Update.
17907         * po/zh_CN.po: Update.
17908         * po/zh_TW.po: Update.
17910         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
17911         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
17912         * sysdeps/hppa/dl-irel.h: Remove #warning.
17913         * sysdeps/hppa/entry.h: Provide prototype for
17914         __canonicalize_funcptr_for_compare and cast argument.
17915         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
17916         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
17917         * sysdeps/hppa/sotruss-lib.c: New file.
17918         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
17919         (atomic_compare_and_exchange_val_acq): Use __typeof__.
17920         (atomic_compare_and_exchange_bool_acq): Likewise.
17921         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
17922         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17924         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
17925         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
17926         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
17928 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
17930         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
17931         called function in non-PIC case.
17933 2015-01-31  David S. Miller  <davem@davemloft.net>
17935         * sysdeps/sparc/sparc32/bits/atomic.h
17936         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
17937         unlock not after it.
17938         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
17939         volatile register usage warnings from the compiler.
17941         * sysdeps/sparc/nptl/sem_init.c: Delete.
17942         * sysdeps/sparc/nptl/sem_post.c: Delete.
17943         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17944         * sysdeps/sparc/nptl/sem_wait.c: Delete.
17945         * sysdeps/sparc/sparc32/sem_init.c: New file.
17946         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
17947         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
17948         padding explicitly initialized.
17949         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
17950         padding for in-semaphore spinlock.
17951         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
17952         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
17953         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
17954         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
17955         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
17956         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
17957         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
17958         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17959         version.
17960         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17961         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17963 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
17965         [BZ #17801]
17966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17967         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
17968         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
17969         New.
17970         (index_AVX_Fast_Unaligned_Load): Likewise.
17971         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
17972         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
17973         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
17974         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
17975         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
17976         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
17977         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
17978         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
17979         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
17981 2015-01-29  Andreas Schwab  <schwab@suse.de>
17983         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
17985 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
17987         [BZ #17892]
17988         * nscd/nscd_stat.c (send_stats): Initialize DATA.
17990 2015-01-28  Martin Sebor  <msebor@redhat.com>
17992         * math/README.libm-test: Clarify. Add "How to read the test output."
17994 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
17996         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17997         Define to 0.
17999 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
18001         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
18002         (__HAVE_64B_ATOMICS): Define to 0.
18004 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18006         [BZ #17885]
18007         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
18008         value to set as new flag.
18010         [BZ #16576]
18011         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
18012         and use _ARCH_PPCSQ instead.
18013         (__ieee754_sqrt): Likewise.
18014         (__ieee754_sqrtf): Likewise.
18015         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
18016         _ARCH_PPCSQ is defined.
18017         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
18018         fsqrt instruction.
18019         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
18020         _ARCH_PPCSQ is defined.
18021         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
18022         fsqrts instruction.
18023         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
18025 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18027         * iconv/loop.c: Suppress array out of bound warning caused by GCC
18028         bug (GCC BZ #64739).
18030 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
18032         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
18033         Mark _retval as used.
18034         (lll_futex_wake_unlock): Likewise.
18035         (lll_futex_timed_wait_requeue_pi): Likewise.
18037         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18038         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
18039         register variables.
18041         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
18042         libm_hidden_def.
18044         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
18045         (__bswap_64): Mark as __always_inline.
18047 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
18049         [BZ #15378]
18050         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
18051         when none of the search directories exist.
18053 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18055         [BZ #17869]
18056         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
18057         power8 in .machine directive.
18059         [BZ #17868]
18060         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
18061         set dependency from opd value.
18063 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18066         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
18067         architecture.
18069 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18071         [BZ #17870]
18072         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
18073         with uint64_t.
18074         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
18075         (uint64_t) 1.
18076         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
18077         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
18078         Replace 1UL with (uint64_t) 1.
18079         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
18080         int with uint64_t.
18082 2015-01-23  Roland McGrath  <roland@hack.frob.com>
18084         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
18085         (if_freenameindex): Likewise.
18087         * resource/getrlimit64.c: Add missing libc_hidden_def.
18089 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
18091         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
18092         __label__.
18093         (_FP_FMA): Likewise.
18094         (_FP_TO_INT_ROUND): Likewise.
18095         (_FP_FROM_INT): Likewise.
18097 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18099         [BZ #16418]
18100         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
18101         Make code racy and cancel safe.
18103 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
18105         * sysdeps/arm/unwind-resume.h: Fix copyright year.
18106         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
18107         attribution.
18109         * pwd/tst-getpw.c: Rewrite.
18111         [BZ #17702]
18112         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
18113         (modules-names): Add moddummy1 and moddummy2.
18114         ($(objpfx)tst-rec-dlopen): Define.
18115         * dlfcn/moddummy1.c: New file.
18116         * dlfcn/moddummy2.c: New file.
18117         * dlfcn/tst-rec-dlopen.c: New file.
18118         * elf/dl-cache.c (_dl_load_cache_lookup):
18119         Return char*. Copy result with alloca/strcpy/strdup.
18120         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
18121         returns char*. Free cached. If not saving realname
18122         free cached.
18123         * elf/dl-open.c (dl_open_worker): Do not assert that
18124         _r_debug->r_state is RT_CONSISTENT.
18125         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
18126         returns char*.
18128 2015-01-21  Torvald Riegel  <triegel@redhat.com>
18129             Carlos O'Donell  <carlos@redhat.com>
18131         [BZ #12674]
18132         * nptl/sem_waitcommon.c: New file.
18133         * nptl/sem_wait.c: Include sem_waitcommon.c.
18134         (__sem_wait_cleanup, do_futex_wait): Remove.
18135         (__new_sem_wait): Adapt.
18136         (__new_sem_trywait): New function.
18137         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
18138         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
18139         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
18140         (sem_timedwait): Adapt.
18141         * nptl/sem_post.c (__new_sem_post): Adapt.
18142         (futex_wake): New function.
18143         (__old_sem_post): Add release MO fence.
18144         * nptl/sem_open.c (sem_open): Adapt.
18145         * nptl/sem_init.c (__new_sem_init): Adapt.
18146         (futex_private_if_supported): New function.
18147         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
18148         (__old_sem_getvalue): Add using previous code.
18149         * sysdeps/nptl/internaltypes.h: Adapt.
18150         * nptl/tst-sem13.c (do_test): Adapt.
18151         * nptl/tst-sem11.c (main): Adapt.
18152         * nptl/sem_trywait.c: Remove.
18153         * nptl/DESIGN-sem.txt: Remove.
18154         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
18155         (gen-as-const-headers): Remove structsem.sym.
18156         * nptl/structsem.sym: Remove.
18157         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
18158         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
18159         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
18160         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
18161         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
18162         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
18163         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
18164         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
18165         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
18166         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
18167         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
18168         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
18169         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
18170         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
18171         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
18172         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
18173         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
18174         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
18175         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
18176         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
18177         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
18178         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
18180 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
18182         * INSTALL: Regenerated.
18184         * po/libc.pot: Regenerated.
18186 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
18187             Sandra Loosemore  <sandra@codesourcery.com>
18188             Andrew Jenner  <andrew@codesourcery.com>
18189             Joseph Myers  <joseph@codesourcery.com>
18190             Nathan Sidwell  <nathan@codesourcery.com>
18192         * NEWS: Mention new Nios II port.
18193         * sysdeps/nios2/Implies: New file.
18194         * sysdeps/nios2/Makefile: New file.
18195         * sysdeps/nios2/Subdirs: New file.
18196         * sysdeps/nios2/Versions: New file.
18197         * sysdeps/nios2/__longjmp.S: New file.
18198         * sysdeps/nios2/abort-instr.h: New file.
18199         * sysdeps/nios2/backtrace.c: New file.
18200         * sysdeps/nios2/bits/endian.h: New file.
18201         * sysdeps/nios2/bits/fenv.h: New file.
18202         * sysdeps/nios2/bits/link.h: New file.
18203         * sysdeps/nios2/bits/setjmp.h: New file.
18204         * sysdeps/nios2/bsd-_setjmp.S: New file.
18205         * sysdeps/nios2/bsd-setjmp.S: New file.
18206         * sysdeps/nios2/configure: New generated file.
18207         * sysdeps/nios2/configure.ac: New file.
18208         * sysdeps/nios2/crti.S: New file.
18209         * sysdeps/nios2/crtn.S: New file.
18210         * sysdeps/nios2/dl-init.c: New file.
18211         * sysdeps/nios2/dl-machine.h: New file.
18212         * sysdeps/nios2/dl-sysdep.h: New file.
18213         * sysdeps/nios2/dl-tls.h: New file.
18214         * sysdeps/nios2/dl-trampoline.S: New file.
18215         * sysdeps/nios2/gccframe.h: New file.
18216         * sysdeps/nios2/gmp-mparam.h: New file.
18217         * sysdeps/nios2/jmpbuf-offsets.h: New file.
18218         * sysdeps/nios2/jmpbuf-unwind.h: New file.
18219         * sysdeps/nios2/ldsodefs.h: New file.
18220         * sysdeps/nios2/libc-tls.c: New file.
18221         * sysdeps/nios2/libm-test-ulps: New file.
18222         * sysdeps/nios2/machine-gmon.h: New file.
18223         * sysdeps/nios2/math-tests.h: New file.
18224         * sysdeps/nios2/math_private.h: New file.
18225         * sysdeps/nios2/memusage.h: New file.
18226         * sysdeps/nios2/nptl/Makefile: New file.
18227         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
18228         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
18229         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
18230         * sysdeps/nios2/nptl/pthreaddef.h: New file.
18231         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
18232         * sysdeps/nios2/nptl/tls.h: New file.
18233         * sysdeps/nios2/preconfigure: New file.
18234         * sysdeps/nios2/s_fma.c: New file.
18235         * sysdeps/nios2/s_fmaf.c: New file.
18236         * sysdeps/nios2/setjmp.S: New file.
18237         * sysdeps/nios2/sfp-machine.h: New file.
18238         * sysdeps/nios2/sotruss-lib.c: New file.
18239         * sysdeps/nios2/stackguard-macros.h: New file.
18240         * sysdeps/nios2/stackinfo.h: New file.
18241         * sysdeps/nios2/start.S: New file.
18242         * sysdeps/nios2/sysdep.h: New file.
18243         * sysdeps/nios2/tls-macros.h: New file.
18244         * sysdeps/nios2/tst-audit.h: New file.
18245         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
18246         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
18247         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
18248         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
18249         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
18250         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
18251         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
18252         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
18253         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
18254         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
18255         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
18256         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
18257         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
18258         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
18259         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
18260         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
18261         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
18262         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
18263         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
18264         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
18265         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
18266         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
18267         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
18268         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
18269         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
18270         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
18271         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
18272         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
18273         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
18274         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
18275         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
18276         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
18277         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
18278         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
18279         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
18280         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
18281         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
18282         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
18283         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
18284         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
18285         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
18286         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
18287         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
18288         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
18290 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18292         [BZ #17844]
18293         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
18294         (getutent): Use weak_alias in non SHARED case
18295         and default_symbol_version in SHARED case.
18296         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
18297         (getutent_r, pututline): Likewise.
18298         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
18299         (getutid): Likewise.
18300         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
18301         (getutid_r): Likewise.
18302         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
18303         (getutline): Likewise.
18304         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
18305         (getutline_r): Likewise.
18306         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
18307         (updwtmp): Likewise.
18309 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18311         [BZ #17848]
18312         * sysdeps/s390/s390-32/memcmp.S
18313         (memcmp_g5): Rename to __memcmp_g5.
18314         * sysdeps/s390/s390-32/memcpy.S
18315         (memcpy_g5): Rename to __memcpy_g5.
18316         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18317         (memcpy_mvcle) Rename to __memcpy_mvcle.
18318         * sysdeps/s390/s390-32/memset.S
18319         (memset_g5): Rename to __memset_g5.
18320         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18321         (IFUNC_RESOLVE): Prefix ifunc-resolve function
18322         and use prefixed functions.
18323         * sysdeps/s390/s390-32/multiarch/memcmp.S
18324         (memcmp_z196): Rename to __memcmp_z196.
18325         (memcmp_z10): Rename to __memcmp_z10.
18326         (memcmp): Set alias to __memcmp_g5.
18327         (bcmp): Set alias to __memcmp_g5.
18328         * sysdeps/s390/s390-32/multiarch/memcpy.S
18329         (memcpy_z196): Rename to __memcpy_z196.
18330         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18331         (memcpy_z10): Rename to __memcpy_z10.
18332         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18333         (memcpy): Set alias to __memcpy_g5.
18334         * sysdeps/s390/s390-32/multiarch/memset.S
18335         (memset_z196): Rename to __memset_z196.
18336         Jump to __memset_mvcle instead of memset_mvcle.
18337         (memset_z10): Rename to __memset_z10.
18338         Jump to __memset_mvcle instead of memset_mvcle.
18339         (memset_mvcle) Rename to __memset_mvcle.
18340         (memset): Set alias to __memset_g5.
18341         * sysdeps/s390/s390-64/memcmp.S
18342         (memcmp_z900): Rename to __memcmp_z900.
18343         * sysdeps/s390/s390-64/memcpy.S
18344         (memcpy_z900): Rename to __memcpy_z900.
18345         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18346         (memcpy_mvcle) Rename to __memcpy_mvcle.
18347         * sysdeps/s390/s390-64/memset.S
18348         (memset_z900): Rename to __memset_z900.
18349         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
18350         (IFUNC_RESOLVE): Prefix ifunc-resolve function
18351         and use prefixed functions.
18352         * sysdeps/s390/s390-64/multiarch/memcmp.S
18353         (memcmp_z196): Rename to __memcmp_z196.
18354         (memcmp_z10): Rename to __memcmp_z10.
18355         (memcmp): Set alias to __memcmp_z900.
18356         (bcmp): Set alias to __memcmp_z900.
18357         * sysdeps/s390/s390-64/multiarch/memcpy.S
18358         (memcpy_z196): Rename to __memcpy_z196.
18359         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18360         (memcpy_z10): Rename to __memcpy_z10.
18361         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18362         (memcpy): Set alias to __memcpy_z900.
18363         * sysdeps/s390/s390-64/multiarch/memset.S
18364         (memset_z196): Rename to __memset_z196.
18365         Jump to __memset_mvcle instead of memset_mvcle.
18366         (memset_z10): Rename to __memset_z10.
18367         Jump to __memset_mvcle instead of memset_mvcle.
18368         (memset_mvcle) Rename to __memset_mvcle.
18369         (memset): Set alias to __memset_z900.
18371 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
18373         [BZ #17748]
18374         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
18375         __fesetenv instead of fesetenv.
18377 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18379         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
18380         macro.
18382 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18384         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
18385         regression on LE.
18387         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
18388         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
18389         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18390         strncmp-power8 object.
18391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18392         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
18393         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
18394         * NEWS: Update.
18396 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18397             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18399         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
18400         trailing byte check.
18402 2015-01-13  David S. Miller  <davem@davemloft.net>
18404         * include/signal.h (__sigreturn): Guard with __USE_MISC.
18406 2015-01-13  Roland McGrath  <roland@hack.frob.com>
18408         * login/logout.c (logout): Use memset rather than bzero.
18409         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
18410         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
18411         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
18412         (_gethtbyaddr): Likewise.
18413         * locale/programs/simple-hash.c (bcopy): Macro removed.
18415 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18417         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18418         Add strcmp-power8 object.
18419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18420         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
18421         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
18422         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
18423         __strcmp_power8 implementation.
18424         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
18425         * NEWS: Update.
18427         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18428         Add strncpy-power8 and stpncpy-power8 objects.
18429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18430         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
18431         implementations.
18432         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
18433         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
18434         __stpncpy_power8 implementation.
18435         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
18436         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
18437         __strncpy_power8 implementation.
18438         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
18439         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
18440         * NEWS: Update.
18442         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
18443         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
18444         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
18446         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18447         strncat-power8 object.
18448         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
18449         __strcat_power8 implementation.
18450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18451         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
18452         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
18453         optimized strcat for power8.
18455         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18456         strcpy-power8 and stpcpy-power8 objects.
18457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18458         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
18459         implementations.
18460         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
18461         multiarch stpcpy implementation for POWER8.
18462         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
18463         multiarch strcpy implementation for POWER8.
18464         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
18465         __strcpy_power8 function.
18466         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
18467         stpcpy for POWER8.
18468         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
18469         strcpy for POWER8.
18470         * NEWS: Update.
18472 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
18474         [BZ #16009]
18475         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
18476         weights and rules. Use do_xfrm_cached if data fits in cache,
18477         do_xfrm otherwise.  Moved former main loop to...
18478         * (do_xfrm_cached): New function.
18479         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
18480         find_idx, find_position and stack_push.
18481         * (find_idx): New function.
18482         * (find_position): Likewise.
18483         * localedata/sort-test.sh: Added test run for do_xfrm.
18484         * localedata/xfrm-test.c (main): Added command line option
18485         -nocache to run the test with strings that are too large for
18486         the STRXFRM cache.
18488 2015-01-13  Torvald Riegel  <triegel@redhat.com>
18490         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
18491         variable to lll_futex_wake call, not the value itself.
18493 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
18495         [BZ #17803]
18496         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
18497         twom64.  Adjust value to 0x1p-64L.
18498         (__scalblnl): Only return standard underflowing result for K <=
18499         -64 not K <= -63; adjust exponent for underflowing result by 64
18500         not 63.
18501         * math/libm-test.inc (scalbn_test_data): Add more tests.
18502         (scalbln_test_data): Likewise.
18504         [BZ #17834]
18505         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
18506         0x1p63L.
18507         (__scalblnl): Get new exponent of adjusted subnormal value from ES
18508         not HX.
18509         * math/libm-test.inc (scalbn_test_data): Add more tests.
18510         (scalbln_test_data): Likewise.
18512 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18513             Stefani Seibold  <stefani@seibold.net>
18515         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
18516         (sysdep_routines): Add dl-vdso here, ...
18517         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
18518         (sysdep_routines): ... not here.
18519         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
18520         fallback when vDSO is not presented.
18521         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18522         Define with libc_hidden_proto/libc_hidden_data_def definitions.
18523         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
18524         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
18525         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
18526         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
18527         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
18528         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
18529         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
18530         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
18531         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
18532         fallback configurable symbol when vDSO is not available.
18533         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
18534         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
18535         be able to redefine fallback symbol when vDSO is not available.
18536         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
18537         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
18539 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18541         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
18542         (TLS_INIT_TP): Add tm_capable initialization.
18543         (TLS_DEFINE_INIT_TP): Likewise.
18544         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
18545         TCB.
18546         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
18547         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
18548         calculation.
18549         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
18550         transactoion is lock elision is built and TCB tm_capable is set.
18551         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
18552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18553         (INTERNAL_SYSCALL_NCS): Likewise.
18554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18555         (INTERNAL_SYSCALL_NCS): Likewise.
18556         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
18558         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
18559         for powerpc.
18560         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18561         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
18562         and remove it for 32 bits case.
18563         [pthread_rwlock_t] (__rwelision): New field for lock elision.
18564         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
18565         initialization.
18566         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
18567         Disable lock elision with rdlocks if elision is not available.
18569         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
18570         (sysdep_routines): Add lock elision objects.
18571         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18572         [pthread_mutex_t] (__spins): Rework to add lock elision field.
18573         [pthread_mutex_t] (__elision): Add field.
18574         [__PTHREAD_SPINS]: Adjust to init lock elision field.
18575         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
18576         elision definitions for powerpc.
18577         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
18578         implementation of lock elision for powerpc.
18579         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
18580         implementation of timed lock elision for powerpc.
18581         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
18582         implementation of trylock with lock elision for powerpc.
18583         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
18584         implementaion of unlock for lock elision for powerpc.
18585         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
18586         automatic enable lock elision for mutexes.
18587         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
18588         transaction execution definitions for powerpc.
18589         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
18590         definitions.
18591         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
18592         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
18593         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
18594         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
18595         * NEWS: Update.
18597 2015-01-09  Roland McGrath  <roland@hack.frob.com>
18599         * sysdeps/posix/shm-directory.c: Use <> rather than ""
18600         for #include of <shm-directory.h>.
18602 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
18604         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
18605         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
18607 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
18609         [BZ #17791]
18610         * NEWS: Mention bug fix.
18611         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
18612         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
18613         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
18615 2015-01-09  Torvald Riegel <triegel@redhat.com>
18617         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
18619 2015-01-09  Torvald Riegel <triegel@redhat.com>
18621         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
18623 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18625         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
18626         pointer and cast to uintptr_t.
18628 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18630         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
18631         removed.
18632         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
18634 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18636         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
18637         of 0.
18639 2015-01-08  Roland McGrath  <roland@hack.frob.com>
18641         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
18642         <nptl/pthreadP.h> instead.
18643         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
18645         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
18646         already defined.
18647         [__SIGRTMIN] (init): Function removed.
18648         [__SIGRTMIN] (initialized): Variable removed.
18649         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
18650         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
18651         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
18652         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
18653         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
18654         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
18655         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
18656         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
18657         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
18658         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
18659         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
18660         * sysdeps/nptl/allocrtsig.c: New file.
18661         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
18662         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
18663         * sysdeps/generic/testrtsig.h: File removed.
18665         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
18666         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
18668         * nptl/nptl-init.c (pthread_functions): Conditionalize
18669         .ptr__nptl_setxid initialization on [SIGSETXID].
18671         * sysdeps/nptl/sys/procfs.h: New file.
18672         * nptl_db/Makefile (headers): Add it.
18673         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
18675         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
18676         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
18677         * nptl/pthread_attr_setaffinity.c: Include it.
18678         * nptl/pthread_setattr_default_np.c: Likewise.
18679         * nptl/check-cpuset.h: New file.
18681 2015-01-08  Richard Henderson  <rth@redhat.com>
18683         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
18684         (CFLAGS-tst-execstack-prog.c): Likewise.
18685         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
18687 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
18688             Sandra Loosemore  <sandra@codesourcery.com>
18689             Andrew Jenner  <andrew@codesourcery.com>
18690             Joseph Myers  <joseph@codesourcery.com>
18691             Nathan Sidwell  <nathan@codesourcery.com>
18693         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
18694         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
18695         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
18696         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
18697         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
18698         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
18699         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
18700         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
18701         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
18702         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
18703         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
18704         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
18705         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
18706         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
18707         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
18708         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
18709         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
18711 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18713         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
18714         timespec struct member in syscall macro.
18715         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18716         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
18717         first timeval struct member in syscall macro.
18718         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
18720 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
18722         [BZ #17748]
18723         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
18724         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
18725         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
18726         __feupdateenv and define as weak alias of __feupdateenv.  Use
18727         libm_hidden_weak.
18728         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
18729         libm_hidden_def.
18730         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
18731         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
18732         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18733         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
18734         libm_hidden_def.
18735         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
18736         __feupdateenv and define as weak alias of __feupdateenv.  Use
18737         libm_hidden_weak.
18738         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
18739         libm_hidden_def.
18740         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
18741         __feupdateenv and define as weak alias of __feupdateenv.  Use
18742         libm_hidden_weak.
18743         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
18744         libm_hidden_def.
18745         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18746         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18747         (__feupdateenv): Likewise.
18748         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
18749         __feupdateenv and define as weak alias of __feupdateenv.  Use
18750         libm_hidden_weak.
18751         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18752         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
18753         libm_hidden_def.
18754         * sysdeps/tile/math_private.h (__feupdateenv): New inline
18755         function.
18756         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
18757         libm_hidden_def.
18758         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
18759         __feupdateenv instead of feupdateenv.
18760         (default_libc_feupdateenv_test): Likewise.
18761         (libc_feresetround_ctx): Likewise.
18763 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18765         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
18766         prototype.
18768 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
18770         * posix/regcomp.c (parse_bracket_exp): Initialize type to
18771         COLL_SYM in a couple of places to avoid uninitialized variable
18772         wanings on tilegx gcc 4.8.2.
18774 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18776         * sysdeps/aarch64/strcpy.S: New file.
18777         * sysdeps/aarch64/stpcpy.S: New file.
18778         * NEWS: Updated.
18780 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18782         * sysdeps/aarch64/strrchr.S: New file.
18783         * NEWS: Updated.
18785 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
18787         [BZ #17658]
18788         * stdlib/setenv.c: Fix memory leak when setting large,
18789         duplicate string.
18791 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
18793         [BZ #17273]
18794         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
18795         and tabs from buffer before parsing fstab entry.
18796         * misc/tst-mntent.c (main): Add test for mount entry with
18797         trailing spaces and tabs.
18799 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
18801         [BZ #17748]
18802         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
18803         * math/fesetround.c (fesetround): Rename to __fesetround and
18804         define as weak alias of __fesetround.  Use libm_hidden_weak.
18805         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
18806         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
18807         * sysdeps/arm/fesetround.c (fesetround): Likewise.
18808         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
18809         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
18810         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18811         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18812         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18813         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18814         __fesetround_inline.
18815         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18816         __fesetround_inline instead of __fesetround.
18817         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18818         __fesetround and define as weak alias of __fesetround.  Use
18819         libm_hidden_weak.  Call __fesetround_inline instead of
18820         __fesetround.
18821         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18822         __fesetround and define as weak alias of __fesetround.  Use
18823         libm_hidden_weak.
18824         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18825         Likewise.
18826         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18827         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18828         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18829         * sysdeps/tile/math_private.h (__fesetround): New inline function.
18830         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18831         __fesetround and define as weak alias of __fesetround.  Use
18832         libm_hidden_weak.
18833         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18834         __fesetround instead of fesetround.
18835         (default_libc_feholdexcept_setround): Likewise.
18836         (libc_feholdsetround_ctx): Likewise.
18837         (libc_feholdsetround_noex_ctx): Likewise.
18839         [BZ #17748]
18840         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18841         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18842         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18843         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18844         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18845         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18846         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18847         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18848         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18849         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18850         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18851         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18852         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18853         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18854         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18855         libm_hidden_def.
18856         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18857         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18858         Likewise.
18859         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18860         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18861         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18862         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18863         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18864         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18865         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18866         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18867         __fesetenv instead of fesetenv.
18868         (libc_feresetround_noex_ctx): Likewise.
18869         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18870         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18871         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
18872         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18873         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18874         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18875         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18876         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18877         (__feupdateenv): Likewise.
18878         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18879         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18880         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18881         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
18883 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18885         [BZ #17806]
18886         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
18887         addresses have been freed.
18889 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18891         * resolv/res_init.c (__res_vinit): Improve comments about nserv
18892         and nservall.
18894 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
18896         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
18897         Clean up check_pf allocation pattern. addresses
18899 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18901         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
18902         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
18903         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
18904         * nptl/pthread_exit.c (__pthread_exit): Likewise.
18905         * nptl/pthread_join.c (pthread_join): Likewise.
18906         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18907         * sysdeps/posix/waitid.c (__waitid): Likewise.
18908         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18909         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18910         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18911         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18912         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18913         Likewise.
18914         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18915         (__libc_pread64): Likewise.
18916         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18917         (__libc_pwrite): Likewise.
18918         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18919         (__libc_pwrite64): Likewsie.
18920         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18921         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18922         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18923         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18924         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18925         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18926         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18928         Likewise.
18929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18930         (__libc_pread64): Likewise.
18931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
18932         Likewise.
18933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18934         (__libc_pwrite64): Likewise.
18935         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18936         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18937         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
18938         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
18939         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18940         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18941         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
18942         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18943         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18944         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18945         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
18946         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18947         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18948         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
18949         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18950         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18951         Likewise.
18953 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18955         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
18956         (CFLAGS-test-double.c): Likewise.
18957         (CFLAGS-test-ldouble.c): Likewise.
18958         (CPPFLAGS-test-ifloat.c): Likewise.
18959         (CPPFLAGS-test-idouble.c): Likewise.
18960         (CPPFLAGS-test-ildoubl.c): Likewise.
18961         (CFLAGS-test-test-fenv.c): Remove variable.
18962         (CFLAGS-test-misc.c): Likewise.
18964 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
18966         [BZ #17797]
18967         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
18968         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
18969         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
18970         CLOCKS_PER_SEC == 1000000.
18971         * time/clocktest.c (main): Replace %ld with %jd and cast to
18972         intmax_t.
18974 2015-01-05  Roland McGrath  <roland@hack.frob.com>
18976         * sysdeps/generic/unwind-resume.h: New file.
18977         * sysdeps/gnu/unwind-resume.c: Include it.
18978         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
18979         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
18980         argument list.
18981         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
18982         global rather than static.
18983         (_Unwind_Resume): Update user.
18984         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
18985         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
18986         rather than static.  Add __attribute__ ((cold)).
18987         (_Unwind_Resume, __gcc_personality_v0): Update callers.
18988         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18989         * sysdeps/arm/arm-unwind-resume.S: New file.
18990         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18991         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
18992         * sysdeps/arm/Makefile [$(subdir) = csu]
18993         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
18994         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18995         Add rt-arm-unwind-resume.
18996         [$(subdir) = nptl]
18997         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18998         Add pt-arm-unwind-resume.
18999         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
19000         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
19002 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19004         [BZ #17748]
19005         * include/fenv.h (__feholdexcept): Declare.  Use
19006         libm_hidden_proto.
19007         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
19008         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
19009         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19010         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
19011         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
19012         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
19013         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
19014         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19015         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
19016         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
19017         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19018         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
19019         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
19020         (feholdexcept): Likewise.
19021         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19022         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19023         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19024         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19025         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
19026         __feholdexcept instead of feholdexcept.
19027         (default_libc_feholdexcept_setround): Likewise.
19029 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19031         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
19032         to avoid using stl/str to align destination.
19034 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19036         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
19038 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19040         [BZ #17796]
19041         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
19042         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
19043         Define as weak alias not strong alias.
19045 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19047         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
19048         bltzal with addiupc.
19049         (RTLD_START): Ditto.
19051 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
19053         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
19054         for __vdso_* functions in declarations.
19055         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
19056         definitions.
19057         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
19058         INTERNAL_VSYSCALL): Use struct return types to check for error.
19060         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
19061         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
19062         function with cast from llround().
19063         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
19064         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19065         Define.
19067 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19069         [BZ #17793]
19070         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
19071         Define as weak alias not strong alias.
19073         [BZ #17635]
19074         * ctype/ctype-c99.c: New file.  isblank implementation moved from
19075         ...
19076         * ctype/ctype-extn.c: ... here.
19077         (__isblank_l): Move to ...
19078         * ctype/ctype-c99_l.c: ... here.  New file.
19079         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
19080         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
19081         Remove variable.
19082         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19083         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19084         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19085         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19086         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19088         [BZ #17777]
19089         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
19090         (posix_fadvise64): Define as weak alias not strong alias.
19091         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19092         (posix_fallocate64): Likewise.
19093         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
19094         Remove variable.
19095         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19096         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19097         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19098         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19099         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19101 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
19103         [BZ #16191]
19104         * NEWS: Mention bug fix.
19105         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
19106         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
19107         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
19108         (HOST_STACK_END_ADDR): Likewise.
19110 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
19112         [BZ #17748]
19113         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
19114         * math/fegetround.c (fegetround): Rename to __fegetround and
19115         define as weak alias of __fegetround.  Use libm_hidden_weak.
19116         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
19117         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
19118         * sysdeps/arm/fegetround.c (fegetround): Likewise.
19119         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
19120         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19121         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
19122         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
19123         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
19124         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19125         Undefine after rather than before function definition; use
19126         parentheses around function name in definition.
19127         (__fegetround): Also undefine macro after function definition.
19128         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
19129         __fegetround and define as weak alias of __fegetround.  Use
19130         libm_hidden_weak.  Do not undefine as macro.
19131         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19132         Likewise.
19133         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
19134         __fegetround and define as weak alias of __fegetround.  Use
19135         libm_hidden_weak.
19136         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19137         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19138         * sysdeps/tile/math_private.h (__fegetround): New inline function.
19139         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
19140         __fegetround and define as weak alias of __fegetround.  Use
19141         libm_hidden_weak.
19142         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
19143         __fegetround instead of fegetround.
19145         [BZ #17782]
19146         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
19147         Condition macro definition on [__USE_MISC].
19149         [BZ #17781]
19150         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
19151         (struct sigaction): Change type of sa_flags field to int.
19153         [BZ #17780]
19154         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
19155         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
19156         __glibc_reserved0.
19158         * nptl/version.c (banner): Use single year in copyright notice.
19160         * NEWS: Update copyright dates.
19161         * catgets/gencat.c (print_version): Likewise.
19162         * csu/version.c (banner): Likewise.
19163         * debug/catchsegv.sh: Likewise.
19164         * debug/pcprofiledump.c (print_version): Likewise.
19165         * debug/xtrace.sh (do_version): Likewise.
19166         * elf/ldconfig.c (print_version): Likewise.
19167         * elf/ldd.bash.in: Likewise.
19168         * elf/pldd.c (print_version): Likewise.
19169         * elf/sotruss.sh: Likewise.
19170         * elf/sprof.c (print_version): Likewise.
19171         * iconv/iconv_prog.c (print_version): Likewise.
19172         * iconv/iconvconfig.c (print_version): Likewise.
19173         * locale/programs/locale.c (print_version): Likewise.
19174         * locale/programs/localedef.c (print_version): Likewise.
19175         * login/programs/pt_chown.c (print_version): Likewise.
19176         * malloc/memusage.sh (do_version): Likewise.
19177         * malloc/memusagestat.c (print_version): Likewise.
19178         * malloc/mtrace.pl: Likewise.
19179         * manual/libc.texinfo: Likewise.
19180         * nptl/version.c (banner): Likewise.
19181         * nscd/nscd.c (print_version): Likewise.
19182         * nss/getent.c (print_version): Likewise.
19183         * nss/makedb.c (print_version): Likewise.
19184         * posix/getconf.c (main): Likewise.
19185         * scripts/test-installation.pl: Likewise.
19186         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19188 2015-01-02  Will Newton  <will.newton@linaro.org>
19190         * sysdeps/arm/armv7/configure: Removed.
19191         * sysdeps/arm/armv7/configure.ac: Likewise.
19193 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
19195         * All files with FSF copyright notices: Update copyright dates
19196         using scripts/update-copyrights.
19197         * intl/plural.c: Regenerated.
19198         * locale/programs/charmap-kw.h: Likewise.
19199         * locale/programs/locfile-kw.h: Likewise.
19201 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19203         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
19205 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
19207         [BZ #17748]
19208         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
19209         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
19210         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19211         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
19212         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19213         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
19214         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19215         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
19216         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19217         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19218         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19219         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19220         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19221         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19222         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
19223         libm_hidden_def.
19224         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
19225         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
19226         Likewise.
19227         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19228         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19229         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19230         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19231         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
19232         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19233         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
19234         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
19235         __fegetenv instead of fegetenv.
19236         (libc_feholdsetround_noex_ctx): Likewise.
19238 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19240         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
19241         (Elf_MIPS_ABIFlags_v0): New structure.
19242         (EF_MIPS_FP64): Define.
19243         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
19244         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
19245         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
19246         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
19247         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
19248         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
19249         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
19250         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
19251         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
19252         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
19253         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
19254         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
19255         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
19256         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
19257         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
19258         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
19259         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
19260         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
19261         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
19262         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
19263         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
19264         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
19265         field.
19266         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
19267         EF_MIPS_FP64.
19268         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
19269         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
19270         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
19271         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
19272         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
19273         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
19274         * sysdeps/mips/tst-abi-interlink.c: Likewise.
19275         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
19276         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
19277         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
19278         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
19279         record the current FP ABI extension.
19280         (mips-mode-switch): Define to show if kernel headers support mode
19281         switching.
19282         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19283         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
19284         supported SYSV ABI version to 3.
19285         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
19286         feature.
19288 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19289             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19291         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
19292         path.
19293         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
19295 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
19297         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
19298         __fegetround and redefine to call __fegetround.  Remove condition
19299         on [!__NO_MATH_INLINES].
19300         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
19301         function.
19302         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
19303         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19304         Remove macro.
19305         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
19306         instead of <fenv_libc.h>.
19307         (__llrintl): Call fegetround instead of __fegetround.
19308         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
19309         instead of <fenv_libc.h>.
19310         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19311         (__lrintl): Call fegetround instead of __fegetround.
19312         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
19313         instead of <fenv_libc.h>.
19314         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19315         (__rintl): Call fegetround instead of __fegetround.
19317 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19319         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
19320         arrays.
19322 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
19324         [BZ #17775]
19325         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
19326         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
19327         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
19329 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19331         * sysdeps/i386/tls-macros.h: Include <features.h>.
19332         (TLS_LE): Use non-PIC version for GCC >= 5.0.
19333         (TLS_IE): Likewise.
19334         (TLS_LD): Likewise.
19335         (TLS_GD): Likewise.
19336         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
19337         define for GCC >= 5.0.
19339 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
19341         * math/test-fenv.c (test_single_exception, set_single_exc,
19342         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
19343         feexcp_mask_test, feenable_test, fe_single_test): Add
19344         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
19345         case where they are not used.
19346         * math/libm-test.inc: Likewise.
19347         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
19348         unused in the absence of FP rounding/exception support.
19349         * stdio-common/tst-printf-round.c: Likewise.
19350         * stdlib/tst-strtod-round.c: Likewise.
19351         * stdlib/tst-strtod-underflow.c: Likewise.
19353 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
19355         [BZ #17723]
19356         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
19357         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
19358         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19359         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19360         libm_hidden_weak.
19361         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
19362         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19363         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
19364         libm_hidden_def.
19365         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19366         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19367         libm_hidden_weak.
19368         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
19369         Likewise.
19370         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
19371         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19372         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19373         libm_hidden_weak.
19374         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19375         libm_hidden_def.
19376         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19377         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
19378         (__feraiseexcept): Likewise.
19379         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19380         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19381         libm_hidden_weak.
19382         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19383         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19384         libm_hidden_def.
19385         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
19386         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
19387         Use libm_hidden_def.
19388         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
19389         libm_hidden_def.
19390         (feraiseexcept): Define as weak not strong alias.  Use
19391         libm_hidden_weak.
19392         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
19393         New inline function.  Factored out of ...
19394         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
19395         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
19396         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
19397         feraiseexcept.
19398         * math/w_acos.c (__acos): Likewise.
19399         * math/w_asin.c (__asin): Likewise.
19400         * math/w_ilogb.c (__ilogb): Likewise.
19401         * math/w_j0.c (y0): Likewise.
19402         * math/w_j1.c (y1): Likewise.
19403         * math/w_jn.c (yn): Likewise.
19404         * math/w_log.c (__log): Likewise.
19405         * math/w_log10.c (__log10): Likewise.
19406         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
19407         * sysdeps/aarch64/fpu/math_private.h
19408         (libc_feupdateenv_test_aarch64): Likewise.
19409         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19410         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
19411         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
19412         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19413         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19414         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19415         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
19416         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19417         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19418         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19420 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
19422         [BZ #17732]
19423         * io/test-utime.c (main): Replace %ld with %jd and cast to
19424         intmax_t.
19425         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
19426         * nptl/tst-mutex5.c: Include <stdint.h>.
19427         (do_test): Replace %ld with %jd and cast to intmax_t.
19428         * posix/tst-regex.c (run_test): Likewise.
19429         (run_test_backwards): Likewise.
19430         * rt/tst-clock.c: Include <stdint.h>.
19431         (clock_test): Replace %ld with %jd and cast to intmax_t.
19432         * rt/tst-cpuclock1.c: Include <stdint.h>.
19433         (do_test): Replace %lu with %ju and cast to uintmax_t.
19434         * rt/tst-cpuclock2.c: Include <stdint.h>.
19435         (do_test): Replace %lu with %ju and cast to uintmax_t.
19436         * rt/tst-mqueue1.c: Include <stdint.h>.
19437         (check_attrs): Replace %ld with %jd and cast to intmax_t.
19438         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
19439         intmax_t.
19440         * rt/tst-mqueue4.c (do_test): Likewise.
19441         * rt/tst-timer4.c: Include <stdint.h>.
19442         (check_ts): Replace %ld with %jd and cast to intmax_t.
19443         (do_test): Likewise.
19444         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
19445         and cast to intmax_t.
19446         * sysdeps/pthread/tst-timer.c (main): Likewise.
19447         * time/clocktest.c (main): Likewise.
19448         * time/tst-posixtz.c (do_test): Likewise.
19449         * timezone/tst-timezone.c (main): Likewise.
19451 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19452             H.J. Lu  <hongjiu.lu@intel.com>
19454         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
19455         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
19456         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
19457         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
19458         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
19459         version if bit_Fast_Unaligned_Load is set.
19460         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19461         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19462         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19463         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19464         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19465         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19466         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19467         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
19468         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
19469         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
19470         to 4.
19471         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
19472         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
19473         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
19474         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
19476 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
19478         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
19479         instead of #if to avoid a Wundef warning.
19480         * stdlib/tst-limits.c (do_test): Likewise.
19482         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
19483         parallel other exception macros.
19484         (fegetenv): Convert from macro to extern inline so that it applies
19485         retroactively to inline functions already seen by the compiler.
19486         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
19488         * posix/Makefile (before-compile): Use $(objpfx) for
19489         posix-conf-vars-def.h.
19491 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19493         * posix/getconf.c (main): Use size_t for type of I.
19494         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
19495         NSPEC.
19497         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
19498         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
19499         * posix/posix-envs.def: Likewise.
19500         * sysdeps/posix/sysconf.c: Likewise.
19501         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
19502         (specs): Remove array.
19503         * scripts/gen-posix-conf-vars.awk: Support generation of specs
19504         array.
19506         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
19507         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
19508         (__sysconf): Use CONF_IS_* macros.
19510         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
19511         ($(objpfx)posix-conf-vars-def.h): New target.
19512         * posix/posix-conf-vars.list: New file.
19513         * posix/posix-conf-vars.h: New file.
19514         * posix/confstr.c: Include posix-conf-vars.h.
19515         (confstr): Use CONF_IS_* macros.
19516         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
19517         CONF_IS_* macros.
19518         * scripts/gen-posix-conf-vars.awk: New file.
19520 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
19522         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
19523         fegetround): Add no-op macros to avoid linknamespace issues.
19525         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
19526         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
19528         * sysdeps/unix/sysv/linux/tile/sysdep.h
19529         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
19530         assembly-specific section to avoid a redefinition warning.
19532         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
19533         long before casting to pointer to avoid a cast warning.
19535 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
19537         * sysdeps/tile/tilegx/Implies: New file.
19539 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
19541         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
19543 2014-12-23  Florian Weimer  <fweimer@redhat.com>
19545         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
19547 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19549         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
19550         not define.
19551         * sysdeps/unix/sysv/linux/utimes.c: Do not include
19552         <kernel-features.h>.
19553         (__utimes) [__NR_utimes]: Make code unconditional.
19554         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
19555         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19556         (__ASSUME_UTIMES): Do not undefine.
19557         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19558         (__ASSUME_UTIMES): Likewise.
19559         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19560         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
19561         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
19562         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
19564 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19566         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
19568 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
19570         [BZ #17747]
19571         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
19572         alias to weak alias for j0l, y0l.
19573         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
19574         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
19576         [BZ #17746]
19577         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
19578         conversion.
19580 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19582         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
19583         to zero if not already defined.
19585 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19587         [BZ #17724]
19588         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
19589         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
19590         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
19591         (char *) casts added.
19592         * sysdeps/ieee754/k_standardf.c: New file.
19593         * sysdeps/ieee754/k_standardl.c: Likewise.
19594         * math/Makefile (libm-support): Remove k_standard.
19595         (libm-calls): Add k_standard.
19597 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19599         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19600         Optimize to avoid an unnecessary FPCR read.
19602 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19604         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19605         Optimize to reduce FPCR/FPSR accesses.
19607 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19609         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
19610         Call libc_fetestexcept_aarch64.
19612 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19614         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
19615         Call libc_fesetround_aarch64.
19617 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19619         [BZ #17733]
19620         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
19621         (__bind): Do not define as weak alias.
19622         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
19623         define.
19624         (__getsockname): Do not define as weak alias.
19626 2014-12-22  Will Newton  <will.newton@linaro.org>
19628         * manual/install.texi: Document that we require bison 2.7
19629         or above.
19630         * INSTALL: Regenerate.
19631         * configure.ac: Use AC_CHECK_PROG_VER instead of
19632         AC_PATH_PROG when checking for bison and check for
19633         version 2.7 or above.
19634         * configure: Regenerate.
19636 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
19638         [BZ #17745]
19639         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
19640         * sysdeps/tile/ffsll.c (ffsll): To here.
19642         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
19644 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19646         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
19647         if not defined.
19648         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
19649         definition.
19650         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19651         hidden ___tls_get_addr.
19652         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19653         hidden __tls_get_addr.
19654         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
19655         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
19656         Likewise.
19658 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
19660         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
19661         _dl_init call.
19663 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19665         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
19666         from "call _dl_init@PLT".
19667         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
19669 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
19671         * manual/search.texi: (Array Sort Function): Clarify stable sorting
19672         guarantees.
19674 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
19676         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
19678 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19680         [BZ #17744]
19681         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
19682         strnlen.
19684 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19686         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
19687         of multu on MIPSr6.
19688         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
19689         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
19690         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
19691         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
19692         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
19694 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19696         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
19697         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
19698         (PTR_SUBU): Use subu for mips32r6/mips64r6.
19699         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
19700         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
19701         mips32r6/mips64r6.
19702         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
19704 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
19706         * string/strncat.c (STRNCAT): Simplify implementation.
19708 2014-12-19  David S. Miller  <davem@davemloft.net>
19710         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
19711         access the quad as both a long double and as a series of 4 words.
19713         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
19714         link_map->l_info array access.
19716 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19718         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
19720         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
19721         * math/atest-exp2.c (TIMEOUT): Likewise.
19722         * math/atest-sincos.c (TIMEOUT): Likewise.
19724 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19726         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
19727         -Wno-error with -fno-builtin-lround.
19729 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19731         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
19732         Contains futex constants and functions moved over from ...
19733         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
19734         <lowlevellock-futex.h>.
19735         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19736         (lll_timedwait_tid): Add comments and parentheses around macro
19737         arguments.
19739 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19741         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
19742         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
19743         (__lll_private_flag): Remove.
19744         (lll_futex_wait): Likewise.
19745         (lll_futex_timed_wait): Likewise.
19746         (lll_futex_wake): Likewise.
19747         (lll_futex_requeue): Likewise.
19748         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19749         (__lll_timedwait_tid): Spell out argument names.
19750         (lll_timedwait_tid): Add comments and parentheses around macro
19751         arguments.
19752         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
19753         LLL_SHARED and LLL_PRIVATE usable from assembly code.
19755 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19757         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
19758         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19759         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19760         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
19761         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
19762         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
19763         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
19764         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
19765         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
19766         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
19767         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
19768         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
19769         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
19770         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
19771         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
19772         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
19773         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
19774         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
19775         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
19777 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19779         * sysdeps/x86_64/x32/Makefile: New file.
19781 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19783         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
19784         1L with (mp_limb_t) 1.
19786 2014-12-17  Roland McGrath  <roland@hack.frob.com>
19788         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
19789         * nptl/libc_pthread_init.c: ... here.
19790         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
19791         * nptl/register-atfork.c: ... here.
19793         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
19794         Use pthread_sigmask rather than INTERNAL_SYSCALL.
19795         Use assert_perror to check its return value.
19796         (__gai_create_helper_thread): Likewise.
19798         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
19800         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
19802 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
19804         [BZ #17725]
19805         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
19806         __profil_counter.
19807         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
19808         Likewise.
19809         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
19810         Likewise.
19811         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19812         Likewise.
19813         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19814         (profil_counter): Likewise.
19815         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19816         (profil_counter): Likewise.
19817         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19818         Likewise.
19819         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19820         Likewise.
19821         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19822         (profil_counter): Likewise.
19823         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19824         Likewise.
19825         [!__profil_counter] (profil_counter): Define as weak alias of
19826         __profil_counter.
19827         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19828         (profil_counter): Rename to __profil_counter.
19829         [!__profil_counter] (profil_counter): Define as weak alias of
19830         __profil_counter.
19831         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19832         (profil_counter): Rename to __profil_counter.
19833         [!__profil_counter] (profil_counter): Define as weak alias of
19834         __profil_counter.
19835         * sysdeps/posix/profil.c: Update comment referring to
19836         profil_counter.
19837         (__profil): Use __profil_counter instead of profil_counter.
19838         * sysdeps/posix/sprofil.c (profil_counter): Rename to
19839         __profil_counter.  Use __profil_counter_ushort and
19840         __profil_counter_uint in definitions.
19841         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19842         instead of profil_counter_uint and profil_counter_ushort.
19844         [BZ #17722]
19845         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19846         define as weak alias of __inet_makeaddr.
19847         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19848         as weak alias of __inet_addr.
19849         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19850         as weak alias of __inet_pton.  Use libc_hidden_weak.
19851         * include/arpa/inet.h (__inet_pton): Declare.  Use
19852         libc_hidden_proto.
19853         (inet_makeaddr): Don't use libc_hidden_proto.
19854         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
19855         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19856         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
19857         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19858         Remove variable.
19859         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19860         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19862 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
19864         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19866 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19868         * stdio-common/bug-vfprintf-nargs.c (do_test):
19869         Cast value to intptr_t to avoid format warning
19870         for usage with PRIdPTR printing macro.
19872 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19874         * libio/tst-widetext.c (do_test):
19875         Use format type %td instead of %Zd for ptrdiff_t
19876         in order to avoid format warning.
19878 2014-12-17  Andreas Schwab  <schwab@suse.de>
19880         * nscd/mem.c (gc): Add size_t cast to match printf format.
19882 2014-12-16  Roland McGrath  <roland@hack.frob.com>
19884         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
19885         (init): Apply PTR_MANGLE to pointers before storing them.
19886         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
19887         before using them.
19889 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
19891         [BZ #17719]
19892         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
19893         define as weak alias of __memrchr.
19894         (__memrchr): Do not define as strong alias of memrchr.
19895         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
19896         Remove variable.
19897         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19898         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19899         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19901         [BZ #17717]
19902         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
19903         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
19904         (if_indextoname): Rename to __if_indextoname and define as weak
19905         alias of __if_indextoname.  Use libc_hidden_weak.
19906         (if_freenameindex): Rename to __if_freenameindex and define as
19907         weak alias of __if_freenameindex.
19908         (if_nameindex): Rename to __if_nameindex and define as weak alias
19909         of __if_nameindex.
19910         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
19911         __if_nametoindex and define as weak alias of __if_nametoindex.
19912         Use libc_hidden_weak.
19913         (if_freenameindex): Rename to __if_freenameindex and define as
19914         weak alias of __if_freenameindex.
19915         (if_nameindex): Rename to __if_nameindex and define as weak alias
19916         of __if_nameindex.
19917         (if_indextoname): Rename to __if_indextoname and define as weak
19918         alias of __if_indextoname.  Use libc_hidden_weak.
19919         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
19920         __if_nametoindex and define as weak alias of __if_nametoindex.
19921         Use libc_hidden_weak.
19922         (if_freenameindex): Rename to __if_freenameindex and define as
19923         weak alias of __if_freenameindex.  Use libc_hidden_weak.
19924         (if_nameindex_netlink): Use __if_freenameindex instead of
19925         if_freenameindex.
19926         (if_nameindex): Rename to __if_nameindex and define as weak alias
19927         of __if_nameindex.  Use libc_hidden_weak.
19928         (if_indextoname): Rename to __if_indextoname and define as weak
19929         alias of __if_indextoname.  Use libc_hidden_weak.
19930         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
19931         libc_hidden_proto.
19932         [!_ISOMAC] (__if_freenameindex): Likewise.
19933         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
19934         if_nametoindex.
19935         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
19936         variable.
19937         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19938         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19939         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19940         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19941         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19942         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19943         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19945         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
19946         Remove variable.
19947         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19948         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19950 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19952         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
19953         subscript above bounds'
19955         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
19956         bounds.
19958 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
19960         * libio/tst-fopenloc.c: Use test-skeleton.c.
19962         * stdlib/tst-bsearch.c: Use test-skeleton.c.
19963         (entry): Rename to ITEM.
19964         (do_test, comp): Adjust.
19966         * stdio-common/tst-fseek.c: Use test-skeleton.c.
19968 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19970         * string/tester.c: Include <libc-internal.h>.
19971         (test_memset): Ignore -Wmemset-transposed-args.
19973 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19975         * misc/tst-mntent2.c (do_test): Fix warning.
19977 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19979         * elf/tst-unique4lib.cc(a): Mark as used.
19981 2014-12-16  Florian Weimer  <fweimer@redhat.com>
19983         [BZ #17630]
19984         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
19985         names.
19987 2014-12-16  Allan McRae  <allan@archlinux.org>
19989         * stdio-common/Makefile (tests): Re-add bug26.
19991 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
19993         [BZ #17657]
19994         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
19995         static array.
19997 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
19999         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
20000         (__lll_lock_wait): Likewise.
20001         (__lll_timedlock_wait): Likewise.
20002         (__lll_timedwait_tid): Likewise.
20003         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
20004         (__lll_robust_timedlock_wait): Likewise.
20005         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
20006         (lll_cond_trylock): Likewise.
20007         (__lll_lock): Likewise.
20008         (__lll_robust_lock): Likewise.
20009         (__lll_cond_lock): Likewise.
20010         (lll_robust_cond_lock): Likewise.
20011         (__lll_timedlock): Likewise.
20012         (__lll_robust_timedlock): Likewise.
20013         (__lll_unlock): Likewise.
20014         (__lll_robust_unlock): Likewise.
20015         (lll_wait_tid): Likewise.
20016         (lll_timedwait_tid): Likewise.
20018 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20020         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
20022 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20024         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
20026 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20028         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
20029         * stdio-common/tst-sprintf.c: Likewise.
20031 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20033         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
20035 2014-12-15  Jeff Law  <law@redhat.com>
20037         [BZ #16617]
20038         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
20039         on the heap.  (CVE-2012-3406)
20040         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
20041         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
20042         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
20044 2014-12-15  Will Newton  <will.newton@linaro.org>
20046         * manual/install.texi: Bump required version of texinfo
20047         to 4.7 from 4.5.
20048         * INSTALL: Regenerated.
20049         * configure.ac: Check for makeinfo version 4.7 and above.
20050         * configure: Regenerated.
20052 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20054         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
20055         PREFIX, string constant to insert between directory and name.
20056         * sysdeps/posix/shm_open.c: Update caller.
20057         * sysdeps/posix/shm_unlink.c: Likewise.
20058         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
20059         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
20060         (SEM_SHM_PREFIX): New macro.
20061         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
20062         [$(have-thread-library) = no].
20063         * nptl/Makefile (libpthread-routines): Add shm-directory.
20064         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
20065         * sysdeps/nptl/shm-directory.h: New file.
20066         * sysdeps/posix/shm-directory.c
20067         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
20068         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20069         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
20070         INTERNAL_SYSCALL.
20071         (__where_is_shmfs): Function removed.
20072         (mountpoint, defaultmount, defaultdir, __namedsem_once):
20073         Variables removed.
20074         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
20075         Use SHM_GET_NAME.
20076         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
20078         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
20079         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
20080         unconditional for use inside libpthread.
20081         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
20083 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20085         * nptl/pthread_getaffinity.c: New file.
20086         * nptl/pthread_setaffinity.c: New file.
20087         * nptl/pthread_getname.c: New file.
20088         * nptl/pthread_setname.c: New file.
20090         * nptl/pthread_create.c (START_THREAD_DEFN)
20091         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
20093 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20094             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20096         * resolv/res_send.c (send_vc): Disable warning resplen may
20097         be used uninitialized.
20099 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20101         * nptl/tst-mutex6.c
20102         (ATTR_NULL): New define checks ATTR against NULL.
20103         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
20104         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
20106 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
20108         [BZ #17581]
20109         * malloc/hooks.c
20110         (mem2mem_check): Revert my previous change.
20111         (malloc_check_get_size): Revert my previous change.
20112         (mem2chunk_check): Revert my previous change.
20114 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20116         * sysdeps/posix/shm-directory.c: New file.
20117         * sysdeps/posix/shm-directory.h: New file.
20118         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
20119         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
20120         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
20121         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
20122         Transmute EPERM to EACCES.
20123         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
20124         from ...
20125         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
20126         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
20128 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20130         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
20131         pointer and cast to uintptr_t.
20132         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
20133         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
20134         Add cast to avoid warning.
20135         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
20137 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20139         * nptl/semaphore.h: Move to ...
20140         * sysdeps/pthread/semaphore.h: ... here.
20141         * Makefile (installed-headers): Change nptl/semaphore.h to
20142         sysdeps/pthread/semaphore.h.
20144 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20146         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
20147         generated error format strings.
20149         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
20150         -Wformat-extra-args warnings for scanf formats.
20151         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
20152         test of zero-length format (duh).
20153         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
20154         corner-case scanf format test.
20155         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
20156         generated fprintf format string.
20157         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
20158         corner-case sprintf format tests.
20159         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
20160         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
20161         -Wformat-extra-args warnings throughout.
20162         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
20163         (CFLAGS-scanf4.c): Likewise.
20164         (CFLAGS-scanf7.c): Likewise.
20165         (CFLAGS-tst-sprintf.c): Likewise.
20166         (CFLAGS-tst-printf.c): Likewise.
20167         (CFLAGS-tst-printfsz.c): Likewise.
20169 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20171         * include/cpio.h: New file.
20172         * include/fmtmsg.h: Likewise.
20174         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
20175         corresponding format argument to size_t.
20176         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
20177         arguments.
20178         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
20179         corresponding format argument to size_t.
20180         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
20181         arguments.
20182         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
20183         corresponding format argument to size_t.
20184         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
20185         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
20186         (CFLAGS-tst-mbswcs2.c): Likewise.
20187         (CFLAGS-tst-mbswcs3.c): Likewise.
20188         (CFLAGS-tst-mbswcs4.c): Likewise.
20189         (CFLAGS-tst-mbswcs5.c): Likewise.
20190         (CFLAGS-tst-trans.c): Likewise.
20192 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20194         * posix/regexbug1.c (main): Use "%s" format with regerror results,
20195         rather than assuming they won't contain any '%'s.
20197 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
20199         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
20200         inhibit_loop_to_libcall to avoid recursive calls.
20201         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
20202         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
20204 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20206         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
20207         prototype.
20209 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
20211         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
20212         integer value instead of boolean.
20214 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
20216         * malloc/malloc.c: Fix powerof2 check.
20218 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20220         * locale/programs/locfile.h (maybe_swap_uint32):
20221         Remove inline and add unused attribute.
20223 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20225         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20226         Truncating assembler expression to a .long expression.
20228 2014-12-11  Andreas Schwab  <schwab@suse.de>
20230         * elf/rtld.c (struct map_args): Constify str member.
20231         (do_preload): Constify fname argument.
20233 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20235         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
20236         constants definition.
20238 2014-12-11  Andreas Schwab  <schwab@suse.de>
20240         [BZ #16657]
20241         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
20242         FORCE_ELISION instead of DO_ELISION.
20243         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
20244         Remove.
20245         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
20246         Likewise.
20248         * iconvdata/gconv-modules: Remove duplicate entry.
20250 2014-12-11  Will Newton  <will.newton@linaro.org>
20252         Merge gettext 0.19.3 into intl/.
20254         This involves a number of cosmetic changes to comments
20255         and ANSI function definitions and prototypes throughout
20256         all the files. The gettext copyright header is used but
20257         with the date ranges taken from the glibc copy.
20259         * NEWS: Add gettext merge to 2.21.
20260         * intl/bindtextdom.c: Switch to gettext copyright.
20261         Use ANSI definitions and prototypes.
20262         Use gl_* locking primitives rather than __libc_* ones.
20263         Use __builtin_expect rather than __glibc_likely/unlikely.
20264         * intl/dcgettext.c: Switch to gettext copyright.
20265         Use ANSI definitions and prototypes.
20266         * intl/dcigettext.c: Switch to gettext copyright.
20267         Use ANSI definitions and prototypes.
20268         (INTDIV0_RAISES_SIGFPE): New define.
20269         Use gl_* locking primitives rather than __libc_* ones.
20270         Include eval-plural.h instead of plural-eval.c.
20271         Use __builtin_expect rather than __glibc_likely/unlikely.
20272         * intl/dcngettext.c: Switch to gettext copyright.
20273         Use ANSI definitions and prototypes.
20274         * intl/dgettext.c: Likewise.
20275         * intl/dngettext.c: Likewise.
20276         * intl/plural-eval.c: Renamed to...
20277         * intl/eval-plural.h: ...this.
20278         * intl/explodename.c: Switch to gettext copyright.
20279         Use ANSI definitions and prototypes.
20280         (_nl_explode_name): Use strchr instead of __rawmemchr.
20281         * intl/finddomain.c: Switch to gettext copyright.
20282         Use ANSI definitions and prototypes.
20283         Use gl_* locking primitives rather than __libc_* ones.
20284         (_nl_find_domain): Use malloc rather than alloca for
20285         allocation of temporary locale name.
20286         * intl/gettext.c: Switch to gettext copyright.
20287         Use ANSI definitions and prototypes.
20288         * intl/gettextP.h: Switch to gettext copyright.
20289         Use ANSI definitions and prototypes.
20290         Use gl_* locking primitives rather than __libc_* ones.
20291         * intl/gmo.h: Switch to gettext copyright.
20292         (struct sysdep_string): Move struct segment_pair outside of
20293         struct definition.
20294         * intl/hash-string.c: Use ANSI definitions and prototypes.
20295         * intl/hash-string.h: Switch to gettext copyright.
20296         Use ANSI definitions and prototypes.
20297         * intl/l10nflist.c: Switch to gettext copyright.
20298         Use ANSI definitions and prototypes.
20299         (_nl_normalize_codeset): Avoid integer overflow.
20300         * intl/loadinfo.h: Switch to gettext copyright.
20301         Use ANSI definitions and prototypes.
20302         (LIBINTL_DLL_EXPORTED): New define.
20303         (PATH_SEPARATOR): New define.
20304         * intl/loadmsgcat.c: Switch to gettext copyright.
20305         * intl/localealias.c: Switch to gettext copyright.
20306         Use ANSI definitions and prototypes.
20307         (_nl_expand_alias): Use PATH_SEPARATOR.
20308         * intl/ngettext.c: Switch to gettext copyright.
20309         Use ANSI definitions and prototypes.
20310         * intl/plural-exp.c: Likewise.
20311         * intl/plural-exp.h: Switch to gettext copyright.
20312         Use ANSI definitions and prototypes.
20313         (struct expression): Move definition of enum operator outside
20314         of struct definition.
20315         * intl/plural.c: Regenerate.
20316         * intl/plural.y: Switch to gettext copyright.
20317         Use ANSI definitions and prototypes.
20318         Port to bison 3.0.
20319         * intl/textdomain.c: Switch to gettext copyright.
20320         Use ANSI definitions and prototypes.
20321         Use gl_* locking primitives rather than __libc_* ones.
20323 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
20325         * debug/warning-nop.c: Add used atrribute.
20327 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20329         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
20331         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
20332         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
20333         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
20335 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20336             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20338         [BZ #17634]
20339         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
20340         Undefine after defining function.  Define as weak alias of
20341         __wcschr.  Use libc_hidden_weak.
20342         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
20343         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
20344         (libc_hidden_def): Also define __GI___wcschr alias.
20345         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
20346         __wcschr and define as weak alias of __wcschr.
20347         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
20348         __wcschr.
20349         [!WCSCHR] (DEFAULT_WCSCHR): Define.
20350         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
20351         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
20352         libc_hidden_weak.  Do not use libc_hidden_def.
20353         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
20354         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
20355         __GI___wcschr alias.
20356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
20357         [IS_IN (libc)] (wcschr): Define as macro expanding to
20358         __redirect_wcschr.
20359         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
20360         [IS_IN (libc)] (__wcschr_power6): Likewise.
20361         [IS_IN (libc)] (__wcschr_power7): Likewise.
20362         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
20363         instead of wcschr.
20364         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
20365         __libc_wcschr.
20366         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
20367         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
20368         __wcschr and define as weak alias of __wcschr.  Use
20369         libc_hidden_builtin_def.
20370         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
20371         as weak alias of __wcschr.  Use libc_hidden_weak.
20372         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
20373         wcschr.
20374         * time/era.c (_nl_init_era_entries): Likewise.
20375         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
20376         variable.
20377         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20378         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20380 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20382         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
20383         format for long int variable.
20385 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
20387         [BZ #10672]
20388         * manual/search.texi: (Array Sort Function): Remove claim how to make
20389         qsort stable.
20391 2014-12-10  Andreas Schwab  <schwab@suse.de>
20393         [BZ #12847]
20394         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
20395         user-controlled locks.
20397 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
20399         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
20400         register.
20402 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20404         * configure.ac (--disable-werror): New configure option.
20405         (enable_werror): New AC_SUBST.
20406         * configure: Regenerated.
20407         * config.make.in (enable-werror): New variable.
20408         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
20409         -Wno-error=undef.
20410         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
20411         * manual/install.texi (Configuring and compiling): Document
20412         --disable-werror.
20413         * INSTALL: Regenerated.
20414         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
20415         (CFLAGS-tst-chk2.c): Likewise.
20416         (CFLAGS-tst-chk3.c): Likewise.
20417         (CFLAGS-tst-chk4.cc): Likewise.
20418         (CFLAGS-tst-chk5.cc): Likewise.
20419         (CFLAGS-tst-chk6.cc): Likewise.
20420         (CFLAGS-tst-lfschk1.c): Likewise.
20421         (CFLAGS-tst-lfschk2.c): Likewise.
20422         (CFLAGS-tst-lfschk3.c): Likewise.
20423         (CFLAGS-tst-lfschk4.cc): Likewise.
20424         (CFLAGS-tst-lfschk5.cc): Likewise.
20425         (CFLAGS-tst-lfschk6.cc): Likewise.
20427         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
20428         (main): Disable -Wdeprecated-declarations around calls to
20429         register_printf_function.
20431         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
20432         (do_test): Disable -Wdiv-by-zero around some calls to
20433         fwrite_unlocked and fread_unlocked.
20435         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
20436         (DIAG_POP_NEEDS_COMMENT): Likewise.
20437         (_DIAG_STR1): Likewise.
20438         (_DIAG_STR): Likewise.
20439         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
20440         * stdio-common/bug21.c: Include <libc-internal.h>.
20441         (do_test): Disable -Wformat around call to sscanf.
20442         * stdio-common/scanf14.c: Include <libc-internal.h>.
20443         (main): Disable -Wformat around some calls to scanf functions.
20445 2014-12-09  Torvald Riegel  <triegel@redhat.com>
20447         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
20449 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20451         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
20452         stack variable alignment.
20454 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
20456         [BZ #17682]
20457         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
20458         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
20459         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
20460         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
20461         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
20462         __getrlimit instead of getrlimit.
20463         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
20464         __gettimeofday instead of gettimeofday.
20465         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20466         Likewise.
20467         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20468         Likewise.
20469         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20470         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
20471         Remove variable.
20472         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20473         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20475 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20477         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
20478         for wide-character tests.
20480 2014-12-04  Roland McGrath  <roland@hack.frob.com>
20482         * io/openat64.c: #include <libc-internal.h>
20483         (__openat64): Prototypify.  Use ignore_value on MODE.
20484         * io/openat.c: Likewise.
20485         * misc/reboot.c: #include <libc-internal.h>
20486         (reboot): Prototypify.  Use ignore_value on HOWTO.
20487         * misc/ptrace.c: #include <libc-internal.h>
20488         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
20490 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
20492         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
20493         XPG4, UNIX98 and XOPEN2K.
20494         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
20495         Remove variable.
20496         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20498 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20500         * libio/fileops.c: Use ISO C style for function definitions.
20501         * libio/iofopen.c: Likewise.
20502         * libio/wfileops.c: Likewise.
20504         [BZ #17653]
20505         * libio/fileops.c (_IO_new_file_underflow): Unset cached
20506         offset on EOF.
20507         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20508         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
20509         (fgets_func): Function pointer to fgets and fgetws.
20510         (do_ftell_test): Add test to verify ftell value after read
20511         EOF.
20512         (do_test): Set fgets_func.
20514         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
20515         O_TRUNC flag for w and w+ modes.
20516         (do_rewind_test): Likewise.
20517         (do_ftell_test): Likewise.
20518         (do_write_test): Likewise.
20520         [BZ #17647]
20521         * libio/fileops.c (do_ftell): Seek only when there are
20522         unflushed writes.
20523         * libio/wfileops.c (do_ftell_wide): Likewise.
20524         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
20525         test case.
20526         (do_one_test): Call it.
20528 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
20530         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
20531         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
20532         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
20533         Remove variable.
20534         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20535         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20536         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20538 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
20540         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
20541         Remove variable.
20542         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20544         [BZ #17668]
20545         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
20546         as weak alias of __getifaddrs.  Use libc_hidden_weak.
20547         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20548         __freeifaddrs.  Use libc_hidden_weak.
20549         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
20550         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
20551         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20552         __freeifaddrs.  Use libc_hidden_weak.
20553         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
20554         __getifaddrs and define as weak alias of __getifaddrs.  Use
20555         libc_hidden_weak.
20556         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20557         __freeifaddrs.  Use libc_hidden_weak.
20558         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
20559         Remove variable.
20560         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20561         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20563 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
20565         [BZ #17601]
20566         * sysdeps/mips/start.S (__start): Use indirect jump to call
20567         __libc_start_main.
20569 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
20571         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
20573         * nptl/tst-mutex1.c: Include <stdbool.h>.
20574         [!ATTR] (ATTR_NULL): New macro.
20575         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
20576         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
20577         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
20579         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
20580         to char *.
20582         [BZ #17665]
20583         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
20584         Change conditional to [__USE_MISC].
20586         [BZ #17664]
20587         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
20588         fgets_unlocked.
20589         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
20590         __fgets_unlocked.
20591         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
20592         fgets_unlocked.
20593         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
20594         Remove variable.
20595         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20596         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20597         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20598         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20599         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20600         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20601         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20602         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20603         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20605         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
20607 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20609         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20610         Remove strpbrk objects.
20611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20612         (__libc_ifunc_impl_list): Remove strpbrk implementation.
20613         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
20614         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
20615         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
20616         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
20618         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20619         Remove strcspn objects.
20620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20621         (__libc_ifunc_impl_list): Remove strcspn implementation.
20622         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
20623         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
20624         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
20625         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
20627         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20628         Remove strspn objetcs.
20629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20630         (__libc_ifunc_impl_list): Remove strspn implementation.
20631         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
20632         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20633         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
20634         * sysdeps/powerpc/powerpc64/strspn.S: New file.
20636 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
20638         [BZ #17581]
20639         * malloc/hooks.c
20640         (mem2mem_check): Add a terminator to the chain of checking blocks.
20641         (malloc_check_get_size): Use it here.
20642         (mem2chunk_check): Ditto.
20644 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20646         * sysdeps/powerpc/powerpc64/strtok.S: New file.
20647         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
20649 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
20651         * bits/ioctl-types.h: Indent preprocessor directives correctly.
20653         * nptl/nptl-init.c: Include libc-internal.h.
20654         (__pthread_initialize_minimal_internal): Use ROUND_UP.
20656         * elf/ldconfig.c (search_dir): Expand comment.
20658 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
20660         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
20661         variable.
20662         (linknamespace-symlist-stdlibs-tests): Likewise.
20663         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
20664         instead of $(objpfx)symlist-stdlibs.
20665         (linknamespace-libs-isoc): New variable.
20666         (linknamespace-libs): Use $(linknamespace-libs-isoc).
20667         (linknamespace-libs-ISO): New variable.
20668         (linknamespace-libs-ISO99): Likewise.
20669         (linknamespace-libs-ISO11): Likewise.
20670         (linknamespace-libs-XPG3): Likewise.
20671         (linknamespace-libs-XPG4): Likewise.
20672         (linknamespace-libs-POSIX): Likewise.
20673         (linknamespace-libs-UNIX98): Likewise.
20674         (linknamespace-libs-XOPEN2K): Likewise.
20675         (linknamespace-libs-POSIX2008): Likewise.
20676         (linknamespace-libs-XOPEN2K8): Likewise.
20677         ($(objpfx)symlist-stdlibs): Replace by
20678         $(linknamespace-symlist-stdlibs-tests).  Use
20679         $(linknamespace-libs-$*) as set of libraries.
20680         ($(linknamespace-header-tests)): Update dependencies.  Use
20681         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
20682         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
20683         * conform/linknamespace.pl: Remove comment about considering
20684         definitions of symbols from irrelevant libraries.
20686 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
20688         [BZ #13862]
20689         * elf/dl-tls.c: Include <atomic.h>.
20690         (oom): Remove #ifdef SHARED/#endif.
20691         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
20692         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
20693         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
20694         big enough.
20695         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
20696         * nptl/Makefile (tests): Add tst-stack4.
20697         (modules-names): Add tst-stack4mod.
20698         ($(objpfx)tst-stack4): New.
20699         (tst-stack4mod.sos): Likewise.
20700         ($(objpfx)tst-stack4.out): Likewise.
20701         ($(tst-stack4mod.sos)): Likewise.
20702         (clean): Likewise.
20703         * nptl/tst-stack4.c: New file.
20704         * nptl/tst-stack4mod.c: Likewise.
20706 2014-11-27  J. Brown  <jb999@gmx.de>
20708         * sysdeps/x86/bits/string.h: Add recent CPUs.
20710 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20712         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
20713         sigblock.
20715         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
20716         feof.
20718         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
20719         variable.
20721 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20723         * nscd/connections.c: Include libc-internal.h because of macro
20724         usage ignore_value.
20726 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20728         * string/bits/string3.h (__warn_memset_zero_len): Don't
20729         declare for gcc newer than 5.0.
20730         (memset): Don't test for zero-length __LEN for gcc newer than
20731         5.0.
20733 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20735         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
20736         size_t for %zu format.
20738         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
20739         difference, not %ju.
20741 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20743         * include/libc-internal.h (ignore_value): New macro.
20744         * nscd/connections.c (restart): Wrap calls to setuid and setgid
20745         with ignore_value.
20747         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
20748         definition.
20750         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
20751         pthread_cleanup_push to void *.
20753         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
20754         Undefine.
20756         [BZ #16619]
20757         [BZ #16740]
20758         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
20759         instead of 1L << 52.
20761         * libio/bug-rewind.c (do_test): Check fwscanf return values.
20762         * libio/bug-rewind2.c (do_test): Likewise.
20764         * debug/test-stpcpy_chk-ifunc.c: Remove file.
20765         * debug/test-strcpy_chk-ifunc.c: Likewise.
20766         * wcsmbs/test-wcschr-ifunc.c: Likewise.
20767         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20768         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20769         * wcsmbs/test-wcslen-ifunc.c: Likewise.
20770         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20771         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20772         * Rules [$(multi-arch) = no] (tests): Do not filter out
20773         $(tests-ifunc).
20774         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
20775         * debug/Makefile (tests-ifunc): Remove variable.
20776         (tests): Do not add $(tests-ifunc).
20777         * wcsmbs/Makefile (tests-ifunc): Remove variable.
20778         (tests): Do not add $(tests-ifunc).
20779         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
20780         [TEST_IFUNC]: Remove conditionals.
20781         * string/test-string.h (TEST_IFUNC): Remove macro.
20782         [TEST_IFUNC]: Remove conditionals.
20784         * string/test-strchr.c [!WIDE] (L): New macro.
20785         [WIDE] (L): Likewise.
20786         (check1): Use CHAR instead of char.  Use L on string and character
20787         constants.
20789 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
20791         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
20792         tests.
20793         * sysdeps/powerpc/bits/atomic.h
20794         (__arch_atomic_exchange_and_add_32_acq): Add definition.
20795         (__arch_atomic_exchange_and_add_32_rel): Likewise.
20796         (atomic_exchange_and_add_acq): Likewise.
20797         (atomic_exchange_and_add_rel): Likewise.
20798         * sysdeps/powerpc/powerpc32/bits/atomic.h
20799         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20800         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20801         * sysdeps/powerpc/powerpc64/bits/atomic.h
20802         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20803         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20805 2014-11-26  Torvald Riegel  <triegel@redhat.com>
20807         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
20808         Change synchronization of __sched_fifo_min_prio and
20809         __sched_fifo_max_prio.
20810         * nptl/pthread_mutexattr_getprioceiling.c
20811         (pthread_mutexattr_getprioceiling): Likewise.
20812         * nptl/pthread_mutexattr_setprioceiling.c
20813         (pthread_mutexattr_setprioceiling): Likewise.
20814         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20815         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20816         Likewise.
20818 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20820         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20821         void.
20823 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20825         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20826         third argument const.
20828 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
20830         fnmatch: work around GCC compiler warning bug with uninit var
20831         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20832         This works around a bug with x86-64 GCC 4.9.2 and earlier
20833         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20834         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20835         used uninitialized in this function [-Wmaybe-uninitialized]".
20837 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20839         * posix/bug-regex31.c (main): Return RES not 0.
20841 2014-11-25  Anton Blanchard <anton@samba.org>
20843         * sysdeps/powerpc/bits/atomic.h
20844         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20846 2014-11-24  Sterling Augustine  <saugustine@google.com>
20848         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20850 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
20852         [BZ #17608]
20853         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20855 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
20857         [BZ #17633]
20858         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20859         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20860         variable.
20861         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20862         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20864 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20866         * string/strncpy.c (strncpy): Improve performance by using memset.
20868 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20870         * string/strcpy.c (strcpy):
20871         Improve performance by using strlen and memcpy.
20873 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
20875         * string/strcoll_l.c (get_next_seq): __always_inline.
20876         * string/strcoll_l.c (do_compare): __always_inline.
20878 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20880         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
20881         defined.
20882         * include/mqueue.h: Likewise.
20883         * include/stdlib.h: Likewise.
20885         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
20886         (get_null_defines): Adjust.
20887         * sunrpc/Makefile: Adjust comment.
20888         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
20889         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
20890         (CFLAGS-interp.c): Likewise.
20891         (CFLAGS-ldconfig.c): Likewise.
20892         (CPPFLAGS-.os): Likewise.
20893         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20894         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20895         * extra-modules.mk (extra-modules.mk): Likewise.
20896         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
20897         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
20898         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
20899         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
20900         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
20901         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
20902         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
20903         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
20904         * iconvdata/Makefile (CPPFLAGS): Likewise.
20905         (cpp-srcs-left): Add libof for all iconvdata routines.
20906         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
20907         * include/assert.h: Likewise.
20908         * include/ctype.h: Likewise.
20909         * include/errno.h: Likewise.
20910         * include/libc-symbols.h: Likewise.
20911         * include/math.h: Likewise.
20912         * include/netdb.h: Likewise.
20913         * include/resolv.h: Likewise.
20914         * include/stdio.h: Likewise.
20915         * include/stdlib.h: Likewise.
20916         * include/string.h: Likewise.
20917         * include/sys/stat.h: Likewise.
20918         * include/wctype.h: Likewise.
20919         * intl/l10nflist.c: Likewise.
20920         * libidn/idn-stub.c: Likewise.
20921         * libio/libioP.h: Likewise.
20922         * nptl/libc_multiple_threads.c: Likewise.
20923         * nptl/pthreadP.h: Likewise.
20924         * posix/regex_internal.h: Likewise.
20925         * resolv/res_hconf.c: Likewise.
20926         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
20927         * sysdeps/arm/memmove.S: Likewise.
20928         * sysdeps/arm/sysdep.h: Likewise.
20929         * sysdeps/generic/_itoa.h: Likewise.
20930         * sysdeps/generic/symbol-hacks.h: Likewise.
20931         * sysdeps/gnu/errlist.awk: Likewise.
20932         * sysdeps/gnu/errlist.c: Likewise.
20933         * sysdeps/i386/i586/memcpy.S: Likewise.
20934         * sysdeps/i386/i586/memset.S: Likewise.
20935         * sysdeps/i386/i686/memcpy.S: Likewise.
20936         * sysdeps/i386/i686/memmove.S: Likewise.
20937         * sysdeps/i386/i686/mempcpy.S: Likewise.
20938         * sysdeps/i386/i686/memset.S: Likewise.
20939         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20940         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20941         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
20942         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
20943         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20944         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20945         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
20946         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20947         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20948         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20949         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20950         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20951         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20952         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20953         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20954         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20955         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
20956         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
20957         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
20958         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20959         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20960         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20961         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20962         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20963         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20964         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20965         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20966         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20967         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
20968         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20969         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20970         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20971         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20972         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20973         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20974         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20975         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20976         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20977         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20978         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20979         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20980         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20981         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20982         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20983         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20984         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20985         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
20986         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
20987         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20988         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20989         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20990         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
20991         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
20992         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20993         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20994         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
20995         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20996         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20997         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20998         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20999         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21000         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21001         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
21002         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21003         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21004         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
21005         * sysdeps/posix/closedir.c: Likewise.
21006         * sysdeps/posix/opendir.c: Likewise.
21007         * sysdeps/posix/readdir.c: Likewise.
21008         * sysdeps/posix/rewinddir.c: Likewise.
21009         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
21010         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
21011         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21012         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21013         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21014         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
21015         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
21016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
21017         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
21018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
21019         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
21020         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
21021         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
21022         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
21023         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
21024         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
21025         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
21026         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
21027         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
21028         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
21029         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
21030         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
21031         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
21032         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
21033         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
21034         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
21035         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
21036         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
21037         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
21038         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
21039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
21040         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
21041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
21042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
21043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
21044         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
21045         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21046         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21047         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
21048         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
21049         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
21050         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
21051         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
21052         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21053         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21054         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
21055         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
21056         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
21057         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
21058         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
21059         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
21060         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
21061         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21062         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
21063         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
21064         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
21065         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
21066         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
21067         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
21068         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
21069         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21070         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
21071         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21072         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
21073         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
21074         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21075         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
21076         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
21077         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
21078         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
21079         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21080         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
21081         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
21082         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
21083         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
21084         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
21085         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
21086         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
21087         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21088         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
21089         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
21090         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21091         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
21092         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
21093         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21094         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
21095         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
21096         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21097         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21098         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21099         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
21100         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
21101         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
21102         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21103         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21104         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
21105         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21106         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21107         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
21108         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
21109         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21110         * sysdeps/unix/alpha/sysdep.S: Likewise.
21111         * sysdeps/unix/alpha/sysdep.h: Likewise.
21112         * sysdeps/unix/make-syscalls.sh: Likewise.
21113         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21114         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21115         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21116         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
21117         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21118         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
21119         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
21120         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21121         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21122         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
21123         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21124         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21125         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21126         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21127         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21128         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21129         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21130         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21131         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21132         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21133         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21134         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21135         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21136         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21137         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21138         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21139         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21142         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
21143         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21144         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21145         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21146         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21147         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21148         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21149         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21150         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21151         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21152         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21153         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21154         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21155         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21156         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21157         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21158         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21159         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21160         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21161         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21162         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21163         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21164         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21165         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21166         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21167         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
21168         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21169         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21170         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21171         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
21172         * sysdeps/x86_64/memcpy.S: Likewise.
21173         * sysdeps/x86_64/memmove.c: Likewise.
21174         * sysdeps/x86_64/memset.S: Likewise.
21175         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
21176         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21177         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21178         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
21179         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
21180         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21181         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21182         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21183         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21184         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21185         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21186         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21187         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
21188         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21189         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21190         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
21191         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21192         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21193         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21194         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21195         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
21196         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21197         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21198         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21199         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21200         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21201         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21202         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
21203         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21204         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21205         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
21206         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21207         * sysdeps/x86_64/strcmp.S: Likewise.
21209         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
21211         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
21212         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
21213         * elf/rtld-Rules: Likewise.
21214         * elf/setup-vdso.h: Likewise.
21215         * include/assert.h: Likewise.
21216         * include/bits/stdlib-float.h: Likewise.
21217         * include/errno.h: Likewise.
21218         * include/sys/stat.h: Likewise.
21219         * include/unistd.h: Likewise.
21220         * sysdeps/aarch64/setjmp.S: Likewise.
21221         * sysdeps/alpha/setjmp.S: Likewise.
21222         * sysdeps/arm/__longjmp.S: Likewise.
21223         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
21224         * sysdeps/arm/setjmp.S: Likewise.
21225         * sysdeps/arm/sysdep.h: Likewise.
21226         * sysdeps/generic/_itoa.h: Likewise.
21227         * sysdeps/generic/dl-sysdep.h: Likewise.
21228         * sysdeps/generic/ldsodefs.h: Likewise.
21229         * sysdeps/i386/dl-tls.h: Likewise.
21230         * sysdeps/i386/setjmp.S: Likewise.
21231         * sysdeps/m68k/setjmp.c: Likewise.
21232         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
21233         * sysdeps/mach/hurd/opendir.c: Likewise.
21234         * sysdeps/posix/getcwd.c: Likewise.
21235         * sysdeps/posix/opendir.c: Likewise.
21236         * sysdeps/posix/profil.c: Likewise.
21237         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21238         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21239         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21240         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21241         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21242         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
21243         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21244         * sysdeps/s390/dl-tls.h: Likewise.
21245         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21246         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21247         * sysdeps/sh/sh3/setjmp.S: Likewise.
21248         * sysdeps/sh/sh4/setjmp.S: Likewise.
21249         * sysdeps/unix/alpha/sysdep.h: Likewise.
21250         * sysdeps/unix/arm/sysdep.S: Likewise.
21251         * sysdeps/unix/i386/sysdep.S: Likewise.
21252         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21253         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21254         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21255         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21256         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21257         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21258         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21259         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21260         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21261         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21262         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21263         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21264         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21267         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21268         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21269         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21270         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21271         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21272         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21273         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21274         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21275         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21276         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21277         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21278         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21279         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21280         * sysdeps/x86_64/setjmp.S: Likewise.
21282         * include/math.h: Use IS_IN instead of IS_IN_libm.
21283         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
21284         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21285         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21286         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
21287         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21288         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21289         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21290         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21291         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21292         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21293         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
21294         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
21295         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
21296         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
21297         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
21298         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
21299         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
21300         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
21301         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
21302         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
21303         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
21304         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
21305         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
21306         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
21307         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
21308         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
21309         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
21310         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
21311         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
21312         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
21313         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
21314         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21315         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21317         Likewise.
21318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
21319         Likewise.
21320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
21321         Likewise.
21322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
21323         Likewise.
21324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
21325         Likewise.
21326         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21327         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
21328         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21329         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21330         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21331         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
21333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
21334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
21335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
21336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
21337         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
21338         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
21339         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21340         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21341         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21342         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21343         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21344         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21345         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21346         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
21347         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
21348         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
21349         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
21350         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
21351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21352         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
21354         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
21355         * nptl/pthreadP.h: Likewise.
21356         * nptl_db/structs.def: Likewise.
21357         * sysdeps/arm/sysdep.h: Likewise.
21358         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21359         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21360         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
21361         * sysdeps/unix/alpha/sysdep.h: Likewise.
21362         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21364         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21365         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21366         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21367         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21368         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21369         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21370         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21371         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21372         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21373         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21374         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21375         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21378         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21379         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21380         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21381         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21382         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21383         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21384         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21385         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21386         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
21387         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21389         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
21390         * nptl/pthreadP.h: Likewise.
21391         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21392         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21393         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21394         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21395         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21396         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21397         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21398         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21399         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21400         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21401         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21402         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21404         Likewise.
21405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21406         Likewise.
21407         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21408         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21409         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21410         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21411         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21412         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21413         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21414         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21416         * dlfcn/dladdr.c: Use IS_IN.
21417         * dlfcn/dladdr1.c: Likewise.
21418         * dlfcn/dlclose.c: Likewise.
21419         * dlfcn/dlerror.c: Likewise.
21420         * dlfcn/dlinfo.c: Likewise.
21421         * dlfcn/dlmopen.c: Likewise.
21422         * dlfcn/dlopen.c: Likewise.
21423         * dlfcn/dlsym.c: Likewise.
21424         * dlfcn/dlvsym.c: Likewise.
21426         * include/ifaddrs.h: Use IS_IN.
21427         * inet/check_pf.c: Likewise.
21428         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21429         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
21431         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
21432         IS_IN_ldconfig.
21433         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
21434         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
21436         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
21437         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
21438         IS_IN (libc).
21440         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
21442         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
21443         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21444         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21445         * include/libc-symbols.h (IS_IN_LIB): New macro.
21446         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
21447         * include/netdb.h: Likewise.
21448         * include/stap-probe.h: Remove all uses of IN_LIB.
21450         * Makeconfig (module-cppflags-real): Define MODULE_NAME
21451         instead of IN_MODULE.
21452         * include/libc-symbols.h (IN_MODULE): Define using
21453         MODULE_NAME.
21454         (PASTE_NAME, PASTE_NAME1): New macros.
21455         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
21456         of IN_LIB.
21457         (STAP_PROBE_ASM): Likewise.
21459 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21461         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
21462         __mach_init in dlopened libc.
21464 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
21466         * sysdeps/arm/preconfigure.ac: Delete EABI check.
21467         * sysdeps/arm/preconfigure: Regenerate.
21469 2014-11-21  Roland McGrath  <roland@hack.frob.com>
21471         * nptl/pthread_create.c (__pthread_create_2_1): Set
21472         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
21473         when copying values from IATTR into PD.
21475 2014-11-21  Will Newton  <will.newton@linaro.org>
21476             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
21478         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
21479         Refactor inline-asm.  Also add comment.
21481         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
21482         ElfW macro instead of hardcoded Elf64 types.
21483         (la_aarch64_gnu_pltenter): Likewise.
21484         * sysdeps/aarch64/dl-machine.h
21485         (elf_machine_runtime_setup): Use ElfW(Addr).
21487         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
21488         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
21489         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
21490         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
21491         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
21492         (R_AARCH64_TLS_DTPMOD64): Rename to ..
21493         (R_AARCH64_TLS_DTPMOD): This.
21494         (R_AARCH64_TLS_DTPREL64): Rename to ...
21495         (R_AARCH64_TLS_DTPREL): This.
21496         (R_AARCH64_TLS_TPREL64): Rename to ...
21497         (R_AARCH64_TLS_TPREL): This.
21498         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
21499         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
21500         R_AARCH64_TLS_TPREL64.
21501         (elf_machine_rela): Likewise.
21503 2014-11-21  Torvald Riegel  <triegel@redhat.com>
21505         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
21506         by setting it to 0.  64b atomics are not supported currently.
21508 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21510         [BZ #16469]
21511         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
21512         search domain names.
21514 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21516         [BZ #16469]
21517         * NEWS: Update.
21518         * resolv/res_query.c (__libc_res_nquerydomain): Retain
21519         trailing dot.
21520         * posix/tst-getaddrinfo5.c: New.
21521         * posix/Makefile (tests): Add it.
21523 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21525         [BZ #14498]
21526         * NEWS: Fixed.
21527         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
21528         after parsing line but before break_if_match.
21529         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
21530         if there is a protocol mismatch.
21532 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
21534         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
21535         because the potential race is on the user-supplied stream.
21537 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21539         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
21540         string literal if not passed a buffer.
21541         * manual/job.texi (ctermid): Update reasoning, note deviation
21542         from posix, suggest mtasurace when not passed a buffer, for
21543         future non-preliminary safety notes.
21545 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21547         * manual/users.texi (cuserid): Fix MT-Safety note for the case
21548         of not passing it a buffer.
21549         Reported by Peng Haitao.
21551 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21553         * manual/Makefile ($(objpfx)stamp-summary): Require
21554         check-safety.sh to pass.
21555         * manual/check-safety.sh: Wish for verification that every
21556         @deftypefn and @deftypefun is followed by a @safety remark.
21558 2014-11-20  Roland McGrath  <roland@hack.frob.com>
21560         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
21562         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
21563         PTHREAD_CANCEL_ASYNCHRONOUS.
21564         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
21565         send SIGCANCEL.
21567         * nptl/default-sched.h: New file.
21568         * sysdeps/unix/sysv/linux/default-sched.h: New file.
21569         * nptl/pthread_create.c: Include it.
21570         (__pthread_create_2_1): Use collect_default_sched instead of making
21571         Linux syscalls here directly.
21573 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21575         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
21576         __pthread_once): Use C11 atomics.
21578 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21580         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
21582 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21584         * include/atomic.h (__atomic_link_error, __atomic_check_size,
21585         atomic_thread_fence_acquire, atomic_thread_fence_release,
21586         atomic_thread_fence_seq_cst, atomic_load_relaxed,
21587         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
21588         atomic_compare_exchange_weak_relaxed,
21589         atomic_compare_exchange_weak_acquire,
21590         atomic_compare_exchange_weak_release,
21591         atomic_exchange_acquire, atomic_exchange_release,
21592         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
21593         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
21594         atomic_fetch_and_acquire,
21595         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
21597 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21599         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
21600         USE_ATOMIC_COMPILER_BUILTINS): Define.
21601         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
21602         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21603         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
21604         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21605         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
21606         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21607         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
21608         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21609         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
21610         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21611         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
21612         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21613         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
21614         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21615         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
21616         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21617         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21618         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21619         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21620         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21621         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
21622         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21623         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21624         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21625         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
21626         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21627         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21628         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21629         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
21630         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21631         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
21632         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21633         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
21634         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21635         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21636         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21637         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
21638         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21639         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
21640         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21642 2014-11-19  Roland McGrath  <roland@hack.frob.com>
21644         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
21645         the sched_priority value here.  It was already checked when the user
21646         called pthread_attr_setschedparam.
21648         * nptl/tst-bad-schedattr.c: New file.
21649         * nptl/Makefile (tests): Add it.
21651 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
21652             Florian Weimer  <fweimer@redhat.com>
21653             Joseph Myers  <joseph@codesourcery.com>
21654             Adam Conrad  <adconrad@0c3.net>
21655             Andreas Schwab  <schwab@suse.de>
21656             Brooks  <bmoses@google.com>
21658         [BZ #17625]
21659         * wordexp-test.c (__dso_handle): Add prototype.
21660         (__register_atfork): Likewise.
21661         (__app_register_atfork): New function.
21662         (registered_forks): New global.
21663         (register_fork): New function.
21664         (test_case): Add 3 new tests for WRDE_CMDSUB.
21665         (main): Call __app_register_atfork.
21666         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
21667         fork count is non-zero fail the test.
21668         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
21669         is set.
21670         (parse_dollars): Remove check for WRDE_NOCMD.
21671         (parse_dquote): Likewise.
21673 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21675         * Makeconfig (built-modules): List non-library modules to be
21676         built.
21677         (module-cppflags): Include libc-modules.h for
21678         everything except shlib-versions.v.i.
21679         (CPPFLAGS): Use it.
21680         (before-compile): Add libc-modules.h.
21681         ($(common-objpfx)libc-modules.h,
21682         $(common-objpfx)libc-modules.stmp): New targets.
21683         (common-generated): Add libc-modules.h and libc-modules.stmp.
21684         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
21685         * include/libc-symbols.h: Don't include libc-modules.h.
21686         * include/libc-modules.h: Remove file.
21687         * scripts/gen-libc-modules.awk: New script to generate
21688         libc-modules.h.
21689         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
21690         Depend on libc-modules.stmp.
21692         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
21694         * Makeconfig (in-module): Get value of libof set for the
21695         translation unit.
21696         (CPPFLAGS): Use $(in-module).
21697         * Makerules: Don't suffix routine names for nonlib.
21698         * include/libc-modules.h: New file.
21699         * include/libc-symbols.h: Include libc-modules.h
21700         (IS_IN): New macro to replace IS_IN_* macros.
21701         * elf/Makefile: Set libof-* for each routine.
21702         * elf/rtld-Rules: Likewise.
21703         * extra-modules.mk: Likewise.
21704         * iconv/Makefile: Likewise.
21705         * iconvdata/Makefile: Likewise.
21706         * locale/Makefile: Likewise.
21707         * malloc/Makefile: Likewise.
21708         * nss/Makefile: Likewise.
21709         * sysdeps/gnu/Makefile: Likewise.
21710         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
21711         * sysdeps/unix/sysv/linux/Makefile: Likewise.
21712         * sysdeps/s390/s390-64/Makefile: Likewise.
21713         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
21714         CPPFLAGS for nscd instead of nonlib.
21716 2014-11-18  Roland McGrath  <roland@hack.frob.com>
21718         * nptl/createthread.c: New file.
21720         * nptl/createthread.c: Moved ...
21721         * sysdeps/unix/sysv/linux/createthread.c: ... here.
21723         * nptl/createthread.c: Add proper top-line comment.
21724         (do_clone): Folded into ...
21725         (create_thread): ... here.  Take new arguments STOPPED_START and
21726         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
21727         increment __nptl_threads, do event-reporting logic, do
21728         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
21729         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
21730         resource cleanup if sched_setaffinity or sched_setscheduler fails,
21731         just send SIGCANCEL.
21732         * nptl/pthread_create.c: Forward-declare create_thread before
21733         including createthread.c.
21734         (start_thread): Use new macro START_THREAD_DEFN to replace defining
21735         declaration, and new macro START_THREAD_SELF to replace argument.
21736         Remove return statement.
21737         (report_thread_creation): New function.
21738         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
21739         synchronization logic, and __nptl_nthreads increment here, around
21740         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
21741         PD->parent_cancelhandling here, before create_thread.  When
21742         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
21743         __deallocate_stack, and ENOMEM translation here.
21745 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
21747         [BZ #17616]
21748         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
21749         (mptwo): Rename to __mptwo.
21750         (__inv): Use __mptwo instead of mptwo.
21751         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
21752         (mptwo): Rename to __mptwo.
21753         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
21754         of mpone and __mptwo instead of mptwo.
21755         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
21756         instead of mpone.
21757         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21758         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
21759         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
21760         of mpone and __mptwo instead of mptwo.
21761         (__mpranred): Use __mpone instead of mpone.
21762         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
21763         variable.
21764         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21765         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21766         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21767         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21768         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21769         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21770         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21771         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21772         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21773         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21774         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21775         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21776         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21777         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21778         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21779         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21780         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21781         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21782         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21784 2014-11-18  Tom de Vries  <tom@codesoucery.com>
21786         * manual/signal.texi (Primitives Interrupted by Signals): In section,
21787         replace BSD Handler xref with BSD Signal Handling.
21789 2014-11-17  Richard Henderson  <rth@redhat.com>
21791         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
21792         (_FP_PACK_RAW_2): Remove.
21793         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
21794         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
21795         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
21796         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
21797         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
21798         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
21799         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
21800         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
21801         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
21802         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
21803         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21804         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
21805         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
21806         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
21807         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
21808         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
21810 2014-11-14  Roland McGrath  <roland@hack.frob.com>
21812         * signal/signal.h [__USE_MISC]
21813         (struct sigvec): Remove type.
21814         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21815         (sigvec): Remove declaration.
21816         * sysdeps/posix/sigvec.c: Moved ...
21817         * signal/sigvec.c: ... here, replacing old file.
21818         (struct sigvec): New type, copied from old signal.h definition.
21819         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21820         (__sigvec): Convert definition to prototype.
21821         (sigvec): Replace weak_alias with compat_symbol.
21822         * signal/Versions (libc: GLIBC_2.21): New version set.
21823         * include/signal.h: Remove __sigvec declaration.
21824         * sysdeps/unix/bsd/sigvec.c: Remove file.
21825         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21826         * manual/signal.texi (BSD Handler): Remove subsection.
21827         Move siginterrupt up to ...
21828         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
21829         (Blocking in BSD): Fold subsection into its parent.
21830         * NEWS: Mention sigvec removal.
21832 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21834         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21835         (DLA_FMS): Make definition conditional only on [__FMA4__].
21836         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21837         definition.
21839         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21840         Make definition conditional only on [PROF].
21841         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21842         definition.
21843         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21844         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21846         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21847         !__GNUC__].
21848         * include/signal.h (__sigpause): Move declaration above call to
21849         libc_hidden_proto.
21850         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21851         variable.
21852         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21853         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21855 2014-11-14  David S. Miller  <davem@davemloft.net>
21857         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21858         Define before including <string/memcpy.c> and <string/mempcpy.c>.
21860 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21862         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21863         * configure: Regenerated.
21864         * manual/install.texi (Tools for Compilation): Document a
21865         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21866         compiler verified to work.
21867         * INSTALL: Regenerated.
21869         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21870         redeclare with asm name.
21871         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
21872         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
21873         including <string.h>.
21874         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21875         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
21876         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21877         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
21878         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21879         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21880         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21882 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
21884         * stdlib/strtol.c (__strtol): Use prototype definition.
21886         [BZ #17594]
21887         * stdlib/strtol.c (SYM__): New macro.
21888         (SYM__1): Likewise.
21889         (__strtol): Likewise.
21890         (strtol): Rename to __strtol and define as weak alias of
21891         __strtol.  Use libc_hidden_weak.
21893 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21895         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
21896         Use numbered labels in inline assembly.
21898 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21900         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
21901         Add setjmp LIBC_PROBE.
21902         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
21903         Likewise.
21904         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
21905         Add longjmp, longjmp_target LIBC_PROBE.
21906         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
21907         Likewise.
21909 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21911         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21912         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
21913         to get rid of unused variable warning.
21915 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21917         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21918         Check for unwind_backtrace ==  NULL only in SHARED case.
21919         (__backchain_backtrace): Compile only in SHARED case.
21920         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
21921         Likewise.
21922         (__backchain_backtrace): Declare as static.
21924 2014-11-12  Roland McGrath  <roland@hack.frob.com>
21926         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
21927         (__libc_multiple_threads_ptr): Variable moved ...
21928         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
21930 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
21932         * conform/GlibcConform.pm: New file.
21933         * conform/conformtest.pl: Use GlibcConform module.
21934         * conform/linknamespace.pl: New file.
21935         * conform/list-header-symbols.pl: Likewise.
21936         * conform/Makefile (linknamespace-symlists-base): New variable.
21937         (linknamespace-symlists-tests): Likewise.
21938         (linknamespace-header-base): Likewise.
21939         (linknamespace-header-tests): Likewise.
21940         (tests-special): Add new tests.
21941         ($(linknamespace-symlists-tests)): New rule.
21942         (linknamespace-libs): New variable.
21943         ($(objpfx)symlist-stdlibs): New rule.
21944         ($(linknamespace-header-tests)): Likewise.
21945         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
21946         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
21947         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
21948         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
21949         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21950         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
21951         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
21952         (test-xfail-ISO/math.h/linknamespace): Likewise.
21953         (test-xfail-ISO/signal.h/linknamespace): Likewise.
21954         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
21955         (test-xfail-ISO/time.h/linknamespace): Likewise.
21956         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21957         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
21958         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21959         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21960         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21961         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21962         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21963         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21964         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21965         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21966         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21967         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21968         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21969         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
21970         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
21971         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21972         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
21973         (test-xfail-XPG3/search.h/linknamespace): Likewise.
21974         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
21975         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21976         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
21977         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21978         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21979         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
21980         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21981         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21982         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
21983         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
21984         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21985         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
21986         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21987         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21988         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21989         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21990         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
21991         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
21992         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
21993         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
21994         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21995         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
21996         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21997         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21998         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21999         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22000         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22001         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
22002         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
22003         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22004         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22005         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
22006         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22007         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22008         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
22009         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22010         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22011         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22012         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22013         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22014         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22015         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22016         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22017         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22018         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
22019         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22020         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22021         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22022         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
22023         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22024         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22025         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
22026         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22027         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22028         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22029         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22030         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22031         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22032         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
22033         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
22034         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22035         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
22036         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22037         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
22038         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22039         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22040         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22041         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
22042         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22043         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22044         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22045         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
22046         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
22047         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
22048         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22049         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22050         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22051         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22052         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
22053         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
22054         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22055         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22056         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22057         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22058         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22059         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22060         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22061         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22062         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22063         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22064         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
22065         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22066         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22067         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
22068         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22069         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22070         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22071         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22072         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22073         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22074         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22075         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22076         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22077         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22078         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22079         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22080         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22081         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22082         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
22083         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22084         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22085         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22086         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22087         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22088         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
22089         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22090         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22091         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22092         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22093         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22094         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22095         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22096         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22097         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22098         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22099         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22100         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22101         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22102         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
22103         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22104         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22105         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22107         [BZ #17589]
22108         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
22109         of fgets_unlocked.
22111         [BZ #17585]
22112         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
22113         (memmem): Rename to __memmem and define as weak alias of
22114         __memmem.  Use libc_hidden_weak.
22115         (__memmem): Use libc_hidden_def.
22116         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
22117         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
22118         memmem.
22120         [BZ #17582]
22121         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
22122         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
22123         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
22124         and define as weak alias of __fgets_unlocked.  Use
22125         libc_hidden_weak.
22126         (__fgets_unlocked): Use libc_hidden_def.
22127         * include/stdio.h (__fgets_unlocked): Declare.  Use
22128         libc_hidden_proto.
22129         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
22130         __fgets_unlocked instead of fgets_unlocked.
22131         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
22132         (GET_NPROCS_CONF_PARSER): Likewise.
22133         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
22134         (GET_NPROCS_CONF_PARSER): Likewise.
22136         [BZ #17574]
22137         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
22138         weak alias of __wmemset.  Use libc_hidden_weak.
22139         (__wmemset): Use libc_hidden_def.
22140         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
22141         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
22142         of wmemset.
22144         [BZ #17573]
22145         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
22146         with asm name __mempcpy.
22147         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
22149         [BZ #17572]
22150         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
22151         and define as weak alias of __rawmemchr.
22152         (__rawmemchr): Do not define as strong alias of rawmemchr.
22154         [BZ #17571]
22155         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
22156         alias of __qsort_r.
22157         (qsort): Call __qsort_r instead of qsort_r.
22158         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
22159         (__qsort_r): Declare.  Call libc_hidden_proto.
22160         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
22161         instead of qsort_r.
22162         * nscd/gai.c (__qsort_r): Define to qsort_r.
22163         * posix/tst-rfc3484.c (__qsort_r): Likewise.
22164         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
22165         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
22167         [BZ #17570]
22168         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
22169         define as weak alias of __malloc_info.
22171         [BZ #17584]
22172         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
22173         as weak alias of __rewinddir.  Don't use libc_hidden_def.
22174         (__rewinddir): Use libc_hidden_def.
22175         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
22176         as weak alias of __rewinddir.  Don't use libc_hidden_def.
22177         (__rewinddir): Use libc_hidden_def.
22178         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
22179         weak alias of __rewinddir.  Don't use libc_hidden_def.
22180         (__rewinddir): Use libc_hidden_def.
22181         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
22182         (__rewinddir): Use libc_hidden_proto.
22183         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
22184         rewinddir.
22185         (__getcwd): Use __rewinddir instead of rewinddir.
22187         [BZ #17583]
22188         * libio/fileno.c (fileno): Rename to __fileno and define as weak
22189         alias of __fileno.  Use libc_hidden_weak.
22190         (__fileno): Use libc_hidden_def.
22191         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
22192         * libio/ftello.c (ftello): Rename to __ftello and define as weak
22193         alias of __ftello.
22194         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
22195         __ftello.
22196         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
22197         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
22198         libc_hidden_def.
22199         (fread_unlocked): Don't use libc_hidden_ver.
22200         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
22201         and define as weak alias of __fread_unlocked.  Don't use
22202         libc_hidden_def.
22203         (__fread_unlocked): Use libc_hidden_def.
22204         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
22205         (ftello): Don't use libc_hidden_proto.
22206         (__ftello): Declare.  Use libc_hidden_proto.
22207         (fread_unlocked): Don't use libc_hidden_proto.
22208         (__fread_unlocked): Declare.  Use libc_hidden_proto.
22209         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
22210         and __ftello instead of fileno, fread_unlocked and ftello.
22212 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22214         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
22215         GOT12.
22216         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22217         Likewise.
22218         (_dl_start_user): Likewise.
22219         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
22221 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
22222             Siddhesh Poyarekar  <siddhesh@redhat.com>
22224         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
22225         Move argv and envp down instead of moving argc up.
22226         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
22228 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
22230         [BZ #17506]
22231         * test-skeleton.c (main): Return successful if one of
22232         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
22233         * string/tst-strcoll-overflow.c: Define expected status.
22235 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
22237         [BZ #17475]
22238         * locale/iso-639.def: Define Bhili and Tulu language codes.
22240 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
22242         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
22244 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
22246         [BZ #17555]
22247         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
22249 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22251         * configure.ac: Updated check of minimal required version to
22252         2.22.
22253         * manual/install.texi (Tools for Compilation): Updated version
22254         number.
22255         * configure: Regenerated.
22256         * INSTALL: Likewise.
22258 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
22260         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
22261         __tls_get_addr.
22263 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
22265         * include/sys/wait.h (__libc_waitpid): Remove declaration.
22266         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
22267         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22268         libc_hidden_weak.
22269         (waitpid): Define as alias of __waitpid.
22270         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
22271         __waitpid.
22272         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22273         libc_hidden_weak.
22274         (waitpid): Define as alias of __waitpid.
22275         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
22276         __libc_waitpid alias.
22277         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
22278         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
22279         Likewise.
22280         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
22281         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
22282         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
22283         alias.
22284         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
22285         __waitpid.
22286         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22287         libc_hidden_weak.
22288         (waitpid): Define as alias of __waitpid.
22290 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
22292         * manual/llio.texi: Add comment that write safety has been
22293         fixed in Linux.
22295         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
22296         (localplt-build-dso): Add elf/ld.so.
22297         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
22298         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
22299         and free for ld.so.
22300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
22301         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
22302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
22303         Likewise.
22304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22305         Likewise.
22306         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
22307         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
22308         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
22309         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
22310         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22311         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
22312         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
22313         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
22314         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22315         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
22316         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22318 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
22320         [BZ #14132]
22321         * include/libc-symbols.h (INTUSE): Remove macro.
22322         (INTDEF): Likewise.
22323         (INTVARDEF): Likewise.
22324         (_INTVARDEF): Likewise.
22325         (INTDEF2): Likewise.
22326         (INTVARDEF2): Likewise.
22327         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
22328         rtld_hidden_def instead of INTVARDEF.
22329         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
22330         (_dl_starting_up_internal): Remove declaration.
22331         (_dl_starting_up): Use rtld_hidden_proto.
22332         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
22333         declaration.
22334         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
22335         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
22336         _dl_starting_up.
22337         * elf/dl-writev.h (_dl_writev): Likewise.
22338         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
22339         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
22340         _dl_starting_up_internal.
22342 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22344         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
22345         test-skeleton.c.
22347 2014-11-05  Will Newton  <will.newton@linaro.org>
22349         * benchtests/Makefile: (bench-malloc): Add malloc thread
22350         scalability benchmark.
22351         * benchtests/bench-malloc-threads.c: New file.
22353 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
22355         * sysdeps/aarch64/strchrnul.S: New file.
22357 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22359         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
22360         definition.
22361         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22362         Likwise.
22363         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22364         Likewise.
22365         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22366         Likewise.
22367         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22368         Likewise.
22369         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22370         Likewise.
22372 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
22374         * catgets/test-gencat.c: Use test-skeleton.c.
22375         * catgets/tst-catgets.c: Likewise.
22376         * csu/tst-empty.c: Likewise.
22377         * elf/tst-audit2.c: Likewise.
22378         * elf/tst-global1.c: Likewise.
22379         * elf/tst-pathopt.c: Likewise.
22380         * elf/tst-piemod1.c: Likewise.
22381         * elf/tst-tls10.c: Likewise.
22382         * elf/tst-tls11.c: Likewise.
22383         * elf/tst-tls12.c: Likewise.
22384         * gnulib/tst-gcc.c: Likewise.
22385         * iconvdata/tst-e2big.c: Likewise.
22386         * iconvdata/tst-loading.c: Likewise.
22387         * iconv/tst-iconv1.c: Likewise.
22388         * iconv/tst-iconv2.c: Likewise.
22389         * inet/test-inet6_opt.c: Likewise.
22390         * inet/tst-gethnm.c: Likewise.
22391         * inet/tst-network.c: Likewise.
22392         * inet/tst-ntoa.c: Likewise.
22393         * intl/tst-codeset.c: Likewise.
22394         * intl/tst-gettext2.c: Likewise.
22395         * intl/tst-gettext3.c: Likewise.
22396         * intl/tst-ngettext.c: Likewise.
22397         * intl/tst-translit.c: Likewise.
22398         * io/test-stat.c: Likewise.
22399         * libio/test-fmemopen.c: Likewise.
22400         * libio/tst-freopen.c: Likewise.
22401         * libio/tst-sscanf.c: Likewise.
22402         * libio/tst-ungetwc1.c: Likewise.
22403         * libio/tst-ungetwc2.c: Likewise.
22404         * libio/tst-widetext.c: Likewise.
22405         * localedata/tst-ctype.c: Likewise.
22406         * localedata/tst-digits.c: Likewise.
22407         * localedata/tst-leaks.c: Likewise.
22408         * localedata/tst-mbswcs1.c: Likewise.
22409         * localedata/tst-mbswcs2.c: Likewise.
22410         * localedata/tst-mbswcs3.c: Likewise.
22411         * localedata/tst-mbswcs4.c: Likewise.
22412         * localedata/tst-mbswcs5.c: Likewise.
22413         * localedata/tst-setlocale.c: Likewise.
22414         * localedata/tst-trans.c: Likewise.
22415         * localedata/tst-wctype.c: Likewise.
22416         * localedata/tst-xlocale1.c: Likewise.
22417         * login/tst-grantpt.c: Likewise.
22418         * malloc/tst-calloc.c: Likewise.
22419         * malloc/tst-malloc.c: Likewise.
22420         * malloc/tst-mallocstate.c: Likewise.
22421         * malloc/tst-mcheck.c: Likewise.
22422         * malloc/tst-mtrace.c: Likewise.
22423         * malloc/tst-obstack.c: Likewise.
22424         * math/atest-exp2.c: Likewise.
22425         * math/atest-exp.c: Likewise.
22426         * math/atest-sincos.c: Likewise.
22427         * math/test-matherr.c: Likewise.
22428         * math/test-misc.c: Likewise.
22429         * math/test-powl.c: Likewise.
22430         * math/tst-definitions.c: Likewise.
22431         * misc/tst-dirname.c: Likewise.
22432         * misc/tst-efgcvt.c: Likewise.
22433         * misc/tst-fdset.c: Likewise.
22434         * misc/tst-hsearch.c: Likewise.
22435         * misc/tst-mntent2.c: Likewise.
22436         * nptl/tst-sem7.c: Likewise.
22437         * nptl/tst-sem8.c: Likewise.
22438         * nptl/tst-sem9.c: Likewise.
22439         * nss/test-netdb.c: Likewise.
22440         * posix/tst-fnmatch.c: Likewise.
22441         * posix/tst-getlogin.c: Likewise.
22442         * posix/tst-gnuglob.c: Likewise.
22443         * posix/tst-mmap.c: Likewise.
22444         * pwd/tst-getpw.c: Likewise.
22445         * resolv/tst-inet_ntop.c: Likewise.
22446         * rt/tst-timer.c: Likewise.
22447         * stdio-common/test-fseek.c: Likewise.
22448         * stdio-common/test-popen.c: Likewise.
22449         * stdio-common/test-vfprintf.c: Likewise.
22450         * stdio-common/tst-cookie.c: Likewise.
22451         * stdio-common/tst-fileno.c: Likewise.
22452         * stdio-common/tst-gets.c: Likewise.
22453         * stdio-common/tst-obprintf.c: Likewise.
22454         * stdio-common/tst-perror.c: Likewise.
22455         * stdio-common/tst-sprintf2.c: Likewise.
22456         * stdio-common/tst-sprintf3.c: Likewise.
22457         * stdio-common/tst-sprintf.c: Likewise.
22458         * stdio-common/tst-swprintf.c: Likewise.
22459         * stdio-common/tst-tmpnam.c: Likewise.
22460         * stdio-common/tst-unbputc.c: Likewise.
22461         * stdio-common/tst-wc-printf.c: Likewise.
22462         * stdlib/tst-environ.c: Likewise.
22463         * stdlib/tst-fmtmsg.c: Likewise.
22464         * stdlib/tst-limits.c: Likewise.
22465         * stdlib/tst-rand48-2.c: Likewise.
22466         * stdlib/tst-rand48.c: Likewise.
22467         * stdlib/tst-random2.c: Likewise.
22468         * stdlib/tst-random.c: Likewise.
22469         * stdlib/tst-strtol.c: Likewise.
22470         * stdlib/tst-strtoll.c: Likewise.
22471         * stdlib/tst-tls-atexit.c: Likewise.
22472         * stdlib/tst-xpg-basename.c: Likewise.
22473         * string/test-ffs.c: Likewise.
22474         * string/tst-bswap.c: Likewise.
22475         * string/tst-inlcall.c: Likewise.
22476         * string/tst-strtok.c: Likewise.
22477         * string/tst-strxfrm.c: Likewise.
22478         * sysdeps/x86_64/tst-audit10.c: Likewise.
22479         * sysdeps/x86_64/tst-audit3.c: Likewise.
22480         * sysdeps/x86_64/tst-audit4.c: Likewise.
22481         * sysdeps/x86_64/tst-audit5.c: Likewise.
22482         * time/tst-ftime_l.c: Likewise.
22483         * time/tst-getdate.c: Likewise.
22484         * time/tst-mktime3.c: Likewise.
22485         * time/tst-mktime.c: Likewise.
22486         * time/tst-posixtz.c: Likewise.
22487         * time/tst-strptime2.c: Likewise.
22488         * time/tst-strptime3.c: Likewise.
22489         * wcsmbs/tst-btowc.c: Likewise.
22490         * wcsmbs/tst-mbrtowc.c: Likewise.
22491         * wcsmbs/tst-mbsrtowcs.c: Likewise.
22492         * wcsmbs/tst-wchar-h.c: Likewise.
22493         * wcsmbs/tst-wcpncpy.c: Likewise.
22494         * wcsmbs/tst-wcrtomb.c: Likewise.
22495         * wcsmbs/tst-wcsnlen.c: Likewise.
22496         * wcsmbs/tst-wcstof.c: Likewise.
22498 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
22500         [BZ #14132]
22501         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
22502         INTDEF.
22503         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
22504         declaration.
22505         (_dl_mcount): Use rtld_hidden_proto.
22506         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
22507         _dl_mcount.
22508         * elf/rtld.c (_rtld_global_ro): Likewise.
22510         [BZ #14132]
22511         * elf/dl-init.c (_dl_init): Don't use INTDEF.
22512         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
22513         of _dl_init_internal.
22514         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
22515         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
22516         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
22517         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
22518         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
22519         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
22520         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
22521         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
22522         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
22523         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
22524         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
22525         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
22526         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22527         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22528         * sysdeps/tile/dl-start.S (_start): Likewise.
22529         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
22530         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
22532         [BZ #14132]
22533         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
22534         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
22535         (rtld_progname): Make macro definition unconditional.
22536         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
22537         INTDEF.
22538         (dlmopen_doit): Do not use INTUSE with _dl_argv.
22539         (dl_main): Likewise.
22540         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22541         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
22542         instead of _dl_argv_internal.
22543         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22544         __GI__dl_argv instead of INTUSE(_dl_argv).
22545         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
22546         __GI__dl_argv instead of _dl_argv_internal.
22548         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
22549         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
22550         macro.
22551         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
22552         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
22553         New macro.
22554         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
22555         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
22556         macro.
22557         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
22558         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
22560 2014-11-04  Andreas Schwab  <schwab@suse.de>
22562         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
22564 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22566         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
22567         mtvsrd instruction in binary form.
22569 2014-11-03  Andreas Schwab  <schwab@suse.de>
22571         [BZ #17522]
22572         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
22573         for less than MB_LEN_MAX use a local buffer of that size.
22574         * libio/tst-fputws.c: New file.
22575         * libio/Makefile (tests): Add tst-fputws.
22577 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
22579         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
22580         the size of the fpu_fr.fpu_dregs[] array.
22582 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
22584         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
22585         (__nanosleep): Do not define as alias.
22586         (nanosleep): Define as alias of __nanosleep.
22587         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
22588         __libc_nanosleep name.
22590 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22592         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
22593         install.texi in comment.
22595 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22597         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
22598         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
22599         ... add here and use lwsync or sync ...
22600         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
22601         ... and add here using lwsync.
22603 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22605         * elf/dl-machine-reject-phdr.h: New file.
22606         * elf/dl-load.c: #include that.
22607         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
22608         if that returned true.
22610 2014-10-31  Roland McGrath  <roland@hack.frob.com>
22612         [BZ #17496]
22613         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
22614         gen-as-const-headers chunk.  Add a big scare comment after the last
22615         safe place to touch before-compile.
22617 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22619         * manual/install.texi (Tools for Compilation): Update autoconf
22620         version requirements.
22621         * INSTALL: Regenerated.
22623         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
22624         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
22625         (__libc_pselect): Likewise.
22627         [BZ #14138]
22628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
22629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22633 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22635         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
22636         correct barrier instruction.
22637         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
22638         Likewise.
22639         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
22640         Likewise.
22642 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22644         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
22645         after defining inlines.  Instead, just use parens to defeat macro
22646         expansion of __isctype in its declaration.
22648 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22650         * include/sys/uio.h (__libc_readv): Remove declaration.
22651         (__libc_writev): Likewise.
22652         * misc/readv.c (__libc_readv): Rename to __readv.
22653         (__readv): Do not define as alias.
22654         (readv): Define as alias of __readv.
22655         * misc/writev.c (__libc_writev): Rename to __writev.
22656         (__writev): Do not define as alias.
22657         (writev): Define as alias of __writev.
22658         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
22659         (__readv): Do not define as alias.
22660         (readv): Define unconditionally as alias of __readv.
22661         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
22662         (__writev): Do not define as alias.
22663         (writev): Define unconditionally as alias of __writev.
22664         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
22665         name.
22666         (writev): Do not define __libc_writev name.
22668 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22670         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
22671         (convert_charseq): New function, broken out of ...
22672         (use_from_charmap): ... here.  Call it.
22673         (use_to_charmap): Use convert_charseq and free instead of duplicating
22674         its code with a variable-length stack struct.
22676 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22678         * include/fcntl.h (__libc_creat): Remove declaration.
22679         * io/creat.c (__libc_creat): Rename to creat.
22680         (creat): Do not define as alias.
22681         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
22682         of creat instead of __libc_creat.
22683         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
22684         to creat.
22685         (creat): Do not define as alias.
22686         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
22687         __libc_creat.
22688         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
22689         __libc_creat name.
22690         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
22691         Likewise.
22693 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
22695         * manual/llio.texi: Add comments discussing why write() may be
22696         considered MT-unsafe on Linux.
22698 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
22700         * dl-load.c (local_strdup): Remove.
22701         (expand_dynamic_string_token): Use __strdup.
22702         (decompose_rpath): Likewise.
22703         (_dl_map_object): Likewise.
22705 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
22707         [BZ #14132]
22708         * sysdeps/generic/unwind-dw2-fde.c
22709         (__register_frame_info_bases_internal): Do not declare.
22710         (__register_frame_info_table_bases_internal): Likewise.
22711         (__deregister_frame_info_bases_internal): Likewise.
22712         (__register_frame_info_bases): Declare and use hidden_proto before
22713         definition.  Use hidden_def instead of INTDEF.
22714         (__register_frame_info_table_bases): Likewise.
22715         (__deregister_frame_info_bases): Likewise.
22716         (__register_frame_info): Do not use INTUSE.
22717         (__register_frame): Likewise.
22718         (__register_frame_info_table): Likewise.
22719         (__register_frame_table): Likewise.
22720         (__deregister_frame_info): Likewise.
22721         (__deregister_frame): Likewise.
22723 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
22725         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22726         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
22727         not undefine.
22728         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
22729         Likewise.
22730         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
22731         Likewise.
22733 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
22735         [BZ #14138]
22736         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
22737         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
22738         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
22739         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
22740         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
22741         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
22742         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
22743         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
22744         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
22745         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
22746         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
22747         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
22748         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
22749         syscall.
22750         (setfsuid): Likewise.
22751         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
22752         (setfsuid): Likewise.
22753         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
22754         (setfsuid): Likewise.
22755         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
22756         Likewise.
22757         (setfsuid): Likewise.
22758         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
22759         (setfsuid): Likewise.
22760         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
22761         Likewise.
22762         (setfsuid): Likewise.
22764 2014-10-27  Andreas Schwab  <schwab@suse.de>
22766         [BZ #17501]
22767         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
22768         check for Slow_SSE4_2 feature bit.
22769         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
22770         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22771         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
22772         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
22774 2014-10-24  Roland McGrath  <roland@hack.frob.com>
22776         * configure.ac: Validate compiler version with a empirical test of
22777         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
22778         $CC -v output.
22779         * configure: Regenerated.
22781         * inet/htons.c (htons): Prototypify.
22782         * inet/htonl.c (htonl): Likewise.
22784 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22786         * string/strncat.c (strncat): Improve performance by using strlen.
22788 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22790         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
22792 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22794         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
22795         Call libc_fetestexcept_aarch64.
22797 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22799         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
22800         Call libc_feholdexcept_aarch64.
22802 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22804         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
22805         Call get_rounding_mode.
22807 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22809         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22810         Simplify logic.
22812 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22814         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22815         Simplify logic.
22817 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
22819         [BZ #14138]
22820         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22821         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22822         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22823         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22824         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22825         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22826         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22827         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22828         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22829         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22830         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22831         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22832         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22833         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22834         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22835         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22836         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22837         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22838         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22839         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22840         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22841         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22842         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22843         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22844         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22845         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22846         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22847         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22848         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22849         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22850         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22851         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22852         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22853         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22854         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22855         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22856         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22857         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22858         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22859         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22860         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22861         syscall.
22862         (geteuid): Likewise.
22863         (getgid): Likewise.
22864         (getuid): Likewise.
22865         (getresgid): Likewise.
22866         (getresuid): Likewise.
22867         (getgroups): Likewise.
22868         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22869         (geteuid): Likewise.
22870         (getgid): Likewise.
22871         (getuid): Likewise.
22872         (getresgid): Likewise.
22873         (getresuid): Likewise.
22874         (getgroups): Likewise.
22875         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
22876         (geteuid): Likewise.
22877         (getgid): Likewise.
22878         (getuid): Likewise.
22879         (getresgid): Likewise.
22880         (getresuid): Likewise.
22881         (getgroups): Likewise.
22882         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
22883         Likewise.
22884         (geteuid): Likewise.
22885         (getgid): Likewise.
22886         (getuid): Likewise.
22887         (getresgid): Likewise.
22888         (getresuid): Likewise.
22889         (getgroups): Likewise.
22890         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
22891         (geteuid): Likewise.
22892         (getgid): Likewise.
22893         (getuid): Likewise.
22894         (getresgid): Likewise.
22895         (getresuid): Likewise.
22896         (getgroups): Likewise.
22897         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
22898         Likewise.
22899         (geteuid): Likewise.
22900         (getgid): Likewise.
22901         (getuid): Likewise.
22902         (getgroups): Likewise.
22904         [BZ #14138]
22905         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
22906         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
22907         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
22908         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22909         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
22910         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
22911         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
22912         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
22913         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
22914         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
22915         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
22916         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
22917         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
22918         __chown.
22919         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
22920         (lchown): Likewise.
22921         (fchown): Likewise.
22922         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
22923         Likewise.
22924         (lchown): Likewise.
22925         (fchown): Likewise.
22926         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
22927         (lchown): Likewise.
22928         (fchown): Likewise.
22929         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
22930         Likewise.
22931         (lchown): Likewise.
22932         (fchown): Likewise.
22934 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22936         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
22937         Simplify logic.
22939 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22941         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22942         Cleanup logic.
22944 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22946         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22947         Remove unused include.
22949 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22951         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
22952         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
22953         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
22954         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
22956 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
22957             Helge Deller <deller@gmx.de>
22959         [BZ #17508]
22960         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22961         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22962         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22964 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
22966         [BZ #14132]
22967         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
22968         Remove macro definition.
22969         (__ashrdi3_v_glibc20): Likewise.
22970         (__lshrdi3_v_glibc20): Likewise.
22971         (__cmpdi2_v_glibc20): Likewise.
22972         (__ucmpdi2_v_glibc20): Likewise.
22973         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
22974         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22975         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22976         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22977         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22978         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
22980 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22982         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
22983         old GNU extension [0] syntax.
22984         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
22985         alloca rather than an array member with variable length.
22986         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
22987         * nscd/nscd.c (invalidate_db): New function, broken out of ...
22988         (parse_opt): ... here.  Likewise use alloca there.
22989         Validate the -i argument before checking for rootness.
22990         (send_shutdown): New function, broken out of ...
22991         (parse_opt): ... here.
22993 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22995         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
22996         macro to get at the _rt_local_ro field.
22997         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22998         ([PIC] case) or _dl_hwcap ([!PIC] case).
22999         * sysdeps/arm/setjmp.S: Likewise.
23001         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
23002         * sysdeps/arm/configure.ac: New check to define it.
23003         * sysdeps/arm/configure: Regenerated.
23004         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
23005         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
23006         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
23007         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
23008         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
23009         Use move/movt pair instead of a load.
23010         (LDST_GLOBAL): Macro removed.
23011         (LDR_GLOBAL): New macro replaces it.
23012         (LDR_HIDDEN): New macro.
23013         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
23014         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
23016         * setjmp/tst-setjmp-static.c: New file.
23017         * setjmp/Makefile (tests): Add it.
23018         (tests-static): New variable.
23020 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
23022         [BZ #17485]
23023         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
23025 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
23027         [BZ #14132]
23028         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
23030 2014-10-21  Roland McGrath  <roland@hack.frob.com>
23032         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
23034 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23036         * io/fts.c (dirent_not_directory): New function.
23037         (fts_build): Call it.
23039 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23041         * nptl/version.c (__nptl_main): Use normal __write rather than
23042         INTERNAL_SYSCALL.
23043         (banner): Update copyright years.
23045         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
23046         gettimeofday.
23047         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23048         * nptl/pthread_cond_timedwait.c: Likewise.
23049         * nptl/pthread_mutex_timedlock.c: Likewise.
23050         * nptl/sem_timedwait.c: Likewise.
23052         * sysdeps/nptl/bits/libc-lock.h
23053         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23054         (__libc_lock_init_recursive): Return void, not 0.
23055         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
23056         (__libc_rwlock_init): Likewise.
23057         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
23059 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23061         [BZ #15215]
23062         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
23063         (__pthread_once_slow): ... here.
23064         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
23065         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
23067 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23069         [BZ #15215]
23070         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
23071         __PTHREAD_ONCE_FORK_GEN_INCR): New.
23072         * sysdeps/nptl/fork.c (__libc_fork): Use them.
23073         * nptl/pthread_once.c (__pthread_once): Likewise.
23074         Update comments.
23076 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
23078         [BZ #14138]
23079         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
23080         name.
23081         (writev): Use __libc_writev as strong name.
23082         * sysdeps/unix/sysv/linux/readv.c: Remove file.
23083         * sysdeps/unix/sysv/linux/writev.c: Likewise.
23085 2014-10-17  Roland McGrath  <roland@hack.frob.com>
23087         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
23089         * sysdeps/i386/nptl/tls.h
23090         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
23091         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
23092         New macros.
23093         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
23094         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
23095         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
23096         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
23097         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
23098         Call CHECK_THREAD_SYSINFO instead of doing an assert.
23100         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23101         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
23102         on [__NR_futex].
23103         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
23104         broken out of ...
23105         (__pthread_mutex_init): ... here.  Call it.
23106         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
23107         Conditionalize PI cases on [__NR_futex].
23108         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
23109         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
23110         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23112         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
23113         conditional on [SIGSETXID].
23114         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
23115         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
23116         is defined.  Likewise for SIGSETXID.
23117         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
23118         Conditionalize definitions on [SIGSETXID].
23119         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
23120         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
23121         unblocking on [SIGCANCEL].
23123         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
23124         [__NR_set_robust_list].
23126 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23128         * string/strcoll_l.c (get_next_seq): Fix up formatting.
23129         (do_compare): Likewise.
23131 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
23133         [BZ #15884]
23134         * string/strcoll_l.c: Don't include stdio.h.
23135         (coll_seq): Remove members idxarr and rulearr.
23136         (get_next_seq_cached): Remove function.
23137         (get_next_seq): Likewise.
23138         (get_next_seq_nocache): Rename to get_next_seq.
23139         (do_compare): Remove function.
23140         (do_compare_nocache): Rename to do_compare.
23141         (STRCOLL): Remove weight and rules cache.
23143 2014-10-16  Roland McGrath  <roland@hack.frob.com>
23145         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
23146         * sysdeps/arm/sfp-machine.h: ... to here.
23147         * sysdeps/arm/Implies: Remove arm/soft-fp.
23149 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
23151         * conform/data/sys/utsname.h-data (*_t): Allow.
23152         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
23153         [POSIX] (WEXITED): Do not expect constant.
23154         [POSIX] (WSTOPPED): Likewise.
23155         [POSIX] (WNOHANG): Likewise.
23156         [POSIX] (WNOWAIT): Likewise.
23157         [POSIX] (siginfo_t): Do not expect type or elements.
23158         [POSIX] (pid_t): Do not expect type.
23159         [POSIX] (signal.h): Do not allow header.
23160         [POSIX] (sys/resource.h): Likewise.
23161         [POSIX] (si_*): Do not allow pattern.
23162         [POSIX] (W*): Likewise.
23163         [POSIX] (P_*): Likewise.
23164         [POSIX] (BUS_*): Likewise.
23165         [POSIX] (CLD_*): Likewise.
23166         [POSIX] (FPE_*): Likewise.
23167         [POSIX] (ILL_*): Likewise.
23168         [POSIX] (POLL_*): Likewise.
23169         [POSIX] (SEGV_*): Likewise.
23170         [POSIX] (SI_*): Likewise.
23171         [POSIX] (TRAP_*): Likewise.
23172         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
23173         variable.
23175 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
23177         [BZ #12926]
23178         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
23179         infinite loop when __recvmsg returns 0.
23181 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
23183         * CANCEL-FCT-WAIVE: Remove file.
23184         * CANCEL-FILE-WAIVE: Likewise.
23186         [BZ #14132]
23187         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
23188         instead of INTVARDEF.
23189         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23190         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
23191         rtld_hidden_data_def instead of INTVARDEF.
23192         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23193         * elf/dl-deps.c (expand_dst): Likewise.
23194         * elf/dl-load.c (_dl_dst_count): Likewise.
23195         (_dl_dst_substitute): Likewise.
23196         (decompose_rpath): Likewise.
23197         (_dl_init_paths): Likewise.
23198         (open_path): Likewise.
23199         (_dl_map_object): Likewise.
23200         * elf/rtld.c (dl_main): Likewise.
23201         (process_dl_audit): Likewise.
23202         (process_envvars): Likewise.
23203         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
23204         Remove declaration.
23205         (__libc_enable_secure): Use rtld_hidden_proto.
23207 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23209         * elf/dl-load.c
23210         (add_path): New function broken out of _dl_rtld_di_serinfo.
23211         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
23213 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
23215         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
23216         parentheses around macro arguments.
23217         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
23218         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
23219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
23220         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
23221         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
23222         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
23223         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
23224         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
23225         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
23226         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
23227         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
23228         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
23229         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
23230         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
23231         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
23232         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
23233         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
23234         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
23235         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
23236         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
23237         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
23238         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
23239         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
23240         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
23241         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
23242         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
23243         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
23244         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
23245         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
23246         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
23247         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
23248         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
23249         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
23250         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
23251         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
23252         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
23253         Likewise.
23254         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
23255         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
23256         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
23257         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
23258         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
23259         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
23260         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
23261         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
23262         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
23263         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
23264         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
23265         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
23266         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
23267         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
23268         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
23269         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
23270         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
23271         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
23272         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
23273         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
23274         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
23275         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
23276         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
23277         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
23278         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
23279         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
23280         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
23281         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
23282         (_FP_FRAC_SRS_1): Likewise.
23283         (_FP_FRAC_CLZ_1): Likewise.
23284         (_FP_MUL_MEAT_1_imm): Likewise.
23285         (_FP_MUL_MEAT_1_wide): Likewise.
23286         (_FP_MUL_MEAT_1_hard): Likewise.
23287         (_FP_SQRT_MEAT_1): Likewise.
23288         (_FP_FRAC_ASSEMBLE_1): Likewise.
23289         (_FP_FRAC_DISASSEMBLE_1): Likewise.
23290         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
23291         (__FP_CLZ_2): Likewise.
23292         (_FP_MUL_MEAT_2_wide): Likewise.
23293         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23294         (_FP_MUL_MEAT_2_gmp): Likewise.
23295         (_FP_MUL_MEAT_2_120_240_double): Likewise.
23296         (_FP_SQRT_MEAT_2): Likewise.
23297         (_FP_FRAC_ASSEMBLE_2): Likewise.
23298         (_FP_FRAC_DISASSEMBLE_2): Likewise.
23299         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
23300         (_FP_FRAC_CLZ_4): Likewise.
23301         (_FP_MUL_MEAT_4_wide): Likewise.
23302         (_FP_MUL_MEAT_4_gmp): Likewise.
23303         (_FP_SQRT_MEAT_4): Likewise.
23304         (_FP_FRAC_ASSEMBLE_4): Likewise.
23305         (_FP_FRAC_DISASSEMBLE_4): Likewise.
23306         * soft-fp/op-common.h (_FP_CMP): Likewise.
23307         (_FP_CMP_EQ): Likewise.
23308         (_FP_CMP_UNORD): Likewise.
23309         (_FP_TO_INT): Likewise.
23310         (_FP_FROM_INT): Likewise.
23311         [!__FP_CLZ] (__FP_CLZ): Likewise.
23312         (_FP_DIV_HELP_imm): Likewise.
23313         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
23314         Likewise.
23315         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
23316         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
23317         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
23318         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
23319         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
23320         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23321         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23322         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
23323         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
23324         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
23325         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
23326         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
23327         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
23328         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
23329         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
23330         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
23331         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
23332         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
23333         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
23334         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
23335         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
23336         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
23337         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
23338         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23339         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23340         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
23341         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
23342         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
23343         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
23344         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
23345         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
23346         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
23347         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
23348         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
23349         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
23350         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
23351         (FP_UNPACK_RAW_SP): Likewise.
23352         (FP_PACK_RAW_S): Likewise.
23353         (FP_PACK_RAW_SP): Likewise.
23354         (FP_UNPACK_S): Likewise.
23355         (FP_UNPACK_SP): Likewise.
23356         (FP_UNPACK_SEMIRAW_S): Likewise.
23357         (FP_UNPACK_SEMIRAW_SP): Likewise.
23358         (FP_PACK_S): Likewise.
23359         (FP_PACK_SP): Likewise.
23360         (FP_PACK_SEMIRAW_S): Likewise.
23361         (FP_PACK_SEMIRAW_SP): Likewise.
23362         (_FP_SQRT_MEAT_S): Likewise.
23363         (FP_CMP_S): Likewise.
23364         (FP_CMP_EQ_S): Likewise.
23365         (FP_CMP_UNORD_S): Likewise.
23366         (FP_TO_INT_S): Likewise.
23367         (FP_FROM_INT_S): Likewise.
23369         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
23371         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
23372         (FP_EX_INVALID_IMZ): Likewise.
23373         (FP_EX_INVALID_IMZ_FMA): Likewise.
23374         (FP_EX_INVALID_ISI): Likewise.
23375         (FP_EX_INVALID_ZDZ): Likewise.
23376         (FP_EX_INVALID_IDI): Likewise.
23377         (FP_EX_INVALID_SQRT): Likewise.
23378         (FP_EX_INVALID_CVI): Likewise.
23379         (FP_EX_INVALID_VC): Likewise.
23380         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
23381         "invalid" exceptions.
23382         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
23383         (_FP_ADD_INTERNAL): Likewise.
23384         (_FP_MUL): Likewise.
23385         (_FP_FMA): Likewise.
23386         (_FP_DIV): Likewise.
23387         (_FP_CMP_CHECK_NAN): Likewise.
23388         (_FP_SQRT): Likewise.
23389         (_FP_TO_INT): Likewise.
23390         (FP_EXTEND): Likewise.
23392 2014-10-09  Allan McRae  <allan@archlinux.org>
23394         * po/fr.po: Update French translation from translation project.
23396 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
23398         [BZ #14132]
23399         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
23400         of INTDEF.
23401         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
23402         (__cxa_atexit): Use libc_hidden_proto.
23403         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
23405         [BZ #14132]
23406         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
23407         declaration.
23408         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
23409         [!_ISOMAC] (__iswspace_l_internal): Likewise.
23410         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
23411         [!_ISOMAC] (__iswctype_internal): Likewise.
23412         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
23413         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
23414         alias.
23415         (fcntl): Remove __fcntl_internal alias.
23416         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
23417         __connect_internal alias.
23418         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
23419         Likewise.
23421         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
23422         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
23423         FP_DENORM_ZERO.
23424         (_FP_CHECK_FLUSH_ZERO): New macro.
23425         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
23426         (_FP_CMP): Likewise.
23427         (_FP_CMP_EQ): Likewise.
23428         (_FP_TO_INT): Do not set inexact for subnormal arguments if
23429         FP_DENORM_ZERO.
23430         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
23431         (FP_TRUNC): Likewise.
23433         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
23434         treated as invalid conversion, not as normal exponent.
23436         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
23437         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
23438         (_FP_CMP_EQ): Likewise.
23439         (_FP_CMP_UNORD): Likewise.
23440         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
23441         (FP_CMP_EQ_D): Likewise.
23442         (FP_CMP_UNORD_D): Likewise.
23443         * soft-fp/extended.h (FP_CMP_E): Likewise.
23444         (FP_CMP_EQ_E): Likewise.
23445         (FP_CMP_UNORD_E): Likewise.
23446         * soft-fp/quad.h (FP_CMP_Q): Likewise.
23447         (FP_CMP_EQ_Q): Likewise.
23448         (FP_CMP_UNORD_Q): Likewise.
23449         * soft-fp/single.h (FP_CMP_S): Likewise.
23450         (FP_CMP_EQ_S): Likewise.
23451         (FP_CMP_UNORD_S): Likewise.
23452         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
23453         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
23454         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
23455         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
23456         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
23457         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
23458         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
23459         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
23460         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
23461         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
23462         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
23463         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
23464         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
23465         to FP_CMP_Q.
23466         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
23467         FP_CMP_Q.
23468         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
23469         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
23470         FP_CMP_EQ_Q.
23471         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
23472         FP_CMP_Q.
23473         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
23474         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
23475         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
23476         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
23477         FP_CMP_EQ_Q.
23478         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
23479         FP_CMP_Q.
23480         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
23481         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
23482         FP_CMP_EQ_Q.
23483         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
23484         FP_CMP_Q.
23485         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
23486         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
23487         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
23488         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
23489         FP_CMP_EQ_Q.
23491         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
23492         a subnormal result, set the underflow exception if trapping on
23493         underflow is enabled.
23494         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
23495         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
23496         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
23497         redefine to 0.
23498         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
23499         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23500         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23501         * soft-fp/extendxftf2.c (__extendxftf2): Use
23502         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
23504         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
23505         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
23506         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23507         FP_HANDLE_EXCEPTIONS.
23508         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
23509         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23510         FP_HANDLE_EXCEPTIONS.
23511         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
23512         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23513         FP_HANDLE_EXCEPTIONS.
23514         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
23515         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23516         FP_HANDLE_EXCEPTIONS.
23518 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
23520         [BZ #14132]
23521         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
23522         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
23523         use INTUSE.
23524         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
23525         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
23526         Remove alias.
23527         (__adjtimex): Define using libc_hidden_ver.
23528         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
23529         Remove declaration.
23530         (ntp_gettime): Call __adjtimex directly.
23531         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
23532         Remove declaration.
23533         (ntp_gettimex): Call __adjtimex directly.
23534         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
23535         __adjtimex_internal alias.
23537 2014-10-08  Roland McGrath  <roland@hack.frob.com>
23539         [BZ #17460]
23540         * nscd/nscd.c (more_help): Rewrite list of tables collection
23541         using xstrdup and asprintf.
23543         * nscd/nscd_conf.c: Remove local xstrdup declaration.
23545 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23546             Roland McGrath  <roland@hack.frob.com>
23548         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
23549         (do_lookup_unique): ... local function 'enter' here; update callers.
23551 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
23553         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
23554         compat_symbol calls on [SHARED].
23555         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
23556         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
23557         Remove.
23558         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23559         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
23560         (oldsetrlimit): Remove.
23561         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23563         (lchown): New syscall entry.
23564         (oldsetrlimit): Remove.
23565         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23566         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
23567         (oldsetrlimit): Remove.
23568         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23570         [BZ #14138]
23571         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
23572         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
23573         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
23574         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
23575         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23576         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
23577         (fchown): Likewise.
23578         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
23579         (fchown): Likewise.
23580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
23581         Likewise.
23583 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23585         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
23586         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
23587         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
23588         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
23589         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
23590         Likewise.
23591         (__old_sem_post): Likewise.
23593 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
23595         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
23596         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
23597         HAVE_CLOCK_GETTIME_VSYSCALL macros.
23598         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
23599         Use INLINE_VSYSCALL macro.
23600         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
23601         __vdso_clock_gettime.
23602         * sysdeps/unix/sysv/linux/tile/init-first.c
23603         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
23604         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
23605         __vdso_clock_gettime.
23607         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
23608         to set up frame more cleanly.
23610         * sysdeps/tile/memcmp.c: New file.
23612         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
23614         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
23615         * sysdeps/tile/tilegx/strcasestr.c: New file.
23616         * sysdeps/tile/tilegx/strnlen.c: New file.
23617         * sysdeps/tile/tilegx/strstr.c: New file.
23619         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
23621 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
23623         * nptl/tst-setuid3.c: Write errors to stdout.
23625 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23627         * elf/dl-deps.c
23628         (preload): New functions broken out of _dl_map_object_deps.
23629         (_dl_map_object_deps):  Remove a nested function. Update call sites.
23631 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
23633         [BZ #14138]
23634         * sysdeps/unix/sysv/linux/execve.c: Remove file.
23635         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
23637 2014-10-01  Steve Ellcey  <sellcey@mips.com>
23639         * sysdeps/mips/strcmp.S: New.
23641 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
23643         [BZ #14138]
23644         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
23645         (linkat): Likewise.
23646         (mkdirat): Likewise.
23647         (readlinkat): Likewise.
23648         (renameat): Likewise.
23649         (symlinkat): Likewise.
23650         (unlinkat): Likewise.
23651         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
23652         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
23653         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
23654         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
23655         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
23656         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
23657         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
23659 2014-09-30  Will Newton  <will.newton@linaro.org>
23661         * math/math.h: Define long double math functions if
23662         _LIBC_TEST is defined.
23663         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
23665         * localedata/Makefile: Move assignment to tests-special
23666         into an ifdef testing run-built-tests.
23667         * timezone/Makefile: Likewise.
23669 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
23671         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
23672         with $(BASH) not $(SHELL).
23674 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
23675             Matthew LeGendre  <legendre1@llnl.gov>
23677         [BZ #17411]
23678         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
23679         l_reloc_result.
23681 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23683         * stdio-common/printf_fp.c
23684         (hack_digit): New function, broken out of ...
23685         (__printf_fp): ... local function here.  Update call sites.
23686         hack_digit now takes an additional parameter that is a pointer
23687         to a struct of the referenced locals.  Those locals moved inside
23688         the struct and references updated.
23690 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
23692         * aclocal.m4: Require autoconf 2.69.
23693         * configure: Regenerated.
23694         * sysdeps/aarch64/configure: Likewise.
23695         * sysdeps/alpha/configure: Likewise.
23696         * sysdeps/arm/armv7/configure: Likewise.
23697         * sysdeps/arm/configure: Likewise.
23698         * sysdeps/ia64/configure: Likewise.
23699         * sysdeps/mach/configure: Likewise.
23700         * sysdeps/mips/configure: Likewise.
23701         * sysdeps/s390/configure: Likewise.
23702         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
23703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
23705         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
23706         file.
23707         * sysdeps/ia64/configure.ac: Likewise.
23709 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
23711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
23712         specify symbol version for ld.so.  Do not include entry for
23713         libpthread.
23714         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23715         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23716         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23718         [BZ #14171]
23719         * Makeconfig [$(build-shared) = yes]
23720         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
23721         makefiles.
23722         [$(build-shared) = yes && $(soversions.mk-done) = t]
23723         ($(common-objpfx)gnu/lib-names.h): Remove rule.
23724         [$(build-shared) = yes && $(soversions.mk-done) = t]
23725         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
23726         to Makerules.
23727         [$(build-shared) = yes && $(soversions.mk-done) = t]
23728         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
23729         here.
23730         [$(build-shared) = yes && $(soversions.mk-done) = t]
23731         (common-generated): Don't append gnu/lib-names.h and
23732         gnu/lib-names.stmp here.
23733         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
23734         (lib-names-h-abi): New variable.
23735         [$(build-shared) = yes && $(soversions.mk-done) = t]
23736         (lib-names-stmp-abi): Likewise.
23737         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23738         abi-variants] (before-compile): Append
23739         $(common-objpfx)$(lib-names-h-abi).
23740         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23741         abi-variants] (common-generated): Append gnu/lib-names.h.
23742         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23743         abi-variants] (install-others-nosubdir): Depend on
23744         $(inst_includedir)/$(lib-names-h-abi).
23745         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23746         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
23747         [$(build-shared) = yes && $(soversions.mk-done) = t]
23748         ($(common-objpfx)$(lib-names-h-abi)): New rule.
23749         [$(build-shared) = yes && $(soversions.mk-done) = t]
23750         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
23751         [$(build-shared) = yes && $(soversions.mk-done) = t]
23752         (common-generated): Append $(lib-names-h-abi) and
23753         $(lib-names-stmp-abi).
23754         * scripts/lib-names.awk: Do not handle multi being set.
23755         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
23756         Remove variable.
23757         (abi-lp64_be-ld-soname): Likewise.
23758         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
23759         Likewise.
23760         (abi-hard-ld-soname): Likewise.
23761         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
23762         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
23763         Remove variable.
23764         (abi-o32_hard-ld-soname): Likewise.
23765         (abi-o32_soft_2008-ld-soname): Likewise.
23766         (abi-o32_hard_2008-ld-soname): Likewise.
23767         (abi-n32_soft-ld-soname): Likewise.
23768         (abi-n32_hard-ld-soname): Likewise.
23769         (abi-n32_soft_2008-ld-soname): Likewise.
23770         (abi-n32_hard_2008-ld-soname): Likewise.
23771         (abi-n64_soft-ld-soname): Likewise.
23772         (abi-n64_hard-ld-soname): Likewise.
23773         (abi-n64_soft_2008-ld-soname): Likewise.
23774         (abi-n64_hard_2008-ld-soname): Likewise.
23775         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
23776         Likewise.
23777         (abi-64-v2-ld-soname): Likewise.
23778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
23779         ld.so entries.
23780         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
23781         variable.
23782         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
23783         entry.
23784         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
23785         variable.
23786         (abi-64-ld-soname): Likewise.
23787         (abi-x32-ld-soname): Likewise.
23788         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
23789         entry.
23790         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23792 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
23794         [BZ #14138]
23795         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
23796         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
23797         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
23798         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
23799         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
23800         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
23801         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
23802         syscall entry for GLIBC_2.2 symbol version.
23803         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
23804         Likewise.
23805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23806         (setrlimit): Likewise.
23807         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
23808         Likewise.
23810 2014-09-23  Will Newton  <will.newton@linaro.org>
23812         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23813         _LINUX_ARM_SYSDEP_H include guard too.
23814         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23815         define.
23817 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23819         * sysdeps/unix/sysv/linux/eventfd.c:
23820         Make first argument unsigned.
23821         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23822         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23824 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
23826         [BZ #16852]
23827         * socket/recvmmsg.c (recvmmsg): Drop const argument.
23828         * socket/sys/socket.h: Likewise.
23829         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23831 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23833         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23835 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
23837         * time/tst-ftime.c: New test.
23838         * time/Makefile (tests): Add tst-ftime.
23840 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
23842         * soft-fp/extended.h: Fix comment formatting.
23843         * soft-fp/op-1.h: Likewise.
23844         * soft-fp/op-2.h: Likewise.
23845         * soft-fp/op-4.h: Likewise.
23846         * soft-fp/op-8.h: Likewise.
23847         * soft-fp/op-common.h: Likewise.
23848         * soft-fp/soft-fp.h: Likewise.
23850         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23852 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
23854         [BZ #6652]
23855         * Makeconfig (soversions-default-setname): Remove variable.
23856         ($(common-objpfx)soversions.i): Don't pass default_setname to
23857         soversions.awk.
23858         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23859         oldest_abi to abi-versions.awk.
23860         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23861         * config.make.in (oldest-abi): Remove variable.
23862         * configure.ac (--enable-oldest-abi): Remove configure option.
23863         * configure: Regenerated.
23864         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23865         text.
23866         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23867         * scripts/soversions.awk: Do not handle default_setname variable.
23868         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23869         variable.
23870         * sysdeps/mach/hurd/configure: Regenerated.
23871         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
23872         variable.
23873         * sysdeps/unix/sysv/linux/configure: Regenerated.
23875 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23877         * elf/Makefile (CFLAGS-interp.c): Remove.
23878         ($(elf-objpfx)runtime-linker.h): Generate header with linker
23879         path string.
23880         * elf/interp.c: Include generated runtime-linker.h
23882         * Makerules (lib%.so): Don't include $(+interp) in
23883         prerequisites.
23884         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
23885         * dlfcn/eval.c: Remove file.
23887         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
23888         macros.
23890         [BZ #17266]
23891         * misc/sys/cdefs.h: Define __extern_always_inline for clang
23892         4.2 and newer.
23894         [BZ #17370]
23895         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
23897 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23898             Jakub Jelinek  <jakub@redhat.com>
23900         [BZ #17266]
23901         * libio/stdio.h: Check definition of __fortify_function
23902         instead of __extern_always_inline to include bits/stdio2.h.
23903         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
23904         check if __extern_always_inline is defined.
23905         [__USE_MISC || __USE_XOPEN]: Likewise.
23906         [__USE_ISOC99] Likewise.
23907         * misc/sys/cdefs.h (__fortify_function): Define only if
23908         __extern_always_inline is defined.
23909         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23910         __extern_always_inline and __extern_inline only for g++-4.3
23911         and newer or a compatible gcc.
23913 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
23915         [BZ #17371]
23916         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23917         last change to handle zero prefix length.
23919 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23921         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
23922         _SC_REGEX_VERSION.
23924         * posix/getconf.c (vars): Add _POSIX_IPV6 and
23925         _POSIX_RAW_SOCKETS.
23927 2014-09-13  Allan McRae  <allan@archlinux.org>
23929         * po/ru.po: Update Russian translation from translation project.
23931 2014-09-12  Roland McGrath  <roland@hack.frob.com>
23933         * locale/programs/locale.c (show_locale_vars): Inline local function
23934         into its sole call site.  Clean up some style nits.
23935         (print_item): New function, broken out of ...
23936         (show_info): ... local function here.  Clean up style nits.
23938         * locale/programs/ld-ctype.c (set_one_default): New function, broken
23939         out of ...
23940         (set_class_defaults): ... local function set_default here.
23941         Define set_default as a macro locally to pass constant parameters.
23942         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
23943         rather than a shared local.
23945         * stdlib/rpmatch.c (try): New function, broken out of ...
23946         (rpmatch): ... local function here.  Also, prototypify definition.
23948 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
23950         * scripts/soversions.awk: Do not handle configuration names.
23951         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
23952         vendor and os variables to soversions.awk.
23953         * configure.ac: Do not modify gnu-* host_os.
23954         * configure: Regenerated
23955         * shlib-versions: Remove first column with configuration names.
23956         * nptl/shlib-versions: Likewise.
23957         * nptl_db/shlib-versions: Likewise.
23958         * sysdeps/hppa/shlib-versions: Likewise.
23959         * sysdeps/m68k/shlib-versions: Likewise.
23960         * sysdeps/mach/hurd/shlib-versions: Likewise.
23961         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23962         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23963         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23964         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23965         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23966         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23967         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
23968         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
23969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23970         Likewise.
23971         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23972         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23973         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23974         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23975         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23976         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
23977         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23978         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23981         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
23982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23983         Regenerated.
23984         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
23985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23986         Condition symbol version definitions on [HAVE_ELFV2_ABI].
23988         * shlib-versions: Remove OS-specific entries.  Moved to files in
23989         sysdeps.
23990         * sysdeps/mach/hurd/shlib-versions: New file.
23991         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23993         * nptl/shlib-versions: Remove architecture-specific entries.
23994         Moved to files in sysdeps.
23995         * shlib-versions: Likewise.
23996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
23997         file.
23998         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23999         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24000         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24001         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24003         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
24004         (UDP_NO_CHECK6_RX): Likewise.
24006 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24008         * sysdeps/posix/sysconf.c (__sysconf): Spell
24009         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
24011 2014-08-12  Florian Weimer  <fweimer@redhat.com>
24013         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
24014         loading.
24015         * iconv/Versions (__gconv_transliterate): Export for use from
24016         gconv modules.
24017         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
24018         (struct __gconv_trans_data, __gconv_trans_fct,
24019         __gconv_trans_context_fct, __gconv_trans_query_fct,
24020         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
24021         definitions.
24022         (struct __gconv_step_data): Remove __trans member.
24023         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
24024         longer hidden.  Remove unused trans_data argument.
24025         * iconv/gconv_int.h (struct trans_struct): Remove definition.
24026         (__gconv_translit_find): Remove declaration.
24027         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
24028         prototype.
24029         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
24030         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
24031         trans_data argument.  Add hidden definition.
24032         (__gconv_translit_find): Remove.
24033         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
24034         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
24035         * iconv/skeleton.c: Remove transliteration initialization.
24036         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
24037         __gconv_step_data initialization.
24038         * libio/iofwide.c (__libio_translit_): Remove.
24039         (_IO_fwide): Adjust struct __gconv_step_data initialization.
24040         * wcsmbs/btowc.c (__btowc): Likewise.
24041         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24042         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24043         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24044         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24045         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
24046         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24047         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24048         * wcsmbs/wctob.c (wctob): Likewise.
24050 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24052         [BZ #16194]
24053         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
24054         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
24055         register usage.
24056         * sysdeps/x86/Makefile: Adjust.
24058 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24059             Roland McGrath  <roland@hack.frob.com>
24061         * locale/weight.h: Add include guard.
24062         (findidx): Make static rather than auto; take new parameters
24063         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
24064         * locale/weightwc.h: Likewise.
24065         * posix/fnmatch_loop.c
24066         (FCT): Change type of EXTRA from int32_t to wint_t.
24067         Don't include either header inside the function.
24068         Call FINDIDX rather than findidx, and pass new arguments.
24069         #undef FINDIDX at the end of the file.
24070         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
24071         FINDIDX before including fnmatch_loop.c for the non-wide version.
24072         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
24073         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
24074         for the wide version.
24075         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
24076         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
24077         Pass new arguments to findidx.
24078         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
24079         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
24080         Don't #include it inside the function.  Pass new arguments to findidx.
24081         * posix/regex_internal.h
24082         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
24083         (re_string_elem_size_at): Don't #include it inside the function.
24084         Pass new arguments to findidx.
24085         * string/strcoll_l.c: #include WEIGHT_H at top level.
24086         (get_next_seq): Don't #include it inside the function.
24087         Pass new arguments to findidx.
24088         (get_next_seq_nocache): Likewise.
24089         * string/strxfrm_l.c: #include WEIGHT_H at top level.
24090         (STRXFRM): Don't #include it inside the function.
24091         Pass new arguments to findidx.
24093 2014-09-11  Florian Weimer  <fweimer@redhat.com>
24095         [BZ #17344]
24096         * malloc/malloc.c (unlink): Turn asserts into a call to
24097         malloc_printerr.
24099 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
24101         [BZ #17370]
24102         * libio/wfileops (do_ftell_wide): Free OUT.
24104 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
24106         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
24108 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24110         [BZ #17363]
24111         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
24112         group if the current group is empty.
24114 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24116         * benchtests/bench-memset.c (test_main): Add more test from size
24117         from 32 to 512 bytes.
24118         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24119         Add POWER8 memset object.
24120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24121         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
24122         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
24123         implementation.
24124         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
24125         Likewise.
24126         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
24127         multiarch POWER8 memset optimization.
24128         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
24129         POWER8 memset optimization.
24131         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24132         Remove bzero multiarch objects.
24133         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
24134         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
24135         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
24136         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
24137         Remove define.
24138         [__bzero]: Redefine to specific name.
24139         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24140         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24141         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
24142         define.
24143         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24144         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24146 2014-09-10  Florian Weimer  <fweimer@redhat.com>
24148         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
24149         warnings into errors.
24151         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
24152         __cxa_thread_atexit_impl prototype.
24154 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24156         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
24157         Fix capitalization of error message.
24159 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24161         * sysdeps/mips/preconfigure: Modify ABI tests.
24163 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
24165         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
24167 2014-09-07  Roland McGrath  <roland@hack.frob.com>
24168             Carlos O'Donell  <carlos@systemhalted.org>
24170         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
24171         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
24172         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
24173         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
24174         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
24175         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
24176         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
24177         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
24178         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
24179         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
24180         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
24181         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
24182         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
24183         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
24184         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
24185         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
24186         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
24187         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
24188         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
24189         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
24190         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
24191         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
24192         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
24193         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
24194         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
24195         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
24196         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
24197         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
24198         Deconditionalize the code that was previously under [RESET_PID].
24199         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
24200         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
24201         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
24202         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
24203         include sysdep.h.
24205 2014-09-08  Allan McRae  <allan@archlinux.org>
24207         * version.h (RELEASE): Set to "development".
24208         (VERSION): Set to "2.20.90"
24210 2014-09-07  Allan McRae  <allan@archlinux.org
24212         * version.h (RELEASE): Set to "stable".
24213         (VERSION): Set to "2.20"
24214         * include/features.h (__GLIBC_MINOR__): Set to 20.
24216         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
24217         Liebler.
24219         * po/ko.po: Update Korean translation from translation project.
24221 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
24223         [BZ #17354]
24224         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
24225         macro for handling signed relocations.
24227 2014-09-03  Florian Weimer  <fweimer@redhat.com>
24229         [BZ #17325]
24230         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
24231         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
24232         assert.
24233         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
24234         * iconvdata/ibm935.c (BODY): Likewise.
24235         * iconvdata/ibm937.c (BODY): Likewise.
24236         * iconvdata/ibm939.c (BODY): Likewise.
24237         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
24238         assert.
24239         * iconvdata/Makefile (iconv-test.out): Pass module list to test
24240         script.
24241         * iconvdata/run-iconv-test.sh: New test loop for checking for
24242         decoder crashers.
24244 2014-09-02  Khem Raj  <raj.khem@gmail.com>
24246         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
24247         libm_hidden_ver.
24249 2014-09-01  Allan McRae  <allan@archlinux.org>
24251         * po/eo.po: Update Esperanto translation from translation project.
24253         * po/ca.po: Update Catalan translation from translation project.
24255 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24257         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
24258         __proc_dostop call.
24260 2014-08-27  Mark Wielaard  <mjw@redhat.com>
24262         [BZ #17319]
24263         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
24264         to call set_thread_area instead of hand written asm.
24265         (__NR_set_thread_area): Removed define.
24266         (TLS_FLAG_WRITABLE): Likewise.
24267         (__ASSUME_SET_THREAD_AREA): Remove check.
24268         (TLS_EBX_ARG): Remove define.
24269         (TLS_LOAD_EBX): Likewise.
24271 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24273         Simplify atomicity of socket creation in bind.
24275         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
24276         looking up the name after linking the file.
24278 2014-08-27  Allan McRae  <allan@archlinux.org>
24280         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24282 2014-08-26  Florian Weimer  <fweimer@redhat.com>
24284         [BZ #17187]
24285         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
24286         trans_compare, open_translit, __gconv_translit_find):
24287         Remove module loading code.
24289 2014-08-26  Allan McRae  <allan@archlinux.org>
24291         * po/vi.po: Update Vietnamese translation from translation project.
24293         * po/uk.po: Update Ukrainian translation from translation project.
24295         * po/fr.po: Update French translation from translation project.
24297         * po/ru.po: Update Russian translation from translation project.
24299         * po/pl.po: Update Polish translation from translation project.
24301         * po/cs.po: Update Czech translation from translation project.
24303         * po/de.po: Update German translation from translation project.
24305         * po/bg.po: Update Bulgarian translation from translation project.
24307         * po/sv.po: Update Sweedish translation from translation project.
24309         * po/nl.po: Update Dutch translation from translation project.
24311         * po/es.po: Update Spanish translation from translation project.
24313 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24315         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
24317         * catgets/Makefile (CPPFLAGS-gencat): Remove.
24318         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
24319         (CPPFLAGS-iconvconfig): Likewise.
24320         * timezone/Makefile (CPPFLAGS-zic): Likewise.
24322         * include/libc-symbols.h: Remove unnecessary check for
24323         NOT_IN_libc.
24324         * nptl/pthreadP.h: Likewise.
24325         * sysdeps/aarch64/setjmp.S: Likewise.
24326         * sysdeps/alpha/setjmp.S: Likewise.
24327         * sysdeps/arm/sysdep.h: Likewise.
24328         * sysdeps/i386/setjmp.S: Likewise.
24329         * sysdeps/m68k/setjmp.c: Likewise.
24330         * sysdeps/posix/getcwd.c: Likewise.
24331         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24332         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24333         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24334         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24335         * sysdeps/sh/sh3/setjmp.S: Likewise.
24336         * sysdeps/sh/sh4/setjmp.S: Likewise.
24337         * sysdeps/unix/alpha/sysdep.h: Likewise.
24338         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24339         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24340         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24341         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24344         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24345         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24346         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24347         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24348         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24349         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24350         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24351         * sysdeps/x86_64/setjmp.S: Likewise.
24353 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
24355         [BZ #17263]
24356         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
24357         <stdint.h>.
24358         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
24359         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
24361 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24363         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
24365         [BZ #17262]
24366         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
24367         and __x86_64__ when disabling x87 inline functions.
24369 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
24371         [BZ #17259]
24372         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
24373         asm statement with __cpuid_count.
24375 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
24377         * configure.ac: Change __ehdr_start code to dereference the struct.
24378         Run readelf on the output to look for relocations.
24379         * configure: Regenerated.
24381 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
24383         [BZ #17261]
24384         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
24385         value to 0.
24386         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
24388 2014-08-12  Roland McGrath  <roland@hack.frob.com>
24390         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
24392 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
24394         [BZ #16892]
24395         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
24396         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
24398 2014-08-12  Sean Anderson  <seanga2@gmail.com>
24400         * malloc/malloc.c: Fix typo in comment.
24402 2014-08-09  Allan McRae  <allan@archlinux.org>
24404         * Regenerate libc.po.
24406 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
24408         * intl/tst-gettext2.sh: Check every lang file for creation.
24410 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
24412         * sysdeps/aarch64/fpu/math_private.h
24413         (libc_feholdsetround_noex_aarch64_ctx): New function.
24415 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
24417         * sysdeps/arm/armv6/strcpy.S (strcpy):
24418         Fix performance issue in misaligned cases.
24420 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24422         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
24423         Move definition from termios.h.
24424         (struct termio): Likewise.
24425         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24426         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24427         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24428         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24429         Likewise.
24430         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
24431         Move definition to ioctl-types.h
24432         (struct termio): Likewise.
24433         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24434         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24435         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24436         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24437         Likewise.
24439 2014-08-05  Richard Henderson  <rth@redhat.com>
24441         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
24442         exceptions.
24443         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
24444         Add fraiseexcpt.
24445         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
24446         Use __feraiseexcept.
24447         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
24448         Protect libm symbols with IS_IN_libm.
24450         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
24452 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
24454         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
24456 2014-08-04  Will Newton  <will.newton@linaro.org>
24458         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
24459         file.
24461 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
24463         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
24464         variants for each function.
24466 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24468         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
24469         appended ...
24470         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
24471         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
24472         appended ...
24473         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
24474         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
24475         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
24476         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
24477         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
24478         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
24479         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
24480         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
24481         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
24482         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
24483         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
24484         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
24485         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
24486         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
24487         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
24488         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
24489         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
24490         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
24491         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
24492         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
24493         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
24494         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
24495         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
24496         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
24497         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
24498         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
24499         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
24500         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
24501         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
24502         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
24503         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
24504         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
24505         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
24506         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
24507         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
24508         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
24509         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
24510         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
24511         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
24512         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
24513         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
24514         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
24515         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
24516         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
24517         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
24518         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
24519         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
24520         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
24521         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
24522         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
24523         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
24524         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
24525         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
24526         Update #include.
24527         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
24528         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
24530 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24532         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
24533         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
24534         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
24535         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
24536         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
24537         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
24539 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24541         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
24542         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
24543         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24544         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
24546 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24548         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
24549         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
24550         (__libc_vfork): Define function under this name.
24551         (__vfork): Define as an alias.
24552         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
24553         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
24555 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24557         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
24558         that was previously under [RESET_PID].
24559         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
24561 2014-08-04  Andreas Schwab  <schwab@suse.de>
24563         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
24565 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
24567         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
24568         (main): Likewise.
24570 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24572         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
24574 2014-08-01  Richard Henderon  <rth@redhat.com>
24576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
24577         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
24578         typo in exact zero test.
24579         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24580         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24581         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24583 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24585         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
24586         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
24587         * sysdeps/arm/sysdep.h: ... here.
24588         [!__ASSEMBLER__]: Include <stdint.h>.
24590 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24592         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
24593         (HAVE_WCTYPE_H): Likewise.
24594         (HAVE_ISWCTYPE): Likewise.
24595         (ENABLE_NLS): Likewise.
24596         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
24597         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
24599         * posix/regex_internal.c: Check if DEBUG is defined and is
24600         set.
24602         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
24603         (HAVE_MBSRTOWCS): Likewise.
24604         * posix/fnmatch.c: Include string.h unconditionally.
24606 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24608         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
24609         reversal.
24611 2014-07-31  Roland McGrath  <roland@hack.frob.com>
24613         * sysdeps/generic/safe-fatal.h: New file.
24614         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
24615         * nptl/forward.c: Include it.
24616         (__pthread_unwind): Use __safe_fatal as default action, rather
24617         than a bogus use of INTERNAL_SYSCALL that could never work.
24619         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
24620         * configure.ac (libc_cv_builtin_trap): New test.
24621         * configure: Regenerated.
24622         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
24623         (ABORT_INSTRUCTION): Define using __builtin_trap.
24625         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
24626         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
24627         * sysdeps/nptl/nptl-signals.h: New file.
24628         * nptl/pthreadP.h: Include <nptl-signals.h>.
24630 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24632         * sysdeps/s390/s390-64/utf16-utf32-z9.c
24633         (ONE_DIRECTION): Define.
24634         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24635         (ONE_DIRECTION): Define.
24636         * sysdeps/s390/s390-64/utf8-utf32-z9.c
24637         (ONE_DIRECTION): Define.
24639 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24641         * sysdeps/s390/Makefile: Delete file.
24642         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
24643         * sysdeps/s390/__longjmp.c: Delete file.
24644         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
24645         Remove fields __flags and __reserved.
24646         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
24647         and add versioning.
24648         * sysdeps/s390/rtld-__longjmp.c: Delete file.
24649         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
24650         * sysdeps/s390/rtld-setjmp.S: Likewise.
24651         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
24652         * sysdeps/s390/s390-32/__longjmp.c: ... here.
24653         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
24654         * sysdeps/s390/s390-32/setjmp.S: ... here.
24655         Add versioning.
24656         (__sigsetjmp): Remove setting __flags field.
24657         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
24658         * sysdeps/s390/s390-64/__longjmp.c: ... here.
24659         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
24660         * sysdeps/s390/s390-64/setjmp.S: ... here.
24661         Add versioning.
24662         (__sigsetjmp): Remove setting __flags field.
24663         * sysdeps/s390/setjmp.S: Delete file.
24664         * sysdeps/s390/sigjmp.c: Likewise.
24665         * sysdeps/s390/v1-longjmp.c: Likewise.
24666         * sysdeps/s390/v1-setjmp.h: Likewise.
24667         * sysdeps/s390/v1-sigjmp.c: Likewise.
24668         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
24669         Remove v1-longjmp_chk.
24670         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
24671         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
24672         Include debug/longjmp_chk.c and add versioning.
24673         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
24674         Include nptl/pt-longjmp.c and add versioning.
24675         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
24676         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
24677         Include __longjmp.c.
24678         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24679         Move to ...
24680         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
24681         (__getcontext): Remove setting __flags field.
24682         Add versioning.
24683         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24684         Don't restore upper high grps.
24685         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
24686         Likewise.
24687         (__swapcontext): Remove setting uc_flags field.
24688         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
24689         Delete file.
24690         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24691         Include __longjmp.c.
24692         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24693         Move to ...
24694         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
24695         (__getcontext): Remove setting __flags field.
24696         Add versioning.
24697         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
24698         (__swapcontext): Remove setting uc_flags field.
24699         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
24700         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
24701         Remove fields uc_high_gprs and __reserved.
24702         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
24703         New file with reverted content.
24704         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
24705         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
24706         Regenerated.
24707         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
24708         Regenerated.
24710 2014-07-31  Andreas Schwab  <schwab@suse.de>
24712         * config.h.in (HAVE_IFUNC): Define to 0.
24713         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
24714         definedness.
24716 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
24718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24719         memmove-avx-unaligned, memcpy-avx-unaligned and
24720         mempcpy-avx-unaligned.
24721         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24722         Add tests for AVX memcpy functions.
24723         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
24724         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
24725         memcpy_chk.
24726         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
24727         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
24728         memmove_chk.
24729         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
24730         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
24731         mempcpy_chk.
24732         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
24733         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
24734         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
24736 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24738         [BZ #17213]
24739         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
24740         powerpc64le.
24742 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
24744         [BZ #16839]
24745         * manual/llio.texi: Add section about open file description locks.
24746         * manual/examples/ofdlocks.c: Example of open file description
24747         lock usage.
24748         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
24749         F_OFD_SETLK, and F_OFD_SETLKW.
24751 2014-07-23  Allan McRae  <allan@archlinux.org>
24753         * po/es.po: Update Spanish translation from translation project.
24755 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
24757         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
24759 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
24761         [BZ #17078]
24762         * sysdeps/arm/dl-machine.h (elf_machine_rela)
24763         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
24764         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
24766 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
24768         [BZ #17088]
24769         * math/fesetenv.c (__fesetenv)
24770         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
24771         * math/feupdateenv.c (__feupdateenv)
24772         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
24774         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
24775         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24776         (__ASSUME_SOCKETCALL): Do not define.
24778         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
24779         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
24780         (__ASSUME_SOCKETCALL): Do not define.
24781         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
24782         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24783         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24784         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24785         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24786         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
24787         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24788         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24790         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
24791         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
24792         (__ASSUME_SOCKETCALL): Do not define.
24793         (__ASSUME_IPC64): Define unconditionally.
24794         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24795         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24796         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24797         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24798         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
24799         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24800         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
24801         Likewise.
24803         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
24804         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
24805         (__ASSUME_SOCKETCALL): Do not define.
24806         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
24807         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24808         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24809         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24810         (__ASSUME_REQUEUE_PI): Define unconditionally.
24811         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24812         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24813         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24814         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24815         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24816         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24818         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24819         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24820         (__ASSUME_SOCKETCALL): Do not define.
24821         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24822         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24823         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24824         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24825         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24826         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24828         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24829         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24830         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24831         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24832         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24833         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24834         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24835         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24836         (__ASSUME_GETCPU_SYSCALL): Likewise.
24838         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24839         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
24840         cases for individual architectures.
24841         * sysdeps/gnu/configure: Regenerated.
24842         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24843         LIBC_SLIBDIR_RTLDDIR.
24844         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24845         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24846         LIBC_SLIBDIR_RTLDDIR.
24847         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24849         LIBC_SLIBDIR_RTLDDIR.
24850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24851         Regenerated.
24852         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24853         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24854         file.
24855         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24856         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24857         file.
24858         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24859         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24860         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24861         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24863         * sysdeps/aarch64/shlib-versions: Move to ...
24864         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24865         * sysdeps/alpha/shlib-versions: Move to ...
24866         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24867         * sysdeps/arm/shlib-versions: Move to ...
24868         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24869         * sysdeps/hppa/shlib-versions: Move all contents except for
24870         libgcc_s entry to ...
24871         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
24872         entry from ...
24873         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
24874         * sysdeps/ia64/shlib-versions: Move to ...
24875         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
24876         entry from ...
24877         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
24878         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
24879         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
24880         * sysdeps/microblaze/shlib-versions: Move to ...
24881         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
24882         * sysdeps/mips/shlib-versions: Move to ...
24883         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
24884         entry from ...
24885         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
24886         * sysdeps/tile/shlib-versions: Move to ...
24887         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
24888         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
24889         from ...
24890         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
24891         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
24892         entry from ...
24893         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
24895 2014-07-17  Will Newton  <will.newton@linaro.org>
24897         * sysdeps/arm/bits/atomic.h
24898         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
24899         (__arch_compare_and_exchange_bool_16_int): Likewise.
24900         (__arch_compare_and_exchange_bool_64_int): Likewise.
24902         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
24903         into an #else block.
24905 2014-07-16  Roland McGrath  <roland@hack.frob.com>
24907         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
24908         just Linux configurations.  Test empirically that the compiler sets
24909         __ARM_EABI__, rather than using the tuple to decide.
24910         * sysdeps/arm/preconfigure: Regenerated.
24911         * sysdeps/unix/sysv/linux/arm/configure: File removed.
24912         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
24913         contents appended ...
24914         * sysdeps/arm/configure.ac: ... here.
24915         * sysdeps/arm/configure: Regenerated.
24917 2014-07-15  Roland McGrath  <roland@hack.frob.com>
24919         * nptl/pthread_kill.c: New file.
24920         * nptl/pthread_sigmask.c: New file.
24921         * nptl/pthread_sigqueue.c: New file.
24923         * sysdeps/nptl/lowlevellock.h: New file.
24924         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
24925         * sysdeps/nptl/lowlevellock-futex.h: New file.
24927         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24928         Remove dead declarations.
24930 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
24932         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
24933         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
24934         config-cflags-avx2.
24935         * sysdeps/x86_64/configure.ac: Likewise.
24936         * sysdeps/i386/configure: Regenerated.
24937         * sysdeps/x86_64/configure: Likewise.
24938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24939         memset-avx2 only if config-cflags-avx2 is yes.
24940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24941         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
24942         defined.
24943         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
24944         only if HAVE_AVX2_SUPPORT is defined.
24945         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24947 2014-07-14  Alan Modra  <amodra@gmail.com>
24949         [BZ #17153]
24950         * elf/elf.h (DT_PPC64_NUM): Correct value.
24951         * NEWS: Add to fixed bug list.
24953 2014-07-13  Jim Meyering  <meyering@fb.com>
24955         [BZ 17150]
24956         regex: don't deref NULL upon heap allocation failure
24957         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
24958         failure in one more place.
24959         To trigger the segfault, configure grep -with-included-regex,
24960         build it, and run these commands:
24961         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24963 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
24965         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24967 2014-07-11  Richard Henderson  <rth@redhat.com>
24969         * sysdeps/aarch64/libm-test-ulps: Update.
24971 2014-07-10  Florian Weimer  <fweimer@redhat.com>
24973         [BZ #17135]
24974         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
24975         * nptl/allocatestack.c (__nptl_setxid_error): New function.
24976         (__nptl_setxid): Initialize error member.  Call
24977         __nptl_setxid_error.
24978         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
24979         * nptl/descr.h (struct xid_command): Add error member.
24980         * nptl/tst-setuid3.c: New file.
24981         * nptl/Makefile (tests): Add it.
24983 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24985         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
24986         New define.
24987         (__lll_trylock): Use __lll_base_trylock.
24988         (__lll_cond_trylock): Likewise.
24990 2014-07-10  Roland McGrath  <roland@hack.frob.com>
24992         * nptl/pthread_create.c (start_thread): Use atomic_or and
24993         lll_futex_wake directly rather than lll_robust_dead.
24994         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24995         (lll_robust_dead): Macro removed.
24996         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
24997         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24998         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24999         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25000         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25001         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25002         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25003         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25004         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25005         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25006         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25007         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25008         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25009         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25010         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25012         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25013         Use atomic_compare_and_exchange_val_acq directly rather than
25014         lll_robust_trylock.
25015         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25016         (__lll_robust_trylock, lll_robust_trylock): Removed.
25017         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25018         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25019         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25020         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25021         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25022         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25023         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25024         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25025         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25026         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25027         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25028         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25029         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25030         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25032 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25034         * manual/locale.texi (Locale Names): New section documenting
25035         locale name syntax.  Adjust menu and node chaining accordingly.
25036         (Choosing Locale): Reference Locale Names, Locale Categories.
25037         Mention setting LC_ALL=C.  Reflect that name syntax is now
25038         documented.
25039         (Locale Categories): New section title.  Reference Locale Names.
25040         LC_ALL is an environment variable, but not a category.
25041         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
25042         description, now in Locale Name.  Reference that section.  Locale
25043         name syntax is now documented.
25045 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25047         [BZ #17137]
25048         * locale/findlocale.c (name_present, valid_locale_name): New
25049         functions.
25050         (_nl_find_locale): Use the loc_name variable to store name
25051         candidates.  Call name_present and valid_locale_name to check and
25052         validate locale names.  Return an error if the locale is invalid.
25054 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25056         * locale/setlocale.c (setlocale): Use strdup for allocating
25057         composite name copy.
25059 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25061         Sync up with gnulib.
25062         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
25063         [!_LIBC && ENABLE_NLS]: Include gettext.h.
25064         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
25065         and _GL_ARG_NONNULL.
25066         [USE_UNLOCKED_IO]: Include unlocked-io.h.
25067         [!_LIBC]: Include code for Windows and Cygwin.
25068         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
25069         Include prototype for int strerror_r.
25070         [!_LIBC] (is_open): New function.
25071         (flush_stdout): New function.
25072         (print_errno_message): Use it.
25073         (error): Likewise.
25074         (error_at_line): Likewise.
25075         (error_tail) Add function attribute macros.  Use
25076         __builtin_expect.
25078         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
25080         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
25082         * io/ftw.c: Include sys/param.h unconditionally.
25084         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
25086         [BZ #17125]
25087         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
25088         libc_freeres_ptr.
25089         (freecache): New function to free CACHE on exit.
25091         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
25092         initialization.
25094 2014-07-09  David S. Miller  <davem@davemloft.net>
25096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25098         * sysdeps/sparc/nptl/internaltypes.h: Delete.
25099         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
25100         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
25101         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
25102         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
25103         * sysdeps/sparc/nptl/sem_init.c: Likewise.
25104         * sysdeps/sparc/nptl/sem_post.c: Likewise.
25105         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
25106         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
25107         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
25108         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
25109         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
25110         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
25112 2014-07-09  Andreas Schwab  <schwab@suse.de>
25114         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
25115         output.
25116         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
25117         (do_test): Likewise.
25119         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25121 2014-07-09  Will Newton  <will.newton@linaro.org>
25123         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
25124         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
25125         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
25126         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
25127         * sysdeps/hppa/start.S (_start): Likewise.
25129 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25131         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
25133         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
25134         defined.
25136 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25138         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
25139         after checking that it is non-NULL.
25141         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
25143 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25145         * sysdeps/powerpc/memmove.c: Remove file.
25146         * sysdeps/powerpc/powerpc32/power4/memcopy.h
25147         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
25148         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25149         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
25150         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
25151         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
25152         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
25153         string memmove instead of removed powerpc one.
25155         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25156         [weak_alias]: Fix compiler warning due trailing data.
25157         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
25158         [weak_alias]: Likewise.
25159         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
25160         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
25162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25163         (__libc_ifunc_impl_list): Add memmove functions.
25165 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25167         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
25168         Remove code.
25169         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
25170         Likewise.
25171         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
25172         Likewise.
25173         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
25174         Likewise.
25175         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
25176         Likewise.
25177         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
25178         Likewise.
25179         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
25180         Likewise.
25181         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
25182         Likewise.
25183         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
25184         Likewise.
25185         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
25186         Likewise.
25187         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
25188         Likewise.
25189         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
25190         Likewise.
25191         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
25192         Likewise.
25193         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
25194         Likewise.
25195         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
25196         Likewise.
25197         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
25198         Likewise.
25199         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
25200         Likewise.
25202 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25204         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
25205         to avoid alignment traps in non-cacheable memory.
25206         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
25209         multiarch objects.
25210         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
25211         file: multiarch power7 memmove.
25212         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
25213         multiarch default memmove.
25214         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
25215         multiarch memove for powerpc32/power4.
25217         * string/bcopy.c: Use full path to include memmove.c.
25218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
25219         multiarch objects.
25220         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
25221         bcopy for powerpc64.
25222         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
25223         bcopy for powerpc64.
25224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
25225         and memmove implementations.
25226         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
25227         optimized multiarch memmove for POWER7/powerpc64.
25228         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
25229         default multiarch memmove for powerpc64.
25230         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
25231         multiarch for powerpc64.
25232         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
25233         for POWER7/powerpc64.
25234         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
25235         memmove for POWER7/powerpc64.
25237         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
25238         glibc default one.
25240         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
25241         __ELF_NATIVE_CLASS equal to 64.
25243 2014-07-07  Roland McGrath  <roland@hack.frob.com>
25245         * sysdeps/nptl/lowlevellock.h: File removed.
25247         * NEWS: NPTL is no longer an add-on!
25248         * nptl/internaltypes.h: Moved ...
25249         * sysdeps/nptl/internaltypes.h: ... here.
25250         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
25251         * sysdeps/nptl/fork.c: Likewise.
25252         * sysdeps/nptl/gai_misc.h: Likewise.
25253         * sysdeps/nptl/librt-cancellation.c: Likewise.
25254         * sysdeps/nptl/jmp-unwind.c: Likewise.
25255         * sysdeps/nptl/setxid.h: Likewise.
25256         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
25257         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
25258         * sysdeps/unix/sysv/linux/arm/Implies: New file.
25259         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
25260         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
25261         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
25262         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
25263         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
25264         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
25265         * sysdeps/unix/sysv/linux/mips/Implies: New file.
25266         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
25267         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
25268         * sysdeps/unix/sysv/linux/sh/Implies: New file.
25269         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
25270         * sysdeps/unix/sysv/linux/tile/Implies: New file.
25271         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
25272         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
25273         * nptl/Makeconfig: Moved ...
25274         * sysdeps/nptl/Makeconfig: ... here.
25275         * nptl/configure: File removed.
25276         * nptl/ANNOUNCE: File removed.
25277         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
25278         * sysdeps/unix/sysv/linux/configure: Regenerated.
25280         * nptl/Makefile (routines): Add libc_pthread_init,
25281         libc_multiple_threads, register-atfork and unregister-atfork.
25282         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
25283         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
25284         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
25285         pthread-pi-defines.sym, structsem.sym.
25286         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
25287         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
25288         [$(subdir) = nptl] (tests): Add tst-setgetname.
25289         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
25290         * sysdeps/unix/sysv/linux/sigaction.c: Just include
25291         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
25292         [!LIBC_SIGACTION]: Remove aliases.
25293         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25294         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25295         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25296         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
25297         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25298         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
25299         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25300         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25301         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25302         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
25303         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
25304         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
25305         __libc_allocate_rtsig_private.
25306         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
25307         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
25308         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25309         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25310         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
25311         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
25312         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
25313         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
25314         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
25315         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
25316         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
25317         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
25318         * nptl/internaltypes.h: ... here.
25319         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
25320         * sysdeps/nptl/jmp-unwind.c: ... here.
25321         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
25322         * nptl/libc-lowlevellock.c: ... here.
25323         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
25324         * nptl/libc_multiple_threads.c: ... here.
25325         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
25326         * nptl/libc_pthread_init.c: ... here.
25327         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
25328         * nptl/lowlevelbarrier.sym: ... here.
25329         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
25330         * nptl/lowlevelcond.sym: ... here.
25331         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
25332         * nptl/lowlevellock.c: ... here.
25333         * nptl/lowlevellock.h: Moved ...
25334         * sysdeps/nptl/lowlevellock.h: ... here.
25335         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
25336         * nptl/lowlevelrobustlock.c: ... here.
25337         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
25338         * nptl/lowlevelrobustlock.sym: ... here.
25339         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
25340         * nptl/lowlevelrwlock.sym: ... here.
25341         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
25342         * nptl/pt-fork.c: ... here.
25343         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
25344         * nptl/pthread-pi-defines.sym: ... here.
25345         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
25346         * nptl/pthread_attr_getaffinity.c: ... here.
25347         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
25348         * nptl/pthread_attr_setaffinity.c: ... here.
25349         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
25350         * nptl/pthread_mutex_cond_lock.c: ... here.
25351         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25352         Update #include.
25353         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
25354         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
25355         * nptl/pthread_once.c: ... here, replacing old file.
25356         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
25357         * nptl/pthread_yield.c: ... here.
25358         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
25359         * nptl/register-atfork.c: ... here.
25360         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
25361         * nptl/sem_post.c: ... here.
25362         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
25363         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
25364         * nptl/sem_timedwait.c: ... here.
25365         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
25366         * nptl/sem_trywait.c: ... here.
25367         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
25368         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
25369         * nptl/sem_wait.c: ... here.
25370         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
25371         * nptl/structsem.sym: ... here.
25372         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
25373         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
25374         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
25375         * nptl/unregister-atfork.c: ... here.
25376         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
25377         * nptl/unwindbuf.sym: ... here.
25378         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
25379         * sysdeps/nptl/fork.c: ... here.
25380         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
25381         * sysdeps/nptl/fork.h: ... here.
25382         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
25383         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
25384         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
25385         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
25386         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
25387         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
25388         * sysdeps/unix/sysv/linux/getpid.c: ... here.
25389         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
25390         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
25391         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
25392         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
25393         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
25394         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
25395         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
25396         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
25397         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
25398         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
25399         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
25400         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
25401         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
25402         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
25403         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
25404         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
25405         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
25406         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
25407         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
25408         * sysdeps/unix/sysv/linux/raise.c: ... here.
25409         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
25410         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
25411         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
25412         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
25413         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
25414         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
25415         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
25416         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
25417         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
25418         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
25419         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
25420         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
25421         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
25422         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
25423         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
25425 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25427         * sysdeps/generic/memcopy.h: Add comment for
25428         MEMCPY_OK_FOR_FWD_MEMMOVE.
25430 2014-07-04  Will Newton  <will.newton@linaro.org>
25432         * string/memchr.c: Merge from gnulib.
25433         [_LIBC]: Remove conditionals.
25434         (__ptr_t): Remove define.
25435         (LONG_MAX_32_BITS): Likewise.
25436         (LONG_MAX): Likewise.
25437         (MEMCHR): Use ANSI prototype and optimize algorithm.
25439         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
25441 2014-07-03  Roland McGrath  <roland@hack.frob.com>
25443         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
25444         (lll_futex_timed_wait_bitset): Fix syscall argument count.
25446         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
25447         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
25448         in a bare environment with no <stdlib.h> installed.
25449         * sysdeps/nptl/configure: Regenerated.
25451         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
25453         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
25454         AC_EGREP_CPP for kernel header checks, so they only succeed if
25455         including <linux/version.h> actually works right.
25456         * sysdeps/unix/sysv/linux/configure: Regenerated.
25458         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
25459         value so it's not diagnosed as unused.
25461         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
25462         thing) with "ifeq ($(subdir),rt)".
25464 2014-07-03  Richard Henderson  <rth@redhat.com>
25466         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
25467         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
25468         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
25470         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
25471         (math_force_eval): New.
25473         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
25474         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
25476         * sysdeps/alpha/fpu/s_round.c: Remove file.
25477         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
25479         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
25480         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
25481         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
25482         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
25483         (_dl_start, print_statistics): Likewise.
25484         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
25485         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
25487         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25488         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25489         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25490         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25491         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25492         (HP_SMALL_TIMING_AVAIL): Define.
25493         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25494         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25495         (HP_SMALL_TIMING_AVAIL): Define.
25496         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25497         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25499         * sysdeps/aarch64/hp-timing.h: New file.
25501         * sysdeps/generic/hp-timing.h: Remove dead comment.
25502         * sysdeps/generic/hp-timing-common.h: New file.
25503         * sysdeps/alpha/hp-timing.h: Include it.
25504         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
25505         * sysdeps/i386/i686/hp-timing.h: Likewise.
25506         * sysdeps/ia64/hp-timing.h: Likewise.
25507         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25508         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25509         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25510         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25511         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
25512         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
25513         (hp_timing_t): New.
25515         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
25516         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
25517         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
25518         * elf/rtld.c (_dl_start_final): Likewise.
25519         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
25520         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25521         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25522         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25523         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25524         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25525         (HP_TIMING_DIFF_INIT): Remove.
25526         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25527         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25528         (HP_TIMING_DIFF_INIT): Remove.
25529         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25530         * sysdeps/i386/i686/hp-timing.c: Remove file.
25531         * sysdeps/x86_64/hp-timing.c: Remove file.
25532         * sysdeps/ia64/hp-timing.c: Remove file.
25533         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
25534         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
25535         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
25536         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
25538         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
25539         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
25540         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
25541         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25542         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25543         (HP_TIMING_ACCUM): Remove.
25544         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25545         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
25546         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25548         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
25549         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
25550         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
25551         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
25552         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
25553         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25554         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
25555         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25557         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
25559 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
25561         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
25563 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25565         Sync up with gettext.
25566         * intl/loadmsgcat.c: Define O_BINARY if not defined.
25567         [_MSC_VER]: Include malloc.h
25568         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
25569         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
25570         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
25571         TEMP_FAILURE_RETRY.  Cast return of alloca.
25572         [!_LIBC] Call gl_rwlock_init.
25573         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
25575 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25577         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
25578         before checking its value.
25580 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25582         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
25584         * debug/memcpy_chk.c: Don't include pagecopy.h.
25585         * debug/mempcpy_chk.c: Likewise.
25586         * string/memcpy.c: Likewise.
25587         * string/memmove.c: Likewise.
25588         * sysdeps/powerpc/memmove.c: Likewise.
25589         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
25590         definition of PAGE_COPY_FWD_MAYBE here...
25591         * sysdeps/generic/pagecopy.h: ... from here.
25592         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
25594 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25595             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25597         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
25598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
25599         optimizations.
25600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25601         (__libc_ifunc_impl_list): Likewise.
25602         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
25603         multiarch strcat for PPC64.
25604         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
25605         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
25607 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25609         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
25611 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25613         * intl/loadmsgcat.c: Remove declaration of
25614         get_sysdep_segment_value.
25615         (get_sysdep_segment_value): Use ISO C style.
25616         (_nl_load_domain): Use ISO C style.  Get rid of redundant
25617         semicolon.  Fix typo and formatting in comment.
25618         (_nl_unload_domain): Use ISO C style.
25620         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
25622 2014-07-02  Will Newton  <will.newton@linaro.org>
25624         * malloc/obstack.c: Merge from gnulib master.
25625         [HAVE_CONFIG_H]: Remove conditional code.
25626         [!_LIBC]: Include config.h.
25627         [!ELIDE_CODE]: Don't include inttypes.h, include
25628         stdint.h unconditionally.
25629         (print_and_abort): Mark as _Noreturn.
25630         (_obstack_allocated_p): Mark as __attribute_pure__.
25631         (obstack_free): Rename to __obstack_free.
25632         [!__attribute__]: Remove conditional code.
25633         * malloc/obstack.h: Merge from gnulib master.
25634         [__cplusplus]: Move conditional down.
25635         [!__attribute_pure__]: Define __attribute_pure__ here
25636         if it is not already defined.
25637         (_obstack_memory_used): Mark as __attribute_pure__.
25638         [!__obstack_free]: Define as obstack_free.
25639         [__GNUC__]: Remove check for ancient NeXT gcc.
25641 2014-07-02  Will Newton  <will.newton@linaro.org>
25642             Paul Eggert  <eggert@cs.ucla.edu>
25644         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
25646 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25648         * resolv/gethnamaddr.c: Add comment warning that the file is
25649         not maintained.
25651 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
25653         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
25654         entries.
25656         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
25657         entry for aio_cancel and aio_cancel64.
25658         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
25659         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
25660         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
25661         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
25662         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
25663         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
25664         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
25665         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
25666         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
25667         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
25668         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
25669         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
25670         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
25672 2014-07-01  Roland McGrath  <roland@hack.frob.com>
25674         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
25675         * nptl/pthread_mutex_lock.c: Likewise.
25676         * nptl/pthread_mutex_timedlock.c: Likewise.
25677         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
25679 2014-07-01  Richard henderson  <rth@redhat.com>
25681         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
25682         (__isnan, __isnanl): Remove.
25683         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
25685         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25687 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25689         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25691 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25693         * resolv/nss_dns/dns-host.c (getanswer_r)
25694         [MULTI_PTRS_ARE_ALIASES]: Remove code.
25696 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
25698         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25699         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
25700         undefine.
25701         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
25702         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
25704 2014-07-01  Roland McGrath <roland@hack.frob.com>
25706         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
25707         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
25709         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
25710         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
25712         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
25713         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
25714         ... here.
25715         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
25716         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
25718         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
25719         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
25720         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
25721         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
25723         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
25724         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
25725         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
25726         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
25727         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
25728         Moved ...
25729         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
25730         ... here.
25731         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
25732         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
25733         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
25734         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
25735         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
25736         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
25737         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
25738         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
25739         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
25740         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
25741         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
25742         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
25743         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
25744         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
25745         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
25746         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
25747         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
25748         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
25749         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
25750         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
25751         ... here.
25752         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
25753         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
25754         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
25755         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
25756         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
25757         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
25758         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
25759         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
25761 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
25763         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
25764         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
25765         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
25766         Add sysdep.
25768 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25772 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25774         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25775         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25777         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25779         * sysdeps/arm/libm-test-ulps: Regenerated.
25781 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25782             Roland McGrath <roland@hack.frob.com>
25784         * test-skeleton.c (signal_handler): Kill the whole process group
25785         before killing the child individually.
25786         (main): Report any failure on `setpgid'.
25788 2014-06-30  Roland McGrath  <roland@hack.frob.com>
25790         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
25791         from _TLS_H to _ARM_NPTL_TLS_H.
25792         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
25793         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
25795 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25797         [BZ #16539]
25798         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25799         (__expm1l): Return argument unchanged when small but not
25800         subnormal.
25802         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
25803         include macro name.
25804         (_FP_UNPACK_RAW_1_P): Likewise.
25805         (_FP_PACK_RAW_1): Likewise.
25806         (_FP_PACK_RAW_1_P): Likewise.
25807         (_FP_MUL_MEAT_1_wide): Likewise.
25808         (_FP_MUL_MEAT_DW_1_hard): Likewise.
25809         (_FP_MUL_MEAT_1_hard): Likewise.
25810         (_FP_DIV_MEAT_1_imm): Likewise.
25811         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25812         (_FP_DIV_MEAT_1_udiv): Likewise.
25813         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25814         (_FP_UNPACK_RAW_2): Likewise.
25815         (_FP_UNPACK_RAW_2_P): Likewise.
25816         (_FP_PACK_RAW_2): Likewise.
25817         (_FP_PACK_RAW_2_P): Likewise.
25818         (_FP_MUL_MEAT_DW_2_wide): Likewise.
25819         (_FP_MUL_MEAT_2_wide): Likewise.
25820         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25821         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25822         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25823         (_FP_MUL_MEAT_2_gmp): Likewise.
25824         (_FP_DIV_MEAT_2_udiv): Likewise.
25825         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25826         (_FP_FRAC_SRL_4): Likewise.
25827         (_FP_FRAC_SRST_4): Likewise.
25828         (_FP_FRAC_SRS_4): Likewise.
25829         (_FP_UNPACK_RAW_4): Likewise.
25830         (_FP_UNPACK_RAW_4_P): Likewise.
25831         (_FP_PACK_RAW_4): Likewise.
25832         (_FP_PACK_RAW_4_P): Likewise.
25833         (_FP_MUL_MEAT_DW_4_wide): Likewise.
25834         (_FP_MUL_MEAT_4_wide): Likewise.
25835         (_FP_MUL_MEAT_4_gmp): Likewise.
25836         (umul_ppppmnnn): Likewise.
25837         (_FP_DIV_MEAT_4_udiv): Likewise.
25838         (__FP_FRAC_ADD_4): Likewise.
25839         (__FP_FRAC_SUB_3): Likewise.
25840         (__FP_FRAC_SUB_4): Likewise.
25841         (__FP_FRAC_DEC_3): Likewise.
25842         (__FP_FRAC_DEC_4): Likewise.
25843         (__FP_FRAC_ADDI_4): Likewise.
25844         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25845         (_FP_FRAC_SRL_8): Likewise.
25846         (_FP_FRAC_SRS_8): Likewise.
25848         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25849         include macro name.
25850         (FP_UNPACK_RAW_EP): Likewise.
25851         (FP_PACK_RAW_E): Likewise.
25852         (FP_PACK_RAW_EP): Likewise.
25853         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25854         (_FP_ISSIGNAN): Likewise.
25855         (_FP_ADD_INTERNAL): Likewise.
25856         (_FP_FMA): Likewise.
25857         (_FP_CMP): Likewise.
25858         (_FP_SQRT): Likewise.
25859         (_FP_TO_INT): Likewise.
25860         (_FP_FROM_INT): Likewise.
25861         (FP_EXTEND): Likewise.
25862         (_FP_DIV_MEAT_N_loop): Likewise.
25864 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25866         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25867         throughout.
25869 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
25871         [BZ #17097]
25872         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
25873         result with correct sign in case of exponents that produce
25874         overflow except for X very close to 1.
25876 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
25878         mktime: merge #if/#ifdef usage from glibc
25879         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
25880         as that works with both Glibc's and Gnulib's style.
25881         See thread starting at Siddhesh Poyarekar's bug report at:
25882         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
25884 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25886         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
25887         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25888         * sysdeps/tile/tilegx/memmove.c: Remove file.
25890 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25892         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
25893         abi-name definition.
25894         * scripts/soversions.awk: Do not handle or generate ABI lines.
25895         * shlib-versions: Remove ABI entries.
25896         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
25897         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
25899 2014-06-27  Roland McGrath  <roland@hack.frob.com>
25901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
25902         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
25903         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
25904         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
25905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
25906         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
25907         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
25908         Moved ...
25909         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
25910         ... here.
25911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
25912         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
25913         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
25914         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
25915         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
25916         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
25917         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
25918         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
25919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
25920         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
25921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
25922         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
25924         Moved ...
25925         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
25926         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
25927         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
25928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
25929         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
25930         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
25931         Moved ...
25932         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
25933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
25934         Moved ...
25935         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
25936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
25937         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
25938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
25939         Moved ...
25940         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
25941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
25942         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
25943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
25944         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
25945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
25946         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
25947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
25948         Moved ...
25949         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
25950         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
25951         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
25952         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
25953         Moved ...
25954         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
25955         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
25956         Moved ...
25957         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
25958         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
25959         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25960         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25961         Moved ...
25962         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25963         ... here.
25964         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25965         Identical file removed.
25966         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25967         Moved ...
25968         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
25969         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
25970         Identical file removed.
25971         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
25972         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
25973         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
25974         Moved ...
25975         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
25976         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
25977         Identical file removed.
25978         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
25979         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
25980         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
25981         Identical file removed.
25982         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
25983         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
25984         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
25985         Identical file removed.
25986         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
25987         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
25988         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
25989         Identical file removed.
25990         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
25991         Moved ...
25992         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
25993         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
25994         Identical file removed.
25995         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
25996         Moved ...
25997         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25998         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25999         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
26000         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
26001         Identical file removed.
26002         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
26003         Moved ...
26004         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
26005         ... here.
26006         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
26007         Identical file removed.
26008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
26009         Moved ...
26010         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
26011         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
26012         Identical file removed.
26013         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
26014         Moved ...
26015         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
26016         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
26017         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
26018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
26019         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
26020         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
26021         Moved ...
26022         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
26023         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
26024         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
26026         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
26027         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
26028         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
26029         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
26030         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
26032 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
26034         [BZ #17092]
26035         * nscd/nscd.c (monitor_child): Return exit status of child
26036         instead of return value from wait syscall.
26038 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26040         * configure.ac (libc_commonpagesize): Remove variable.
26041         (libc_relro_required): Likewise.
26042         (libc_cv_z_relro): Remove configure test.
26043         * configure: Regenerated.
26044         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
26045         variable.
26046         (libc_relro_required): Likewise.
26047         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
26048         (libc_relro_required): Likewise.
26049         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
26050         (libc_relro_required): Likewise.
26051         * sysdeps/arm/preconfigure: Regenerated.
26052         * sysdeps/ia64/preconfigure: Remove file.
26053         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
26054         variable.
26055         (libc_relro_required): Likewise.
26057         [BZ #16561]
26058         [BZ #16562]
26059         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
26060         (__ieee754_yn): Set FE_TONEAREST mode internally and then
26061         recompute overflowing results in original rounding mode.
26062         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
26063         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
26064         recompute overflowing results in original rounding mode.
26065         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
26066         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26067         recompute overflowing results in original rounding mode.
26068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
26069         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26070         recompute overflowing results in original rounding mode.
26071         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
26072         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26073         recompute overflowing results in original rounding mode.
26074         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
26075         (libc_feholdsetround_ctx): New macro.
26076         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
26077         * sysdeps/i386/fpu/libm-test-ulps: Update.
26078         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
26080 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26082         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
26083         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
26084         corresponding .cpsetup call.
26086 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26088         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
26089         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
26090         * sysdeps/arm/Makefile [$(subdir) = csu]
26091         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
26092         (static-only-routines): Add aeabi_read_tp here.
26093         (shared-only-routines): Add libc-aeabi_read_tp here.
26094         (CFLAGS-libc-start.c): Add -fexceptions here.
26095         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
26096         (sysdep_routines, static-only-routines, shared-only-routines):
26097         Don't add to these here.
26098         (CFLAGS-libc-start.c): Likewise.
26100         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
26101         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26102         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
26103         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26104         * sysdeps/arm/Makefile [$(subdir) = rt]
26105         (librt-sysdep_routines, librt-shared-only-routines):
26106         Append rt-aeabi_unwind_cpp_pr1 here.
26107         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
26108         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
26109         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
26110         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26111         Append nptl-aeabi_unwind_cpp_pr1 here.
26112         (tests): Filter out tst-cleanupx4 here.
26113         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
26114         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
26115         Don't do those here.
26117 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26119         * scripts/list-sources.sh: Do not handle ports specially.
26121 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26123         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
26124         * sysdeps/arm/feupdateenv.c: Likewise.
26126         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
26128 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26130         * manual/texinfo.tex: Update to version 2014-05-05.10 with
26131         trailing whitespace removed.
26132         * scripts/config.guess: Update to version 2014-03-23.
26133         * scripts/config.sub: Update to version 2014-05-01
26134         * scripts/install-sh: Update to version 2013-12-25.23.
26135         * scripts/move-if-change: Update from gnulib.
26137 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26139         * debug/memmove_chk.c: Remove pagecopy.h include.
26141 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
26143         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
26144         identical to gnulib mktime.
26146 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26148         * configure.ac: Do not test for machine being rs6000.  Do not test
26149         for powerpc*-*soft.
26150         * configure: Regenerated.
26152         [BZ #11505]
26153         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
26154         test.
26155         * configure: Regenerated.
26156         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
26157         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
26158         Remove configure test.
26159         * sysdeps/arm/configure: Regenerated.
26160         * sysdeps/nptl/configure.ac: Do not check
26161         libc_cv_asm_cfi_directives.
26162         * sysdeps/nptl/configure: Regenerated.
26163         * sysdeps/x86_64/nptl/configure.ac: Remove file.
26164         * sysdeps/x86_64/nptl/configure: Remove generated file.
26165         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
26166         unconditional.
26167         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
26169 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26171         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
26172         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
26173         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
26174         it is defined.
26176         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
26177         instead of whether it is defined.
26178         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
26179         * sysdeps/hppa/dl-machine.h: Likewise.
26180         * sysdeps/ia64/dl-machine.h: Likewise.
26181         * sysdeps/m68k/dl-machine.h: Likewise.
26182         * sysdeps/microblaze/dl-machine.h: Likewise.
26183         * sysdeps/mips/dl-machine.: Likewise.
26184         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26185         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26186         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26187         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26188         * sysdeps/sh/dl-machine.h: Likewise.
26189         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26190         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26191         * sysdeps/tile/dl-machine.h: Likewise.
26192         * sysdeps/x86_64/dl-machine.h: Likewise.
26194         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
26195         code.
26196         (verify_persistent_db): Likewise.
26198 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
26201         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
26202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
26203         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
26204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26205         Moved ...
26206         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
26207         ... here.
26208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
26209         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
26210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
26211         Identical file removed.
26212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
26213         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
26214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
26215         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
26216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
26217         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
26218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
26219         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
26220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
26221         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
26222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26223         Moved ...
26224         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
26225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
26226         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
26227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
26228         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
26229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26230         Moved ...
26231         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
26232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
26233         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
26234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
26235         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
26236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26237         Identical file removed.
26238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
26239         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
26240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
26241         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
26242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26243         Moved ...
26244         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
26245         ... here.
26246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
26247         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
26248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
26249         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
26250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
26251         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
26252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
26253         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
26254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
26255         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
26256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26257         Moved ...
26258         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
26259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
26260         Moved ...
26261         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
26262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
26263         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
26264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26265         Moved ...
26266         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
26267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
26268         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
26270         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
26271         folded into ...
26272         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
26273         * sysdeps/unix/sysv/linux/s390/Versions
26274         (libpthread: GLIBC_2.19): New version set.
26275         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
26276         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
26277         (librt: GLIBC_2.3.3): New version set.
26278         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
26279         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
26280         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
26281         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
26282         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
26283         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
26284         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
26285         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
26286         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
26287         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
26288         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
26289         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
26290         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
26291         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
26292         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
26293         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
26294         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
26295         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
26296         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
26297         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
26298         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
26299         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
26300         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
26301         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
26302         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
26303         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
26304         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
26305         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
26306         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
26307         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
26308         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
26309         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
26310         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
26311         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
26312         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
26313         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
26314         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
26315         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
26316         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
26317         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
26318         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
26319         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
26320         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
26321         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
26322         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
26324         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
26325         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
26326         (__libc_vfork): Define the function under this name.
26327         [!NOT_IN_libc] (__vfork): Make this an alias.
26328         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26329         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
26330         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
26331         (__libc_vfork): Define the function under this name.
26332         [!NOT_IN_libc] (__vfork): Make this an alias.
26333         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26334         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
26335         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
26336         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
26337         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
26338         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26340         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
26341         code that was previously under [RESET_PID].
26342         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
26343         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
26344         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
26346         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
26347         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
26348         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
26349         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
26350         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
26351         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
26352         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
26353         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
26354         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
26355         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
26356         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
26357         Moved ...
26358         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
26359         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
26360         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
26361         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
26362         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
26363         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
26364         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
26365         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
26366         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
26367         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
26368         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
26369         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
26370         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
26371         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
26372         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
26373         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
26374         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
26375         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
26376         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
26377         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
26378         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
26379         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
26380         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
26381         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
26382         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
26383         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
26384         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
26385         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
26386         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
26388 2014-06-25  Roland McGrath  <roland@hack.frob.com>
26390         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
26391         that was previously under [RESET_PID].
26392         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
26394 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26396         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
26397         not undefine and redefine.
26398         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
26399         [O_CLOEXEC]: Make code unconditional.
26400         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
26401         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
26402         <kernel-features.h>.
26403         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
26404         conditional variable definition.
26405         (shm_open) [O_CLOEXEC]: Make code unconditional.
26406         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
26407         code.
26409         * configure.ac (USE_REGPARMS): Don't define here.
26410         * configure: Regenerated.
26411         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
26412         * sysdeps/i386/configure: Regenerated.
26414         * nptl/createthread.c: Don't include kernel-features.h.
26415         * nptl/pthread_cancel.c: Likewise.
26416         * nptl/pthread_condattr_setclock.c: Likewise.
26417         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
26418         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
26419         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
26420         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
26421         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
26422         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
26423         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
26425         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26426         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
26427         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
26428         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
26429         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
26430         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
26431         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
26432         * nscd/gai.c: Likewise.
26433         * nss/nss_db/db-open.c: Likewise.
26434         * sysdeps/generic/ldsodefs.h: Likewise.
26435         * sysdeps/sh/nptl/tls.h: Likewise.
26436         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26437         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
26438         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
26439         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
26440         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
26441         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26442         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
26443         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26444         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26445         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26446         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26447         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26448         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
26449         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
26450         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
26451         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
26452         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
26453         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
26454         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
26455         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
26456         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
26457         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
26458         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
26459         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
26460         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
26461         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
26462         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
26463         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
26464         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26465         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
26466         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
26467         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
26468         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
26469         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26470         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26471         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26472         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26473         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
26474         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
26475         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26476         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26477         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
26478         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
26479         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26480         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
26481         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
26482         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
26483         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
26484         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
26485         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
26486         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
26487         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
26488         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
26489         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26490         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
26491         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26492         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26493         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
26494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
26496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
26497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
26498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
26499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
26500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
26501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
26502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
26505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
26506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
26507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
26508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
26514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
26515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
26516         * sysdeps/unix/sysv/linux/pread.c: Likewise.
26517         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
26518         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
26519         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
26520         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
26521         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
26522         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
26523         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
26524         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
26525         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
26526         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
26527         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
26528         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
26529         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
26530         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
26531         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
26532         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26533         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
26534         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
26535         * sysdeps/unix/sysv/linux/system.c: Likewise.
26536         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
26537         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26538         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26539         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26540         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26541         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26542         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26544         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
26545         * configure: Regenerated.
26546         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
26548         * configure.ac (base_machine): Do not set specially for particular
26549         machines here.
26550         * configure: Regenerated.
26551         * sysdeps/powerpc/preconfigure: Move machine and base_machine
26552         settings from configure.ac.
26553         * sysdeps/i386/preconfigure: New file.
26554         * sysdeps/s390/preconfigure: Likewise.
26555         * sysdeps/sh/preconfigure: Likewise.
26556         * sysdeps/sparc/preconfigure: Likewise.
26558 2014-06-25  Roland McGrath  <roland@hack.frob.com>
26560         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
26561         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
26562         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
26563         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
26564         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
26565         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
26566         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
26567         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
26568         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
26569         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
26570         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
26571         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
26572         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
26573         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
26574         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
26575         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
26576         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
26577         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
26578         * sysdeps/sparc/sparc64/Makefile: ... appended here.
26580         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
26581         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
26582         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
26583         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
26584         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
26585         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
26586         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
26587         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
26588         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
26589         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
26590         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
26591         * sysdeps/sparc/sparc32/sem_post.c: ... here.
26592         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
26593         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
26594         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
26595         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
26596         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
26597         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
26598         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
26599         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
26600         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
26601         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
26602         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
26603         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
26604         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
26605         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
26606         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
26607         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
26608         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
26609         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
26610         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
26611         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
26612         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
26613         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
26614         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
26615         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
26616         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
26617         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
26619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
26620         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
26621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
26622         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
26623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26624         Moved ...
26625         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
26626         ... here.
26627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
26628         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
26629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
26630         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
26631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
26632         Moved ...
26633         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
26634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
26635         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
26636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
26637         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
26638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
26639         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
26640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26641         Moved ...
26642         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
26643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26644         Moved ...
26645         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
26646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
26647         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
26648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26649         Moved ...
26650         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
26651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
26652         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
26653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
26654         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
26655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
26656         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
26657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
26658         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
26659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26660         Moved ...
26661         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
26662         ... here.
26663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
26664         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
26665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
26666         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
26667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
26668         Moved ...
26669         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
26670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
26671         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
26672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
26673         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
26674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
26675         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
26676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26677         Moved ...
26678         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
26679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26680         Moved ...
26681         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
26682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
26683         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
26684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26685         Moved ...
26686         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
26687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
26688         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
26689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
26690         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
26692 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26694         * timezone/checktab.awk: Update from tzcode 2014e.
26695         * timezone/private.h: Likewise.
26696         * timezone/tzfile.h: Likewise.
26697         * timezone/zdump.c: Likewise.
26698         * timezone/zic.c: Likewise.
26700         * sysdeps/unix/sysv/linux/kernel-features.h
26701         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
26702         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
26703         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
26704         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26705         Remove conditional code.
26707 2014-06-25  Will Newton  <will.newton@linaro.org>
26709         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
26710         (_dl_arm_cap_flags): Add HWCAP2 values.
26711         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
26712         (_DL_HWCAP_COUNT): Increase to 37.
26713         (_DL_HWCAP_LAST): New define.
26714         (_DL_HWCAP2_LAST): New define.
26715         (_dl_procinfo): Add support for printing
26716         AT_HWCAP2 entries.
26717         (_dl_string_hwcap): Use _dl_hwcap_string.
26719 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26723 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26725         * README: Do not mention ports directory.
26727         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
26728         Remove macro.
26729         * sysdeps/unix/sysv/linux/futimes.c: Do not include
26730         <kernel-features.h>.
26731         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
26732         conditional variable definition.
26733         (__futimes): Update comment.
26734         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
26735         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
26737         [BZ #16560]
26738         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
26739         arguments close to 0.
26740         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
26741         Likewise.
26742         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
26743         Likewise.
26744         * math/auto-libm-test-in: Add more tests of exp10.
26745         * math/auto-libm-test-out: Regenerated.
26746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26748         * sysdeps/unix/sysv/linux/kernel-features.h
26749         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
26750         * sysdeps/unix/sysv/linux/readv.c: Do not include
26751         <kernel-features.h>.
26752         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26753         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26754         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26755         unconditional.
26756         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26757         conditional code.
26758         * sysdeps/unix/sysv/linux/writev.c: Do not include
26759         <kernel-features.h>.
26760         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26761         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26762         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26763         unconditional.
26764         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26765         conditional code.
26767 2014-06-25  Will Newton  <will.newton@linaro.org>
26769         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
26770         comment changes throughout the file.  Remove checks
26771         for HAVE_*_H definitions that are not required.
26772         (__gen_tempname): Call abort if an unknown kind value is
26773         passed.
26775 2014-06-25  Andreas Schwab  <schwab@suse.de>
26777         [BZ #17086]
26778         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
26779         scalbln, scalblnf, scalblnl in libc.
26781 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26783         [BZ #17086]
26784         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
26785         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26786         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26788 2014-06-24  Roland McGrath  <roland@hack.frob.com>
26790         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
26791         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
26792         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
26793         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
26794         Update #include.
26795         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
26796         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
26797         Update #include.
26798         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
26799         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
26800         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
26801         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
26802         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
26803         * sysdeps/x86/bits/pthreadtypes.h: ... here.
26804         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
26805         * sysdeps/x86/bits/semaphore.h: ... here.
26806         * sysdeps/x86/nptl/elide.h: Moved ...
26807         * sysdeps/x86/elide.h: ... here.
26808         * sysdeps/x86_64/nptl/Implies: File removed.
26809         * sysdeps/i386/nptl/Implies: File removed.
26811 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
26813         [BZ #16539]
26814         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26815         return the argument for normal arguments with exponent below -64.
26816         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26817         Likewise.
26818         * math/auto-libm-test-in: Add another test of expm1.
26819         * math/auto-libm-test-out: Regenerated.
26821         [BZ #16287]
26822         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26823         calling __erfcl for arguments at least 16.
26824         * math/auto-libm-test-in: Add more tests of erf.
26825         * math/auto-libm-test-out: Regenerated.
26827         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26828         individual architectures.
26829         * sysdeps/unix/sysv/linux/configure: Regenerated.
26830         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26831         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26832         * sysdeps/unix/sysv/linux/powerpc/configure.ac
26833         (ldd_rewrite_script): Define variable.
26834         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26836         file.
26837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26838         generated file.
26839         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26840         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26841         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26842         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26843         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26844         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26845         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26846         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26848 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26850         [BZ #17084]
26851         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26852         Rename member __data.d to __data.__elision_data.
26854 2014-06-24  Wilco  <wdijkstr@arm.com>
26856         * NEWS: Add 16918 to fixed bug list.
26858 2014-06-24  Wilco  <wdijkstr@arm.com>
26860         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26862 2014-06-24  Wilco  <wdijkstr@arm.com>
26864         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26865         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26866         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26867         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26868         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26869         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26870         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26871         Use _FPU_MASK_RM.
26873 2014-06-24  Wilco  <wdijkstr@arm.com>
26875         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
26877 2014-06-24  Wilco  <wdijkstr@arm.com>
26879         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
26880         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
26881         * sysdeps/arm/fesetround.c (fesetround): Remove space.
26882         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
26884 2014-06-24  Wilco  <wdijkstr@arm.com>
26886         [BZ #16918]
26887         * sysdeps/arm/feupdateenv.c (feupdateenv):
26888         Rewrite to reduce FPSCR accesses and fix return value.
26890 2014-06-24  Wilco  <wdijkstr@arm.com>
26892         * sysdeps/arm/fclrexcpt.c (feclearexcept):
26893         Optimize to avoid unnecessary FPSCR writes.
26894         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
26895         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
26896         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
26897         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
26899 2014-06-24  Wilco  <wdijkstr@arm.com>
26901         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
26902         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
26903         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
26904         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26905         Call libc_fetestexcept_vfp.
26906         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
26907         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
26908         __SOFTFP__ ifdef so that they can be built for softfp.
26910 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26912         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
26913         argument type signed char.
26915         * Makerules (check-abi): Dump diff of symlist if the test
26916         fails.
26918 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26920         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
26921         using abort.
26923         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26924         Remove unused variable ST.
26926 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26928         [BZ #16354]
26929         [BZ #17061]
26930         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
26931         small arguments before calling __expm1.
26932         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
26933         small arguments before calling __expm1f.
26934         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
26935         small arguments before calling __expm1l.
26936         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26937         Likewise.
26938         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
26939         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
26940         spurious underflow for some cosh tests.
26941         * math/auto-libm-test-out: Regenerated.
26942         * sysdeps/i386/fpu/libm-test-ulps: Update.
26944         [BZ #17050]
26945         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26946         (__ieee754_y1): Set errno if return value overflows.
26947         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
26948         (__ieee754_y1f): Set errno if return value overflows.
26949         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
26950         (__ieee754_y1l): Set errno if return value overflows.
26951         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
26952         (__ieee754_y1l): Set errno if return value overflows.
26953         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
26954         * math/auto-libm-test-out: Regenerated.
26956         * math/gen-auto-libm-tests.c: Document use of
26957         ignore-zero-inf-sign.
26958         (input_flag_type): Add value flag_ignore_zero_inf_sign.
26959         (input_flags): Add ignore-zero-inf-sign.
26960         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26961         * math/gen-libm-test.pl (generate_testfile): Handle
26962         ignore-zero-inf-sign.
26963         * math/auto-libm-test-in: Mark some cpow tests with
26964         ignore-zero-inf-sign and some with xfail-rounding.
26965         * math/auto-libm-test-out: Regenerated.
26966         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26967         * sysdeps/i386/fpu/libm-test-ulps: Update.
26968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26970         [BZ #16315]
26971         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
26972         overflowing or underflowing operations take place with sign of
26973         result.
26974         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26975         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26976         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
26977         (__ieee754_pow): Recompute overflowing and underflowing results in
26978         original rounding mode.
26979         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
26980         (__powl_helper): Allow negative argument X and scale negated value
26981         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
26982         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
26983         overflowing or underflowing operations take place with sign of
26984         result.
26985         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
26986         Include <math.h>.
26987         * math/auto-libm-test-in: Add more tests of pow.
26988         * math/auto-libm-test-out: Regenerated.
26989         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
26990         (pow_tonearest_test_data): Remove.
26991         (pow_test_tonearest): Likewise.
26992         (pow_towardzero_test_data): Likewise.
26993         (pow_test_towardzero): Likewise.
26994         (pow_downward_test_data): Likewise.
26995         (pow_test_downward): Likewise.
26996         (pow_upward_test_data): Likewise.
26997         (pow_test_upward): Likewise.
26998         (main): Don't call removed functions.
26999         * sysdeps/i386/fpu/libm-test-ulps: Update.
27000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27002 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
27005         Moved ...
27006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
27007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27008         Moved ...
27009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
27010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27011         Moved ...
27012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
27013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27014         Moved ...
27015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
27016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27017         File removed.
27018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27019         File removed.
27020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
27021         File removed.
27022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
27023         File removed.
27024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
27025         File removed.
27026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
27027         File removed.
27028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
27029         File removed.
27030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27031         File removed.
27032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
27033         File removed.
27034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27035         File removed.
27036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
27037         File removed.
27038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
27039         File removed.
27040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
27041         Moved ...
27042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
27043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
27044         Moved ...
27045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
27046         ... here.
27047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
27048         Moved ...
27049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
27050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
27051         Moved ...
27052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
27053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
27054         Moved ...
27055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
27056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
27057         Moved ...
27058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
27059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
27060         Moved ...
27061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
27062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
27063         Moved ...
27064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
27065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
27066         Moved ...
27067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
27068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
27069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
27070         ... here.
27071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
27072         Moved ...
27073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
27074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27075         Moved ...
27076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
27077         ... here.
27078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
27079         Moved ...
27080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27081         ... here.
27082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27083         Moved ...
27084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27085         ... here.
27086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27087         Moved ...
27088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
27089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27090         Moved ...
27091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
27092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
27093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
27094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27095         Moved ...
27096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
27097         ... here.
27098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27099         Moved ...
27100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
27101         ... here.
27102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27103         Moved ...
27104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
27105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27106         Moved ...
27107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
27108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27109         Moved ...
27110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
27111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27112         Moved ...
27113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
27114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27115         Moved ...
27116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
27117         ... here.
27118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27119         Moved ...
27120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
27121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27122         Moved ...
27123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
27124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27125         Moved ...
27126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
27127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27128         Moved ...
27129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
27130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
27131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
27132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27133         Moved ...
27134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
27135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27136         Moved ...
27137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
27138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27139         Moved ...
27140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
27141         ... here.
27142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27143         Moved ...
27144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
27145         ... here.
27146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27147         Moved ...
27148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
27149         ... here.
27150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27151         Moved ...
27152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
27153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27154         Moved ...
27155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
27156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27157         Moved ...
27158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
27159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27160         Moved ...
27161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
27162         ... here.
27163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27164         Moved ...
27165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
27166         ... here.
27167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27168         Moved ...
27169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
27170         ... here.
27171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27172         Moved ...
27173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
27174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27175         Moved ...
27176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
27178 2014-06-23  Will Newton  <will.newton@linaro.org>
27179             Wilco  <wdijkstr@arm.com>
27181         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
27182         implementation.  Include get-rounding-mode.h.
27183         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
27184         [!libc_feholdsetround_noex_ctx]: Define
27185         libc_feholdsetround_noex_ctx.
27186         [!libc_feholdsetround_noexf_ctx]: Define
27187         libc_feholdsetround_noexf_ctx.
27188         [!libc_feholdsetround_noexl_ctx]: Define
27189         libc_feholdsetround_noexl_ctx.
27190         (libc_feholdsetround_ctx): New function.
27191         (libc_feresetround_ctx): New function.
27192         (libc_feholdsetround_noex_ctx): New function.
27193         (libc_feresetround_noex_ctx): New function.
27195 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27197         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
27198         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
27199         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
27200         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
27201         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
27202         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
27204         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
27205         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
27206         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
27207         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
27208         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
27209         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
27210         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
27211         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
27212         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
27213         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
27214         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
27215         Moved ...
27216         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
27217         ... here.
27218         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
27219         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
27220         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
27221         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
27222         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
27223         Moved ...
27224         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
27225         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
27226         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
27227         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
27228         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
27229         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
27230         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
27231         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
27232         Moved ...
27233         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
27234         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
27235         Moved ...
27236         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
27237         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
27238         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
27239         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
27240         Moved ...
27241         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
27242         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
27243         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
27244         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
27245         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
27246         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
27247         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
27248         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
27249         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
27250         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
27251         Moved ...
27252         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
27253         ... here.
27254         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
27255         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
27256         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
27257         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
27258         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
27259         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
27260         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
27261         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
27262         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
27263         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
27264         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
27265         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
27266         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
27267         Moved ...
27268         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
27269         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
27270         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
27271         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
27272         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
27273         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
27274         Moved ...
27275         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
27276         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
27277         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
27278         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
27279         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
27281         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
27282         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
27283         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
27284         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
27285         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
27286         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
27287         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
27288         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
27289         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
27290         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
27291         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
27292         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
27293         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
27294         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
27295         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
27296         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
27297         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
27298         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
27299         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
27300         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
27301         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
27302         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
27303         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
27304         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
27305         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
27306         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
27307         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
27308         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
27310 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27312         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27313         (FALLOC_FL_COLLAPSE_RANGE): New macro.
27314         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
27315         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
27316         (IPV6_PMTUDISC_INTERFACE): Likewise.
27317         (IPV6_PMTUDISC_OMIT): Likewise.
27319 2014-06-23  Andreas Schwab  <schwab@suse.de>
27321         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
27322         Remove unused errout label.
27324 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27326         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
27327         macro: hardware supports Vector Crypto instructions.
27329 2014-06-23  Will Newton  <will.newton@linaro.org>
27331         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
27332         rather than __builtin_expect.
27334         * elf/dl-lookup.c (undefined_msg): Remove variable.
27335         (_dl_lookup_symbol_x): Replace undefined_msg with string
27336         literal.
27338         * elf/dl-lookup.c (do_lookup_unique): New function.
27339         (do_lookup_x): Move STB_GNU_UNIQUE handling code
27340         to a separate function.
27342 2014-06-23  Andreas Schwab  <schwab@suse.de>
27344         [BZ #17079]
27345         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
27346         before reading the next line.
27348 2014-06-23  Will Newton  <will.newton@linaro.org>
27350         * test-skeleton.c (signal_handler): Use printf and %m
27351         rather than perror.  Use printf rather than fprintf to
27352         stderr.  Use puts rather than fputs to stderr.
27353         (main): Likewise.
27355 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
27357         * nscd/nscd.c (thread_info_t): Remove typedef.
27358         (thread_info): Remove variable.
27360 2014-06-21  Allan McRae  <allan@archlinux.org>
27362         * NEWS: Mention CVE-2014-4043.
27364 2014-06-20  Roland McGrath  <roland@hack.frob.com>
27366         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
27367         * nptl/smp.h: ... here.
27369         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
27371         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
27372         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
27373         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
27374         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
27376         * nptl/allocatestack.c: Include <stack-aliasing.h>.
27377         * nptl/stack-aliasing.h: New file.
27378         * sysdeps/i386/i686/stack-aliasing.h: New file.
27379         * sysdeps/i386/i686/nptl/Makefile: File removed.
27380         * sysdeps/x86_64/stack-aliasing.h: New file.
27381         * sysdeps/x86_64/nptl/Makefile
27382         (CFLAGS-pthread_create.c): Variable removed.
27384         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
27385         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
27386         old file.
27387         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
27388         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
27389         old file.
27391 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
27393         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27394         (__ASSUME_SIGFRAME_V2): Remove macro.
27395         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
27396         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
27397         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
27398         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
27399         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
27400         Declare as function.  Remove conditional macro definitions.
27401         (__default_rt_sa_restorer): Likewise.
27402         (__default_sa_restorer_v1): Remove declaration.
27403         (__default_sa_restorer_v2): Likewise.
27404         (__default_rt_sa_restorer_v1): Likewise.
27405         (__default_rt_sa_restorer_v2): Likewise.
27406         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
27407         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
27408         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
27410 2014-06-20  Roland McGrath  <roland@hack.frob.com>
27412         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
27413         (libpthread-routines): Add sysdep.
27414         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
27415         * sysdeps/unix/sysv/linux/sparc/Versions
27416         (libpthread: GLIBC_2.3.3): New version set.
27417         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
27418         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
27419         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
27420         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
27421         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
27422         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
27423         Moved ...
27424         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
27425         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
27426         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
27427         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
27428         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
27429         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
27430         * sysdeps/sparc/nptl/sem_init.c: ... here.
27431         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
27432         * sysdeps/sparc/nptl/sem_post.c: ... here.
27433         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
27434         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
27435         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
27436         * sysdeps/sparc/nptl/sem_wait.c: ... here.
27437         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
27438         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
27439         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
27440         (libpthread-routines): Add cpu_relax.
27441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
27442         File removed.
27443         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
27444         (librt: GLIBC_2.3.3): New version set.
27445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
27446         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
27447         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
27448         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
27449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
27450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
27451         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
27452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
27453         Moved ...
27454         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
27455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
27456         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
27457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
27458         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
27459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
27460         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
27461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
27462         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
27463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
27464         Moved ...
27465         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
27466         Update #include.
27467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
27468         Moved ...
27469         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
27470         Update #include.
27471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
27472         Moved ...
27473         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
27474         Update #include.
27475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
27476         Moved ...
27477         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
27478         Update #include.
27479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
27480         Moved ...
27481         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
27482         Update #include.
27483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
27484         Moved ...
27485         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
27486         Update #include.
27487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
27488         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
27489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
27490         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
27491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
27492         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
27493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
27494         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
27495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
27496         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
27497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27498         Moved ...
27499         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
27500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
27501         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
27502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
27503         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
27505 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27507         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
27508         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
27509         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27510         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
27511         * nscd/nscd.c: Likewise.
27512         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
27513         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
27514         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
27515         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
27517         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
27518         <kernel-features.h>.
27519         (init_mq_netlink): Remove conditional have_sock_cloexec
27520         definitions.  Remove code conditional on have_sock_cloexec < 0.
27521         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
27522         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
27523         * sysdeps/unix/sysv/linux/opensock.c: Do not include
27524         <kernel-features.h>.
27525         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
27526         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
27528 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
27530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27531         Add tests for memset_chk and memset.
27533         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
27534         with AVX2_Usable.
27536 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
27538         [BZ #16046]
27539         * elf/tst-dl-iter-static.c: New file.
27540         * elf/Makefile (tests-static): Add tst-dl-iter-static.
27542         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
27543         error.
27545 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27547         * sysdeps/unix/sysv/linux/kernel-features.h
27548         (__ASSUME_F_GETOWN_EX): Remove macro.
27549         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
27550         <kernel-features.h>.
27551         (miss_F_GETOWN_EX): Remove variable or macro.
27552         (do_fcntl): Do not check miss_F_GETOWN_EX.
27553         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
27555         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
27556         Remove macro.
27557         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
27558         [!__ASSUME_AT_RANDOM]: Remove conditional code.
27559         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
27561         * sysdeps/unix/sysv/linux/kernel-features.h
27562         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
27563         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
27564         [ADJ_OFFSET_SS_READ]: Make code unconditional.
27565         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
27567 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
27569         [BZ #17075]
27570         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
27571         Fix calculation of the symbol's value.
27572         * sysdeps/arm/tst-armtlsdescloc.c: New file.
27573         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
27574         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
27575         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
27576         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
27577         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
27578         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
27579         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
27580         (modules-names): Add `tst-armtlsdescmod',
27581         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
27582         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
27583         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27584         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
27585         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
27586         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27587         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
27588         ($(objpfx)tst-armtlsdescloc): New dependency.
27589         ($(objpfx)tst-armtlsdescextnow): Likewise.
27590         ($(objpfx)tst-armtlsdescextlazy): Likewise.
27591         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
27592         TLS scheme support.
27593         * sysdeps/arm/configure: Regenerate.
27595 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27597         * include/fcntl.h (__atfct_seterrno): Remove prototype.
27598         (__atfct_seterrno_2): Likewise.
27599         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
27600         <kernel-features.h>.
27601         (__ASSUME_ATFCTS): Do not undefine and redefine.
27602         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
27603         (__have_atfcts): Remove conditional definition.
27604         (__fxstatat([__NR_fstatat64]: Make code unconditional.
27605         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
27606         unreachable if [__ASSUME_ATFCTS].
27607         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
27608         not undefine and redefine.
27609         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
27610         <kernel-features.h>.
27611         (faccessat) [__NR_faccessat]: Make code unconditional.
27612         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
27613         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
27614         <kernel-features.h>.
27615         (fchmodat) [__NR_fchmodat]: Make code unconditional.
27616         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27617         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
27618         <kernel-features.h>.
27619         (fchownat) [__NR_fchownat]: Make code unconditional.
27620         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
27621         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
27622         <kernel-features.h>.
27623         (futimesat) [__NR_futimesat]: Make code unconditional.
27624         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
27625         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27626         <kernel-features.h>.
27627         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27628         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27629         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27630         <kernel-features.h>.
27631         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
27632         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27633         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
27634         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27635         <kernel-features.h>.
27636         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
27637         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27638         * sysdeps/unix/sysv/linux/linkat.c: Do not include
27639         <kernel-features.h>.
27640         (linkat) [__NR_linkat]: Make code unconditional.
27641         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27642         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
27643         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
27644         <kernel-features.h>.
27645         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
27646         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27647         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
27648         <kernel-features.h>.
27649         (mkdirat) [__NR_mkdirat]: Make code unconditional.
27650         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
27651         * sysdeps/unix/sysv/linux/openat.c: Do not include
27652         <kernel-features.h>.
27653         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
27654         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
27655         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
27656         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
27657         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
27658         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
27659         <kernel-features.h>.
27660         (readlinkat) [__NR_readlinkat]: Make code unconditional.
27661         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
27662         result of INLINE_SYSCALL directly, not via int variable.
27663         * sysdeps/unix/sysv/linux/renameat.c: Do not include
27664         <kernel-features.h>.
27665         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
27666         (renameat) [__NR_renameat]: Make code unconditional.
27667         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
27668         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
27669         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
27670         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
27671         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
27672         (__ASSUME_ATFCTS): Do not undefine and redefine.
27673         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
27674         <kernel-features.h>.
27675         (symlinkat) [__NR_symlinkat]: Make code unconditional.
27676         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27677         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
27678         <kernel-features.h>.
27679         (unlinkat) [__NR_unlinkat]: Make code unconditional.
27680         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27681         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
27682         (__ASSUME_ATFCTS): Do not undefine and redefine.
27683         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27684         <kernel-features.h>.
27685         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27686         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27687         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27688         <kernel-features.h>.
27689         (__xmknodat) [__NR_mknodat]: Make code unconditional.
27690         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27692 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
27694         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
27696 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
27698         [BZ #17069]
27699         * posix/regcomp.c (parse_reg_exp): Deallocate partially
27700         constructed tree before returning error.
27701         * posix/bug-regexp36.c: Expand test case.
27703 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
27705         [BZ #6803]
27706         * math/libm-test.inc (scalbln_test_date):
27707         Add errno expectations.
27708         * math/w_scalblnf.c: New File.
27709         Add wrapper which checks for setting errno to ERANGE.
27710         Add weak_alias for corresponding scalbln function.
27711         * math/w_scalbln.c: Likewise.
27712         * math/w_scalblnl.c: Likewise.
27713         * math/Makefile (libm-calls): Add w_scalbln.
27714         * sysdeps/ieee754/flt-32/s_scalblnf.c:
27715         Remove weak_alias for corresponding scalbln function.
27716         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27717         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27718         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27719         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27720         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27721         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27722         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
27723         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27724         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
27725         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
27726         Remove long_double_symbol for scalblnl function in libm, libc.
27727         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
27728         Add wrapper which checks for setting errno to ERANGE.
27729         Add long_double_symbol for scalblnl function in libm, libc.
27730         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
27731         Remove long_double_symbol for scalblnl in libm.
27732         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
27733         Add wrapper which checks for setting errno to ERANGE.
27734         Add long_double_symbol for scalblnl function in libm.
27735         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
27736         Do not use wrapper because of own implementation.
27738 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
27740         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
27741         3 bytes for __pad1 for x32.
27742         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
27744 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
27745             H.J. Lu  <hongjiu.lu@intel.com>
27747         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
27748         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
27749         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27750         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27751         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27753 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
27755         [BZ #17069]
27756         * posix/regcomp.c (parse_expression): Deallocate partially
27757         constructed tree before returning error.
27758         * posix/Makefile.c (tests): Add bug-regex36.
27759         (generated): Add bug-regex36.mtrace.
27760         (tests-special): Add $(objpfx)bug-regex36-mem.out
27761         (bug-regex36-ENV): New variable.
27762         ($(objpfx)bug-regex36-mem.out): New rule.
27763         * posix/bug-regex36.c: New file.
27765 2014-06-19  Will Newton  <will.newton@linaro.org>
27767         * malloc/malloc.c (systrim): If extra is zero then return
27768         early.
27770 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27772         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
27774 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
27776         * sysdeps/aarch64/strchr.S: New file.
27778 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27780         [BZ #17022]
27781         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
27782         from arguments -2 or below.
27783         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27784         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
27786 2014-06-18  Andreas Schwab  <schwab@suse.de>
27788         [BZ #17062]
27789         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
27790         of a bracket expr not to run off the end of the string.
27791         * posix/Makefile (tests): Add tst-fnmatch3.
27792         * posix/tst-fnmatch3.c: New file.
27794 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27796         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
27797         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27798         [$(cross-compiling) = no]: Likewise.
27799         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27800         [$(cross-compiling) = no]: Likewise.
27802 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27804         [BZ #17031]
27805         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
27806         double, adjusted for any remainder from the high double.
27807         * math/libm-test.inc (nearbyint): Add tests.
27808         (rint): Likewise.
27810 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27812         * nptl/sysdeps/powerpc/Makefile: Moved ...
27813         * sysdeps/powerpc/nptl/Makefile: ... here.
27814         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27815         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27816         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27817         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27818         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27819         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27820         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27821         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27822         * nptl/sysdeps/powerpc/tls.h: Moved ...
27823         * sysdeps/powerpc/nptl/tls.h: ... here.
27825 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
27827         [BZ #16681]
27828         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27829         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27830         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27831         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27832         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27833         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27834         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27835         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27836         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27838 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
27840         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27842 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
27844         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27845         defined operator.
27847         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27848         $TIMEOUTFACTOR.
27850 2014-06-16  Florian Weimer  <fweimer@redhat.com>
27852         [BZ #17058]
27853         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27854         non-executed part of the test.
27856 2014-06-16  Andreas Schwab  <schwab@suse.de>
27858         * string/bits/string2.h (strdup, strndup): Update feature guard.
27860 2014-06-14  David S. Miller  <davem@davemloft.net>
27862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27864 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
27866         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27867         that was previously under [RESET_PID].
27868         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27870         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27871         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
27872         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
27873         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27874         (__libc_vfork): New strong alias.
27875         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27877 2014-06-14 Andi Kleen  <ak@linux.intel.com>
27879         * sysdeps/generic/elide.h: New file.
27881 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27883         * Makefile (installed-headers): Adjust path of pthread.h header.
27885 2014-06-13  Roland McGrath  <roland@hack.frob.com>
27887         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
27888         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
27889         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
27890         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
27892         * nptl/sysdeps/s390/Makefile: Moved ...
27893         * sysdeps/s390/nptl/Makefile: ... here.
27894         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
27895         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
27896         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
27897         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
27898         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
27899         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
27900         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
27901         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
27902         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27903         * sysdeps/s390/nptl/pthreaddef.h: ... here.
27904         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
27905         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
27906         * nptl/sysdeps/s390/tls.h: Moved ...
27907         * sysdeps/s390/nptl/tls.h: ... here.
27909         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
27910         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27912 2014-06-13  David S. Miller  <davem@davemloft.net>
27914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
27915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
27916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
27917         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
27918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
27919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
27920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
27921         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
27922         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
27923         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
27924         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
27925         Remove RESET_PID cpp guards.
27926         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
27927         Remove RESET_PID cpp guards.
27928         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
27930 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
27932         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27933         __sp to uintptr_t.
27935 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27937         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
27938         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
27939         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
27940         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
27941         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
27942         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
27943         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
27944         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
27945         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
27946         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
27947         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
27948         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
27949         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
27950         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
27951         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
27952         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
27953         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
27954         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
27955         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27956         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
27958         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27959         (pthread_rwlock_rdlock): Add elision.
27960         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27961         (pthread_rwlock_wrlock): Add elision.
27962         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27963         (pthread_rwlock_trywrlock): Add elision.
27964         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27965         (pthread_rwlock_tryrdlock): Add elision.
27966         * nptl/pthread_rwlock_unlock.c: Include elide.h.
27967         (pthread_rwlock_tryrdlock): Add elision unlock.
27968         * nptl/sysdeps/pthread/pthread.h:
27969         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
27970         (PTHREAD_RWLOCK_INITIALIZER,
27971         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
27972         Handle new elision field.
27973         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
27974         * sysdeps/arm/nptl/bits/pthreadtypes.h
27975         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27976         * sysdeps/sh/nptl/bits/pthreadtypes.h
27977         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27978         * sysdeps/tile/nptl/bits/pthreadtypes.h
27979         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27980         * sysdeps/a/nptl/bits/pthreadtypes.h
27981         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27982         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27983         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27984         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27985         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27986         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
27987         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27988         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27989         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27990         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27991         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27992         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27993         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27994         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27995         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27996         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
27997         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27998         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27999         (elision_init): Set try_xbegin to zero when no RTM.
28000         * sysdeps/x86/nptl/bits/pthreadtypes.h
28001         (pthread_rwlock_t): Change __pad1 to __rwelision.
28002         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28004 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28006         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
28007         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
28008         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
28009         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
28011 2014-06-13  Meador Inge  <meadori@codesourcery.com>
28013         [BZ #16996]
28014         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
28015         that the cached result has been set before returning it.
28017 2014-06-12  Roland McGrath  <roland@hack.frob.com>
28019         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
28020         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
28021         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
28022         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
28023         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
28024         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
28026         * nptl/sysdeps/sparc/Makefile: Moved ...
28027         * sysdeps/sparc/nptl/Makefile: ... here.
28028         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
28029         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
28030         * nptl/sysdeps/sparc/tls.h: Moved ...
28031         * sysdeps/sparc/nptl/tls.h: ... here.
28032         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
28033         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
28034         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
28035         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
28036         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
28037         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
28038         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
28039         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
28040         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
28041         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
28042         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
28043         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
28044         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
28045         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
28046         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
28047         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
28048         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
28049         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
28050         Update #include.
28051         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
28052         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
28053         Update #include.
28054         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
28055         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
28056         Update #include.
28057         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
28058         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
28059         Update #include.
28061         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28063         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
28064         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
28066         * sysdeps/pthread/posix-timer.h: Include <list.h>.
28067         (struct list_links): Type removed.
28068         (struct thread_node, struct timer_node): Replace struct list_links
28069         with struct list_head.
28070         (list_unlink_ip): Likewise.
28071         * sysdeps/pthread/timer_routines.c
28072         (timer_free_list, thread_free_list, thread_active_list): Likewise.
28073         (list_append, list_insbefore): Likewise.
28074         (list_init): Function removed.
28075         (thread_init, init_module): Use INIT_LIST_HEAD instead.
28076         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
28077         * sysdeps/pthread/Makefile: ... here, new file.
28079         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
28080         * sysdeps/nptl/Implies: ... here.
28081         * sysdeps/unix/sysv/linux/Implies: Add nptl.
28082         * nptl/sysdeps/pthread/list.h: Moved ...
28083         * include/list.h: ... here.
28084         * nptl/sysdeps/pthread/createthread.c: Moved ...
28085         * nptl/createthread.c: ... here.
28086         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
28087         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
28088         * nptl/pt-longjmp.c: ... here.
28089         * nptl/sysdeps/pthread/Makefile: Moved ...
28090         * sysdeps/nptl/Makefile: ... here.
28091         * nptl/sysdeps/pthread/Subdirs: Moved ...
28092         * sysdeps/nptl/Subdirs: ... here.
28093         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
28094         * sysdeps/nptl/aio_misc.h: ... here.
28095         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
28096         * sysdeps/nptl/bits/libc-lock.h: ... here.
28097         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
28098         * sysdeps/nptl/bits/libc-lockP.h: ... here.
28099         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
28100         * sysdeps/nptl/bits/stdio-lock.h: ... here.
28101         * nptl/sysdeps/pthread/configure: Moved ...
28102         * sysdeps/nptl/configure: ... here.
28103         * nptl/sysdeps/pthread/configure.ac: Moved ...
28104         * sysdeps/nptl/configure.ac: ... here.
28105         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
28106         * sysdeps/nptl/gai_misc.h: ... here.
28107         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
28108         * sysdeps/nptl/librt-cancellation.c: ... here.
28109         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
28110         * sysdeps/nptl/malloc-machine.h: ... here.
28111         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
28112         * sysdeps/nptl/pthread-functions.h: ... here.
28113         * nptl/sysdeps/pthread/pthread.h: Moved ...
28114         * sysdeps/nptl/pthread.h: ... here.
28115         * nptl/sysdeps/pthread/setxid.h: Moved ...
28116         * sysdeps/nptl/setxid.h: ... here.
28117         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
28118         * sysdeps/nptl/sigfillset.c: ... here.
28119         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
28120         * sysdeps/nptl/tcb-offsets.h: ... here.
28121         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
28122         * sysdeps/nptl/tst-mqueue8x.c: ... here.
28123         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
28124         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
28125         * nptl/sysdeps/pthread/allocalim.h: Moved ...
28126         * sysdeps/pthread/allocalim.h: ... here.
28127         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
28128         * sysdeps/pthread/bits/sigthread.h: ... here.
28129         * nptl/sysdeps/pthread/flockfile.c: Moved ...
28130         * sysdeps/pthread/flockfile.c: ... here.
28131         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
28132         * sysdeps/pthread/ftrylockfile.c: ... here.
28133         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
28134         * sysdeps/pthread/funlockfile.c: ... here.
28135         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
28136         * sysdeps/pthread/posix-timer.h: ... here.
28137         * nptl/sysdeps/pthread/timer_create.c: Moved ...
28138         * sysdeps/pthread/timer_create.c: ... here.
28139         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
28140         * sysdeps/pthread/timer_delete.c: ... here.
28141         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
28142         * sysdeps/pthread/timer_getoverr.c: ... here.
28143         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
28144         * sysdeps/pthread/timer_gettime.c: ... here.
28145         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
28146         * sysdeps/pthread/timer_routines.c: ... here.
28147         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
28148         * sysdeps/pthread/timer_settime.c: ... here.
28149         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
28150         * sysdeps/pthread/tst-timer.c: ... here.
28151         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
28152         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
28154         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
28155         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
28157         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
28158         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
28159         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
28160         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
28161         Update #include target.
28162         * nptl/sysdeps/i386/i686/Makefile: Moved ...
28163         * sysdeps/i386/i686/nptl/Makefile: ... here.
28164         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
28165         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
28166         Update #include target.
28167         * nptl/sysdeps/i386/i686/tls.h: Moved ...
28168         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
28169         * nptl/sysdeps/i386/Makefile: Moved ...
28170         * sysdeps/i386/nptl/Makefile: ... here.
28171         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
28172         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
28173         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
28174         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
28175         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
28176         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
28177         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
28178         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
28179         * sysdeps/i386/nptl/pthreaddef.h: ... here.
28180         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
28181         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
28182         * nptl/sysdeps/i386/tls.h: Moved ...
28183         * sysdeps/i386/nptl/tls.h: ... here.
28185         * sysdeps/sh/Makefile [$(subdir) = csu]
28186         (gen-as-const-headers): Add tcb-offsets.sym.
28187         * nptl/sysdeps/sh/Makefile: File removed.
28188         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
28189         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
28190         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
28191         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
28192         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
28193         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
28194         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
28195         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
28196         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
28197         * sysdeps/sh/nptl/pthreaddef.h: ... here.
28198         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
28199         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
28200         * nptl/sysdeps/sh/tls.h: Moved ...
28201         * sysdeps/sh/nptl/tls.h: ... here.
28202         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
28203         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
28204         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
28205         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
28206         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
28207         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
28208         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
28209         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
28210         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
28211         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
28212         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
28213         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
28214         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
28215         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
28216         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
28217         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
28218         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
28219         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
28220         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
28221         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
28222         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
28223         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
28224         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
28225         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
28226         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
28227         Moved ...
28228         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
28229         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
28230         Moved ...
28231         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
28232         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
28233         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
28234         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
28235         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
28236         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
28237         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
28238         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
28239         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
28240         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
28241         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
28242         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
28243         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
28244         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
28245         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
28246         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
28247         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
28248         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
28249         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
28251 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28253         * posix/spawn_faction_addopen.c: Include string.h.
28255 2014-06-11  Roland McGrath  <roland@hack.frob.com>
28257         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
28258         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
28259         * nptl/sysdeps/x86_64/Makefile: Moved ...
28260         * sysdeps/x86_64/nptl/Makefile: ... here.
28261         * nptl/sysdeps/x86_64/configure: Moved ...
28262         * sysdeps/x86_64/nptl/configure: ... here.
28263         * nptl/sysdeps/x86_64/configure.ac: Moved ...
28264         * sysdeps/x86_64/nptl/configure.ac: ... here.
28265         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
28266         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
28267         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
28268         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
28269         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
28270         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
28271         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
28272         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
28273         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
28274         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
28275         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
28276         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
28277         * nptl/sysdeps/x86_64/tls.h: Moved ...
28278         * sysdeps/x86_64/nptl/tls.h: ... here.
28279         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
28280         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
28281         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
28282         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
28284         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
28286 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28290 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
28292         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
28293         type.
28294         [POSIX] (off_t): Likewise.
28295         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
28296         [POSIX] (S_ISBLK): Require macro.
28297         [POSIX] (S_ISCHR): Likewise.
28298         [POSIX] (S_ISDIR): Likewise.
28299         [POSIX] (S_ISFIFO): Likewise.
28300         [POSIX] (S_ISREG): Likewise.
28301         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
28302         optional-macro.
28303         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
28304         type.
28305         [POSIX] (time_t): Likewise.
28306         [POSIX] (timer_t): Likewise.
28308 2014-06-11  Florian Weimer  <fweimer@redhat.com>
28310         [BZ #17048]
28311         * posix/spawn_int.h (struct __spawn_action): Make the path string
28312         non-const to support deallocation.
28313         * posix/spawn_faction_addopen.c
28314         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
28315         * posix/spawn_faction_destroy.c
28316         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
28317         path in all spawn_do_open actions.
28318         * posix/tst-spawn.c (do_test): Exercise the copy operation in
28319         posix_spawn_file_actions_addopen.
28321 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
28323         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
28324         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
28325         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
28326         conditional code always true.
28327         (__libc_vfork): New alias.
28329 2014-06-11  Roland McGrath  <roland@hack.frob.com>
28331         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28332         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
28334         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
28336         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28337         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
28339         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28340         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
28342         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28343         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
28345 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28347         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
28348         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
28349         multiarch strcmp for PPC64.
28350         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
28351         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
28352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
28353         multiarch optimizations.
28354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28355         (__libc_ifunc_impl_list): Likewise.
28357 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28359         * benchtests/scripts/validate_benchout.py: New script.
28360         * benchtests/Makefile (bench-func): Call it.
28361         * benchtests/scripts/benchout.schema.json: New file.
28363 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
28365         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
28366         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
28367         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
28368         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
28369         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
28370         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
28371         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
28372         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
28373         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
28374         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
28375         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
28376         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
28377         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
28378         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
28379         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
28380         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
28381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
28382         Moved ...
28383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
28384         ... here.
28385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
28386         Moved ...
28387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
28388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
28389         Moved ...
28390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
28391         ... here.
28392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
28393         Moved ...
28394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
28395         ... here.
28396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
28397         Moved ...
28398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
28399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
28400         Moved ...
28401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
28402         ... here.
28403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
28404         Moved ...
28405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
28406         ... here.
28407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
28408         Moved ...
28409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
28410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
28411         Moved ...
28412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
28413         ... here.
28414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
28415         Moved ...
28416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
28417         ... here.
28418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
28419         Moved ...
28420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
28421         ... here.
28422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
28423         Moved ...
28424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
28425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
28426         Moved ...
28427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
28428         ... here.
28429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
28430         Moved ...
28431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
28432         ... here.
28433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
28434         Moved ...
28435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
28436         ... here.
28437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
28438         Moved ...
28439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
28440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
28441         Moved ...
28442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
28443         ... here.
28444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
28445         Moved ...
28446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
28447         ... here.
28448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
28449         Moved ...
28450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
28451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
28452         Moved ...
28453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
28454         ... here.
28455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
28456         Moved ...
28457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
28458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
28459         Moved ...
28460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
28461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
28462         Moved ...
28463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
28464         ... here.
28465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
28466         Moved ...
28467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
28468         ... here.
28469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
28470         Moved ...
28471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
28472         ... here.
28473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
28474         Moved ...
28475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
28476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
28477         Moved ...
28478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
28479         ... here.
28480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
28481         Moved ...
28482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
28483         ... here.
28484         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
28485         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
28486         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
28487         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
28488         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
28489         Moved ...
28490         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
28491         ... here.
28492         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
28493         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
28494         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
28495         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
28496         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
28497         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
28498         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
28499         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
28500         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
28501         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
28502         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
28503         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
28504         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
28505         Moved ...
28506         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
28507         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
28508         Moved ...
28509         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
28510         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
28511         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
28512         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
28513         Moved ...
28514         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
28515         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
28516         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
28517         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
28518         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
28519         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
28520         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
28522 2014-06-10  Wilco  <wdijkstr@arm.com>
28524         * math/test-fenv-return.c: New file.
28525         * math/Makefile: Add new test test-fenv-return.
28527 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
28529         [BZ #17042]
28530         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
28531         when x - 1 is zero.
28532         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
28533         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
28534         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
28535         0.0L for an argument of 1.0L.
28536         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28537         Likewise.
28538         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
28539         value when x - 1 is zero.
28540         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
28541         * sysdeps/i386/fpu/libm-test-ulps: Update.
28542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28544 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
28546         [BZ #15119]
28547         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
28549 2014-06-09  Roland McGrath  <roland@hack.frob.com>
28551         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
28552         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
28554 2014-06-09  Roland McGrath  <roland@hack.frob.com>
28556         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28557         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
28559         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28560         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
28562         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28563         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
28565         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28566         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
28568         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
28569         if not already defined.
28570         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
28571         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
28572         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
28573         (TLS_INIT_TP): Use it.
28574         (TLS_DEFINE_INIT_TP): New macro.
28575         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
28577 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
28579         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
28580         constant.
28581         [POSIX] (IXANY): Likewise.
28582         [POSIX] (OLCUC): Likewise.
28583         [POSIX || POSIX2008] (CBAUD): Do not allow.
28584         [POSIX || POSIX2008] (DEFECHO): Likewise.
28585         [POSIX || POSIX2008] (ECHOCTL): Likewise.
28586         [POSIX || POSIX2008] (ECHOKE): Likewise.
28587         [POSIX || POSIX2008] (ECHOPRT): Likewise.
28588         [POSIX || POSIX2008] (EXTA): Likewise.
28589         [POSIX || POSIX2008] (EXTB): Likewise.
28590         [POSIX || POSIX2008] (FLUSHO): Likewise.
28591         [POSIX || POSIX2008] (LOBLK): Likewise.
28592         [POSIX || POSIX2008] (PENDIN): Likewise.
28593         [POSIX || POSIX2008] (SWTCH): Likewise.
28594         [POSIX || POSIX2008] (VDISCARD): Likewise.
28595         [POSIX || POSIX2008] (VDSUSP): Likewise.
28596         [POSIX || POSIX2008] (VLNEXT): Likewise.
28597         [POSIX || POSIX2008] (VREPRINT): Likewise.
28598         [POSIX || POSIX2008] (VSTATUS): Likewise.
28599         [POSIX || POSIX2008] (VWERASE): Likewise.
28600         (B*): Change to B[0123456789]*.
28601         * conform/data/time.h-data [POSIX || UNIX98]
28602         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
28603         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28604         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
28605         [POSIX] (tm_*): Do not allow.
28607 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
28609         * Makefile (install): Don't set LANGUAGE.
28610         * Makefile.in (install): Likewise.
28611         * assert/Makefile (test-assert-ENV): Remove variable.
28612         (test-assert-perr-ENV): Likewise.
28613         * elf/Makefile (neededtest4-ENV): Likewise.
28614         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28615         [$(cross-compiling) = no]: Don't set LANGUAGE.
28616         * io/ftwtest-sh (LANG): Remove variable.
28617         * libio/Makefile (tst-widetext-ENV): Likewise.
28618         * manual/install.texi (Running make install): Don't refer to
28619         environment settings for make install.
28620         * INSTALL: Regenerated.
28621         * nptl/tst-tls6.sh: Don't set LANG.
28622         * posix/globtest.sh (LANG): Remove variable.
28623         * string/Makefile (tester-ENV): Likewise.
28624         (inl-tester-ENV): Likewise.
28625         (noinl-tester-ENV): Likewise.
28626         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28627         [$(cross-compiling) = no]: Don't set LANGUAGE.
28628         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
28629         without explicit environment settings.
28631 2014-06-06  Roland McGrath  <roland@hack.frob.com>
28633         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
28634         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
28635         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
28636         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
28638 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
28640         * crypt/crypt-private.h [DOS]: Add some includes taken from the
28641         other files in the crypt directory.
28642         * crypt/crypt.c: Remove duplicate includes.
28643         * crypt/crypt-entry.c: Likewise.
28644         * crypt/crypt_util.c: Likewise.
28646 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
28648         * Makeconfig (run-program-env): New variable.
28649         (run-program-prefix-before-env): Likewise.
28650         (run-program-prefix-after-env): Likewise.
28651         (run-program-prefix): Define in terms of new variables.
28652         (built-program-cmd-before-env): New variable.
28653         (built-program-cmd-after-env): Likewise.
28654         (built-program-cmd): Define in terms of new variables.
28655         (test-program-prefix-before-env): New variable.
28656         (test-program-prefix-after-env): Likewise.
28657         (test-program-prefix): Define in terms of new variables.
28658         (test-program-cmd-before-env): New variable.
28659         (test-program-cmd-after-env): Likewise.
28660         (test-program-cmd): Define in terms of new variables.
28661         * Rules (make-test-out): Use $(run-program-env).
28662         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
28663         (help): Do not mention environment variables.  Mention
28664         --timeoutfactor option.
28665         (timeoutfactor): New variable.
28666         (blacklist_exports): Remove function.
28667         (exports): Remove variable.
28668         (command): Do not include ${exports}.
28669         * manual/install.texi (Configuring and compiling): Do not mention
28670         test wrappers preserving environment variables.  Mention that last
28671         assignment to a variable must take precedence.
28672         * INSTALL: Regenerated.
28673         * benchtests/Makefile (run-bench): Use $(run-program-env).
28674         * catgets/Makefile ($(objpfx)test1.cat): Use
28675         $(built-program-cmd-before-env), $(run-program-env) and
28676         $(built-program-cmd-after-env).
28677         ($(objpfx)test2.cat): Do not specify environment variables
28678         explicitly.
28679         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
28680         $(run-program-env) and $(built-program-cmd-after-env).
28681         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
28682         $(run-program-env) and $(test-program-cmd-after-env).
28683         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
28684         explicitly.
28685         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
28686         run_program_env and test_program_cmd_after_env arguments.
28687         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
28688         * elf/tst-pathopt.sh: Use run_program_env argument.
28689         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
28690         $(test-wrapper-env) and $(run-program-env).
28691         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
28692         run_program_env arguments.
28693         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
28694         * intl/Makefile ($(objpfx)tst-gettext.out): Use
28695         $(test-program-prefix-before-env), $(run-program-env) and
28696         $(test-program-prefix-after-env).
28697         ($(objpfx)tst-gettext2.out): Likewise.
28698         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
28699         run_program_env and test_program_prefix_after_env arguments.
28700         * intl/tst-gettext2.sh: Likewise.
28701         * intl/tst-gettext4.sh: Do not set environment variables
28702         explicitly.
28703         * intl/tst-gettext6.sh: Likewise.
28704         * intl/tst-translit.sh: Likewise.
28705         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
28706         $(test-program-prefix-before-env), $(run-program-env) and
28707         $(test-program-prefix-after-env).
28708         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
28709         run_program_env and test_program_prefix_after_env arguments.
28710         * math/Makefile (run-regen-ulps): Use $(run-program-env).
28711         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
28712         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
28713         explicitly with each use of ${test_wrapper_env}.
28714         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
28715         $(test-program-prefix-before-env), $(run-program-env) and
28716         $(test-program-prefix-after-env).
28717         * posix/tst-getconf.sh: Do not set environment variables
28718         explicitly.
28719         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
28720         run_program_env and test_program_prefix_after_env arguments.
28721         * stdio-common/tst-printf.sh: Do not set environment variables
28722         explicitly.
28723         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
28724         $(test-program-prefix-before-env), $(run-program-env) and
28725         $(test-program-prefix-after-env).
28726         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
28727         run_program_env and test_program_prefix_after_env arguments.
28728         Split $test calls into $test_pre and $test.
28729         * timezone/Makefile (build-testdata): Use
28730         $(built-program-cmd-before-env), $(run-program-env) and
28731         $(built-program-cmd-after-env).
28733 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28735         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
28736         strlen for non SHARED builds.
28738 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28740         * nptl/allocatestack.c (check_list): Inlined function...
28741         (__reclaim_stacks): ... here.
28743 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28745         [BZ #15698]
28746         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28747         memory overrun.
28749 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
28751         * Rules (make-test-out): Include
28752         LOCPATH=$(common-objpfx)localedata in default environment.
28753         * debug/Makefile (tst-chk1-ENV): Remove variable.
28754         (tst-chk2-ENV): Likewise.
28755         (tst-chk3-ENV): Likewise.
28756         (tst-chk4-ENV): Likewise.
28757         (tst-chk5-ENV): Likewise.
28758         (tst-chk6-ENV): Likewise.
28759         (tst-lfschk1-ENV): Likewise.
28760         (tst-lfschk2-ENV): Likewise.
28761         (tst-lfschk3-ENV): Likewise.
28762         (tst-lfschk4-ENV): Likewise.
28763         (tst-lfschk5-ENV): Likewise.
28764         (tst-lfschk6-ENV): Likewise.
28765         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
28766         (tst-iconv7-ENV): Likewise.
28767         * intl/Makefile (LOCPATH-ENV): Likewise.
28768         (tst-codeset-ENV): Likewise.
28769         (tst-gettext3-ENV): Likewise.
28770         (tst-gettext5-ENV): Likewise.
28771         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
28772         (tst-fopenloc-ENV): Likewise.
28773         (tst-fgetws-ENV): Remove variable.
28774         (tst-ungetwc1-ENV): Likewise.
28775         (tst-ungetwc2-ENV): Likewise.
28776         (bug-ungetwc2-ENV): Likewise.
28777         (tst-swscanf-ENV): Likewise.
28778         (bug-ftell-ENV): Likewise.
28779         (tst-fgetwc-ENV): Likewise.
28780         (tst-fseek-ENV): Likewise.
28781         (tst-ftell-partial-wide-ENV): Likewise.
28782         (tst-ftell-active-handler-ENV): Likewise.
28783         (tst-ftell-append-ENV): Likewise.
28784         * posix/Makefile (tst-fnmatch-ENV): Likewise.
28785         (tst-regexloc-ENV): Likewise.
28786         (bug-regex1-ENV): Likewise.
28787         (tst-regex-ENV): Likewise.
28788         (tst-regex2-ENV): Likewise.
28789         (bug-regex5-ENV): Likewise.
28790         (bug-regex6-ENV): Likewise.
28791         (bug-regex17-ENV): Likewise.
28792         (bug-regex18-ENV): Likewise.
28793         (bug-regex19-ENV): Likewise.
28794         (bug-regex20-ENV): Likewise.
28795         (bug-regex22-ENV): Likewise.
28796         (bug-regex23-ENV): Likewise.
28797         (bug-regex25-ENV): Likewise.
28798         (bug-regex26-ENV): Likewise.
28799         (bug-regex30-ENV): Likewise.
28800         (bug-regex32-ENV): Likewise.
28801         (bug-regex33-ENV): Likewise.
28802         (bug-regex34-ENV): Likewise.
28803         (bug-regex35-ENV): Likewise.
28804         (tst-rxspencer-ENV): Likewise.
28805         (tst-rxspencer-no-utf8-ENV): Likewise.
28806         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
28807         (tst-sscanf-ENV): Likewise.
28808         (tst-swprintf-ENV): Likewise.
28809         (tst-swscanf-ENV): Likewise.
28810         (test-vfprintf-ENV): Likewise.
28811         (scanf13-ENV): Likewise.
28812         (bug14-ENV): Likewise.
28813         (tst-grouping-ENV): Likewise.
28814         * stdlib/Makefile (tst-strtod-ENV): Likewise.
28815         (tst-strtod3-ENV): Likewise.
28816         (tst-strtod4-ENV): Likewise.
28817         (tst-strtod5-ENV): Likewise.
28818         (testmb2-ENV): Likewise./
28819         * string/Makefile (tst-strxfrm-ENV): Likewise.
28820         (tst-strxfrm2-ENV): Likewise.
28821         (bug-strcoll1-ENV): Likewise.
28822         (test-strcasecmp-ENV): Likewise.
28823         (test-strncasecmp-ENV): Likewise.
28824         * time/Makefile (tst-strptime-ENV): Likewise.
28825         (tst-ftime_l-ENV): Likewise.
28826         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28827         (tst-mbrtowc-ENV): Likewise.
28828         (tst-wcrtomb-ENV): Likewise.
28829         (tst-mbrtowc2-ENV): Likewise.
28830         (tst-c16c32-1-ENV): Likewise.
28831         (tst-mbsnrtowcs-ENV): Likewise.
28833 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28835         * manual/resource.texi (How to get information about the memory
28836         subsystem?): Fix typo.
28837         Reported by Peon de la Parra Ivan <peon@keba.com>
28839 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
28841         [BZ #16882]
28842         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28843         (pthread_spin_lock): Branch out of spin loop to proper location.
28844         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28845         (pthread_spin_lock): Likewise.
28847         * nptl/tst-spin4.c: New test.
28848         * nptl/Makefile (tests): Add tst-spin4.
28850 2014-06-03  Andreas Schwab  <schwab@suse.de>
28852         [BZ #15946]
28853         * resolv/res_send.c (send_dg): Reload file descriptor after
28854         calling reopen.
28856 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
28858         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28860 2014-06-03  Richard Henderson  <rth@redhat.com>
28862         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28863         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28864         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28865         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
28866         in the SAVE_PID block.
28867         (__libc_vfork): New alias.
28868         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28870         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
28871         child in registers, not on the stack.  Remove RESET_PID conditionals.
28872         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
28874 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28876         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28878 2014-06-03  Wilco  <wdijkstr@arm.com>
28880         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
28881         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
28882         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28883         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
28884         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
28885         Likewise.
28887 2014-06-03  Wilco  <wdijkstr@arm.com>
28889         * sysdeps/aarch64/fpu/math_private.h
28890         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
28891         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
28892         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
28893         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28894         Fix declarations.
28896 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28898         * crypt/crypt-private.h: Include ufc-crypt.h.
28899         (__b64_from_24bit): Declare extern.
28900         * crypt/crypt_util.c(__b64_from_24bit): New function.
28901         (b64t): New static const variable.
28902         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
28903         (b64t): Remove variable.
28904         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
28905         * crypt/sha256-crypt.c: Include crypt-private.h.
28906         (b64t): Remove variable.
28907         (__sha256_crypt_r): Remove b64_from_24bit and replace
28908         with __b64_from_24bit.
28909         * crypt/sha512-crypt.c: Likewise.
28911 2014-06-02  Roland McGrath  <roland@hack.frob.com>
28913         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
28914         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
28915         Label the code __libc_vfork rather than __vfork.
28916         [!NOT_IN_libc] (vfork): Define as weak alias.
28917         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
28918         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
28919         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
28921 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28923         * malloc/malloc.c (malloc_info): Fix format specifier for
28924         n_mmaps.
28926 2014-06-02  Wilco  <wdijkstr@arm.com>
28928         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
28929         FPCR write.
28931 2014-06-02  Wilco  <wdijkstr@arm.com>
28933         [BZ #17009]
28934         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
28935         Rewrite to reduce FPCR/FPSR accesses.
28937 2014-06-01  David S. Miller  <davem@davemloft.net>
28939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28941 2014-05-31  David S. Miller  <davem@davemloft.net>
28943         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
28944         to occur in round to nearest mode when |x| >= 2.0
28946 2014-05-30  Richard Henderson  <rth@twiddle.net>
28948         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
28949         (PSEUDO_RET_NOERRNO): Remove.
28950         (ret): Don't redefine.
28951         (ret_NOERRNO): Define in terms of ret.
28952         (ret_ERRVAL): Likewise.
28954         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
28955         use of PSEUDO_RET; perform the error check directly.
28957 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
28959         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28960         with __int128_t.
28962 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28964         * malloc/malloc (malloc_info): Fix formatting.
28966 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28967             Roland McGrath  <roland@hack.frob.com>
28969         * malloc/malloc (malloc_info): Also print mmapped statistics.
28971 2014-05-30  Roland McGrath  <roland@hack.frob.com>
28973         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
28974         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
28976 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
28978         * malloc/malloc.c (malloc_info): Inline mi_arena.
28980 2014-05-29  Richard Henderson  <rth@twiddle.net>
28982         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
28983         Remove comma before expanding ASM_ARGS_##nr.
28984         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
28985         Make _x0 a strict output; make _x8 a strict input; adjust expansion
28986         of ASM_ARGS_##nr.
28987         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
28988         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
28989         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
28990         (ASM_ARGS_1): Add leading comma.
28992         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
28993         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
28994         to __errno_location.
28995         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
28996         Remove the expected plt for __errno_location.
28998         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28999         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
29000         call to __read_tp.
29002         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29003         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
29004         it and break it down.
29005         (DOCARGS_0, DOCARGS_1): Do nothing.
29006         (DOCARGS_2): Update to store into the new stack frame.
29007         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
29008         (UNDOCARGS_1): Update to restore from the new stack frame.
29009         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
29010         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
29012         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29013         (SINGLE_THREAD_P): New parameter for result regno.
29014         (PSEUDO): Update to match; use cbz instead of beq.
29016         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29017         Use ENTRY to define the _nocancel entry point.  Share the syscall
29018         and syscall error check paths with the cancel path.
29019         (PSEUDO_END): New.
29021         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
29022         whitespace; tabs before and after asm mnemonics.
29024 2014-05-29  Eric Wong  <normalperson@yhbt.net>
29026         [BZ #15132]
29027         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29028         Call fstat64 or stat64 internally, depending on arguments passed.
29029         Replace stat buffer argument with file descriptor argument.
29030         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
29031         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29032         Pass fd to __internal_statvfs instead of calling fstat64.
29033         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
29034         Pass fd to __internal_statvfs64 instead of calling fstat64.
29035         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
29036         Pass -1 to __internal_statvfs instead of calling stat64.
29037         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
29038         Pass -1 to __internal_statvfs64 instead of calling stat64.
29040 2014-05-28  Roland McGrath  <roland@hack.frob.com>
29042         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
29043         that was previously under [RESET_PID].
29044         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
29046         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
29047         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
29049 2014-05-27  Roland McGrath  <roland@hack.frob.com>
29051         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
29053         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
29054         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
29056 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
29058         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
29060 2014-05-27  Andreas Schwab  <schwab@suse.de>
29062         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
29063         TLS_INIT_TP macro.
29064         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
29065         * elf/rtld.c (init_tls, dl_main): Likewise.
29066         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
29067         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
29068         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
29069         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
29070         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
29071         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
29072         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
29073         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
29074         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
29075         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
29076         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
29077         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
29078         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
29079         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
29080         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
29081         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
29082         * sysdeps/generic/tls.h: Update description.
29084 2014-05-27  Will Newton  <will.newton@linaro.org>
29086         [BZ #16990]
29087         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
29088         and restore r2 rather than just restoring.
29090 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29092         [BZ #16724]
29093         * libio/tst-ftell-append.c: New test case.
29094         * libio/Makefile (tests): Add test case.
29095         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
29096         append mode.
29097         * libio/wfileops.c (do_ftell_wide): Likewise.
29099 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29103         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
29104         ...
29105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
29106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29107         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
29108         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
29109         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
29110         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
29111         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
29112         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
29113         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29114         Moved ...
29115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
29116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29117         Moved ...
29118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
29119         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
29120         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
29121         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
29122         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
29123         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
29124         ...
29125         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
29126         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
29127         Moved ...
29128         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
29129         here.
29130         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
29131         ...
29132         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
29133         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
29134         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
29136         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
29137         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
29138         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
29139         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
29141         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
29142         merge into ...
29143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
29144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
29145         ...
29146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
29147         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
29148         ...
29149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
29150         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29151         Moved ...
29152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
29153         here.
29154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29155         Moved ...
29156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
29157         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29158         Moved ...
29159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
29161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
29162         conditional [RESET_PID].
29163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
29164         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
29165         removed.
29166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
29167         removed.
29169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
29170         <tcb-offsets.h>.
29171         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29172         (__libc_vfork): New strong alias.
29173         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
29174         removed.
29175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
29176         Removed.
29178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
29179         <tcb-offsets.h>.
29180         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
29181         (__libc_vfork): New strong alias.
29182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
29183         removed.
29184         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
29185         removed.
29187 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
29189         * malloc/malloc.c (mi_arena): New function.
29190         (malloc_info): Remove nested function mi_arena. Call non-nosted
29191         function mi_arena.
29193 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29195         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
29196         by insrwi.
29197         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
29198         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
29199         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
29200         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
29201         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
29202         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
29203         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
29205 2014-05-26  Andreas Schwab  <schwab@suse.de>
29207         [BZ #16984]
29208         * locale/programs/repertoire.c (repertoire_read): Add slash
29209         between I18NPATH element and file name.
29210         * locale/programs/locfile.c (locfile_read): Likewise.
29212 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29214         * nptl/pthread_mutexattr_settype.c
29215         (__pthread_mutexattr_settype):
29216         Disable lock elision for PTHREAD_MUTEX_NORMAL.
29218 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29220         * nptl/tst-mutex5 (do_test):
29221         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
29223 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29225         * benchtests/README: Document 'init' directive.
29226         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
29227         BENCH_INIT.
29228         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
29229         (parse_file): Recognize 'init' directive.
29231 2014-05-26  Kyle McMartin  <kyle@redhat.com>
29233         [BZ #16796]
29234         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
29235         alignment of struct pthread.
29237 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29239         [BZ #16878]
29240         * nscd/netgroupcache.c (addgetnetgrentX): Look for
29241         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
29242         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
29243         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
29245 2014-05-25  Richard Henderson  <rth@twiddle.net>
29247         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29248         (SINGLE_THREAD_P_PIC): Remove.
29249         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
29250         (SINGLE_THREAD_P_PIC): Remove.
29252         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
29253         branch to syscall error ...
29254         (PSEUDO): ... here.
29255         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
29256         from __local_syscall_error to .Lsyscall_error.
29257         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
29258         (SYSCALL_ERROR): Update label name.
29260         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29261         Do not use DOARGS/UNDOARGS.
29262         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
29263         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
29264         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
29265         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
29266         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
29268         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
29269         block comment.
29271         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
29272         define if !NOT_IN_libc.
29273         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
29274         define with non-default symbol versions.
29276 2014-05-23  Richard Henderson  <rth@twiddle.net>
29278         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
29279         (vfork, __vfork): Define via compat_symbol.
29281         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
29282         [!HAVE_IFUNC] (vfork_compat): Remove.
29283         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
29285 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
29287         [BZ #16978]
29288         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
29289         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
29290         variable.
29292 2014-05-23  Richard Henderson  <rth@twiddle.net>
29294         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
29295         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
29296         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
29297         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
29299         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
29300         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
29301         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
29302         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
29303         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
29304         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
29305         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
29306         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
29307         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
29308         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
29309         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
29310         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
29311         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
29312         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
29313         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
29314         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
29315         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
29316         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
29317         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
29318         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
29319         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
29320         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
29321         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
29322         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
29323         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
29324         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
29325         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
29326         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
29327         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
29328         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
29329         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
29330         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
29331         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
29332         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
29333         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
29334         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
29335         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
29336         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
29337         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
29338         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
29339         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
29340         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
29341         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
29342         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
29343         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
29344         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
29345         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
29346         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
29347         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
29348         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
29349         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
29350         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
29351         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
29352         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
29353         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
29354         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
29356         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
29357         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
29358         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
29359         before exiting on error.
29360         (__libc_vfork): New strong alias.
29361         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
29362         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
29364         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
29365         that was previously under [RESET_PID].
29366         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
29368         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
29370 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
29372         [BZ #16977]
29373         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
29374         value when x - 1 is zero.
29375         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
29376         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
29377         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
29378         0.0L for an argument of 1.0L.
29379         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
29380         Likewise.
29381         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
29382         value when x - 1 is zero.
29383         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
29384         * sysdeps/i386/fpu/libm-test-ulps: Update.
29385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29387 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29389         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
29390         alphasort and versionsort.
29392 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29394         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
29395         macro.
29396         [copysignf]: Likewise.
29398 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29400         * crypt/md5-crypt.c: Fix formatting.
29402 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29404         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
29405         (b64_from_24bit): New function.
29407 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29409         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
29410         libc_hidden_builtin_def to ifunc.
29411         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29412         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
29414 2014-05-21  Roland McGrath  <roland@hack.frob.com>
29416         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
29417         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
29419 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
29421         * nscd/Depend (linuxthreads): Remove.
29422         (nptl): Add.
29423         * resolv/Depend (linuxthreads): Remove.
29424         * rt/Depend (linuxthreads): Remove.
29426         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
29427         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
29428         $(common-objpfx)elf/.
29429         (link-libc-before-gnulib): Likewise.
29430         (elfobjdir): Remove variable.
29431         * Makefile (install): Use $(elf-objpfx) instead of
29432         $(common-objpfx)elf/.
29433         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
29434         $(elfobjdir)/.
29435         (link-libc-deps): Likewise.
29436         ($(common-objpfx)libc.so): Likewise.
29437         ($(common-objpfx)linkobj/libc.so): Likewise.
29438         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
29439         instead of $(common-objpfx)elf/.
29440         (symbolic-link-list): Likewise.
29441         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29442         [$(cross-compiling) = no]: Likewise.
29443         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
29444         $(elfobjdir)/.
29445         (static-gnulib-arch): Likewise.
29446         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29447         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
29448         $(common-objpfx)elf/.
29450 2014-05-21  Richard Henderson  <rth@redhat.com>
29452         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29453         (SINGLE_THREAD_P): Use the correct width load.  Fold
29454         into the ldr offset.
29456         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
29457         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
29459 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
29461         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
29462         (libgcc_s_resume): Use __attribute_used__.
29463         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
29464         Likewise.
29466 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29468         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
29469         optimization when used with float constants.
29471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29473 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
29475         [BZ #16915]
29476         * locale/nl_langinfo_l.c: Make direct reference to every
29477         _nl_current_CATEGORY symbol.
29478         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
29479         (tests-static): Add tst-langinfo-static.
29480         (tests-special): Add tst-langinfo-static.out.
29481         ($(objpfx)tst-langinfo.out): Redirect output.
29482         ($(objpfx)tst-langinfo-static.out): New.
29483         * localedata/tst-langinfo.sh: Send output to stdout.
29484         * localedata/tst-langinfo-static.c: New file.
29486         [BZ #16965]
29487         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
29488         when the shift amount is modulo the limb size.
29490 2014-05-20  Richard Henderson  <rth@redhat.com>
29492         [BZ #16967]
29493         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
29494         Change type of sa_flags from unsigned int to int.
29496         [BZ #16966]
29497         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
29499         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
29501 2014-05-20  Will Newton  <will.newton@linaro.org>
29503         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29504         Test the return value of the system call in the nocancel case.
29506 2014-05-20  Will Newton  <will.newton@linaro.org>
29507             Yvan Roux  <yvan.roux@linaro.org>
29509         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
29510         #include of asm/ptrace.h.
29511         (PTRACE_GET_THREAD_AREA): Remove #undef.
29512         (PTRACE_GETHBPREGS): Likewise.
29513         (PTRACE_SETHBPREGS): Likewise.
29514         (struct user_regs_struct): New structure.
29515         (struct user_fpsimd_struct): New structure.
29516         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
29517         #include of asm/ptrace.h and second #include of sys/user.h.
29518         (PTRACE_GET_THREAD_AREA): Remove #undef.
29519         (PTRACE_GETHBPREGS): Likewise.
29520         (PTRACE_SETHBPREGS): Likewise.
29521         (ELF_NGREG): Use new struct user_regs_struct.
29522         (elf_fpregset_t): Use new struct user_fpsimd_struct.
29524 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29526         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
29527         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
29529 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
29531         [BZ #16958]
29532         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
29533         membar to avoid block loads/stores to overlap previous stores.
29535 2014-05-17  Richard Henderson  <rth@redhat.com>
29537         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
29538         Create the __##syscall_name##_nocancel entry point.
29539         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
29540         Remove; let the sysdep-cancel.h code create it.
29542 2014-05-17  David S. Miller  <davem@davemloft.net>
29544         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
29545         Protect with __USE_GNU.
29546         (TIOCSET_TEMPT): Likewise.
29547         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29548         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
29549         these are already provided in bits/ioctl-types.h
29551 2014-05-16  Roland McGrath  <roland@hack.frob.com>
29553         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
29554         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
29556         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
29557         Use wait4 regardless of [__NR_waitpid].
29559 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
29561         PR libgcc/60166
29562         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29563         (_FP_NANSIGN_Q): Set the quiet bit.
29565 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
29567         * benchtests/Makefile
29568         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
29569         not $(common-objpfx)math/libm.so.
29570         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
29571         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
29572         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
29573         $(common-objpfx)dlfcn/libdl.so.
29574         ($(objpfx)tst-audit8): Depend on $(libm), not
29575         $(common-objpfx)math/libm.so.
29576         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
29577         not $(common-objpfx)dlfcn/libdl.so.
29578         * math/Makefile
29579         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29580         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
29581         [$(build-shared) = yes].
29582         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
29583         $(common-objpfx)nptl/libpthread.so.
29584         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
29585         $(common-objpfx)math/libm.so$(libm.so-version) or
29586         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
29587         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
29588         $(common-objpfx)dlfcn/libdl.so.
29589         * setjmp/Makefile (link-libm): Remove variable.
29590         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
29591         * stdio-common/Makefile (link-libm): Remove variable.
29592         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
29593         * stdlib/Makefile (link-libm): Remove variable.
29594         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
29595         ($(objpfx)tst-strtod-round): Likewise.
29596         ($(objpfx)tst-tininess): Likewise.
29597         ($(objpfx)tst-strtod-underflow): Likewise.
29598         ($(objpfx)tst-strtod6): Likewise.
29599         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
29600         $(libdl), not $(common-objpfx)nptl/libpthread.so and
29601         $(common-objpfx)dlfcn/libdl.so.
29603 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29605         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
29606         BSD terminal modes definitions.
29608 2014-05-16  Roland McGrath  <roland@hack.frob.com>
29610         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
29611         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
29613         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
29614         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
29615         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
29616         Don't do #include_next.
29617         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
29618         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
29619         Don't do #include_next.
29620         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
29621         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
29622         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
29623         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
29625 2014-05-16  Allan McRae  <allan@archlinux.org>
29627         * po/sv.po: Update Swedish translation from translation project.
29629         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
29630         in sed expression.
29632 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
29634         [BZ #16917]
29635         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
29636         errno if the TIOCGPTN ioctl fails with an error different than
29637         EINVAL.
29638         * login/tst-ptsname.c: New file.
29639         * login/Makefile (tests): Add tst-ptsname.
29641         [BZ #16943]
29642         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
29643         and prlimit64.
29645 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29647         [BZ #16849]
29648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
29649         herrno to return EAI_AGAIN.
29651 2014-05-14  Roland McGrath  <roland@hack.frob.com>
29653         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
29654         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
29655         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
29656         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
29657         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
29658         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
29659         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
29660         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
29661         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
29662         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
29663         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
29664         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
29665         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
29666         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
29667         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
29668         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
29669         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
29670         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
29671         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
29672         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
29673         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
29674         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
29675         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
29676         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
29677         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
29678         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
29679         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
29680         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
29681         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
29682         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
29683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
29684         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
29685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
29686         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
29687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29688         Moved ...
29689         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
29690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
29691         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
29692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
29693         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
29694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
29695         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
29696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
29697         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
29698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
29699         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
29700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
29701         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
29702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
29703         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
29704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
29705         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
29706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
29707         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
29708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
29709         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
29710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
29711         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
29712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
29713         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
29714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
29715         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
29716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29717         Moved ...
29718         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
29719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
29720         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
29721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
29722         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
29723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
29724         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
29725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
29726         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
29727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
29728         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
29729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
29730         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
29731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
29732         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
29733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
29734         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
29735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
29736         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
29737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29738         Moved ...
29739         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
29740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
29741         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
29743         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
29744         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
29745         (libpthread-sysdep_routines): Add elision-related stuff here instead.
29746         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
29747         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
29748         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
29749         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
29750         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
29751         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
29752         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
29753         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
29754         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
29755         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
29756         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
29757         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
29758         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
29759         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
29760         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
29761         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
29762         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
29763         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
29764         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
29765         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
29766         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
29767         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
29768         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
29769         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
29770         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
29771         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
29772         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
29773         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
29775         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
29776         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
29778         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
29779         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
29780         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
29781         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
29782         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
29783         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
29784         Moved ...
29785         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
29786         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29787         Moved ...
29788         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
29789         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29790         Moved ...
29791         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
29792         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
29793         Moved ...
29794         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
29795         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
29796         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
29797         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29798         Moved ...
29799         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
29800         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
29801         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
29802         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
29803         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29804         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
29805         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
29806         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29807         Moved ...
29808         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
29809         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29810         Moved ...
29811         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29812         ... here.
29813         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29814         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29815         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29816         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29817         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29818         Moved ...
29819         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29820         ... here.
29821         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29822         Moved ...
29823         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29824         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29825         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29826         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29827         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29828         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29829         Moved ...
29830         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29831         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29832         Moved ...
29833         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29834         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29835         Moved ...
29836         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29837         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29838         Moved ...
29839         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29840         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29841         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29842         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29843         Moved ...
29844         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29845         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29846         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29847         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29848         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29849         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29850         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29851         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29852         Moved ...
29853         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29854         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29855         Moved ...
29856         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29857         ... here.
29858         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29859         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29860         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29861         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29862         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29863         Moved ...
29864         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29865         ... here.
29866         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29867         Moved ...
29868         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29869         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29870         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
29871         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
29872         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
29873         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
29874         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
29875         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
29876         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
29877         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
29878         Moved ...
29879         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
29880         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29881         Moved ...
29882         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
29883         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29884         Moved ...
29885         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
29886         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
29887         Moved ...
29888         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
29889         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
29890         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
29891         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
29892         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
29893         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29894         Moved ...
29895         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
29896         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
29897         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
29898         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
29899         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
29900         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
29901         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
29902         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29903         Moved ...
29904         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
29905         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29906         Moved ...
29907         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29908         ... here.
29909         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
29910         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
29911         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
29912         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
29913         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29914         Moved ...
29915         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29916         ... here.
29917         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
29918         Moved ...
29919         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
29920         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
29921         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
29922         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
29923         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
29924         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
29925         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
29926         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
29927         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
29928         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
29929         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
29931         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
29932         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
29934         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
29935         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
29937         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
29938         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
29939         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
29940         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
29941         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
29942         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
29943         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
29944         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
29945         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
29946         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
29947         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
29948         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
29949         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
29950         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
29951         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
29952         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
29953         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
29954         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
29955         Moved ...
29956         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
29957         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
29958         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
29959         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29960         Moved ...
29961         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29962         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29963         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29964         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29965         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29966         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29967         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
29968         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
29969         Moved ...
29970         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
29971         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
29972         Moved ...
29973         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
29974         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
29975         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
29976         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
29977         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
29978         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
29979         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
29980         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
29981         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
29982         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
29983         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
29984         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
29985         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
29986         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
29987         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
29988         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
29989         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
29991         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
29992         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
29993         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
29994         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
29995         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
29997         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29998         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29999         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
30000         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
30001         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
30002         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
30003         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
30004         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
30005         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
30006         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
30008         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
30009         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
30011         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
30012         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
30013         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
30014         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
30015         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
30016         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
30017         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
30018         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
30019         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
30020         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
30021         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
30022         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
30023         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
30024         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
30025         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
30026         Update #include.
30027         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
30028         Likewise.
30029         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30030         Likewise.
30031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30032         Likewise.
30033         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30034         Likewise.
30035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
30036         Likewise.
30037         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
30038         Likewise.
30039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30040         Likewise.
30041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
30042         Likewise.
30043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
30044         Likewise.
30045         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
30046         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
30047         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
30048         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
30049         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
30050         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
30051         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
30052         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
30053         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
30054         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
30055         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
30056         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
30057         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
30058         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
30059         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
30061         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
30062         that was previously under [RESET_PID].
30063         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30064         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
30065         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
30067         * sysdeps/i386/nptl/Implies: New file.
30068         * sysdeps/x86_64/nptl/Implies: New file.
30069         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
30070         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
30071         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
30072         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
30074         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
30075         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30076         (__libc_vfork): New strong alias.
30077         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
30078         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
30080         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
30081         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30082         (__libc_vfork): New strong alias.
30083         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
30084         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
30086         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
30087         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30088         (__libc_vfork): New strong alias.
30089         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
30090         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
30091         * nptl/pt-vfork.c: New file.
30092         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
30093         (libpthread: GLIBC_2.20): New version set (empty).
30095 2014-05-14  Will Newton  <will.newton@linaro.org>
30097         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
30098         rather than #if.
30100 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30102         [BZ #16564]
30103         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
30104         arguments with exponent 65 or above.
30105         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
30106         arguments 0x1p113L or above.
30107         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
30108         to arguments 0x1p107L or above.
30109         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
30110         positive arguments with exponent 65 or above.
30111         * math/auto-libm-test-in: Add more tests of log1p.
30112         * math/auto-libm-test-out: Regenerated.
30114         [BZ #16928]
30115         * math/s_cacos.c (__cacos): Ensure zero real part of result from
30116         non-finite arguments is +0.
30117         * math/s_cacosf.c (__cacosf): Likewise.
30118         * math/s_cacosl.c (__cacosl): Likewise.
30119         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
30120         * sysdeps/i386/fpu/libm-test-ulps: Update.
30121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30123         [BZ #16927]
30124         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
30125         value.
30126         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30127         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
30128         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
30129         for explicit high bit of mantissa when testing for argument equal
30130         to 1.
30131         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
30132         * sysdeps/i386/fpu/libm-test-ulps: Update.
30133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30135         [BZ #16516]
30136         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
30137         (__erf): Scale by 16 instead of 8 in potentially underflowing
30138         case.  Ensure exception if result actually underflows.
30139         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
30140         (__erff): Scale by 16 instead of 8 in potentially underflowing
30141         case.  Ensure exception if result actually underflows.
30142         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
30143         (efx8): Remove variable.
30144         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30145         case.  Ensure exception if result actually underflows.
30146         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
30147         (efx8): Remove variable.
30148         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30149         case.  Ensure exception if result actually underflows.
30150         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
30151         (efx8): Remove variable.
30152         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30153         case.  Ensure exception if result actually underflows.
30154         * math/auto-libm-test-in: Add more tests of erf.
30155         * math/auto-libm-test-out: Regenerated.
30157 2014-05-14  Andreas Schwab  <schwab@suse.de>
30159         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
30160         Remove code conditionalized on USE___THREAD.
30162         * config.h.in (HAVE_PT_CHOWN): Define as 0.
30163         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
30164         not definedness.
30166 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30168         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
30169         Define unconditionally.
30170         (__ASSUME_O_CLOEXEC): Likewise.
30171         (__ASSUME_SOCK_CLOEXEC): Likewise.
30172         (__ASSUME_IN_NONBLOCK): Likewise.
30173         (__ASSUME_PIPE2): Likewise.
30174         (__ASSUME_EVENTFD2): Likewise.
30175         (__ASSUME_SIGNALFD4): Likewise.
30176         (__ASSUME_DUP3): Likewise.
30177         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30178         (__ASSUME_DUP3): Do not define.
30179         (__ASSUME_EVENTFD2): Likewise.
30180         (__ASSUME_IN_NONBLOCK): Likewise.
30181         (__ASSUME_O_CLOEXEC): Likewise.
30182         (__ASSUME_PIPE2): Likewise.
30183         (__ASSUME_SIGNALFD4): Likewise.
30184         (__ASSUME_SOCK_CLOEXEC): Likewise.
30185         (__ASSUME_UTIMES): Undefine.
30186         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30187         (__ASSUME_UTIMES): Do not define.
30188         (__ASSUME_O_CLOEXEC): Likewise.
30189         (__ASSUME_SOCK_CLOEXEC): Likewise.
30190         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
30191         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
30192         0x020621].
30193         (__ASSUME_PIPE2): Likewise.
30194         (__ASSUME_EVENTFD2): Likewise.
30195         (__ASSUME_SIGNALFD4): Likewise.
30196         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
30197         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
30198         Do not define.
30199         (__ASSUME_EVENTFD2): Likewise.
30200         (__ASSUME_SIGNALFD4): Likewise.
30201         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30202         (__ASSUME_32BITUIDS): Likewise.
30203         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30204         (__ASSUME_IPC64): Likewise.
30205         (__ASSUME_ST_INO_64_BIT): Likewise.
30206         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
30207         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
30208         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30209         (__ASSUME_UTIMES): Do not define.
30210         (__ASSUME_PSELECT): Likewise.
30211         (__ASSUME_PPOLL): Likewise.
30212         (__ASSUME_O_CLOEXEC): Likewise.
30213         (__ASSUME_SOCK_CLOEXEC): Likewise.
30214         (__ASSUME_IN_NONBLOCK): Likewise.
30215         (__ASSUME_PIPE2): Likewise.
30216         (__ASSUME_EVENTFD2): Likewise.
30217         (__ASSUME_SIGNALFD4): Likewise.
30218         (__ASSUME_DUP3): Likewise.
30219         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30220         (__ASSUME_UTIMES): Likewise.
30221         (__ASSUME_O_CLOEXEC): Likewise.
30222         (__ASSUME_SOCK_CLOEXEC): Likewise.
30223         (__ASSUME_IN_NONBLOCK): Likewise.
30224         (__ASSUME_PIPE2): Likewise.
30225         (__ASSUME_EVENTFD2): Likewise.
30226         (__ASSUME_SIGNALFD4): Likewise.
30227         (__ASSUME_DUP3): Likewise.
30228         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30229         (__ASSUME_UTIMES): Likewise.
30230         (__ASSUME_O_CLOEXEC): Likewise.
30231         (__ASSUME_SOCK_CLOEXEC): Likewise.
30232         (__ASSUME_IN_NONBLOCK): Likewise.
30233         (__ASSUME_PIPE2): Likewise.
30234         (__ASSUME_EVENTFD2): Likewise.
30235         (__ASSUME_SIGNALFD4): Likewise.
30236         (__ASSUME_DUP3): Likewise.
30237         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
30238         Likewise.
30239         (__ASSUME_UTIMES): Likewise.
30240         (__ASSUME_EVENTFD2): Likewise.
30241         (__ASSUME_SIGNALFD4): Likewise.
30242         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30243         (__ASSUME_O_CLOEXEC): Likewise.
30244         (__ASSUME_SOCK_CLOEXEC): Likewise.
30245         (__ASSUME_IN_NONBLOCK): Likewise.
30246         (__ASSUME_PIPE2): Likewise.
30247         (__ASSUME_EVENTFD2): Likewise.
30248         (__ASSUME_SIGNALFD4): Likewise.
30249         (__ASSUME_DUP3): Likewise.
30250         (__ASSUME_UTIMES): Undefine.
30252         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
30253         feclearexcept.  Remove symbol versioning code.
30254         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
30255         symbol versioning code.
30256         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
30257         symbol versioning code.
30258         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
30259         feupdateenv.  Remove symbol versioning code.
30260         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
30261         fegetexceptflag.  Remove symbol versioning code.
30262         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
30263         fesetexceptflag.  Remove symbol versioning code.
30264         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
30265         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
30266         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
30267         (__posix_fadvise64_l32): Remove prototype.
30268         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
30269         code.
30271 2014-05-13  Roland McGrath  <roland@hack.frob.com>
30273         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
30274         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
30275         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
30276         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
30278 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
30280         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
30281         current working directory
30283 2014-05-13  Roland McGrath  <roland@hack.frob.com>
30285         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
30286         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
30287         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
30288         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
30289         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
30290         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
30291         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
30292         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
30293         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
30294         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
30295         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
30296         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
30297         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
30298         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
30299         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
30300         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
30301         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
30302         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
30303         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
30304         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
30305         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
30306         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
30307         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
30308         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
30309         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
30310         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
30311         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
30312         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
30313         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
30314         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
30315         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
30316         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
30317         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
30318         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
30319         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
30320         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
30321         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
30322         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
30323         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
30324         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
30325         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
30326         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
30328         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
30329         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
30331         * sysdeps/unix/sysv/linux/arm/Makefile
30332         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30333         Add rt-aeabi_unwind_cpp_pr1.
30334         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
30335         Add nptl-aeabi_unwind_cpp_pr1.
30336         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
30337         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
30338         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
30339         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30340         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
30341         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30343         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
30344         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
30345         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
30346         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
30348         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
30349         Deconditionalize the code that was previously under [RESET_PID].
30350         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
30352         * sysdeps/generic/exit-thread.h: New file.
30353         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
30354         * include/unistd.h (__exit_thread): Remove declaration.
30355         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
30356         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
30357         * csu/libc-start.c: Include <exit-thread.h>.
30358         (LIBC_START_MAIN): Pass no argument to __exit_thread.
30359         * nptl/pthread_create.c: Include <exit-thread.h>.
30360         (start_thread): Call __exit_thread in place of __exit_thread_inline.
30361         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
30362         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
30363         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
30364         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
30365         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
30366         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
30367         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
30368         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
30369         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
30370         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
30371         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
30372         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
30373         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
30374         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
30375         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
30376         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
30378 2014-05-13  Andreas Schwab  <schwab@suse.de>
30380         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
30382 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
30384         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30385         (__ASSUME_UTIMES): Do not condition on kernel version.
30386         (__ASSUME_PSELECT): Define unconditionally.
30387         (__ASSUME_PPOLL): Likewise.
30388         (__ASSUME_ATFCTS): Likewise.
30389         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
30390         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
30391         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
30392         (__ASSUME_UTIMENSAT): Define unconditionally.
30393         (__ASSUME_PRIVATE_FUTEX): Likewise.
30394         (__ASSUME_FALLOCATE): Likewise.
30395         (__ASSUME_O_CLOEXEC): Likewise.
30396         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
30397         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
30398         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
30399         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
30400         (__ASSUME_IN_NONBLOCK): Likewise.
30401         (__ASSUME_PIPE2): Likewise.
30402         (__ASSUME_EVENTFD2): Likewise.
30403         (__ASSUME_SIGNALFD4): Likewise.
30404         (__ASSUME_DUP3): Likewise.
30405         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30406         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
30407         (__ASSUME_AT_RANDOM): Likewise.
30408         (__ASSUME_PREADV): Likewise.
30409         (__ASSUME_PWRITEV): Likewise.
30410         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
30411         (__ASSUME_F_GETOWN_EX): Define unconditionally.
30412         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
30413         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30414         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
30415         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30416         (__ASSUME_O_CLOEXEC): Define unconditionally.
30417         (__ASSUME_PSELECT): Do not undefine conditionally.
30418         (__ASSUME_PPOLL): Likewise.
30419         (__ASSUME_ATFCTS): Likewise.
30420         (__ASSUME_SET_ROBUST_LIST): Likewise.
30421         (__ASSUME_UTIMENSAT): Likewise.
30422         (__ASSUME_FDATASYNC): Define unconditionally.
30423         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30424         (__ASSUME_SIGFRAME_V2): Likewise.
30425         )__ASSUME_EVENTFD2): Likewise.
30426         (__ASSUME_SIGNALFD4): Likewise.
30427         (__ASSUME_PSELECT): Do not undefine conditionally.
30428         (__ASSUME_PPOLL): Likewise.
30429         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30430         (__ASSUME_PSELECT): Define unconditionally.
30431         (__ASSUME_PPOLL): Likewise.
30432         (__ASSUME_O_CLOEXEC): Likewise.
30433         (__ASSUME_SOCK_CLOEXEC): Likewise.
30434         (__ASSUME_IN_NONBLOCK): Likewise.
30435         (__ASSUME_PIPE2): Likewise.
30436         (__ASSUME_EVENTFD2): Likewise.
30437         (__ASSUME_SIGNALFD4): Likewise.
30438         (__ASSUME_DUP3): Likewise.
30439         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30440         (__ASSUME_O_CLOEXEC): Likewise.
30441         (__ASSUME_SOCK_CLOEXEC): Likewise.
30442         (__ASSUME_IN_NONBLOCK): Likewise.
30443         (__ASSUME_PIPE2): Likewise.
30444         (__ASSUME_EVENTFD2): Likewise.
30445         (__ASSUME_SIGNALFD4): Likewise.
30446         (__ASSUME_DUP3): Likewise.
30447         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30448         (__ASSUME_EVENTFD2): Likewise.
30449         (__ASSUME_SIGNALFD4): Likewise.
30450         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30452 2014-05-12  Andreas Schwab  <schwab@suse.de>
30454         [BZ #16932]
30455         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
30456         (_nss_nis_gethostbyname4_r): Return error if item length is larger
30457         than maximum RPC packet size.
30458         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
30459         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
30460         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
30461         (_nss_nis_getservbyport_r): Likewise.
30463 2014-05-12  Will Newton  <will.newton@linaro.org>
30465         * malloc/Makefile (tests): Add tst-mallopt.
30466         * malloc/tst-mallopt.c: New file.
30468 2014-05-09  Roland McGrath  <roland@hack.frob.com>
30470         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
30471         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
30473 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30475         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
30476         (tst-tlsmod6.so): Likewise.
30478 2014-05-09  Roland McGrath  <roland@hack.frob.com>
30480         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
30482 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
30484         [BZ #16064]
30485         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
30486         and <dl-procinfo.h>.
30487         (__fegetenv): Save SSE state in envp->__eip if supported.
30488         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
30489         envp->__eip if supported.
30490         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
30491         and <dl-procinfo.h>.
30492         (__fesetenv): Always set __eip, __cs_selector, __opcode,
30493         __data_offset and __data_selector in environment to 0.  Set SSE
30494         state if supported.
30495         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
30496         test-fenv-sse.
30497         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
30498         -mfpmath=sse.
30499         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
30501 2014-05-09  Will Newton  <will.newton@linaro.org>
30503         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
30504         and libc_relro_required for ARM.
30505         * sysdeps/arm/preconfigure: Regenerate.
30507 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
30508             Stefan Liebler  <stli@linux.vnet.ibm.com>
30510         * config.make.in (enable-lock-elision): New Makefile variable.
30511         * configure.ac: Likewise.
30512         * configure: Regenerate.
30513         * sysdeps/s390/configure.ac:
30514         Add check for gcc transactions support.
30515         * sysdeps/s390/configure: Regenerate.
30516         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
30517         Build elision files if enabled.
30518         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
30519         Add lock elision support for s390.
30520         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
30521         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
30522         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
30523         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
30524         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
30525         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
30526         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30527         Likewise.
30528         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
30529         Likewise.
30530         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
30531         Likewise.
30532         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
30533         Likewise.
30534         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
30535         (__lll_timedlock_elision, __lll_lock_elision)
30536         (__lll_unlock_elision, __lll_trylock_elision)
30537         (lll_timedlock_elision, lll_lock_elision)
30538         (lll_unlock_elision, lll_trylock_elision): Add.
30539         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30540         (pthread_mutex_t): Add lock elision support for s390.
30542 2014-05-14  Wilco  <wdijkstr@arm.com>
30544         * sysdeps/arm/fclrexcpt.c: Cleanup.
30545         * sysdeps/arm/fedisblxcpt.c: Cleanup.
30546         * sysdeps/arm/feenablxcpt.c: Cleanup.
30547         * sysdeps/arm/fegetenv.c: Cleanup.
30548         * sysdeps/arm/fegetexcept.c: Cleanup.
30549         * sysdeps/arm/fegetround.c: Cleanup.
30550         * sysdeps/arm/feholdexcpt.c: Cleanup.
30551         * sysdeps/arm/fesetenv.c: Cleanup.
30552         * sysdeps/arm/fesetround.c: Cleanup.
30553         * sysdeps/arm/feupdateenv.c: Cleanup.
30554         * sysdeps/arm/fgetexcptflg.c: Cleanup.
30555         * sysdeps/arm/fraiseexcpt.c: Cleanup.
30556         * sysdeps/arm/fsetexcptflg.c: Cleanup.
30557         * sysdeps/arm/ftestexcept.c: Cleanup.
30558         * sysdeps/arm/get-rounding-mode.h: Cleanup.
30559         * sysdeps/arm/setfpucw.c: Cleanup.
30561 2014-05-09  Will Newton  <will.newton@linaro.org>
30563         * sysdeps/arm/armv7/strcmp.S: New file.
30564         * NEWS: Mention addition of ARMv7 optimized strcmp.
30566 2014-05-08  Roland McGrath  <roland@hack.frob.com>
30568         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
30569         look for %.ac rather than %.in.
30571         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
30572         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
30573         * sysdeps/mach/hurd/configure: Regenerated.
30574         * sysdeps/unix/sysv/linux/configure: Regenerated.
30576         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
30578 2014-05-07  Steve Ellcey  <sellcey@mips.com>
30580         [BZ# 16922]
30581         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
30582         (LONG_SUB): Ditto.
30583         (PTR_SUB): Ditto.
30585 2014-05-07  Andreas Schwab  <schwab@suse.de>
30587         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
30588         when skipping over non-matching result from nscd.
30590 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
30592         [BZ #16876]
30593         * nptl/sockperf.c (client): Check socket return value.
30595         [BZ #16877]
30596         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
30597         nscd security class.
30599 2014-05-06  Roland McGrath  <roland@hack.frob.com>
30601         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
30602         * sysdeps/arm/unwind.h: ... here.
30604 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
30606         [BZ# 16916]
30607         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
30608         Define.
30610 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30612         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
30613         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
30614         multiarch strncpy for PPC64.
30615         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
30616         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
30617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
30618         multiarch optimizations.
30619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30620         (__libc_ifunc_impl_list): Likewise.
30621         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
30622         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
30623         multiarch stpncpy for PPC64.
30624         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
30625         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
30627 2014-05-06  Andreas Schwab  <schwab@suse.de>
30629         [BZ #16912]
30630         * gmon/mcount.c (_MCOUNT_DECL): Use
30631         atomic_compare_and_exchange_bool_acq instead of
30632         catomic_compare_and_exchange_bool_acq.
30634 2014-05-05  Roland McGrath  <roland@hack.frob.com>
30636         * elf/Makefile (others, install-bin): Remove pldd.
30637         (pldd-modules): Variable removed.
30638         ($(objpfx)pldd): Target removed.
30639         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
30640         (others, install-bin): Append pldd here.
30641         ($(objpfx)pldd): New target.
30643         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
30644         to 0, so the first #if test emitted later doesn't see it undefined.
30645         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
30646         * sysdeps/gnu/errlist.c: Regenerated.
30648 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30650         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30651         [libc_hidden_builtin_def]: Define to empty value.
30652         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
30653         [libc_hidden_builtin_def]: Likewise.
30654         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
30655         [libc_hidden_builtin_def]: Likewise.
30656         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
30657         [libc_hidden_builtin_def]: Likewise.
30658         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
30659         __redirect_memcpy and define ifunc as default hidden symbol.
30660         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
30661         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
30663 2014-05-04  Adam Conrad  <adconrad@0c3.net>
30665         * locale/iso-4217.def: Reintroduce XDR currency.
30667 2014-05-04  Allan McRae  <allan@archlinux.org>
30669         * po/eo.po: Update Esperanto translation from translation project.
30671 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
30673         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
30674         and FEATURE_INDEX_MAX to 1.
30675         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
30677 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30679         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
30680         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
30681         * iconvdata/big5.c (ONE_DIRECTION): Define.
30682         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
30683         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
30684         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
30685         * iconvdata/cp932.c (ONE_DIRECTION): Define.
30686         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
30687         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
30688         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
30689         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
30690         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
30691         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
30692         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
30693         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
30694         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
30695         * iconvdata/gbk.c (ONE_DIRECTION): Define.
30696         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
30697         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
30698         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
30699         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
30700         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
30701         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
30702         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
30703         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
30704         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
30705         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
30706         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
30707         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
30708         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
30709         * iconvdata/iso646.c (ONE_DIRECTION): Define.
30710         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
30711         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
30712         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
30713         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
30714         * iconvdata/johab.c (ONE_DIRECTION): Define.
30715         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
30716         * iconvdata/sjis.c (ONE_DIRECTION): Define.
30717         * iconvdata/t.61.c (ONE_DIRECTION): Define.
30718         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
30719         * iconvdata/tscii.c (ONE_DIRECTION): Define.
30720         * iconvdata/uhc.c (ONE_DIRECTION): Define.
30721         * iconvdata/unicode.c (ONE_DIRECTION): Define.
30722         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
30723         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
30724         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
30726 2014-05-01  Roland McGrath  <roland@hack.frob.com>
30728         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
30729         (_IO_JUMPS_OFFSET): Define to 0.
30731         * nptl/sysdeps/pthread/bits/libc-lock.h
30732         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30733         (__libc_lock_define_initialized_recursive): Always define using
30734         initializer.  Modern compilers treat uninitialized (implicit zero) and
30735         explicit zero initializers the same (i.e. put the datum in bss).
30737 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30739         * nscd/nscd-client.h: Include <string.h>.
30741 2014-05-01  David S. Miller  <davem@davemloft.net>
30743         [BZ #16885]
30744         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
30745         multiple zero bytes exist at the end of a string.
30746         Reported by Aurelien Jarno <aurelien@aurel32.net>
30748         * string/test-strcmp.c (check): Add explicit test for situations where
30749         there are multiple zero bytes after the first.
30751 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30753         [BZ #16890]
30754         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
30755         when compiling wprintf.
30756         * stdio-common/tstdiomisc.c (t3): New function.
30757         (main): Call it.
30759 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30761         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
30762         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
30763         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
30764         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
30766 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30768         * stdlib/longlong.h: Updated from GCC.
30770 2014-05-01  Will Newton  <will.newton@linaro.org>
30771             Bernard Ogden  <bernie.ogden@linaro.org>
30773         * NEWS: Update fixed bug list.
30775         [BZ #15119]
30776         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
30778 2014-04-30  David S. Miller  <davem@davemloft.net>
30780         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
30781         (libc_feholdexcept_setround_sparc_ctx): New function.
30782         (libc_fesetenv_sparc_ctx): Likewise.
30783         (libc_feupdateenv_sparc_ctx): Likewise.
30784         (libc_feholdsetround_sparc_ctx): Likewise.
30785         (libc_feholdexcept_setround_ctx): Define.
30786         (libc_feholdexcept_setroundf_ctx): Likewise.
30787         (libc_feholdexcept_setroundl_ctx): Likewise.
30788         (libc_fesetenv_ctx): Likewise.
30789         (libc_fesetenvf_ctx): Likewise.
30790         (libc_fesetenvl_ctx): Likewise.
30791         (libc_feupdateenv_ctx): Likewise.
30792         (libc_feupdateenvf_ctx): Likewise.
30793         (libc_feupdateenvl_ctx): Likewise.
30794         (libc_feresetround_ctx): Likewise.
30795         (libc_feresetroundf_ctx): Likewise.
30796         (libc_feresetroundl_ctx): Likewise.
30797         (libc_feholdsetround_ctx): Likewise.
30798         (libc_feholdsetroundf_ctx): Likewise.
30799         (libc_feholdsetroundl_ctx): Likewise.
30801         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30802         with __USE_GNU instead of XOPEN cpp guards.
30804         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
30805         0.
30807         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30808         with XOPEN cpp guards.
30810 2014-04-30  Julian Brown  <julian@codesourcery.com>
30812         [BZ #16888]
30813         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30814         handling.
30816 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
30818         [BZ #9894]
30819         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30820         Change to 2.6.32.
30821         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30822         * sysdeps/unix/sysv/linux/configure: Regenerated.
30823         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30824         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30825         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30826         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30827         * README: Update reference to required Linux kernel version.
30828         * manual/install.texi (Linux): Update reference to required Linux
30829         kernel headers version.
30830         * INSTALL: Regenerated.
30832         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30833         header inclusion.
30834         [POSIX] (limits.h): Likewise.
30835         [POSIX] (math.h): Likewise.
30836         [POSIX] (sys/wait.h): Likewise.
30837         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30838         function.
30839         [POSIX] (stddef.h): Do not allow header inclusion.
30841 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30843         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30845 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
30847         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30848         Return immediately after lll_futex_wake.
30850 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30852         [BZ #16791]
30853         * nscd/nscd-client.h (datahead_init_common): Initialize entire
30854         structure.
30855         (datahead_init_pos): Call datahead_init_common early.
30856         (datahead_init_neg): Likewise.
30858         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30859         datahead_init_neg): New functions.
30860         * nscd/aicache.c (addhstaiX): Use them.
30861         * nscd/grpcache.c (cache_addgr): Likewise.
30862         * nscd/hstcache.c (cache_addhst): Likewise.
30863         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30864         * nscd/netgroupcache.c (do_notfound): Likewise.
30865         (addgetnetgrentX): Likewise.
30866         (addinnetgrX): Likewise.
30867         * nscd/pwdcache.c (cache_addpw): Likewise.
30868         * nscd/servicescache.c (cache_addserv): Likewise.
30870 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30871             Atsushi Onoe  <atsushi@onoe.org>
30873         [BZ #14308]
30874         [BZ #12994]
30875         [BZ #13651]
30876         * resolv/res_query.c (__libc_res_nsearch): Return if at least
30877         one response is valid.
30878         * resolv/res_send.c (send_dg): Check for validity of other
30879         response if the current response is a referral.
30881 2014-04-29  Steve Ellcey  <sellcey@mips.com>
30883         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
30885 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
30887         [BZ #16823]
30888         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
30889         Always divide by positive zero when computing -Inf result.
30890         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30891         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30893 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30895         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
30896         FPSCR if value do not change.
30897         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30898         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30899         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30900         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30901         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
30902         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
30903         function.
30905 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
30907         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
30908         * sysdeps/unix/sysv/linux/hppa: Move directory from
30909         ports/systeps/unix/sysv/linux/hppa.
30910         * README: Update listing for hppa-*-linux-gnu.
30912 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
30914         [BZ #16754]
30915         * manual/stdio.texi (Hook functions): Fix types of stream hook
30916         functions.
30917         [BZ #16854]
30918         * socket/sys/socket.h: Fix typo in comment.
30920 2014-04-28  Wilco  <wdijkstr@arm.com>
30922         * sysdeps/arm/fenv_private.h: New file.
30923         * sysdeps/arm/math_private.h: New file.
30924         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
30926 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
30928         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
30929         with __int128_t.
30930         (La_x86_64_retval): Likewise.
30932 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
30934         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
30935         fpsr if value didn't change.
30936         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
30937         to fpcr if value didn't change.
30938         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
30939         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
30940         fpsr or fpcr if value didn't change.
30941         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30942         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
30943         fpcr if value didn't change.
30944         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
30945         to fpsr if value didn't change.
30947 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30949         * nptl/tst-sem3.c: Use test-skeleton.c
30950         (main): Rename to do_test.  Use return instead of
30951         exit.
30952         * nptl/tst-sem4.c: Use test-skeleton.c
30953         (main): Rename to do_test.
30955 2014-04-22  David S. Miller  <davem@davemloft.net>
30957         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30958         (struct sigaction): New struct member __glibc_reserved0, change
30959         type of sa_flags to int.
30961 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
30963         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30964         (COUNT_LEADING_ZEROS_0): Define for AArch64.
30966 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30968         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
30969         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
30971 2014-04-22  Will Newton  <will.newton@linaro.org>
30972             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
30974         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
30975         (__longjmp): Add longjmp and longjmp_target SystemTap
30976         probes.
30977         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
30978         (__sigsetjmp): Add setjmp SystemTap probe.
30980 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
30982         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
30983         match manual order.
30985 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30987         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
30989         * sysdeps/powerpc/fpu/fenv_private.h
30990         (libc_feholdexcept_setroundl_ctx): Define to
30991         libc_feholdexcept_setround_ppc_ctx.
30992         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30993         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
30994         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
30995         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
30997 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30999         * sysdeps/aarch64/math-tests.h: New file.
31001 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
31003         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
31004         New.
31005         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31006         Check and set bit_AVX2_Usable.
31007         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
31008         macro.
31009         (bit_AVX2): Likewise.
31010         (index_AVX2_Usable): Likewise.
31011         (CPUID_AVX2): Likewise.
31012         (HAS_AVX2): Likewise.
31014 2014-04-17  Will Newton  <will.newton@linaro.org>
31016         * manual/setjmp.texi (System V contexts): Add note that
31017         calling setcontext on a context created by a call to a
31018         signal handler is undefined.  Update text to note that
31019         setcontext from a signal handler is possible but not
31020         recommended.
31022         [BZ #16629]
31023         * stdlib/tst-setcontext.c: Include signal.h.
31024         (main): Check that the signal stack before and
31025         after swapcontext is the same.
31027         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
31028         Re-implement to restore registers in user code and avoid
31029         rt_sigreturn system call.
31031 2014-04-17  Wilco  <wdijkstr@arm.com>
31033         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
31034         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
31035         * math/test-fenv.c: Skip exception trap tests on targets which only
31036         support non-stop mode.
31038 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31039             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31041         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
31042         (libc_feholdsetround_aarch64_ctx)
31043         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
31044         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
31045         (libc_feresetround_ctx, libc_feresetroundf_ctx)
31046         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
31047         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
31048         (libc_feresetround_noexl_ctx): Define.
31050 2014-04-16  Richard Henderson  <rth@redhat.com>
31052         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
31054         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
31055         unwind tables.
31057         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
31058         const from the non-libc, non-ldso copy.
31060         * sysdeps/alpha/libm-test-ulps: Regenerate.
31062 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
31063             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31065         * sysdeps/aarch64/fpu/math_private.h: New file.
31067 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31069         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31071 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
31073         [BZ #16275]
31074         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
31075         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
31076         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
31077         Intel MPX bound registers before _dl_profile_fixup.
31078         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
31079         registers after _dl_profile_fixup.  Save and restore bound
31080         registers bnd0/bnd1 when calling _dl_call_pltexit.
31081         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
31082         (LR_BND_OFFSET): Likewise.
31083         (LRV_BND0_OFFSET): Likewise.
31084         (LRV_BND1_OFFSET): Likewise.
31086 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31088         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
31089         to...
31090         * sysdeps/mach/hurd/i386/tls.h: ... here.
31091         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
31092         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
31093         fields.
31095 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31097         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
31099 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31101         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31103 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31105         [BZ #14770]
31106         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
31107         * sysdeps/s390/configure: Regenerate.
31109         [BZ #16824]
31110         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
31111         Set round-to-nearest internally to reduce error accumulation.
31113 2014-04-16  Alan Modra  <amodra@gmail.com>
31115         [BZ #16740]
31116         [BZ #16619]
31117         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
31118         * math/libm-test.inc (frexp_test_data): Add tests.
31119         * NEWS: Update fixed bug list.
31121 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31123         * benchtests/Makefile: Depend on libraries in build directory.
31124         (bench-math): Separate out math tests.
31125         (bench-pthread): Separate out pthread tests.
31126         (bench): Include math and pthread tests.
31128 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
31130         [BZ #16831]
31131         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
31132         _dl_debug_initialize.
31134         * configure.ac: Remove SELinux header check.
31135         * configure: Regenerate.
31136         * nscd/selinux.c (perms): Array of const char* to permission names.
31137         (nscd_request_avc_has_perm): Call security_deny_unknown to find
31138         default policy. Call string_to_security_class and string_to_av_perm to
31139         translate strings. Enforce default policy and call avs_has_perm with
31140         results of translated strings.
31142 2014-04-13  David S. Miller  <davem@davemloft.net>
31144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31146 2014-04-12  Allan McRae  <allan@archlinux.org>
31148         [BZ #16838]
31149         * manual/string.texi (Collation Functions): Fix qsort argument
31150         order in example.
31151         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31153 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
31155         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
31156         Make the test a no-op if there are no exceptions defined.
31158 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31160         * elf/Makefile (tests): make tst-dlopen-aout conditional on
31161         enable-hardcoded-path-in-tests
31163 2014-04-11  Will Newton  <will.newton@linaro.org>
31165         * benchtests/Makefile (extra-objs): Add json-lib.o.
31166         (bench-func): Tidy up JSON output.
31167         * benchtests/bench-skeleton.c: Include json-lib.h.
31168         (main): Use JSON library functions to do output of
31169         benchmark results.
31170         * benchtests/bench-timing-type.c (main): Output the
31171         timing type simply, leaving formatting to the user.
31172         * benchtests/json-lib.c: New file.
31173         * benchtests/json-lib.h: Likewise.
31175 2014-04-11  Torvald Riegel  <triegel@redhat.com>
31177         [BZ #15215]
31178         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
31179         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
31180         memory barriers.  Add comments.
31181         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
31182         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
31183         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
31184         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
31185         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
31186         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
31188 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31190         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
31191         * sysdeps/s390/s390-64/configure.ac: ... this ...
31192         * sysdeps/s390/configure.ac: ... to here.
31193         * sysdeps/s390/s390-32/configure: Delete file.
31194         * sysdeps/s390/s390-64/configure: Delete file.
31195         * sysdeps/s390/configure: Regenerate.
31197 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
31199         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
31201 2014-04-11  Will Newton  <will.newton@linaro.org>
31203         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
31204         to zero if it is not defined elsewhere.  (mtrim): Test
31205         the value of MALLOC_DEBUG with #if rather than #ifdef.
31207 2014-04-10 Torvald Riegel  <triegel@redhat.com>
31209         * benchtests/pthread_once-inputs: New file.
31210         * benchtests/pthread_once-source.c: New file.
31211         * benchtests/README: Update documentation.
31213 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
31214             H.J. Lu  <hongjiu.lu@intel.com>
31216         [BZ #16275]
31217         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
31218         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
31219         * sysdeps/x86_64/configure: Regenerated.
31220         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
31221         macro.
31222         (REGISTER_SAVE_RAX): Likewise.
31223         (REGISTER_SAVE_RCX): Likewise.
31224         (REGISTER_SAVE_RDX): Likewise.
31225         (REGISTER_SAVE_RSI): Likewise.
31226         (REGISTER_SAVE_RDI): Likewise.
31227         (REGISTER_SAVE_R8): Likewise.
31228         (REGISTER_SAVE_R9): Likewise.
31229         (REGISTER_SAVE_BND0): Likewise.
31230         (REGISTER_SAVE_BND1): Likewise.
31231         (REGISTER_SAVE_BND2): Likewise.
31232         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
31233         bound registers when calling _dl_fixup.
31235 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31237         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
31238         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
31239         of its definition.
31240         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
31241         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
31242         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
31243         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
31244         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
31245         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
31246         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
31248 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
31250         [BZ #15514]
31251         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
31252         pathconf(_PC_NAME_MAX).
31254 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31256         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
31257         Remove macro usage.
31258         (__PTHREAD_SPINS): Move definition to ...
31259         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31260         (__PTHREAD_SPINS): ... here.
31261         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31262         (__PTHREAD_SPIN): Likewise.
31263         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
31264         (__PTHREAD_SPIN): Likewise.
31265         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
31266         (__PTHREAD_SPIN): Likewise.
31267         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
31268         (__PTHREAD_SPIN): Likewise.
31269         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31270         (__PTHREAD_SPIN): Likewise.
31271         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31272         (__PTHREAD_SPIN): Likewise.
31273         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
31274         (__PTHREAD_SPIN): Likewise.
31275         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31276         (__PTHREAD_SPIN): Likewise.
31277         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31278         (__PTHREAD_SPIN): Likewise.
31279         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31280         (__PTHREAD_SPIN): Likewise.
31281         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31282         (__PTHREAD_SPIN): Likewise.
31283         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
31284         (__PTHREAD_SPIN): Likewise.
31286         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
31287         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
31288         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
31289         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
31290         imply folder.
31291         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
31292         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
31293         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
31294         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
31295         correct imply path.
31296         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
31297         strlen symbol for non multi-arch builds.
31298         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
31299         missing hidden_def and weak_alias.
31301 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
31303         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
31305 2014-04-07  Will Newton  <will.newton@linaro.org>
31307         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
31308         and contents.  [!_LIBC] Remove #ifndef and contents.
31309         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
31310         * string/memccpy.c (__memccpy): Use ANSI prototype.
31311         * string/memfrob.c (memfrob): Likewise.
31312         * string/strcoll.c (STRCOLL): Likewise.
31313         * string/strlen.c (strlen): Likewise.
31314         * string/strtok.c (STRTOK): Likewise.
31315         * string/strcat.c: Remove unused #include of memcopy.h.
31316         (strcat): Use ANSI prototype.
31317         * string/strchr.c: Remove unused #include of memcopy.h.
31318         (strchr): Use ANSI prototype.
31319         * string/strcmp.c: Remove unused #include of memcopy.h.
31320         (strcmp): Use ANSI prototype.
31321         * string/strcpy.c: Remove unused #include of memcopy.h.
31322         (strcpy): Use ANSI prototype.
31324 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31326         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
31327         * config.make.in (config-extra-cppflags): Set it from
31328         libc_extra_cppflags.
31329         * configure.ac (libc_extra_cflags): Make it accumulate over
31330         configure fragments.
31331         (libc_extra_cppflags): New flag.
31332         * configure. Regenerate.
31333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31334         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
31335         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
31336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
31338         [BZ #16815]
31339         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
31340         result for FE_DOWNWARD rounding mode.
31341         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
31342         Likewise.
31343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31345 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
31347         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
31348         in function argument name.
31350 2014-04-03  David Svoboda  <svoboda@cert.org>
31352         [BZ #5666]
31353         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
31354         explicitly.
31356 2014-04-03  Roland McGrath  <roland@hack.frob.com>
31358         * elf/dl-unmap-segments.h: New file.
31359         * sysdeps/generic/ldsodefs.h
31360         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
31361         * elf/dl-close.c: Include <dl-unmap-segments.h>.
31362         * elf/dl-fptr.c: Likewise.
31363         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
31364         * sysdeps/aarch64/tlsdesc.c: Likewise.
31365         * sysdeps/arm/tlsdesc.c: Likewise.
31366         * sysdeps/i386/tlsdesc.c: Likewise.
31367         * sysdeps/tile/dl-runtime.c: Likewise.
31368         * sysdeps/x86_64/tlsdesc.c: Likewise.
31369         * elf/dl-load.h: New file.
31370         * elf/dl-load.c: Include it.
31371         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
31372         Macros moved to dl-load.h.
31373         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
31374         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
31375         Use _dl_unmap_segments in place of __munmap.
31376         Break out segment-mapping loop into ...
31377         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
31379 2014-04-03  Will Newton  <will.newton@linaro.org>
31381         * elf/dl-lookup.c (do_lookup_x): Remove comment
31382         referring to nested function and move variable
31383         declarations down to before first use.
31385 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
31387         [BZ #16799]
31388         [BZ #16800]
31389         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
31390         with 0 numerator.
31391         * math/s_catanf.c (__catanf): Likewise.
31392         * math/s_catanh.c (__catanh): Likewise.
31393         * math/s_catanhf.c (__catanhf): Likewise.
31394         * math/s_catanhl.c (__catanhl): Likewise.
31395         * math/s_catanl.c (__catanl): Likewise.
31396         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
31397         by positive zero when computing -Inf result.
31398         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
31399         (catanh_test): Likewise.
31400         * sysdeps/i386/fpu/libm-test-ulps: Update.
31401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31403         [BZ #16789]
31404         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
31405         instead of using underflowing value in computing result.
31406         * math/s_clog10.c (__clog10): Likewise.
31407         * math/s_clog10f.c (__clog10f): Likewise.
31408         * math/s_clog10l.c (__clog10l): Likewise.
31409         * math/s_clogf.c (__clogf): Likewise.
31410         * math/s_clogl.c (__clogl): Likewise.
31411         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
31412         (clog10_test): Likewise.
31413         * sysdeps/i386/fpu/libm-test-ulps: Update.
31414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31416 2014-04-02  Alan Modra  <amodra@gmail.com>
31418         [BZ #16739]
31419         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
31420         output when value is near a power of two.  Use int64_t for lx and
31421         remove casts.  Use decimal rather than hex exponent constants.
31422         Don't use long double multiplication when double will suffice.
31423         * math/libm-test.inc (nextafter_test_data): Add tests.
31424         * NEWS: Add 16739 and 16786 to bug list.
31426         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
31428         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
31430 2014-04-01  Will Newton  <will.newton@linaro.org>
31432         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
31433         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
31435 2014-04-01  Florian Weimer  <fweimer@redhat.com>
31437         [BZ #13347]
31438         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
31439         * nptl/tst-setuid2.c: New file.
31440         * nptl/Makefile (xtests): Add tst-setuid2.
31442 2014-04-01  Alan Modra  <amodra@gmail.com>
31444         [BZ #16786]
31445         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
31447 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
31449         [BZ #6803]
31450         [BZ #6804]
31451         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
31452         set errno as appropriate.
31453         * math/w_scalbf.c (__scalbf): Likewise.
31454         * math/w_scalbl.c (__scalbl): Likewise.
31455         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
31456         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
31457         * math/libm-test.inc (scalb_test_data): Add errno expectations.
31458         Add more NaN tests.
31460         [BZ #16349]
31461         * math/w_atan2.c: Include <errno.h>.
31462         (__atan2): Set errno for result underflowing to zero.
31463         * math/w_atan2f.c: Include <errno.h>.
31464         (__atan2f): Set errno for result underflowing to zero.
31465         * math/w_atan2l.c: Include <errno.h>.
31466         (__atan2l): Set errno for result underflowing to zero.
31467         * math/auto-libm-test-in: Don't allow missing errno for some atan2
31468         tests.
31469         * math/auto-libm-test-out: Regenerated.
31471 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31473         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31474         Encode instruction correctly in little endian.
31475         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31476         Likewise.
31477         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31478         Likewise.
31479         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31480         Likewise.
31481         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31482         Likewise.
31484 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
31486         [BZ #9894]
31487         * sysdeps/unix/sysv/linux/kernel-features.h
31488         [__sparc__ && !__arch64__ && !__sparc_v9__]
31489         (__ASSUME_SET_ROBUST_LIST): Do not define.
31490         [__sparc__ && !__arch64__ && !__sparc_v9__]
31491         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31492         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
31493         Likewise.
31494         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31495         (__ASSUME_FUTEX_LOCK_PI): Undefine.
31496         (__ASSUME_REQUEUE_PI): Likewise.
31497         (__ASSUME_SET_ROBUST_LIST): Likewise.
31498         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31499         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
31500         Undefine.
31501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31502         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
31503         Likewise.
31504         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
31505         Likewise.
31506         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
31507         Likewise.
31508         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31509         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
31510         Undefine.
31511         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
31512         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
31513         Likewise.
31515         [BZ #16648]
31516         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31517         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
31518         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
31520 2014-03-31  Will Newton  <will.newton@linaro.org>
31522         * benchtests/Makefile (bench): Add ffs and ffsll to list
31523         of tests.
31524         * benchtests/ffs-inputs: New file.
31525         * benchtests/ffsll-inputs: Likewise.
31527 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
31529         [BZ #16770]
31530         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
31531         too large before casting to int.
31532         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
31533         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
31534         * math/libm-test.inc (scalb_test_data): Add more tests.
31536 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31538         * benchtests/Makefile (DETAILED_OPT): New make option.
31539         (bench-func): Run benchmark program with -d if DETAILED_OPT is
31540         set.
31541         * benchtests/bench-skeleton.c: Include stdbool.h.
31542         (main): Store and print timings per input.
31543         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
31544         member to each argument value.
31545         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
31546         (_print_arg_data): Initialize per-input timing to 0.
31548         * benchtests/Makefile (timing-type): New binary.
31549         (bench-clean): Also remove bench-timing-type.
31550         (bench): New target for timing-type.
31551         (bench-func): Print output in JSON format.
31552         * benchtests/bench-skeleton.c (main): Print output in JSON
31553         format.
31554         * benchtests/bench-timing-type.c: New file.
31555         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
31556         (TIMING_PRINT_STATS): Remove.
31557         * benchtests/scripts/bench.py (_print_arg_data): Store variant
31558         name separately.
31560         * benchtests/bench-modf.c: Remove.
31561         * benchtests/modf-inputs: New inputs file.
31563 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
31565         [BZ #16362]
31566         * math/s_clog10.c (M_PI_LOG10E): New macro.
31567         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
31568         imaginary parts are 0.
31569         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
31570         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
31571         imaginary parts are 0.
31572         * math/s_clog10l.c (M_PI_LOG10El): New macro.
31573         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
31574         imaginary parts are 0.
31575         * math/libm-test.inc (clog10_test_data): Update expected results
31576         for when real and imaginary parts are 0.
31578 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
31580         * elf/dl-load.c: Finish conversion of __builtin_expect into
31581         __glibc_{un}likely.
31583 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
31585         [BZ #16348]
31586         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
31587         1+x for argument with exponent below -67.
31588         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
31589         Likewise.
31590         * math/auto-libm-test-in: Add more tests of exp.
31591         * math/auto-libm-test-out: Regenerated.
31593 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31595         [BZ #16759]
31596         * inet/getnetgrent_r.c (get_nonempty_val): New function.
31597         (nscd_getnetgrent): Use it.
31599         [BZ #16760]
31600         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
31601         of stpcpy.
31603 2014-03-27  Andi Kleen  <ak@linux.intel.com>
31605         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
31606         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31607         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31608         (lll_robust_unlock): Remove out of line section. Use cfi
31609         intrinsics.
31610         (LLL_STUB_UNWIND_INFO*): Remove.
31611         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
31612         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31613         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31614         (lll_robust_unlock): Remove out of line section. Use cfi
31615         intrinsics.
31616         (LLL_STUB_UNWIND_INFO*): Remove.
31618 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31620         [BZ #16758]
31621         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
31622         blank values.
31624 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
31626         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
31628 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
31630         [BZ #16198]
31631         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
31632         fnstenv.
31633         * math/test-fenv-preserve.c: New file.
31634         * math/Makefile (tests): Add test-fenv-preserve.
31636 2014-03-26  Will Newton <will.newton@linaro.org>
31638         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
31640 2014-03-25  Roland McGrath  <roland@hack.frob.com>
31642         * scripts/versionlist.awk: Partition the version sets and emit all
31643         GLIBC_* (sorted) before all others (sorted).
31645 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31647         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
31648         GLIBC_2.2.5 version.
31650 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31652         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
31653         calls.
31655         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
31656         previous change.
31658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31660 2014-03-25  Andreas Schwab  <schwab@suse.de>
31662         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
31663         label to be used after in6ailist is initialized.
31665 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31667         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31668         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31670 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31672         [BZ #16357]
31673         [BZ #16599]
31674         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
31675         min_plus_half.
31676         (fp_formats): Update initializers.
31677         (init_fp_formats): Initialize new field.
31678         (output_for_one_input_case): Allow underflow for results up to
31679         min_plus_half.
31680         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
31681         * math/auto-libm-test-in: Don't mark some underflows from asin and
31682         atanh as spurious.
31683         * math/auto-libm-test-out: Regenerated.
31684         * sysdeps/i386/fpu/libm-test-ulps: Update.
31685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31687 2014-03-25  Andreas Schwab  <schwab@suse.de>
31689         * libio/Makefile (tst-ftell-partial-wide-ENV)
31690         (tst-ftell-active-handler-ENV): Define.
31692 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
31694         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
31696 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31698         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
31700 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31702         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
31703         * sysdeps/x86_64/fpu/multiarch/e_exp.c
31704         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
31706 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31708         [BZ #16634]
31709         * elf/dl-load.c (open_verify): Add mode parameter.
31710         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
31711         (open_path): Change from boolean 'secure' to complete flag 'mode'
31712         (_dl_map_object): Adjust.
31713         * elf/Makefile (tests): Add tst-dlopen-aout.
31714         * elf/tst-dlopen-aout.c: New test.
31716 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
31718         [BZ #16714]
31719         * sysdeps/unix/sysv/linux/s390/bits/stat.h
31720         (struct stat): Rename member pad0 to __glibc_reserved0.
31722         [BZ #16712]
31723         * sysdeps/s390/s390-32/bits/wordsize.h
31724         (__WORDSIZE32_SIZE_ULONG): New define.
31725         * sysdeps/s390/s390-64/bits/wordsize.h
31726         (__WORDSIZE32_SIZE_ULONG): Likewise.
31727         * sysdeps/generic/stdint.h (SIZE_MAX):
31728         Define as UL if __WORDSIZE32_SIZE_ULONG.
31730         [BZ #16713]
31731         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31732         (__glibc_reserved0): New variable.
31733         (sa_flags): Change type to int.
31735         * posix/Makefile (before-compile): Use += before-compile instead
31736         of a :=.
31738         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31739         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31741 2014-03-20  Andreas Schwab  <schwab@suse.de>
31743         [BZ #16743]
31744         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
31745         non-matching result from nscd.
31747 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31749         * scripts/bench.py: Moved to ...
31750         * benchtests/scripts/bench.py: ... here.
31751         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
31753 2014-03-24  Andreas Schwab  <schwab@suse.de>
31755         [BZ #16002]
31756         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
31757         alloca_account and account alloca use for struct in6ailist.
31759 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31761         [BZ #16284]
31762         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
31763         rounding mode to recompute results that overflow to infinity or
31764         underflow to zero.
31765         * math/auto-libm-test-in: Don't mark tests as expected to fail for
31766         bug 16284.
31767         * math/auto-libm-test-out: Regenerated.
31768         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
31769         (ccosh_test): Likewise.
31770         (csin_test_data): Use plus_oflow.
31771         (csin_test): Use ALL_RM_TEST.
31772         (csinh_test_data): Use plus_oflow.
31773         (csinh_test): Use ALL_RM_TEST.
31774         * sysdeps/i386/fpu/libm-test-ulps: Update.
31775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31777 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
31779         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
31780         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
31781         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
31783         [BZ #16731]
31784         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
31785         when x - 1 is zero.
31786         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
31787         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
31788         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31789         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
31790         argument is 1.
31791         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
31792         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
31793         zero.
31794         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
31795         * sysdeps/i386/fpu/libm-test-ulps: Update.
31796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31798 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31800         * scripts/bench.pl: Remove file.
31801         * scripts/bench.py: New benchmark script.
31802         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
31803         * benchtests/README: Mention python dependency.
31804         * scripts/pylintrc: New file.
31805         * scripts/pylint: New file.
31807         * bits/mathdef.h: Use #ifdef instead of #if.
31808         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
31809         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31810         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
31811         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31812         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31813         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31815 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31816             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31818         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31820         and strpbrk-ppc64 objects.
31821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31822         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31823         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31824         multiarch strpbrk for POWER7.
31825         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31826         multiarch strpbrk for PPC64.
31827         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31828         ifunc selector.
31829         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31830         strpbrk for POWER7.
31832 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31834         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31835         (atan_test): Likewise.
31836         (atanh_test_data): Use NO_TEST_INLINE for two tests.
31837         (atanh_test): Use ALL_RM_TEST.
31838         (atan2_test_data): Likewise.
31839         (cabs_test): Likewise.
31840         (cacosh_test): Likewise.
31841         (carg_test): Likewise.
31842         (casin_test): Likewise.
31843         (casinh_test): Likewise.
31844         (cbrt_test): Likewise.
31845         (csqrt_test): Likewise.
31846         (erf_test): Likewise.
31847         (erfc_test): Likewise.
31848         (pow10_test): Likewise.
31849         (exp2_test): Likewise.
31850         (hypot_test): Likewise.
31851         (j0_test): Likewise.
31852         (j1_test): Likewise.
31853         (lgamma_test): Likewise.
31854         (gamma_test): Likewise.
31855         (sincos_test): Likewise.
31856         (tanh_test): Likewise.
31857         (y0_test): Likewise.
31858         (y1_test): Likewise.
31859         * sysdeps/i386/fpu/libm-test-ulps: Update.
31860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31862 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31864         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31866         and strcspn-ppc64 objects.
31867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31868         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31869         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31870         multiarch strcspn for POWER7.
31871         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
31872         multiarch strcspn for PPC64.
31873         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
31874         ifunc selector.
31875         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
31876         strcspn for POWER7.
31878 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31880         * math/gen-libm-test.pl (generate_testfile): Expect only function
31881         name as argument to AUTO_TESTS_* and pass results for all rounding
31882         modes to parse_args.
31883         (parse_auto_input): Separate inputs of automatic tests from
31884         outputs before storing in %auto_tests.
31885         * math/libm-test.inc (acos_test_data): Update call to
31886         AUTO_TESTS_f_f.
31887         (acos_test): Use ALL_RM_TEST.
31888         (acos_tonearest_test_data): Remove.
31889         (acos_test_tonearest): Likewise.
31890         (acos_towardzero_test_data): Likewise.
31891         (acos_test_towardzero): Likewise.
31892         (acos_downward_test_data): Likewise.
31893         (acos_test_downward): Likewise.
31894         (acos_upward_test_data): Likewise.
31895         (acos_test_upward): Likewise.
31896         (acosh_test_data): Update call to AUTO_TESTS_f_f.
31897         (asin_test_data): Likewise.
31898         (asin_test): Use ALL_RM_TEST.
31899         (asin_tonearest_test_data): Remove.
31900         (asin_test_tonearest): Likewise.
31901         (asin_towardzero_test_data): Likewise.
31902         (asin_test_towardzero): Likewise.
31903         (asin_downward_test_data): Likewise.
31904         (asin_test_downward): Likewise.
31905         (asin_upward_test_data): Likewise.
31906         (asin_test_upward): Likewise.
31907         (asinh_test_data): Update call to AUTO_TESTS_f_f.
31908         (atan_test_data): Likewise.
31909         (atanh_test_data): Likewise.
31910         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
31911         (cabs_test_data): Update call to AUTO_TESTS_c_f.
31912         (carg_test_data): Likewise.
31913         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
31914         (ccos_test_data): Update call to AUTO_TESTS_c_c.
31915         (ccosh_test_data): Likewise.
31916         (cexp_test_data): Likewise.
31917         (clog_test_data): Likewise.
31918         (clog10_test_data): Likewise.
31919         (cos_test_data): Update call to AUTO_TESTS_f_f.
31920         (cos_test): Use ALL_RM_TEST.
31921         (cos_tonearest_test_data): Remove.
31922         (cos_test_tonearest): Likewise.
31923         (cos_towardzero_test_data): Likewise.
31924         (cos_test_towardzero): Likewise.
31925         (cos_downward_test_data): Likewise.
31926         (cos_test_downward): Likewise.
31927         (cos_upward_test_data): Likewise.
31928         (cos_test_upward): Likewise.
31929         (cosh_test_data): Update call to AUTO_TESTS_f_f.
31930         (cosh_test): Use ALL_RM_TEST.
31931         (cosh_tonearest_test_data): Remove.
31932         (cosh_test_tonearest): Likewise.
31933         (cosh_towardzero_test_data): Likewise.
31934         (cosh_test_towardzero): Likewise.
31935         (cosh_downward_test_data): Likewise.
31936         (cosh_test_downward): Likewise.
31937         (cosh_upward_test_data): Likewise.
31938         (cosh_test_upward): Likewise.
31939         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
31940         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
31941         (ctan_test_data): Likewise.
31942         (ctan_test): Use ALL_RM_TEST.
31943         (ctan_tonearest_test_data): Remove.
31944         (ctan_test_tonearest): Likewise.
31945         (ctan_towardzero_test_data): Likewise.
31946         (ctan_test_towardzero): Likewise.
31947         (ctan_downward_test_data): Likewise.
31948         (ctan_test_downward): Likewise.
31949         (ctan_upward_test_data): Likewise.
31950         (ctan_test_upward): Likewise.
31951         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
31952         (ctanh_test): Use ALL_RM_TEST.
31953         (ctanh_tonearest_test_data): Remove.
31954         (ctanh_test_tonearest): Likewise.
31955         (ctanh_towardzero_test_data): Likewise.
31956         (ctanh_test_towardzero): Likewise.
31957         (ctanh_downward_test_data): Likewise.
31958         (ctanh_test_downward): Likewise.
31959         (ctanh_upward_test_data): Likewise.
31960         (ctanh_test_upward): Likewise.
31961         (erf_test_data): Update call to AUTO_TESTS_f_f.
31962         (erfc_test_data): Likewise.
31963         (exp_test_data): Likewise.
31964         (exp_test): Use ALL_RM_TEST.
31965         (exp_tonearest_test_data): Remove.
31966         (exp_test_tonearest): Likewise.
31967         (exp_towardzero_test_data): Likewise.
31968         (exp_test_towardzero): Likewise.
31969         (exp_downward_test_data): Likewise.
31970         (exp_test_downward): Likewise.
31971         (exp_upward_test_data): Likewise.
31972         (exp_test_upward): Likewise.
31973         (exp10_test_data): Update call to AUTO_TESTS_f_f.
31974         (exp10_test): Use ALL_RM_TEST.
31975         (exp10_tonearest_test_data): Remove.
31976         (exp10_test_tonearest): Likewise.
31977         (exp10_towardzero_test_data): Likewise.
31978         (exp10_test_towardzero): Likewise.
31979         (exp10_downward_test_data): Likewise.
31980         (exp10_test_downward): Likewise.
31981         (exp10_upward_test_data): Likewise.
31982         (exp10_test_upward): Likewise.
31983         (exp2_test_data): Update call to AUTO_TESTS_f_f.
31984         (expm1_test_data): Likewise.
31985         (expm1_test): Use ALL_RM_TEST.
31986         (expm1_tonearest_test_data): Remove.
31987         (expm1_test_tonearest): Likewise.
31988         (expm1_towardzero_test_data): Likewise.
31989         (expm1_test_towardzero): Likewise.
31990         (expm1_downward_test_data): Likewise.
31991         (expm1_test_downward): Likewise.
31992         (expm1_upward_test_data): Likewise.
31993         (expm1_test_upward): Likewise.
31994         (fma_test_data): Update call to AUTO_TESTS_fff_f.
31995         (fma_test): Use ALL_RM_TEST.
31996         (fma_towardzero_test_data): Remove.
31997         (fma_test_towardzero): Likewise.
31998         (fma_downward_test_data): Likewise.
31999         (fma_test_downward): Likewise.
32000         (fma_upward_test_data): Likewise.
32001         (fma_test_upward): Likewise.
32002         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
32003         (j0_test_data): Update call to AUTO_TESTS_f_f.
32004         (j1_test_data): Likewise.
32005         (jn_test_data): Update call to AUTO_TESTS_if_f.
32006         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
32007         (log_test_data): Update call to AUTO_TESTS_f_f.
32008         (log10_test_data): Likewise.
32009         (log1p_test_data): Likewise.
32010         (log2_test_data): Likewise.
32011         (pow_test_data): Update call to AUTO_TESTS_ff_f.
32012         (pow_tonearest_test_data): Likewise.
32013         (sin_test_data): Update call to AUTO_TESTS_f_f.
32014         (sin_test): Use ALL_RM_TEST.
32015         (sin_tonearest_test_data): Remove.
32016         (sin_test_tonearest): Likewise.
32017         (sin_towardzero_test_data): Likewise.
32018         (sin_test_towardzero): Likewise.
32019         (sin_downward_test_data): Likewise.
32020         (sin_test_downward): Likewise.
32021         (sin_upward_test_data): Likewise.
32022         (sin_test_upward): Likewise.
32023         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
32024         (sinh_test_data): Update call to AUTO_TESTS_f_f.
32025         (sinh_test): Use ALL_RM_TEST.
32026         (sinh_tonearest_test_data): Remove.
32027         (sinh_test_tonearest): Likewise.
32028         (sinh_towardzero_test_data): Likewise.
32029         (sinh_test_towardzero): Likewise.
32030         (sinh_downward_test_data): Likewise.
32031         (sinh_test_downward): Likewise.
32032         (sinh_upward_test_data): Likewise.
32033         (sinh_test_upward): Likewise.
32034         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
32035         (sqrt_test): Use ALL_RM_TEST.
32036         (sqrt_tonearest_test_data): Remove.
32037         (sqrt_test_tonearest): Likewise.
32038         (sqrt_towardzero_test_data): Likewise.
32039         (sqrt_test_towardzero): Likewise.
32040         (sqrt_downward_test_data): Likewise.
32041         (sqrt_test_downward): Likewise.
32042         (sqrt_upward_test_data): Likewise.
32043         (sqrt_test_upward): Likewise.
32044         (tan_test_data): Update call to AUTO_TESTS_f_f.
32045         (tan_test): Use ALL_RM_TEST.
32046         (tan_tonearest_test_data): Remove.
32047         (tan_test_tonearest): Likewise.
32048         (tan_towardzero_test_data): Likewise.
32049         (tan_test_towardzero): Likewise.
32050         (tan_downward_test_data): Likewise.
32051         (tan_test_downward): Likewise.
32052         (tan_upward_test_data): Likewise.
32053         (tan_test_upward): Likewise.
32054         (tanh_test_data): Update call to AUTO_TESTS_f_f.
32055         (tgamma_test_data): Likewise.
32056         (y0_test_data): Likewise.
32057         (y1_test_data): Likewise.
32058         (yn_test_data): Update call to AUTO_TESTS_if_f.
32059         (main): Do not call removed functions.
32061 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32063         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
32064         (ldexp_test_data): Remove.
32065         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
32066         scalbn_test_data.
32067         (scalb_test): Use ALL_RM_TEST.
32069 2014-03-19  Andreas Schwab  <schwab@suse.de>
32071         * nscd/nscd.service: Also invalidate netgroup cache on reload.
32073 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32075         [BZ #16649]
32076         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32077         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
32078         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
32079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32080         (__ASSUME_PREADV): Undefine.
32081         (__ASSUME_PWRITEV): Likewise.
32083 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32085         * bits/mman-linux.h: Add comment about non-Linux use.
32086         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
32087         bits/mman-linux.h resting place.
32089         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
32090         * bits/mman-linux.h: ... here.
32092 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32094         * conform/conformtest.pl: Add standard definition when calling C
32095         preprocessor on data files.
32096         (checknamespace): Remove unused variable.
32098 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32100         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
32101         minus_oflow, plus_uflow and minus_uflow in expected results.
32102         * math/libm-test.inc (scalbn_test_data): Add more tests of
32103         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
32104         minus_uflow.
32105         (scalbn_test): Use ALL_RM_TEST.
32106         (scalbln_test_data): Add more tests of negative arguments.  Use
32107         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
32108         (scalbln_test): Use ALL_RM_TEST.
32110 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32112         * scripts/abilist.awk: Ignore symbols marked with .hidden.
32114 2014-03-18  Will Newton  <will.newton@linaro.org>
32116         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
32117         inaccurate comment.
32119 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32121         * Makerules [!subdir] (check-abi): Exit with error status if a
32122         test failed.
32124 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
32126         * math/libm-test.inc (nearbyint_test_data): Include all tests used
32127         for rint.  Include results for all rounding modes.
32128         (nearbyint_test): Use ALL_RM_TEST.
32129         (rint_test_data): Include all tests used for nearbyint.
32131 2014-03-17  Will Newton  <will.newton@linaro.org>
32133         * nptl/sysdeps/pthread/pthread.h: Revert previous
32134         change.
32136         * sysdeps/generic/ldsodefs.h: Revert previous
32137         change.
32139         * libio/genops.c: Revert previous change.
32140         * libio/libioP.h: Likewise.
32141         * stdio-common/vfprintf.c: Likewise.
32143         * sysdeps/generic/math_private.h: Revert previous
32144         change.
32146         * sysdeps/generic/math_private.h: Check whether
32147         HAVE_RM_CTX is defined with #ifdef rather
32148         than #if.
32150         * argp/argp-fmtstream.h: Check whether
32151         __STRICT_ANSI__ is defined with #ifdef rather
32152         than #if.
32153         * argp/argp.h: Likewise.
32155         * libio/genops.c: Check whether
32156         _IO_JUMPS_OFFSET is defined with #ifdef rather
32157         than #if.
32158         * libio/libioP.h: Likewise.
32159         * stdio-common/vfprintf.c: Likewise.
32161         * sysdeps/generic/ldsodefs.h: Check whether
32162         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
32163         than #if.
32165         * nptl/sysdeps/pthread/pthread.h: Check
32166         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
32167         its value.
32169 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32171         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
32172         setting O_APPEND.
32173         * libio/tst-ftell-active-handler.c (do_append_test): Add a
32174         test case.
32176         [BZ #16680]
32177         * libio/fileops.c (_IO_file_open): Seek to end of file but
32178         don't cache the offset.
32179         (get_file_offset): Remove function.
32180         (do_ftell): Use cached offset when available.
32181         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
32182         don't cache the offset.
32183         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
32184         case.
32185         (do_one_test): Call it.
32186         (do_ftell_test): Fix up expected old offset for a+ mode.
32187         * libio/wfileops.c (do_ftell_wide): Used cached offset when
32188         available.
32190         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
32191         up test status with function return status.
32192         (do_write_test): Likewise.
32193         (do_append_test): Likewise.
32195         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
32196         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
32197         Remove.
32199 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
32201         * math/gen-libm-test.pl (parse_args): Handle results specified for
32202         each rounding mode separately.
32203         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
32204         tests and results from lrint_tonearest_test_data,
32205         lrint_towardzero_test_data, lrint_downward_test_data and
32206         lrint_upward_test_data.
32207         (lrint_test): Use ALL_RM_TEST.
32208         (lrint_tonearest_test_data): Remove.
32209         (lrint_test_tonearest): Likewise.
32210         (lrint_towardzero_test_data): Likewise.
32211         (lrint_test_towardzero): Likewise.
32212         (lrint_downward_test_data): Likewise.
32213         (lrint_test_downward): Likewise.
32214         (lrint_upward_test_data): Likewise.
32215         (lrint_test_upward): Likewise.
32216         (llrint_test_data): Merge in per-rounding-mode tests and results
32217         from llrint_tonearest_test_data, llrint_towardzero_test_data,
32218         llrint_downward_test_data and llrint_upward_test_data.
32219         (llrint_test): Use ALL_RM_TEST.
32220         (llrint_tonearest_test_data): Remove.
32221         (llrint_test_tonearest): Likewise.
32222         (llrint_towardzero_test_data): Likewise.
32223         (llrint_test_towardzero): Likewise.
32224         (llrint_downward_test_data): Likewise.
32225         (llrint_test_downward): Likewise.
32226         (llrint_upward_test_data): Likewise.
32227         (llrint_test_upward): Likewise.
32228         (rint_test_data): Merge in per-rounding-mode tests and results
32229         from rint_tonearest_test_data, rint_towardzero_test_data,
32230         rint_downward_test_data and rint_upward_test_data.  Add
32231         per-rounding-mode results for tests not in those arrays.
32232         (rint_test): Use ALL_RM_TEST.
32233         (rint_tonearest_test_data): Remove.
32234         (rint_test_tonearest): Likewise.
32235         (rint_towardzero_test_data): Likewise.
32236         (rint_test_towardzero): Likewise.
32237         (rint_downward_test_data): Likewise.
32238         (rint_test_downward): Likewise.
32239         (rint_upward_test_data): Likewise.
32240         (rint_test_upward): Likewise.
32241         (main): Don't call removed functions.
32243 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32245         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
32246         "Compiled on ..." crapola.  It is anti-useful.
32248 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
32250         * scripts/evaluate-test.sh: Handle fourth argument to determine
32251         whether test run should stop on failure.
32252         * Makeconfig (stop-on-test-failure): New variable.
32253         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
32254         $(stop-on-test-failure).
32255         * Makefile (tests): Give a summary of results from testing and
32256         exit with failure status if they include an ERROR or FAIL.
32257         (xtests): Likewise.
32258         * manual/install.texi (Configuring and compiling): Mention
32259         stop-on-test-failure=y.
32260         * INSTALL: Regenerated.
32262 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32264         * scripts/versionlist.awk: New file.
32265         * Makerules [$(build-shared) = yes]
32266         (postclean-generated): Add Versions.def, not Versions.def.v and
32267         Versions.def.v.i.
32268         ($(common-objpfx)Versions.def.v.i): Target removed.
32269         ($(common-objpfx)Versions.def): New target.
32270         ($(common-objpfx)Versions.all): Depend on that rather that
32271         $(common-objpfx)Versions.def.v.
32272         * Versions.def: File removed.
32274         * Makeconfig (+gccwarn): Add -Wundef.
32275         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
32276         a dl-sysdep.h breaking its contract.
32277         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
32278         * include/stackinfo.h: New file.
32279         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
32280         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
32281         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
32282         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
32283         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
32284         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
32285         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32286         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32287         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32288         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32289         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32290         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
32291         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32292         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32293         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32295 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32297         [BZ #16707]
32298         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
32299         implementation.
32300         * math/libm-test.inc (round_test_data): Add more tests.
32302         [BZ #16706]
32303         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
32304         implementation.
32305         * math/libm-test.inc (nearbyint_test_data): Add more tests.
32307         [BZ #16701]
32308         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
32309         implementation.
32310         * math/libm-test.inc (ceil_test_data): Add more tests.
32312         * math/libm-test.inc (trunc_test_data): Add more tests related to
32313         BZ#16414.
32315 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32317         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
32318         with #if rather than #ifdef.
32319         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
32321 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
32323         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
32324         first.  Disable AVX-512 GCC support if assembler doesn't support
32325         it.
32326         * sysdeps/x86_64/configure: Regenerated.
32328 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
32330         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
32331         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
32332         (__old_pthread_attr_setstack): Likewise.
32333         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
32334         [!_STACK_GROWS_DOWN]: Likewise.
32336 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
32338         * config.make.in (have-bash2): Delete.
32339         * configure.ac (libc_cv_have_bash2): Delete.
32340         * configure: Regenerate.
32341         * elf/Makefile (common-ldd-rewrite): Rename to ...
32342         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
32343         (sh-ldd-rewrite): Delete.
32344         (bash-ldd-rewrite): Delete.
32345         (have-bash2): Delete checks.
32346         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
32347         ldd-rewrite.
32349         * config.make.in (have-ksh): Delete.
32350         (KSH): Delete.
32351         * configure.ac (libc_cv_have_ksh): Delete.
32352         * configure: Regenerate.
32354         * elf/Makefile: Delete $(have-ksh) check.
32355         ($(objpfx)sotruss): Change KSH to BASH.
32356         * elf/sotruss.ksh: Rename to ...
32357         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
32358         function style to match POSIX.  Drop ksh vim mode setting.
32360         * manual/time.texi (Specifying the Time Zone with TZ): Change
32361         Tuesday to Thursday.
32363         * debug/tst-longjmp_chk2.c: Update header comment.
32364         (stackoverflow_handler): Add comment.  Call assert on pass value.
32366 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
32368         [BZ #16194]
32369         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
32370         (HAVE_AVX512_ASM_SUPPORT): Likewise.
32371         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
32372         (La_x86_64_vector): Add zmm.
32373         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
32374         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
32375         ($(objpfx)tst-audit10): New target.
32376         ($(objpfx)tst-audit10.out): Likewise.
32377         (tst-audit10-ENV): New.
32378         (AVX512-CFLAGS): Likewise.
32379         (CFLAGS-tst-audit10.c): Likewise.
32380         (CFLAGS-tst-auditmod10a.c): Likewise.
32381         (CFLAGS-tst-auditmod10b.c): Likewise.
32382         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
32383         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
32384         * sysdeps/x86_64/configure: Regenerated.
32385         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
32386         AVX-512 zmm register support.
32387         (_dl_x86_64_save_sse): Likewise.
32388         (_dl_x86_64_restore_sse): Likewise.
32389         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
32390         size vector registers.
32391         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
32392         (ZMM_SIZE): Likewise.
32393         * sysdeps/x86_64/tst-audit10.c: New file.
32394         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
32395         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
32397 2014-03-13  Roland McGrath  <roland@hack.frob.com>
32399         * configure.ac (HAVE_EHDR_START): New check.
32400         * configure: Regenerated.
32401         * config.h.in (HAVE_EHDR_START): New #undef.
32402         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
32403         assuming the lowest-addressed segment maps the start of the file.
32405 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
32407         * INSTALL: Regenerated.
32409 2014-03-13  Will Newton  <will.newton@linaro.org>
32411         * manual/setjmp.texi (System V contexts): Improve
32412         clarity and grammar of documentation.
32414 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32416         [BZ #16381]
32417         * elf/Makefile (tests): Add tst-pie2.
32418         (tests-pie): Add tst-pie2.
32419         * elf/tst-pie2.c: New file.
32420         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
32421         for ET_EXEC.
32422         * elf/rtld.c (map_doit): Load executable as lt_executable.
32423         (dl_main): Likewise.
32425 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
32427         [BZ #16642]
32428         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32429         (__ASSUME_PSELECT): Undefine.
32431 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32433         [BZ #16689]
32434         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
32435         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
32436         static build.
32437         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
32438         selector for static builds.
32440 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32442         [BZ #16695]
32443         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
32444         key in the buffer.
32446 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32448         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
32449         IFUNC selector for static builds.
32451 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
32453         * sysdeps/mips/math_private.h [__mips_hard_float]
32454         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
32455         libc_feresetround_mips_ctx.
32456         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
32457         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
32458         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
32460         [BZ #16677]
32461         * math/s_nextafter.c (__nextafter): Do not return value from
32462         overflowing computation.
32463         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32464         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
32465         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32466         Likewise.
32467         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
32468         Likewise.
32469         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32470         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
32472 2014-03-11  Roland McGrath  <roland@hack.frob.com>
32474         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
32475         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
32476         Move sfi_sp use from the load-multiple (that no longer sets sp) to
32477         the new mov targetting sp.
32479 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32481         [BZ #16683]
32482         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
32483         Define it for static builds as well.
32484         (NO_BZERO_IMPL): Likewise.
32486 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32488         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
32489         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
32490         multiarch strspn for PPC64.
32491         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
32492         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
32493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32494         (__libc_ifunc_impl_list): Likewise.
32495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
32496         multiarch optimizations
32497         * string/strspn.c (strspn): Using macro to redefine symbol name.
32499 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32500             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32502         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
32503         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
32504         multiarch strncat for PPC64.
32505         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
32506         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
32507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32508         (__libc_ifunc_impl_list): Likewise.
32509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
32510         multiarch optimizations
32512 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32514         [BZ #16639]
32515         * nscd/nscd.service: Make service type forking.
32517 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32519         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
32520         sign in non default rounding modes.
32521         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
32523 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
32525         * math/libm-test.inc (ALL_RM_TEST): New macro.
32526         (ceil_test): Use ALL_RM_TEST.
32527         (cimag_test): Likewise.
32528         (conj_test): Likewise.
32529         (copysign_test): Likewise.
32530         (cproj_test): Likewise.
32531         (creal_test): Likewise.
32532         (fabs_test): Likewise.
32533         (floor_test): Likewise.
32534         (fmax_test): Likewise.
32535         (fmin_test): Likewise.
32536         (fmod_test): Likewise.
32537         (fpclassify_test): Likewise.
32538         (frexp_test): Likewise.
32539         (ilogb_test): Likewise.
32540         (isfinite_test): Likewise.
32541         (finite_test): Likewise.
32542         (isgreater_test): Likewise.
32543         (isgreaterequal_test): Likewise.
32544         (isinf_test): Likewise.
32545         (isless_test): Likewise.
32546         (islessequal_test): Likewise.
32547         (islessgreater_test): Likewise.
32548         (isnan_test): Likewise.
32549         (isnormal_test): Likewise.
32550         (issignaling_test): Likewise.
32551         (isunordered_test): Likewise.
32552         (logb_test): Likewise.
32553         (logb_downward_test_data): Remove.
32554         (logb_test_downward): Likewise.
32555         (lround_test): Use ALL_RM_TEST.
32556         (llround_test): Likewise.
32557         (modf_test): Likewise.
32558         (nexttoward_test): Likewise.
32559         (remainder_test): Likewise.
32560         (drem_test): Likewise.
32561         (remainder_tonearest_test_data): Likewise.
32562         (remainder_test_tonearest): Likewise.
32563         (drem_test_tonearest): Likewise.
32564         (remainder_towardzero_test_data): Likewise.
32565         (remainder_test_towardzero): Likewise.
32566         (drem_test_towardzero): Likewise.
32567         (remainder_downward_test_data): Likewise.
32568         (remainder_test_downward): Likewise.
32569         (drem_test_downward): Likewise.
32570         (remainder_upward_test_data): Likewise.
32571         (remainder_test_upward): Likewise.
32572         (drem_test_upward): Likewise.
32573         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
32574         (round_test): Use ALL_RM_TEST.
32575         (signbit_test): Likewise.
32576         (trunc_test): Likewise.
32577         (significand_test): Likewise.
32578         (main): Don't call removed functions.
32580 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32582         [BZ #16674]
32583         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
32584         || __USE_XOPEN2K8].
32585         (ILL_ILLOPN): Likewise.
32586         (ILL_ILLADR): Likewise.
32587         (ILL_ILLTRP): Likewise.
32588         (ILL_PRVOPC): Likewise.
32589         (ILL_PRVREG): Likewise.
32590         (ILL_COPROC): Likewise.
32591         (ILL_BADSTK): Likewise.
32592         (FPE_INTDIV): Likewise.
32593         (FPE_INTOVF): Likewise.
32594         (FPE_FLTDIV): Likewise.
32595         (FPE_FLTOVF): Likewise.
32596         (FPE_FLTUND): Likewise.
32597         (FPE_FLTRES): Likewise.
32598         (FPE_FLTINV): Likewise.
32599         (FPE_FLTSUB): Likewise.
32600         (SEGV_MAPERR): Likewise.
32601         (SEGV_ACCERR): Likewise.
32602         (BUS_ADRALN): Likewise.
32603         (BUS_ADRERR): Likewise.
32604         (BUS_OBJERR): Likewise.
32605         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32606         (TRAP_TRACE): Likewise.
32607         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32608         __USE_XOPEN2K8].
32609         (CLD_KILLED): Likewise.
32610         (CLD_DUMPED): Likewise.
32611         (CLD_TRAPPED): Likewise.
32612         (CLD_STOPPED): Likewise.
32613         (CLD_CONTINUED): Likewise.
32614         (POLL_IN): Likewise.
32615         (POLL_OUT): Likewise.
32616         (POLL_MSG): Likewise.
32617         (POLL_ERR): Likewise.
32618         (POLL_PRI): Likewise.
32619         (POLL_HUP): Likewise.
32620         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
32621         Likewise.
32622         (ILL_ILLOPN): Likewise.
32623         (ILL_ILLADR): Likewise.
32624         (ILL_ILLTRP): Likewise.
32625         (ILL_PRVOPC): Likewise.
32626         (ILL_PRVREG): Likewise.
32627         (ILL_COPROC): Likewise.
32628         (ILL_BADSTK): Likewise.
32629         (FPE_INTDIV): Likewise.
32630         (FPE_INTOVF): Likewise.
32631         (FPE_FLTDIV): Likewise.
32632         (FPE_FLTOVF): Likewise.
32633         (FPE_FLTUND): Likewise.
32634         (FPE_FLTRES): Likewise.
32635         (FPE_FLTINV): Likewise.
32636         (FPE_FLTSUB): Likewise.
32637         (SEGV_MAPERR): Likewise.
32638         (SEGV_ACCERR): Likewise.
32639         (BUS_ADRALN): Likewise.
32640         (BUS_ADRERR): Likewise.
32641         (BUS_OBJERR): Likewise.
32642         (BUS_MCEERR_AR): Likewise.
32643         (BUS_MCEERR_AO): Likewise.
32644         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32645         (TRAP_TRACE): Likewise.
32646         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32647         __USE_XOPEN2K8].
32648         (CLD_KILLED): Likewise.
32649         (CLD_DUMPED): Likewise.
32650         (CLD_TRAPPED): Likewise.
32651         (CLD_STOPPED): Likewise.
32652         (CLD_CONTINUED): Likewise.
32653         (POLL_IN): Likewise.
32654         (POLL_OUT): Likewise.
32655         (POLL_MSG): Likewise.
32656         (POLL_ERR): Likewise.
32657         (POLL_PRI): Likewise.
32658         (POLL_HUP): Likewise.
32659         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
32660         (ILL_ILLOPN): Likewise.
32661         (ILL_ILLADR): Likewise.
32662         (ILL_ILLTRP): Likewise.
32663         (ILL_PRVOPC): Likewise.
32664         (ILL_PRVREG): Likewise.
32665         (ILL_COPROC): Likewise.
32666         (ILL_BADSTK): Likewise.
32667         (FPE_INTDIV): Likewise.
32668         (FPE_INTOVF): Likewise.
32669         (FPE_FLTDIV): Likewise.
32670         (FPE_FLTOVF): Likewise.
32671         (FPE_FLTUND): Likewise.
32672         (FPE_FLTRES): Likewise.
32673         (FPE_FLTINV): Likewise.
32674         (FPE_FLTSUB): Likewise.
32675         (SEGV_MAPERR): Likewise.
32676         (SEGV_ACCERR): Likewise.
32677         (BUS_ADRALN): Likewise.
32678         (BUS_ADRERR): Likewise.
32679         (BUS_OBJERR): Likewise.
32680         (BUS_MCEERR_AR): Likewise.
32681         (BUS_MCEERR_AO): Likewise.
32682         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32683         (TRAP_TRACE): Likewise.
32684         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32685         __USE_XOPEN2K8].
32686         (CLD_KILLED): Likewise.
32687         (CLD_DUMPED): Likewise.
32688         (CLD_TRAPPED): Likewise.
32689         (CLD_STOPPED): Likewise.
32690         (CLD_CONTINUED): Likewise.
32691         (POLL_IN): Likewise.
32692         (POLL_OUT): Likewise.
32693         (POLL_MSG): Likewise.
32694         (POLL_ERR): Likewise.
32695         (POLL_PRI): Likewise.
32696         (POLL_HUP): Likewise.
32697         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
32698         Likewise.
32699         (ILL_ILLOPN): Likewise.
32700         (ILL_ILLADR): Likewise.
32701         (ILL_ILLTRP): Likewise.
32702         (ILL_PRVOPC): Likewise.
32703         (ILL_PRVREG): Likewise.
32704         (ILL_COPROC): Likewise.
32705         (ILL_BADSTK): Likewise.
32706         (ILL_BADIADDR): Likewise.
32707         (ILL_BREAK): Likewise.
32708         (FPE_INTDIV): Likewise.
32709         (FPE_INTOVF): Likewise.
32710         (FPE_FLTDIV): Likewise.
32711         (FPE_FLTOVF): Likewise.
32712         (FPE_FLTUND): Likewise.
32713         (FPE_FLTRES): Likewise.
32714         (FPE_FLTINV): Likewise.
32715         (FPE_FLTSUB): Likewise.
32716         (FPE_DECOVF): Likewise.
32717         (FPE_DECDIV): Likewise.
32718         (FPE_DECERR): Likewise.
32719         (FPE_INVASC): Likewise.
32720         (FPE_INVDEC): Likewise.
32721         (SEGV_MAPERR): Likewise.
32722         (SEGV_ACCERR): Likewise.
32723         (SEGV_PSTKOVF): Likewise.
32724         (BUS_ADRALN): Likewise.
32725         (BUS_ADRERR): Likewise.
32726         (BUS_OBJERR): Likewise.
32727         (BUS_MCEERR_AR): Likewise.
32728         (BUS_MCEERR_AO): Likewise.
32729         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32730         (TRAP_TRACE): Likewise.
32731         (TRAP_BRANCH): Likewise.
32732         (TRAP_HWBKPT): Likewise.
32733         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32734         __USE_XOPEN2K8].
32735         (CLD_KILLED): Likewise.
32736         (CLD_DUMPED): Likewise.
32737         (CLD_TRAPPED): Likewise.
32738         (CLD_STOPPED): Likewise.
32739         (CLD_CONTINUED): Likewise.
32740         (POLL_IN): Likewise.
32741         (POLL_OUT): Likewise.
32742         (POLL_MSG): Likewise.
32743         (POLL_ERR): Likewise.
32744         (POLL_PRI): Likewise.
32745         (POLL_HUP): Likewise.
32746         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
32747         (ILL_ILLOPN): Likewise.
32748         (ILL_ILLADR): Likewise.
32749         (ILL_ILLTRP): Likewise.
32750         (ILL_PRVOPC): Likewise.
32751         (ILL_PRVREG): Likewise.
32752         (ILL_COPROC): Likewise.
32753         (ILL_BADSTK): Likewise.
32754         (FPE_INTDIV): Likewise.
32755         (FPE_INTOVF): Likewise.
32756         (FPE_FLTDIV): Likewise.
32757         (FPE_FLTOVF): Likewise.
32758         (FPE_FLTUND): Likewise.
32759         (FPE_FLTRES): Likewise.
32760         (FPE_FLTINV): Likewise.
32761         (FPE_FLTSUB): Likewise.
32762         (SEGV_MAPERR): Likewise.
32763         (SEGV_ACCERR): Likewise.
32764         (BUS_ADRALN): Likewise.
32765         (BUS_ADRERR): Likewise.
32766         (BUS_OBJERR): Likewise.
32767         (BUS_MCEERR_AR): Likewise.
32768         (BUS_MCEERR_AO): Likewise.
32769         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32770         (TRAP_TRACE): Likewise.
32771         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32772         __USE_XOPEN2K8].
32773         (CLD_KILLED): Likewise.
32774         (CLD_DUMPED): Likewise.
32775         (CLD_TRAPPED): Likewise.
32776         (CLD_STOPPED): Likewise.
32777         (CLD_CONTINUED): Likewise.
32778         (POLL_IN): Likewise.
32779         (POLL_OUT): Likewise.
32780         (POLL_MSG): Likewise.
32781         (POLL_ERR): Likewise.
32782         (POLL_PRI): Likewise.
32783         (POLL_HUP): Likewise.
32784         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
32785         (ILL_ILLOPN): Likewise.
32786         (ILL_ILLADR): Likewise.
32787         (ILL_ILLTRP): Likewise.
32788         (ILL_PRVOPC): Likewise.
32789         (ILL_PRVREG): Likewise.
32790         (ILL_COPROC): Likewise.
32791         (ILL_BADSTK): Likewise.
32792         (FPE_INTDIV): Likewise.
32793         (FPE_INTOVF): Likewise.
32794         (FPE_FLTDIV): Likewise.
32795         (FPE_FLTOVF): Likewise.
32796         (FPE_FLTUND): Likewise.
32797         (FPE_FLTRES): Likewise.
32798         (FPE_FLTINV): Likewise.
32799         (FPE_FLTSUB): Likewise.
32800         (SEGV_MAPERR): Likewise.
32801         (SEGV_ACCERR): Likewise.
32802         (BUS_ADRALN): Likewise.
32803         (BUS_ADRERR): Likewise.
32804         (BUS_OBJERR): Likewise.
32805         (BUS_MCEERR_AR): Likewise.
32806         (BUS_MCEERR_AO): Likewise.
32807         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32808         (TRAP_TRACE): Likewise.
32809         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32810         __USE_XOPEN2K8].
32811         (CLD_KILLED): Likewise.
32812         (CLD_DUMPED): Likewise.
32813         (CLD_TRAPPED): Likewise.
32814         (CLD_STOPPED): Likewise.
32815         (CLD_CONTINUED): Likewise.
32816         (POLL_IN): Likewise.
32817         (POLL_OUT): Likewise.
32818         (POLL_MSG): Likewise.
32819         (POLL_ERR): Likewise.
32820         (POLL_PRI): Likewise.
32821         (POLL_HUP): Likewise.
32822         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
32823         (ILL_ILLOPN): Likewise.
32824         (ILL_ILLADR): Likewise.
32825         (ILL_ILLTRP): Likewise.
32826         (ILL_PRVOPC): Likewise.
32827         (ILL_PRVREG): Likewise.
32828         (ILL_COPROC): Likewise.
32829         (ILL_BADSTK): Likewise.
32830         (FPE_INTDIV): Likewise.
32831         (FPE_INTOVF): Likewise.
32832         (FPE_FLTDIV): Likewise.
32833         (FPE_FLTOVF): Likewise.
32834         (FPE_FLTUND): Likewise.
32835         (FPE_FLTRES): Likewise.
32836         (FPE_FLTINV): Likewise.
32837         (FPE_FLTSUB): Likewise.
32838         (SEGV_MAPERR): Likewise.
32839         (SEGV_ACCERR): Likewise.
32840         (BUS_ADRALN): Likewise.
32841         (BUS_ADRERR): Likewise.
32842         (BUS_OBJERR): Likewise.
32843         (BUS_MCEERR_AR): Likewise.
32844         (BUS_MCEERR_AO): Likewise.
32845         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32846         (TRAP_TRACE): Likewise.
32847         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32848         __USE_XOPEN2K8].
32849         (CLD_KILLED): Likewise.
32850         (CLD_DUMPED): Likewise.
32851         (CLD_TRAPPED): Likewise.
32852         (CLD_STOPPED): Likewise.
32853         (CLD_CONTINUED): Likewise.
32854         (POLL_IN): Likewise.
32855         (POLL_OUT): Likewise.
32856         (POLL_MSG): Likewise.
32857         (POLL_ERR): Likewise.
32858         (POLL_PRI): Likewise.
32859         (POLL_HUP): Likewise.
32860         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
32861         (ILL_ILLOPN): Likewise.
32862         (ILL_ILLADR): Likewise.
32863         (ILL_ILLTRP): Likewise.
32864         (ILL_PRVOPC): Likewise.
32865         (ILL_PRVREG): Likewise.
32866         (ILL_COPROC): Likewise.
32867         (ILL_BADSTK): Likewise.
32868         (ILL_DBLFLT): Likewise.
32869         (ILL_HARDWALL): Likewise.
32870         (FPE_INTDIV): Likewise.
32871         (FPE_INTOVF): Likewise.
32872         (FPE_FLTDIV): Likewise.
32873         (FPE_FLTOVF): Likewise.
32874         (FPE_FLTUND): Likewise.
32875         (FPE_FLTRES): Likewise.
32876         (FPE_FLTINV): Likewise.
32877         (FPE_FLTSUB): Likewise.
32878         (SEGV_MAPERR): Likewise.
32879         (SEGV_ACCERR): Likewise.
32880         (BUS_ADRALN): Likewise.
32881         (BUS_ADRERR): Likewise.
32882         (BUS_OBJERR): Likewise.
32883         (BUS_MCEERR_AR): Likewise.
32884         (BUS_MCEERR_AO): Likewise.
32885         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32886         (TRAP_TRACE): Likewise.
32887         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32888         __USE_XOPEN2K8].
32889         (CLD_KILLED): Likewise.
32890         (CLD_DUMPED): Likewise.
32891         (CLD_TRAPPED): Likewise.
32892         (CLD_STOPPED): Likewise.
32893         (CLD_CONTINUED): Likewise.
32894         (POLL_IN): Likewise.
32895         (POLL_OUT): Likewise.
32896         (POLL_MSG): Likewise.
32897         (POLL_ERR): Likewise.
32898         (POLL_PRI): Likewise.
32899         (POLL_HUP): Likewise.
32900         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
32901         (ILL_ILLOPN): Likewise.
32902         (ILL_ILLADR): Likewise.
32903         (ILL_ILLTRP): Likewise.
32904         (ILL_PRVOPC): Likewise.
32905         (ILL_PRVREG): Likewise.
32906         (ILL_COPROC): Likewise.
32907         (ILL_BADSTK): Likewise.
32908         (FPE_INTDIV): Likewise.
32909         (FPE_INTOVF): Likewise.
32910         (FPE_FLTDIV): Likewise.
32911         (FPE_FLTOVF): Likewise.
32912         (FPE_FLTUND): Likewise.
32913         (FPE_FLTRES): Likewise.
32914         (FPE_FLTINV): Likewise.
32915         (FPE_FLTSUB): Likewise.
32916         (SEGV_MAPERR): Likewise.
32917         (SEGV_ACCERR): Likewise.
32918         (BUS_ADRALN): Likewise.
32919         (BUS_ADRERR): Likewise.
32920         (BUS_OBJERR): Likewise.
32921         (BUS_MCEERR_AR): Likewise.
32922         (BUS_MCEERR_AO): Likewise.
32923         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32924         (TRAP_TRACE): Likewise.
32925         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32926         __USE_XOPEN2K8].
32927         (CLD_KILLED): Likewise.
32928         (CLD_DUMPED): Likewise.
32929         (CLD_TRAPPED): Likewise.
32930         (CLD_STOPPED): Likewise.
32931         (CLD_CONTINUED): Likewise.
32932         (POLL_IN): Likewise.
32933         (POLL_OUT): Likewise.
32934         (POLL_MSG): Likewise.
32935         (POLL_ERR): Likewise.
32936         (POLL_PRI): Likewise.
32937         (POLL_HUP): Likewise.
32938         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
32939         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32941         [BZ #16670]
32942         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
32943         before #include of <time.h>.
32944         [!__USE_XOPEN2K] (__need_timespec): Likewise.
32945         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
32946         (test-xfail-UNIX98/sched.h/conform): Likewise.
32948 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32950         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
32951         error absence of trapping exception support.
32952         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32954 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32956         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
32957         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
32958         * timezone/Makefile (testdata): Move definition above include of
32959         Rules.
32960         (test-zones): New variable.
32961         (tests-special): Add zone files.
32962         (build-testdata): Use $(evaluate-test).
32964         * elf/Makefile (tests-special): Rename tests to end with .out.
32965         ($(objpfx)noload-mem): Likewise.
32966         ($(objpfx)tst-leaks1-mem): Likewise.
32967         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
32968         * iconv/Makefile (xtests-special): Change test-iconvconfig to
32969         $(objpfx)test-iconvconfig.out.
32970         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
32971         set -e inside subshell and redirect output to file.
32972         * iconvdata/Makefile (generated): Rename tests to end with .out.
32973         Correct type.
32974         (tests-special): Rename tests to end with .out.
32975         ($(objpfx)mtrace-tst-loading): Likewise.
32976         * intl/Makefile (generated): Likewise.
32977         (tests-special): Likewise.
32978         ($(objpfx)mtrace-tst-gettext): Likewise.
32979         * misc/Makefile (generated): Likewise.
32980         (tests-special): Likewise.
32981         ($(objpfx)tst-error1-mem): Likewise.
32982         * nptl/Makefile (tests-special): Likewise.
32983         ($(objpfx)tst-stack3-mem): Likewise.
32984         (generated): Likewise.
32985         * posix/Makefile (generated): Likewise.
32986         (tests-special): Likewise.
32987         (xtests-special): Likewise.
32988         ($(objpfx)tst-fnmatch-mem): Likewise.
32989         ($(objpfx)bug-regex2-mem): Likewise.
32990         ($(objpfx)bug-regex14-mem): Likewise.
32991         ($(objpfx)bug-regex21-mem): Likewise.
32992         ($(objpfx)bug-regex31-mem): Likewise.
32993         ($(objpfx)tst-vfork3-mem): Likewise.
32994         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32995         ($(objpfx)tst-pcre-mem): Likewise.
32996         ($(objpfx)tst-boost-mem): Likewise.
32997         ($(objpfx)bug-ga2-mem): Likewise.
32998         ($(objpfx)bug-glob2-mem): Likewise.
32999         * resolv/Makefile (generate): Likewise.
33000         (tests-special): Likewise.
33001         (xtests-special): Likewise.
33002         (generated): Likewise.
33003         ($(objpfx)mtrace-tst-leaks): Likewise.
33004         ($(objpfx)mtrace-tst-leaks2): Likewise.
33006         * scripts/merge-test-results.sh: New file.
33007         * Makefile (tests-special-notdir): New variable.
33008         (tests): Run merge-test-results.sh.
33009         (xtests): Likewise.
33010         * Rules (tests-special-notdir): New variable.
33011         (xtests-special-notdir): Likewise.
33012         (tests): Run merge-test-results.sh
33013         (xtests): Likewise.
33015         * Makeconfig (test-xfail-name): New variable.
33016         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
33017         compute variable name for expected failures.
33018         * conform/Makefile (conformtest-headers-data): New variable.
33019         (conformtest-standards): Likewise.
33020         (conformtest-headers-ISO): Likewise.
33021         (conformtest-headers-ISO99): Likewise.
33022         (conformtest-headers-ISO11): Likewise.
33023         (conformtest-headers-POSIX): Likewise.
33024         (conformtest-headers-XPG3): Likewise.
33025         (conformtest-headers-XPG4): Likewise.
33026         (conformtest-headers-UNIX98): Likewise.
33027         (conformtest-headers-XOPEN2K): Likewise.
33028         (conformtest-headers-POSIX2008): Likewise.
33029         (conformtest-headers-XOPEN2K8): Likewise.
33030         (conformtest-header-list-base): Likewise.
33031         (conformtest-header-list-tests): Likewise.
33032         (conformtest-header-base): Likewise.
33033         (conformtest-header-tests): Likewise.
33034         (tests-special): Add $(conformtest-header-list-tests).  If
33035         [$(fast-check) && !$(cross-compiling)], add
33036         $(conformtest-header-tests) instead of
33037         $(objpfx)run-conformtest.out.
33038         (generated): Add $(conformtest-header-list-base).  If
33039         [$(fast-check) && !$(cross-compiling)], add
33040         $(conformtest-header-base).  Remove previous setting.
33041         ($(conformtest-header-list-tests)): New target.
33042         (test-xfail-run-conformtest): Remove variable.
33043         ($(objpfx)run-conformtest.out): Remove target.
33044         (test-xfail-ISO11/complex.h/conform): New variable.
33045         (test-xfail-ISO11/stdalign.h/conform): Likewise.
33046         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
33047         (test-xfail-XPG3/varargs.h/conform): Likewise.
33048         (test-xfail-XPG4/varargs.h/conform): Likewise.
33049         (test-xfail-UNIX98/varargs.h/conform): Likewise.
33050         (test-xfail-XPG4/ndbm.h/conform): Likewise.
33051         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
33052         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
33053         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
33054         (test-xfail-XPG3/fcntl.h/conform): Likewise.
33055         (test-xfail-XPG3/ftw.h/conform): Likewise.
33056         (test-xfail-XPG3/grp.h/conform): Likewise.
33057         (test-xfail-XPG3/langinfo.h/conform): Likewise.
33058         (test-xfail-XPG3/limits.h/conform): Likewise.
33059         (test-xfail-XPG3/pwd.h/conform): Likewise.
33060         (test-xfail-XPG3/search.h/conform): Likewise.
33061         (test-xfail-XPG3/signal.h/conform): Likewise.
33062         (test-xfail-XPG3/stdio.h/conform): Likewise.
33063         (test-xfail-XPG3/stdlib.h/conform): Likewise.
33064         (test-xfail-XPG3/string.h/conform): Likewise.
33065         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
33066         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
33067         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33068         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33069         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
33070         (test-xfail-XPG3/sys/types.h/conform): Likewise.
33071         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
33072         (test-xfail-XPG3/termios.h/conform): Likewise.
33073         (test-xfail-XPG3/time.h/conform): Likewise.
33074         (test-xfail-XPG3/unistd.h/conform): Likewise.
33075         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
33076         (test-xfail-XPG4/fcntl.h/conform): Likewise.
33077         (test-xfail-XPG4/langinfo.h/conform): Likewise.
33078         (test-xfail-XPG4/netdb.h/conform): Likewise.
33079         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
33080         (test-xfail-XPG4/signal.h/conform): Likewise.
33081         (test-xfail-XPG4/stdio.h/conform): Likewise.
33082         (test-xfail-XPG4/stdlib.h/conform): Likewise.
33083         (test-xfail-XPG4/stropts.h/conform): Likewise.
33084         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33085         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33086         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33087         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33088         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33089         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
33090         (test-xfail-XPG4/sys/time.h/conform): Likewise.
33091         (test-xfail-XPG4/sys/types.h/conform): Likewise.
33092         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
33093         (test-xfail-XPG4/termios.h/conform): Likewise.
33094         (test-xfail-XPG4/ucontext.h/conform): Likewise.
33095         (test-xfail-XPG4/unistd.h/conform): Likewise.
33096         (test-xfail-XPG4/utmpx.h/conform): Likewise.
33097         (test-xfail-POSIX/sched.h/conform): Likewise.
33098         (test-xfail-POSIX/signal.h/conform): Likewise.
33099         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33100         (test-xfail-POSIX/tar.h/conform): Likewise.
33101         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
33102         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
33103         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
33104         (test-xfail-UNIX98/netdb.h/conform): Likewise.
33105         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
33106         (test-xfail-UNIX98/sched.h/conform): Likewise.
33107         (test-xfail-UNIX98/signal.h/conform): Likewise.
33108         (test-xfail-UNIX98/stdio.h/conform): Likewise.
33109         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
33110         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33111         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33112         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33113         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33114         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33115         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33116         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
33117         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33118         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33119         (test-xfail-UNIX98/unistd.h/conform): Likewise.
33120         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
33121         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
33122         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
33123         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
33124         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
33125         (test-xfail-XOPEN2K/math.h/conform): Likewise.
33126         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
33127         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33128         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33129         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
33130         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33131         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
33132         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
33133         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33134         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33135         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33136         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33137         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33138         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33139         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33140         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
33141         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
33142         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33143         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33144         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
33145         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33146         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
33147         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
33148         (test-xfail-POSIX2008/signal.h/conform): Likewise.
33149         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33150         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
33151         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33152         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33153         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33154         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
33155         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
33156         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33157         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33158         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33159         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
33160         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33161         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33162         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33163         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
33164         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33165         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33166         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33167         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33168         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33169         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
33170         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
33171         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
33172         (conformtest-cc-flags): Likewise.
33173         ($(conformtest-header-tests): New target.
33174         * conform/check-header-lists.sh: New file.
33175         * conform/run-conformtest.sh: Remove.
33177         * conform/conformtest.pl: Allow ' and \ in values given for
33178         constants.
33179         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
33180         inclusion.
33181         [POSIX] (sys/types.h): Likewise.
33182         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
33183         inclusion.
33184         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
33185         inclusion.
33186         * conform/data/signal.h-data (SIGIO): Remove expectation.
33187         [XPG3] (SIGBUS): Do not expect.
33188         [POSIX || XPG3] (SIGPOLL): Likewise.
33189         [POSIX || XPG3] (SIGPROF): Likewise.
33190         [POSIX || XPG3] (SIGSYS): Likewise.
33191         [XPG3] (SIGTRAP): Likewise.
33192         [POSIX || XPG3] (SIGURG): Likewise.
33193         [POSIX || XPG3] (SIGVTALRM): Likewise.
33194         [POSIX || XPG3] (SIGXCPU): Likewise.
33195         [POSIX || XPG3] (SIGXFSZ): Likewise.
33196         [POSIX] (SA_SIGINFO): Expect.
33197         [XPG3] (siginfo_t): Do not expect type or contents.
33198         [POSIX] (si_pid): Do not expect element.
33199         [POSIX] (si_uid): Likewise.
33200         [POSIX] (si_addr): Likewise.
33201         [POSIX] (si_status): Likewise.
33202         [POSIX] (si_band): Likewise.
33203         [XPG4] (si_value): Likewise.
33204         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
33205         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
33206         [POSIX || XPG3] (ILL_ILLADR): Likewise.
33207         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
33208         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
33209         [POSIX || XPG3] (ILL_PRVREG): Likewise.
33210         [POSIX || XPG3] (ILL_COPROC): Likewise.
33211         [POSIX || XPG3] (ILL_BADSTK): Likewise.
33212         [POSIX || XPG3] (FPE_INTDIV): Likewise.
33213         [POSIX || XPG3] (FPE_INTOVF): Likewise.
33214         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
33215         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
33216         [POSIX || XPG3] (FPE_FLTUND): Likewise.
33217         [POSIX || XPG3] (FPE_FLTRES): Likewise.
33218         [POSIX || XPG3] (FPE_FLTINV): Likewise.
33219         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
33220         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
33221         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
33222         [POSIX || XPG3] (BUS_ADRALN): Likewise.
33223         [POSIX || XPG3] (BUS_ADRERR): Likewise.
33224         [POSIX || XPG3] (BUS_OBJERR): Likewise.
33225         [POSIX || XPG3] (CLD_EXITED): Likewise.
33226         [POSIX || XPG3] (CLD_KILLED): Likewise.
33227         [POSIX || XPG3] (CLD_DUMPED): Likewise.
33228         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
33229         [POSIX || XPG3] (CLD_STOPPED): Likewise.
33230         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
33231         [POSIX || XPG3] (POLL_IN): Likewise.
33232         [POSIX || XPG3] (POLL_OUT): Likewise.
33233         [POSIX || XPG3] (POLL_MSG): Likewise.
33234         [POSIX || XPG3] (POLL_ERR): Likewise.
33235         [POSIX || XPG3] (POLL_PRI): Likewise.
33236         [POSIX || XPG3] (POLL_HUP): Likewise.
33237         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
33238         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
33239         (SIG*): Do not allow.
33240         [XPG3] (si_*): Likewise.
33241         [XPG3] (SI_*): Likewise.
33242         [XPG3 || XPG4] (sigev_*): Likewise.
33243         [XPG3 || XPG4] (SIGEV_*): Likewise.
33244         [XPG3 || XPG4] (sival_*): Likewise.
33245         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
33246         [POSIX || XPG3] (BUS_*): Likewise.
33247         [POSIX || XPG3] (CLD_*): Likewise.
33248         [POSIX || XPG3] (FPE_*): Likewise.
33249         [POSIX || XPG3] (ILL_*): Likewise.
33250         [POSIX || XPG3] (POLL_*): Likewise.
33251         [POSIX || XPG3] (SEGV_*): Likewise.
33252         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
33253         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
33254         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
33255         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
33256         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
33257         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
33258         Specify type and value.
33259         (TVERSLEN): Likewise.
33260         (REGTYPE): Likewise.
33261         (AREGTYPE): Likewise.
33262         (LNKTYPE): Likewise.
33263         (SYMTYPE): Likewise.
33264         (CHRTYPE): Likewise.
33265         (BLKTYPE): Likewise.
33266         (DIRTYPE): Likewise.
33267         (FIFOTYPE): Likewise.
33268         (CONTTYPE): Likewise.
33269         (TSUID): Likewise.
33270         (TSGID): Likewise.
33271         (TSVTX): Likewise.
33272         (TUREAD): Likewise.
33273         (TUWRITE): Likewise.
33274         (TUEXEC): Likewise.
33275         (TGREAD): Likewise.
33276         (TGWRITE): Likewise.
33277         (TGEXEC): Likewise.
33278         (TOREAD): Likewise.
33279         (TOWRITE): Likewise.
33280         (TOEXEC): Likewise.
33281         [POSIX] (TSVTX): Expect constant.
33283 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
33285         * Makefile (tests): Change dependencies to ....
33286         (tests-special): ... additions to this variable.
33287         (tests): Depend on $(tests-special).
33288         * Makerules (check-abi-list): New variable.
33289         (check-abi): Depend on $(check-abi-list).
33290         [$(subdir) = elf] (tests-special): Add
33291         $(objpfx)check-abi-libc.out.
33292         [$(build-shared) = yes && subdir] (tests-special): Add
33293         $(check-abi-list).
33294         [$(build-shared) = yes && subdir] (tests): Do not depend on
33295         check-abi.
33296         * Rules (tests): Depend on $(tests-special).
33297         (xtests): Depend on $(xtests-special).
33298         * catgets/Makefile (tests): Change dependencies to ....
33299         (tests-special): ... additions to this variable.
33300         * conform/Makefile (tests): Change dependencies to ....
33301         (tests-special): ... additions to this variable.
33302         * elf/Makefile (tests): Change dependencies to ....
33303         (tests-special): ... additions to this variable.
33304         * grp/Makefile (tests): Change dependencies to ....
33305         (tests-special): ... additions to this variable.
33306         * iconv/Makefile (xtests): Change dependencies to ....
33307         (xtests-special): ... additions to this variable.
33308         * iconvdata/Makefile (tests): Change dependencies to ....
33309         (tests-special): ... additions to this variable.
33310         * intl/Makefile (tests): Change dependencies to ....
33311         (tests-special): ... additions to this variable.  Also add
33312         $(objpfx)tst-gettext.out.
33313         * io/Makefile (tests): Change dependencies to ....
33314         (tests-special): ... additions to this variable.
33315         * libio/Makefile (tests): Change dependencies to ....
33316         (tests-special): ... additions to this variable.
33317         * malloc/Makefile (tests): Change dependencies to ....
33318         (tests-special): ... additions to this variable.
33319         * misc/Makefile (tests): Change dependencies to ....
33320         (tests-special): ... additions to this variable.
33321         * nptl/Makefile (tests): Change dependencies to ....
33322         (tests-special): ... additions to this variable.
33323         * nptl_db/Makefile (tests): Change dependencies to ....
33324         (tests-special): ... additions to this variable.
33325         * posix/Makefile (tests): Change dependencies to ....
33326         (tests-special): ... additions to this variable.
33327         (xtests): Change dependencies to ....
33328         (xtests-special): ... additions to this variable.
33329         * resolv/Makefile (tests): Change dependencies to ....
33330         (tests-special): ... additions to this variable.
33331         (xtests): Change dependencies to ....
33332         (xtests-special): ... additions to this variable.
33333         * stdio-common/Makefile (tests): Change dependencies to ....
33334         (tests-special): ... additions to this variable.
33335         (do-tst-unbputc): Remove target.
33336         (do-tst-printf): Likewise.
33337         * stdlib/Makefile (tests): Change dependencies to ....
33338         (tests-special): ... additions to this variable.
33339         * string/Makefile (tests): Change dependencies to ....
33340         (tests-special): ... additions to this variable.
33341         * sysdeps/x86/Makefile (tests): Change dependencies to ....
33342         (tests-special): ... additions to this variable.
33344         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
33345         whole file.
33346         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
33347         whole file.
33348         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
33349         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
33351         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
33352         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
33353         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
33354         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
33355         * conform/data/libgen.h-data [XPG3]: Likewise.
33356         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
33357         * conform/data/ndbm.h-data [XPG3]: Likewise.
33358         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33359         * conform/data/netdb.h-data [XPG3]: Likewise.
33360         * conform/data/netinet/in.h-data [XPG3]: Likewise.
33361         * conform/data/poll.h-data [XPG3]: Likewise.
33362         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33363         * conform/data/strings.h-data [XPG3]: Likewise.
33364         * conform/data/stropts.h-data [XPG3]: Likewise.
33365         * conform/data/sys/mman.h-data [XPG3]: Likewise.
33366         * conform/data/sys/resource.h-data [XPG3]: Likewise.
33367         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
33368         Likewise.
33369         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
33370         * conform/data/sys/time.h-data [XPG3]: Likewise.
33371         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
33372         * conform/data/sys/uio.h-data [XPG3]: Likewise.
33373         * conform/data/sys/un.h-data [XPG3]: Likewise.
33374         * conform/data/syslog.h-data [XPG3]: Likewise.
33375         * conform/data/ucontext.h-data [XPG3]: Likewise.
33376         * conform/data/utmpx.h-data [XPG3]: Likewise.
33377         * conform/data/varargs.h-data [UNIX98]: Enable file.
33379         * manual/Makefile (INSTALL_INFO): Remove variable setting.
33381         * math/libm-test.inc (struct test_f_f_data): Move expected results
33382         into structure for each rounding mode.
33383         (struct test_ff_f_data): Likewise.
33384         (struct test_ff_f_data_nexttoward): Likewise.
33385         (struct test_fi_f_data): Likewise.
33386         (struct test_fl_f_data): Likewise.
33387         (struct test_if_f_data): Likewise.
33388         (struct test_fff_f_data): Likewise.
33389         (struct test_c_f_data): Likewise.
33390         (struct test_f_f1_data): Likewise.
33391         (struct test_fF_f1_data): Likewise.
33392         (struct test_ffI_f1_data): Likewise.
33393         (struct test_c_c_data): Likewise.
33394         (struct test_cc_c_data): Likewise.
33395         (struct test_f_i_data): Likewise.
33396         (struct test_ff_i_data): Likewise.
33397         (struct test_f_l_data): Likewise.
33398         (struct test_f_L_data): Likewise.
33399         (struct test_fFF_11_data): Likewise.
33400         (RM_): New macro.
33401         (RM_FE_DOWNWARD): Likewise.
33402         (RM_FE_TONEAREST): Likewise.
33403         (RM_FE_TOWARDZERO): Likewise.
33404         (RM_FE_UPWARD): Likewise.
33405         (RUN_TEST_LOOP_f_f): Update references to expected results.
33406         (RUN_TEST_LOOP_2_f): Likewise.
33407         (RUN_TEST_LOOP_fff_f): Likewise.
33408         (RUN_TEST_LOOP_c_f): Likewise.
33409         (RUN_TEST_LOOP_f_f1): Likewise.
33410         (RUN_TEST_LOOP_fF_f1): Likewise.
33411         (RUN_TEST_LOOP_fI_f1): Likewise.
33412         (RUN_TEST_LOOP_ffI_f1): Likewise.
33413         (RUN_TEST_LOOP_c_c): Likewise.
33414         (RUN_TEST_LOOP_cc_c): Likewise.
33415         (RUN_TEST_LOOP_f_i): Likewise.
33416         (RUN_TEST_LOOP_f_i_tg): Likewise.
33417         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33418         (RUN_TEST_LOOP_f_b): Likewise.
33419         (RUN_TEST_LOOP_f_b_tg): Likewise.
33420         (RUN_TEST_LOOP_f_l): Likewise.
33421         (RUN_TEST_LOOP_f_L): Likewise.
33422         (RUN_TEST_LOOP_fFF_11): Likewise.
33423         * math/gen-libm-test.pl (parse_args): Output four copies of
33424         expected results for each test.
33426         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33427         (__ASSUME_UTIMES): Remove.
33428         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33429         (__ASSUME_UTIMES): Likewise.
33431         * math/gen-auto-libm-tests.c: Update comment on output format.
33432         (output_for_one_input_case): Generate before-rounding and
33433         after-rounding information as conditions on output flags not
33434         floating-point format.
33435         * math/auto-libm-test-out: Regenerated.
33436         * math/gen-libm-test.pl (cond_value): New function.
33437         (or_cond_value): Use cond_value.
33438         (generate_testfile): Handle conditional exceptions.
33440 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
33442         * math/libm-test.inc (max_valid_error): New variable.
33443         (init_max_error): Take new argument specifying whether function
33444         results are exactly determined.  Set max_valid_error and bound
33445         other variables for errors based on this argument.
33446         (set_max_error): Do not record results above max_valid_error.
33447         (check_float_internal): Only accept errors of up to 0.5ulps if
33448         also at most max_valid_error.
33449         (START): Take new argument EXACT and pass it to init_max_error.
33450         (acos_test): Update call to START.
33451         (acos_test_tonearest): Likewise.
33452         (acos_test_towardzero): Likewise.
33453         (acos_test_downward): Likewise.
33454         (acos_test_upward): Likewise.
33455         (acosh_test): Likewise.
33456         (asin_test): Likewise.
33457         (asin_test_tonearest): Likewise.
33458         (asin_test_towardzero): Likewise.
33459         (asin_test_downward): Likewise.
33460         (asin_test_upward): Likewise.
33461         (asinh_test): Likewise.
33462         (atan_test): Likewise.
33463         (atanh_test): Likewise.
33464         (atan2_test): Likewise.
33465         (cabs_test): Likewise.
33466         (cacos_test): Likewise.
33467         (cacosh_test): Likewise.
33468         (carg_test): Likewise.
33469         (casin_test): Likewise.
33470         (casinh_test): Likewise.
33471         (catan_test): Likewise.
33472         (catanh_test): Likewise.
33473         (cbrt_test): Likewise.
33474         (ccos_test): Likewise.
33475         (ccosh_test): Likewise.
33476         (ceil_test): Likewise.
33477         (cexp_test): Likewise.
33478         (cimag_test): Likewise.
33479         (clog_test): Likewise.
33480         (clog10_test): Likewise.
33481         (conj_test): Likewise.
33482         (copysign_test): Likewise.
33483         (cos_test): Likewise.
33484         (cos_test_tonearest): Likewise.
33485         (cos_test_towardzero): Likewise.
33486         (cos_test_downward): Likewise.
33487         (cos_test_upward): Likewise.
33488         (cosh_test): Likewise.
33489         (cosh_test_tonearest): Likewise.
33490         (cosh_test_towardzero): Likewise.
33491         (cosh_test_downward): Likewise.
33492         (cosh_test_upward): Likewise.
33493         (cpow_test): Likewise.
33494         (cproj_test): Likewise.
33495         (creal_test): Likewise.
33496         (csin_test): Likewise.
33497         (csinh_test): Likewise.
33498         (csqrt_test): Likewise.
33499         (ctan_test): Likewise.
33500         (ctan_test_tonearest): Likewise.
33501         (ctan_test_towardzero): Likewise.
33502         (ctan_test_downward): Likewise.
33503         (ctan_test_upward): Likewise.
33504         (ctanh_test): Likewise.
33505         (ctanh_test_tonearest): Likewise.
33506         (ctanh_test_towardzero): Likewise.
33507         (ctanh_test_downward): Likewise.
33508         (ctanh_test_upward): Likewise.
33509         (erf_test): Likewise.
33510         (erfc_test): Likewise.
33511         (exp_test): Likewise.
33512         (exp_test_tonearest): Likewise.
33513         (exp_test_towardzero): Likewise.
33514         (exp_test_downward): Likewise.
33515         (exp_test_upward): Likewise.
33516         (exp10_test): Likewise.
33517         (exp10_test_tonearest): Likewise.
33518         (exp10_test_towardzero): Likewise.
33519         (exp10_test_downward): Likewise.
33520         (exp10_test_upward): Likewise.
33521         (pow10_test): Likewise.
33522         (exp2_test): Likewise.
33523         (expm1_test): Likewise.
33524         (expm1_test_tonearest): Likewise.
33525         (expm1_test_towardzero): Likewise.
33526         (expm1_test_downward): Likewise.
33527         (expm1_test_upward): Likewise.
33528         (fabs_test): Likewise.
33529         (fdim_test): Likewise.
33530         (floor_test): Likewise.
33531         (fma_test): Likewise.
33532         (fma_test_towardzero): Likewise.
33533         (fma_test_downward): Likewise.
33534         (fma_test_upward): Likewise.
33535         (fmax_test): Likewise.
33536         (fmin_test): Likewise.
33537         (fmod_test): Likewise.
33538         (fpclassify_test): Likewise.
33539         (frexp_test): Likewise.
33540         (hypot_test): Likewise.
33541         (ilogb_test): Likewise.
33542         (isfinite_test): Likewise.
33543         (finite_test): Likewise.
33544         (isgreater_test): Likewise.
33545         (isgreaterequal_test): Likewise.
33546         (isinf_test): Likewise.
33547         (isless_test): Likewise.
33548         (islessequal_test): Likewise.
33549         (islessgreater_test): Likewise.
33550         (isnan_test): Likewise.
33551         (isnormal_test): Likewise.
33552         (issignaling_test): Likewise.
33553         (isunordered_test): Likewise.
33554         (j0_test): Likewise.
33555         (j1_test): Likewise.
33556         (jn_test): Likewise.
33557         (ldexp_test): Likewise.
33558         (lgamma_test): Likewise.
33559         (gamma_test): Likewise.
33560         (lrint_test): Likewise.
33561         (lrint_test_tonearest): Likewise.
33562         (lrint_test_towardzero): Likewise.
33563         (lrint_test_downward): Likewise.
33564         (lrint_test_upward): Likewise.
33565         (llrint_test): Likewise.
33566         (llrint_test_tonearest): Likewise.
33567         (llrint_test_towardzero): Likewise.
33568         (llrint_test_downward): Likewise.
33569         (llrint_test_upward): Likewise.
33570         (log_test): Likewise.
33571         (log10_test): Likewise.
33572         (log1p_test): Likewise.
33573         (log2_test): Likewise.
33574         (logb_test): Likewise.
33575         (logb_test_downward): Likewise.
33576         (lround_test): Likewise.
33577         (llround_test): Likewise.
33578         (modf_test): Likewise.
33579         (nearbyint_test): Likewise.
33580         (nextafter_test): Likewise.
33581         (nexttoward_test): Likewise.
33582         (pow_test): Likewise.
33583         (pow_test_tonearest): Likewise.
33584         (pow_test_towardzero): Likewise.
33585         (pow_test_downward): Likewise.
33586         (pow_test_upward): Likewise.
33587         (remainder_test): Likewise.
33588         (drem_test): Likewise.
33589         (remainder_test_tonearest): Likewise.
33590         (drem_test_tonearest): Likewise.
33591         (remainder_test_towardzero): Likewise.
33592         (drem_test_towardzero): Likewise.
33593         (remainder_test_downward): Likewise.
33594         (drem_test_downward): Likewise.
33595         (remainder_test_upward): Likewise.
33596         (drem_test_upward): Likewise.
33597         (remquo_test): Likewise.
33598         (rint_test): Likewise.
33599         (rint_test_tonearest): Likewise.
33600         (rint_test_towardzero): Likewise.
33601         (rint_test_downward): Likewise.
33602         (rint_test_upward): Likewise.
33603         (round_test): Likewise.
33604         (scalb_test): Likewise.
33605         (scalbn_test): Likewise.
33606         (scalbln_test): Likewise.
33607         (signbit_test): Likewise.
33608         (sin_test): Likewise.
33609         (sin_test_tonearest): Likewise.
33610         (sin_test_towardzero): Likewise.
33611         (sin_test_downward): Likewise.
33612         (sin_test_upward): Likewise.
33613         (sincos_test): Likewise.
33614         (sinh_test): Likewise.
33615         (sinh_test_tonearest): Likewise.
33616         (sinh_test_towardzero): Likewise.
33617         (sinh_test_downward): Likewise.
33618         (sinh_test_upward): Likewise.
33619         (sqrt_test): Likewise.
33620         (sqrt_test_tonearest): Likewise.
33621         (sqrt_test_towardzero): Likewise.
33622         (sqrt_test_downward): Likewise.
33623         (sqrt_test_upward): Likewise.
33624         (tan_test): Likewise.
33625         (tan_test_tonearest): Likewise.
33626         (tan_test_towardzero): Likewise.
33627         (tan_test_downward): Likewise.
33628         (tan_test_upward): Likewise.
33629         (tanh_test): Likewise.
33630         (tgamma_test): Likewise.
33631         (trunc_test): Likewise.
33632         (y0_test): Likewise.
33633         (y1_test): Likewise.
33634         (yn_test): Likewise.
33635         (significand_test): Likewise.
33637         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
33638         individual tests in comment.
33639         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
33640         (prev_max_error): New variable.
33641         (prev_real_max_error): Likewise.
33642         (prev_imag_max_error): Likewise.
33643         (compare_ulp_data): Don't refer to test names in comment.
33644         (find_test_ulps): Remove function.
33645         (find_function_ulps): Likewise.
33646         (find_complex_function_ulps): Likewise.
33647         (init_max_error): Take function name as argument.  Look up ulps
33648         for that function.
33649         (print_ulps): Remove function.
33650         (print_max_error): Use prev_max_error instead of calling
33651         find_function_ulps.
33652         (print_complex_max_error): Use prev_real_max_error and
33653         prev_imag_max_error instead of calling find_complex_function_ulps.
33654         (check_float_internal): Take max_ulp parameter instead of calling
33655         find_test_ulps.  Don't call print_ulps.
33656         (check_float): Update call to check_float_internal.
33657         (check_complex): Update calls to check_float_internal.
33658         (START): Pass argument to init_max_error.
33659         * math/gen-libm-test.pl (%results): Don't include "kind"
33660         information.
33661         (parse_ulps): Don't handle ulps of individual tests.
33662         (print_ulps_file): Likewise.
33663         (output_ulps): Likewise.
33664         * math/README.libm-test: Update.
33665         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
33666         individual tests.
33667         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
33668         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33669         * sysdeps/arm/libm-test-ulps: Likewise.
33670         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33671         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
33672         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
33673         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
33674         * sysdeps/microblaze/libm-test-ulps: Likewise.
33675         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33676         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33677         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33678         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33679         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33680         * sysdeps/sh/libm-test-ulps: Likewise.
33681         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33682         * sysdeps/tile/libm-test-ulps: Likewise.
33683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33685 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
33687         * math/libm-test.inc (print_complex_max_error): Check separately
33688         whether real and imaginary errors are within allowed range and
33689         pass 0 to print_complex_function_ulps instead of value within
33690         allowed range.
33692 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33694         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
33695         formatting.
33696         (get_handles_fopen): Likewise.
33697         (do_write_test): Likewise.
33699         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
33701         * libio/fileops.c (do_ftell): Use cached offset when
33702         available.
33703         * libio/iofwide.c (do_ftell_wide): Likewise.
33704         * libio/iofdopen.c (_IO_new_fdopen): Don't use
33705         _IO_file_attach.
33706         * libio/wfileops.c (_IO_fwide): Don't cache offset.
33708         [BZ #16532]
33709         * libio/libioP.h (get_file_offset): New function.
33710         * libio/fileops.c (get_file_offset): Likewise.
33711         (do_ftell): Likewise.
33712         (_IO_new_file_seekoff): Split out ftell logic.
33713         * libio/wfileops.c (do_ftell_wide): Likewise.
33714         (_IO_wfile_seekoff): Split out ftell logic.
33715         * libio/tst-ftell-active-handler.c: New test case.
33716         * libio/Makefile (tests): Add it.
33718 2014-03-03  Roland McGrath  <roland@hack.frob.com>
33720         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
33721         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
33723 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33725         [BZ #16639]
33726         * nscd/connections.c (nscd_init): Call do_exit.
33727         (start_threads): Call do_exit and notify_parent.
33728         (begin_drop_privileges): Call do_exit.
33729         (finish_drop_privileges): Likewise.
33730         * nscd/selinux.c (preserve_capabilities): Likewise.
33731         (install_real_capabilities): Likewise.
33732         (nscd_selinux_enabled): Likewise.
33733         (avc_create_thread): Likewise.
33734         (avc_alloc_lock): Likewise.
33735         (nscd_avc_init): Likewise.
33736         * nscd/nscd.c (parent_fd): New static variable.
33737         (main): Create a pipe between parent and child processes.
33738         Skip closing parent_fd.
33739         (monitor_child): New function.
33740         (do_exit): Likewise.
33741         (notify_parent): Likewise.
33742         * nscd/nscd.h (notify_parent): Likewise.
33743         (do_exit): Likewise.
33745 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
33747         * malloc/malloc.c (__libc_calloc): Revert last change.
33749 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33753 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33755         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
33756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
33757         implementation.
33758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33759         (__libc_ifunc_impl_list): Likewise.
33760         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
33761         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
33762         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
33763         * string/strrchr.c: Define STRRCHR.
33765 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
33767         * benchtest/bench-strtok.c (simple_strtok): Delete.
33768         (strtok_string): Use as benchmark.
33769         * string/strtok (STRTOK): New macro.
33771 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
33773         * manual/threads.texi: Add header and standard comments to all
33774         functions.
33776         * elf/dl-lookup.c (check_match): New function.
33777         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
33778         (do_lookup_x): Remove nested function check_match. Use non-nested
33779         function check_match.
33781 2014-02-28  Roland McGrath  <roland@hack.frob.com>
33783         * csu/Makefile (generated, before-compile): Use += rather than =.
33784         * catgets/Makefile (generated, generated-dirs): Likewise.
33785         * debug/Makefile (generated): Likewise.
33786         * dlfcn/Makefile (generated): Likewise.
33787         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
33788         * iconvdata/Makefile (before-compile, generated): Likewise.
33789         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
33790         * libio/Makefile (generated): Likewise.
33791         * malloc/Makefile (generated): Likewise.
33792         * manual/Makefile (generated, generated-dirs): Likewise.
33793         * misc/Makefile (generated): Likewise.
33794         * posix/Makefile (generated): Likewise.
33795         * resolv/Makefile (generated): Likewise.
33796         * sunrpc/Makefile (generated, generated-dirs): Likewise.
33797         * timezone/Makefile (generated, generated-dirs): Likewise.
33799         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
33801 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33803         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33804         power8 implementation.
33805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
33806         file: POWER8 llround ifunc implementation.
33807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
33808         (__lllround): Add POWER8 implementation.
33809         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
33810         POWER8 llround implementation.
33812         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33813         power8 implementation.
33814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33815         file: POWER8 llrint ifunc implementation.
33816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33817         Add POWER8 implementation.
33818         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33819         POWER8 llrint implementation.
33821         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33822         power8 implementation.
33823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33824         file: POWER8 finite ifunc implementation.
33825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33826         Add POWER8 implementation.
33827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33828         Likewise.
33829         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33830         POWER8 finite implementation.
33831         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33833         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33834         power8 implementation.
33835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33836         file: POWER8 isinf ifunc implementation.
33837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33838         POWER8 implementation.
33839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33840         Likewise.
33841         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33842         isinf implementation.
33843         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33845         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33846         (INIT_ARCH): Add hwcap2 initialization.
33847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33848         power8 implementation.
33849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33850         file: POWER8 isnan ifunc implementation.
33851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33852         POWER8 implementation.
33853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33854         Likewise.
33855         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33856         isnan implementation.
33857         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33859 2014-02-27  Joey Ye  <joey.ye@arm.com>
33861         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33862         (_FP_NANFRAC_Q): Set to zero.
33864 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33866         [BZ #16623]
33867         * math/auto-libm-test-in: New test inputs.
33868         * math/auto-libm-test-out: Regenerate.
33869         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33870         and DA.
33871         (__cos): Likewise.
33872         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33874 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
33876         * scripts/evaluate-test.sh: Take new argument indicating whether
33877         failure is expected.
33878         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
33879         indicating whether failure is expected.
33880         * conform/Makefile (test-xfail-run-conformtest): New variable.
33881         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
33882         level.
33883         * posix/Makefile (test-xfail-annexc): New variable.
33884         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
33886 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
33888         * argp/Makefile: Include Makeconfig immediately after defining
33889         subdir.
33890         * assert/Makefile: Likewise.
33891         * benchtests/Makefile: Likewise.
33892         * catgets/Makefile: Likewise.
33893         * conform/Makefile: Likewise.
33894         * crypt/Makefile: Likewise.
33895         * csu/Makefile: Likewise.
33896         (all): Remove target.
33897         * ctype/Makefile: Include Makeconfig immediately after defining
33898         subdir.
33899         * debug/Makefile: Likewise.
33900         * dirent/Makefile: Likewise.
33901         * dlfcn/Makefile: Likewise.
33902         * gmon/Makefile: Likewise.
33903         * gnulib/Makefile: Likewise.
33904         * grp/Makefile: Likewise.
33905         * gshadow/Makefile: Likewise.
33906         * hesiod/Makefile: Likewise.
33907         * hurd/Makefile: Likewise.
33908         (all): Remove target.
33909         * iconvdata/Makefile: Include Makeconfig immediately after
33910         defining subdir.
33911         * inet/Makefile: Likewise.
33912         * intl/Makefile: Likewise.
33913         * io/Makefile: Likewise.
33914         * libio/Makefile: Likewise.
33915         (all): Remove target.
33916         * locale/Makefile: Include Makeconfig immediately after defining
33917         subdir.
33918         * login/Makefile: Likewise.
33919         * mach/Makefile: Likewise.
33920         (all): Remove target.
33921         * malloc/Makefile: Include Makeconfig immediately after defining
33922         subdir.
33923         (all): Remove target.
33924         * manual/Makefile: Include Makeconfig immediately after defining
33925         subdir.
33926         * math/Makefile: Likewise.
33927         * misc/Makefile: Likewise.
33928         * nis/Makefile: Likewise.
33929         * nss/Makefile: Likewise.
33930         * po/Makefile: Likewise.
33931         (all): Remove target.
33932         * posix/Makefile: Include Makeconfig immediately after defining
33933         subdir.
33934         * pwd/Makefile: Likewise.
33935         * resolv/Makefile: Likewise.
33936         * resource/Makefile: Likewise.
33937         * rt/Makefile: Likewise.
33938         * setjmp/Makefile: Likewise.
33939         * shadow/Makefile: Likewise.
33940         * signal/Makefile: Likewise.
33941         * socket/Makefile: Likewise.
33942         * soft-fp/Makefile: Likewise.
33943         * stdio-common/Makefile: Likewise.
33944         * stdlib/Makefile: Likewise.
33945         * streams/Makefile: Likewise.
33946         * string/Makefile: Likewise.
33947         * sunrpc/Makefile: Likewise.
33948         (all): Remove target.
33949         * sysvipc/Makefile: Include Makeconfig immediately after defining
33950         subdir.
33951         * termios/Makefile: Likewise.
33952         * time/Makefile: Likewise.
33953         * timezone/Makefile: Likewise.
33954         (all): Remove target.
33955         * wcsmbs/Makefile: Include Makeconfig immediately after defining
33956         subdir.
33957         * wctype/Makefile: Likewise.
33959 2014-02-26  Steve Ellcey  <sellcey@mips.com>
33961         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33962         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33963         (libc_feholdexcept_setround_mips): Ditto.
33964         (libc_feholdsetround): New.
33965         (libc_feholdsetroundf): New.
33966         (libc_feholdsetroundl): New.
33967         (libc_feupdateenv_test_mips): New.
33968         (libc_feupdateenv_test): New.
33969         (libc_feupdateenv_testf): New.
33970         (libc_feupdateenv_testl): New.
33971         (libc_feresetround): New.
33972         (libc_feresetroundf): New.
33973         (libc_feresetroundl): New.
33974         (libc_fetestexcept_mips): New.
33975         (libc_fetestexcept): New.
33976         (libc_fetestexceptf): New.
33977         (libc_fetestexceptl): New.
33978         (HAVE_RM_CTX): New.
33979         (libc_feholdexcept_setround_mips_ctx): New.
33980         (libc_feholdexcept_setround_ctx): New.
33981         (libc_feholdexcept_setroundf_ctx): New.
33982         (libc_feholdexcept_setroundl_ctx): New.
33983         (libc_fesetenv_mips_ctx): New.
33984         (libc_fesetenv_ctx): New.
33985         (libc_fesetenv_ctxf): New.
33986         (libc_fesetenv_ctxl): New.
33987         (libc_feupdateenv_mips_ctx): New.
33988         (libc_feupdateenv_ctx): New.
33989         (libc_feupdateenvf_ctx): New.
33990         (libc_feupdateenvl_ctx): New.
33991         (libc_feholdsetround_mips_ctx): New.
33992         (libc_feholdsetround_ctx): New.
33993         (libc_feholdsetroundf_ctx): New.
33994         (libc_feholdsetroundl_ctx): New.
33995         (libc_feresetround_mips_ctx): New.
33996         (libc_feresetround_ctx): New.
33997         (libc_feresetroundf_ctx): New.
33998         (libc_feresetroundl_ctx): New.
34000 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
34002         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
34004         * manual/ipc.texi: New file.
34005         * manual/Makefile (chapters): Add ipc.
34006         * manual/job.texi: Add "Inter-Process Communication" to next.
34007         * manual/process.texi: Add "Inter-Process Communication" to prev.
34009 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34013 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
34015         * malloc/malloc.c (__libc_calloc): Simplify implementation.
34017         * manual/arith.texi: Fix spaces after sentences.
34018         * manual/charset.texi: Likewise.
34019         * manual/errno.texi: Likewise.
34020         * manual/install.texi: Likewise.
34021         * manual/llio.texi: Likewise.
34022         * manual/locale.texi: Likewise.
34023         * manual/maint.texi: Likewise.
34024         * manual/math.texi: Likewise.
34025         * manual/memory.texi: Likewise.
34026         * manual/message.texi: Likewise.
34027         * manual/probes.texi: Likewise.
34028         * manual/resource.texi: Likewise.
34029         * manual/signal.texi: Likewise.
34030         * manual/socket.texi: Likewise.
34031         * manual/stdio.texi: Likewise.
34032         * manual/string.texi: Likewise.
34033         * manual/time.texi: Likewise.
34034         * manual/users.texi: Likewise.
34036 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
34038         [BZ #16632]
34039         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
34040         _DEFAULT_SOURCE is defined.
34042 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
34043             Carlos O'Donell  <carlos@redhat.com>
34045         [BZ #16613]
34046         * elf/dl-tls.c (_dl_count_modids): New function.
34047         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
34048         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
34049         audit library and increment generation counter.
34050         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
34051         * elf/tst-audit9.c: New file.
34052         * elf/tst-auditmod9a.c: New file.
34053         * elf/tst-auditmod9b.c: New file.
34054         * elf/Makefile: Add rules to build and run tst-audit9.
34056 2014-02-25  Florian Weimer  <fweimer@redhat.com>
34058         [BZ #15347]
34059         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
34061 2014-02-25  Will Newton  <will.newton@linaro.org>
34063         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
34064         (__longjmp): Restore sp and lr before restoring callee
34065         saved registers.  Add longjmp and longjmp_target
34066         SystemTap probe point.
34067         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
34068         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
34069         Define to zero to match jmpbuf layout.
34070         * sysdeps/arm/setjmp.S: Include stap-probe.h.
34071         (__sigsetjmp): Save sp and lr before saving callee
34072         saved registers.  Add setjmp SystemTap probe point.
34074 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34076         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34078 2014-02-24  Andreas Schwab  <schwab@suse.de>
34080         [BZ #15804]
34081         * elf/pldd.c (wait_for_ptrace_stop): New function.
34082         (main): Call it after attaching.
34084 2014-02-22  Roland McGrath  <roland@hack.frob.com>
34086         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
34087         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
34088         Versions files is now verboten.
34089         * hurd/Versions (libc: GLIBC_2.0):
34090         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
34091         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
34092         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
34093         * mach/Versions: Likewise.
34095         * csu/Versions: Remove unused %include.
34096         * resolv/Versions: Likewise.
34098 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
34100         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
34101         ($(objpfx)check-local-headers.out): Likewise.
34102         ($(objpfx)begin-end-check.out): Likewise.
34103         * Makerules (check-abi-%.out): Likewise.
34104         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
34105         ($(objpfx)test2.cat): Likewise.
34106         ($(objpfx)de/libc.cat): Likewise.
34107         ($(objpfx)test-gencat.out): Likewise.
34108         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
34109         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
34110         ($(objpfx)noload-mem): Likewise.
34111         ($(objpfx)tst-pathopt.out): Likewise.
34112         ($(objpfx)tst-rtld-load-self.out): Likewise.
34113         ($(objpfx)tst-array1-cmp.out): Likewise.
34114         ($(objpfx)tst-array1-static-cmp.out): Likewise.
34115         ($(objpfx)tst-array2-cmp.out): Likewise.
34116         ($(objpfx)tst-array3-cmp.out): Likewise.
34117         ($(objpfx)tst-array4-cmp.out): Likewise.
34118         ($(objpfx)tst-array5-cmp.out): Likewise.
34119         ($(objpfx)tst-array5-static-cmp.out): Likewise.
34120         ($(objpfx)check-textrel.out): Likewise.
34121         ($(objpfx)check-execstack.out): Likewise.
34122         ($(objpfx)check-localplt.out): Likewise.
34123         ($(objpfx)order2-cmp.out): Likewise.
34124         ($(objpfx)tst-leaks1-mem): Likewise.
34125         ($(objpfx)tst-leaks1-static-mem): Likewise.
34126         ($(objpfx)tst-initorder-cmp.out): Likewise.
34127         ($(objpfx)tst-initorder2-cmp.out): Likewise.
34128         ($(objpfx)tst-unused-dep.out): Likewise.
34129         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
34130         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34131         * iconv/Makefile (test-iconvconfig): Likewise.
34132         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
34133         ($(objpfx)iconv-test.out): Likewise.
34134         ($(objpfx)tst-tables.out): Likewise.
34135         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
34136         ($(objpfx)tst-gettext.out): Likewise.
34137         ($(objpfx)tst-translit.out): Likewise.
34138         ($(objpfx)tst-gettext2.out): Likewise.
34139         ($(objpfx)tst-gettext4.out): Likewise.
34140         ($(objpfx)tst-gettext6.out): Likewise.
34141         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
34142         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34143         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
34144         ($(objpfx)tst-fopenloc-mem.out): Likewise.
34145         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34146         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
34147         * posix/Makefile ($(objpfx)globtest.out): Likewise.
34148         ($(objpfx)wordexp-tst.out): Likewise.
34149         ($(objpfx)annexc.out): Likewise.
34150         ($(objpfx)tst-fnmatch-mem): Likewise.
34151         ($(objpfx)bug-regex2-mem): Likewise.
34152         ($(objpfx)bug-regex14-mem): Likewise.
34153         ($(objpfx)bug-regex21-mem): Likewise.
34154         ($(objpfx)bug-regex31-mem): Likewise.
34155         ($(objpfx)tst-vfork3-mem): Likewise.
34156         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34157         ($(objpfx)tst-pcre-mem): Likewise.
34158         ($(objpfx)tst-boost-mem): Likewise.
34159         ($(objpfx)tst-getconf.out): Likewise.
34160         ($(objpfx)bug-ga2-mem): Likewise.
34161         ($(objpfx)bug-glob2-mem): Likewise.
34162         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
34163         ($(objpfx)mtrace-tst-leaks2): Likewise.
34164         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
34165         ($(objpfx)tst-printf.out): Likewise.
34166         ($(objpfx)tst-setvbuf1.out): Likewise.
34167         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
34168         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
34169         ($(objpfx)tst-fmtmsg.out): Likewise.
34170         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
34171         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
34173         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
34174         * bits/sigaction.h [__USE_MISC]: Likewise.
34175         * bits/waitstatus.h: Update #endif comments.
34176         * ctype/ctype.h: Likewise.
34177         * dirent/dirent.h: Likewise.
34178         [__USE_MISC]: Remove redundant conditionals.
34179         * grp/grp.h: Update #endif comments.
34180         [__USE_GNU]: Remove redundant conditionals.
34181         [__USE_MISC]: Likewise.
34182         * inet/netinet/in.h [__USE_GNU]: Likewise.
34183         * io/sys/stat.h [__USE_MISC]: Likewise.
34184         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
34185         * libio/bits/stdio.h: Update #endif comments.
34186         [__USE_MISC]: Remove redundant conditionals.
34187         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
34188         * libio/stdio.h: Update #endif comments.
34189         [__USE_MISC]: Remove redundant conditionals.
34190         * math/bits/math-finite.h [__USE_MISC]: Likewise.
34191         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
34192         * math/math.h: Update #else and #endif comments.
34193         [__USE_MISC]: Remove redundant conditionals.
34194         * misc/sys/uio.h: Update #endif comments.
34195         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
34196         * posix/glob.h [__USE_MISC]: Likewise.
34197         * posix/sys/types.h: Update #endif comments.
34198         [__USE_MISC]: Remove redundant conditionals.
34199         * posix/sys/wait.h: Update #endif comments.
34200         [__USE_MISC]: Remove redundant conditionals.
34201         * posix/unistd.h: Update #endif comments.
34202         [__USE_MISC]: Remove redundant conditionals.
34203         * pwd/pwd.h [__USE_GNU]: Likewise.
34204         [__USE_MISC]: Likewise.
34205         * resolv/netdb.h [__USE_GNU]: Likewise.
34206         * signal/signal.h: Update #endif comments.
34207         [__USE_MISC]: Remove redundant conditionals.
34208         * stdlib/stdlib.h: Update #else and #endif comments.
34209         [__USE_MISC]: Remove redundant conditionals.
34210         [__USE_GNU]: Likewise.
34211         * string/bits/string2.h [__USE_MISC]: Likewise.
34212         * string/string.h: Update #endif comments.
34213         [__USE_MISC]: Remove redundant conditionals.
34214         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
34215         Likewise.
34216         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
34217         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
34218         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
34219         Likewise.
34220         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
34221         Likewise.
34222         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
34223         comments.
34224         [__USE_MISC]: Remove redundant conditionals.
34225         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
34226         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
34227         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
34228         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
34229         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
34230         Likewise.
34231         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
34232         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
34233         Likewise.
34234         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
34235         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
34236         Likewise.
34237         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
34238         Likewise.
34239         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
34240         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
34241         Likewise.
34242         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
34243         Likewise.
34244         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
34245         * sysdeps/x86/bits/string.h: Update #endif comments.
34246         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
34247         conditionals.
34248         * time/sys/time.h: Update #endif comments.
34249         * time/time.h: Likewise.
34250         [__USE_MISC]: Remove redundant conditionals.
34252 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
34254         [BZ #16600]
34255         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
34257 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
34259         * Versions.def (librt): Add GLIBC_2.17.
34261 2014-02-21  Adam Conrad  <adconrad@0c3.net>
34263         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
34264         synonym for _SYS_AUXV_H to allow direct inclusion.
34265         * sysdeps/sparc/bits/hwcap.h: Likewise.
34266         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
34267         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
34268         * sysdeps/sparc/sysdep.h: Likewise.
34270 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34272         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
34274 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34276         * benchtests/bench-strrchr.c: Print length instead of position.
34278 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
34280         [BZ #16611]
34281         * sysdeps/unix/sysv/linux/kernel-features.h
34282         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
34283         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
34284         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
34285         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
34286         Likewise.
34287         [__i386__ || __powerpc__ || __sh__ || __sparc__]
34288         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34289         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
34290         (__ASSUME_SENDMMSG): Define instead of using previous
34291         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
34292         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34293         (__ASSUME_SENDMMSG_SYSCALL): Define.
34294         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34295         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
34296         Likewise.
34297         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34298         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34299         Likewise.
34300         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34301         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34302         Likewise.
34303         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
34304         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34305         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34306         [__ASSUME_SENDMMSG]: Change conditionals to
34307         [__ASSUME_SENDMMSG_SOCKETCALL].
34308         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34309         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
34310         Define.
34311         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34312         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
34313         Likewise.
34314         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
34315         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34316         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34317         [!__ASSUME_SENDMMSG]: Change conditional to
34318         [!__ASSUME_SENDMMSG_SOCKETCALL].
34319         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34320         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34321         Define.
34323         [BZ #16610]
34324         * sysdeps/unix/sysv/linux/kernel-features.h
34325         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
34326         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
34327         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
34328         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
34329         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34330         [__i386__ || __sparc__]
34331         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34332         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
34333         (__ASSUME_RECVMMSG): Define instead of using previous
34334         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
34335         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34336         (__ASSUME_RECVMMSG_SYSCALL): Define.
34337         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34338         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34339         Likewise.
34340         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34341         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34342         Likewise.
34343         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34344         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34345         Likewise.
34346         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
34347         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34348         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34349         [__ASSUME_RECVMMSG]: Change condition to
34350         [__ASSUME_RECVMMSG_SOCKETCALL].
34351         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34352         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34353         Define.
34354         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34355         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34356         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34357         Likewise.
34358         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
34359         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34360         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34361         [!__ASSUME_RECVMMSG]: Change condition to
34362         [!__ASSUME_RECVMMSG_SOCKETCALL].
34363         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34364         (__ASSUME_RECVMMSG_SYSCALL): Define.
34366         [BZ #16609]
34367         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
34368         __powerpc__ || __s390__ || __sh__ || __sparc__]
34369         (__ASSUME_SOCKETCALL): Define.
34370         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
34371         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
34372         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
34373         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
34374         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34375         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34376         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
34377         (__ASSUME_ACCEPT4): Define instead of using previous
34378         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
34379         __powerpc__ || __sparc__ || __s390__)] condition.
34380         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34381         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34382         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
34383         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34384         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34385         [!__ASSUME_ACCEPT4]: Change condition to
34386         [!__ASSUME_ACCEPT4_SOCKETCALL].
34387         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34388         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
34389         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
34390         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34391         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
34392         __ASSUME_ACCEPT4_SYSCALL.
34393         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
34394         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
34395         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34396         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
34397         __ASSUME_ACCEPT4_SYSCALL.
34398         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
34399         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34400         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34401         [__ASSUME_ACCEPT4]: Change condition to
34402         [__ASSUME_ACCEPT4_SOCKETCALL].
34403         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34404         (__ASSUME_SOCKETCALL): Define.
34405         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
34406         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34407         (__ASSUME_SOCKETCALL): Define.
34408         (__ASSUME_ACCEPT4): Remove.
34409         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
34410         Define.
34411         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34412         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
34413         Likewise.
34414         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34415         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34417         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
34418         macro.
34419         (HWCAP_ARM_LPAE): Likewise.
34420         (HWCAP_ARM_EVTSTRM): Likewise.
34421         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
34422         Add vpfd32, lpae and evtstrm.
34423         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
34424         Increase to 22.
34426 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
34428         * math/auto-libm-test-in: Add tests of clog10.
34429         * math/auto-libm-test-out: Regenerated.
34430         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
34431         * sysdeps/i386/fpu/libm-test-ulps: Update.
34432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34434 2014-02-18  Andreas Schwab  <schwab@suse.de>
34436         [BZ #16574]
34437         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
34438         Store non-zero if the second buffer was newly allocated.
34439         (send_dg): Likewise.
34440         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
34441         to send_vc and send_dg.
34442         (res_nsend): Pass NULL for ansp2_malloced.
34443         * resolv/res_query.c (__libc_res_nquery): Add parameter
34444         answerp2_malloced and pass it down to __libc_res_nsend.
34445         (res_nquery): Pass additional NULL to __libc_res_nquery.
34446         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
34447         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
34448         second answer buffer if answerp2_malloced was set.
34449         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
34450         (__libc_res_nquerydomain): Add parameter
34451         answerp2_malloced and pass it down to __libc_res_nquery.
34452         (res_nquerydomain): Pass additional NULL to
34453         __libc_res_nquerydomain.
34454         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
34455         additional NULL to __libc_res_nsend and __libc_res_nquery.
34456         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
34457         additional NULL to __libc_res_nsearch.
34458         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
34459         parameter of __libc_res_nsearch to check for separately allocated
34460         second buffer.
34461         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
34462         __libc_res_nquery.
34463         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
34464         additional NULL to __libc_res_nquery.
34465         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
34466         __libc_res_nsearch.
34467         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
34468         * include/resolv.h: Update prototypes of __libc_res_nquery,
34469         __libc_res_nsearch, __libc_res_nsend.
34471 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
34473         * math/auto-libm-test-in: Add tests of fma.
34474         * math/auto-libm-test-out: Regenerated.
34475         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
34476         (fma_towardzero_test_data): Likewise.
34477         (fma_downward_test_data): Likewise.
34478         (fma_upward_test_data): Likewise.
34479         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
34480         mpc_mode.
34481         (rounding_modes): Add values for new field.
34482         (func_calc_method): Add value mpfr_fff_f.
34483         (func_calc_desc): Add mpfr_fff_f union field.
34484         (test_function): Add field exact_args.
34485         (FUNC): Add macro argument EXACT_ARGS.
34486         (FUNC_mpfr_f_f): Update call to FUNC.
34487         (FUNC_mpfr_f_f): Likewise.
34488         (FUNC_mpfr_ff_f): Likewise.
34489         (FUNC_mpfr_if_f): Likewise.
34490         (FUNC_mpc_c_f): Likewise.
34491         (FUNC_mpc_c_c): Likewise.
34492         (test_functions): Add fma.  Update calls to FUNC.
34493         (handle_input_arg): Add argument exact_args.
34494         (add_test): Update call to handle_input_arg.
34495         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
34496         (output_for_one_input_case): Update call to calc_generic_results.
34497         Recalculate exact zero results in each rounding mode.
34499         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
34500         non-negative before setting low bit.
34501         * math/auto-libm-test-in: Mark one asin test possibly having
34502         spurious underflow.
34503         * math/auto-libm-test-out: Regenerated.
34504         * sysdeps/i386/fpu/libm-test-ulps: Update.
34505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34507 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
34509         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
34510         * sysdeps/unix/sysv/linux/microblaze: Move directory from
34511         ports/sysdeps/unix/sysv/linux/microblaze.
34512         * README: Add missing listing for microblaze*-*-linux-gnu.
34514 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
34516         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
34517         duplicate code
34519 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
34521         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
34522         * sysdeps/unix/sysv/linux/ia64: Move directory from
34523         ports/sysdeps/unix/sysv/linux/ia64.
34524         * README: Update listing for ia64-*-linux-gnu.
34526 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
34527             Joseph Myers  <joseph@codesourcery.com>
34529         * Makeconfig (test-name): New variable.
34530         (evaluate-test): Likewise.
34531         * Makerules (do-test-clean): Remove .test-result files.
34532         (common-mostlyclean): Likewise.
34533         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
34534         * scripts/evaluate-test.sh: New file.
34536 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
34538         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
34539         separate $(objpfx)tst-fopenloc-cmp.out and
34540         $(objpfx)tst-fopenloc-mem.out targets.
34541         (tests): Update dependencies.
34542         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
34543         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
34544         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
34545         (tst-rxspencer-no-utf8-ARGS): New variable.
34546         (tst-rxspencer-no-utf8-ENV): Likewise.
34547         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
34548         instead of $(objpfx)tst-rxspencer-mem.
34549         ($(objpfx)tst-rxspencer-mem): Change target to
34550         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
34551         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
34552         * posix/tst-rxspencer-no-utf8.c: New file.
34554         * elf/Makefile ($(objpfx)order.out): Remove rule.
34555         [$(run-built-tests) = yes] (tests): Depend on
34556         $(objpfx)order-cmp.out.
34557         ($(objpfx)order-cmp.out): New rule.
34558         [$(run-built-tests) = yes] (tests): Depend on
34559         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
34560         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
34561         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
34562         $(objpfx)tst-array5-static-cmp.out.
34563         ($(objpfx)tst-array1.out): Remove rule.
34564         ($(objpfx)tst-array1-cmp.out): New rule.
34565         ($(objpfx)tst-array1-static.out): Remove rule.
34566         ($(objpfx)tst-array1-static-cmp.out): New rule.
34567         ($(objpfx)tst-array2.out): Remove rule.
34568         ($(objpfx)tst-array2-cmp.out): New rule.
34569         ($(objpfx)tst-array3.out): Remove rule.
34570         ($(objpfx)tst-array3-cmp.out): New rule.
34571         ($(objpfx)tst-array4.out): Remove rule.
34572         ($(objpfx)tst-array4-cmp.out): New rule.
34573         ($(objpfx)tst-array5.out): Remove rule.
34574         ($(objpfx)tst-array5-cmp.out): New rule.
34575         ($(objpfx)tst-array5-static.out): Remove rule.
34576         ($(objpfx)tst-array5-static-cmp.out): New rule.
34577         [$(run-built-tests) = yes] (tests): Depend on
34578         $(objpfx)order2-cmp.out.
34579         ($(objpfx)order2.out): Remove rule.
34580         ($(objpfx)order2-cmp.out): New rule.
34581         ($(objpfx)tst-initorder.out): Remove rule.
34582         [$(run-built-tests) = yes] (tests): Depend on
34583         $(objpfx)tst-initorder-cmp.out.
34584         ($(objpfx)tst-initorder-cmp.out): New rule.
34585         ($(objpfx)tst-initorder2.out): Remove rule.
34586         [$(run-built-tests) = yes] (tests): Depend on
34587         $(objpfx)tst-initorder2-cmp.out.
34588         ($(objpfx)tst-initorder2-cmp.out): New rule.
34589         [$(run-built-tests) = yes] (tests): Depend on
34590         $(objpfx)tst-unused-dep-cmp.out.
34591         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
34592         ($(objpfx)tst-unused-dep-cmp.out): New rule.
34593         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
34594         on $(objpfx)tst-setvbuf1-cmp.out.
34595         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
34596         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
34597         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
34598         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
34599         ($(objpfx)tst-svc.out): Remove rule.
34600         ($(objpfx)tst-svc-cmp.out): New rule.
34602 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
34604         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
34605         * ctype/ctype.h [__USE_MISC]: Likewise.
34606         * dirent/dirent.h [__USE_MISC]: Likewise.
34607         * grp/grp.h [__USE_MISC]: Likewise.
34608         * io/fcntl.h [__USE_MISC]: Likewise.
34609         * io/sys/stat.h [__USE_MISC]: Likewise.
34610         * libio/stdio.h [__USE_MISC]: Likewise.
34611         * posix/unistd.h [__USE_MISC]: Likewise.
34612         * pwd/pwd.h [__USE_MISC]: Likewise.
34613         * stdlib.h [__USE_MISC]: Likewise.
34614         * string/bits/string2.h [__USE_MISC]: Likewise.
34615         * string/string.h [__USE_MISC]: Likewise.
34616         * time/time.h [__USE_MISC]: Likewise.
34618 2014-02-13  Andreas Schwab  <schwab@suse.de>
34620         [BZ #16574]
34621         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
34622         second answer buffer if it was separately allocated.
34624 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
34626         * sysdeps/mips/math-tests.h: Include <features.h>.
34627         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34628         (ROUNDING_TESTS_long_double): Do not define.
34629         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34630         (EXCEPTION_TESTS_long_double): Likewise.
34631         * sysdeps/mips/mips64/libm-test-ulps: Update.
34633         * include/features.h (__USE_BSD): Remove macro definitions.
34634         (__USE_SVID): Likewise.
34635         (_BSD_SOURCE): Likewise.
34636         (_SVID_SOURCE): Likewise.
34637         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
34638         from definition of _DEFAULT_SOURCE.
34639         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
34640         [_DEFAULT_SOURCE].
34641         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
34642         * bits/mman.h [__USE_BSD]: Likewise.
34643         * bits/termios.h [__USE_BSD]: Likewise.
34644         * bits/waitstatus.h [__USE_BSD]: Likewise.
34645         * ctype/ctype.h [__USE_SVID]: Likewise.
34646         * dirent/dirent.h [__USE_BSD]: Likewise.
34647         * grp/grp.h [__USE_SVID]: Likewise.
34648         [__USE_BSD]: Likewise.
34649         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
34650         * io/fcntl.h [__USE_BSD]: Likewise.
34651         * io/ftw.h [__USE_BSD]: Likewise.
34652         * io/sys/stat.h [__USE_BSD]: Likewise.
34653         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
34654         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
34655         * libio/stdio.h [__USE_SVID]: Likewise.
34656         [__USE_BSD]: Likewise.
34657         * math/math.h [__USE_SVID]: Likewise.
34658         [__USE_BSD]: Likewise.
34659         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
34660         * misc/bits/syslog.h [__USE_BSD]: Likewise.
34661         * misc/search.h [__USE_SVID]: Likewise.
34662         * misc/sys/mman.h [__USE_BSD]: Likewise.
34663         * misc/sys/syslog.h [__USE_BSD]: Likewise.
34664         * misc/sys/uio.h [__USE_BSD]: Likewise.
34665         * posix/bits/unistd.h [__USE_BSD]: Likewise.
34666         * posix/glob.h [__USE_BSD]: Likewise.
34667         * posix/regex.h [__USE_BSD]: Likewise.
34668         * posix/sys/types.h [__USE_BSD]: Likewise.
34669         [__USE_SVID]: Likewise.
34670         * posix/sys/utsname.h [__USE_SVID]: Likewise.
34671         * posix/sys/wait.h [__USE_BSD]: Likewise.
34672         [__USE_SVID]: Likewise.
34673         * posix/unistd.h [__USE_BSD]: Likewise.
34674         [__USE_SVID]: Likewise.
34675         * pwd/pwd.h [__USE_SVID]: Likewise.
34676         * resolv/netdb.h [__USE_BSD]: Likewise.
34677         * setjmp/setjmp.h [__USE_BSD]: Likewise.
34678         * signal/signal.h [__USE_BSD]: Likewise.
34679         [__USE_SVID]: Likewise.
34680         * socket/sys/socket.h [__USE_BSD]: Likewise.
34681         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
34682         * stdlib/stdlib.h [__USE_BSD]: Likewise.
34683         [__USE_SVID]: Likewise.
34684         * string/bits/string2.h [__USE_BSD]: Likewise.
34685         [__USE_SVID]: Likewise.
34686         * string/bits/string3.h [__USE_BSD]: Likewise.
34687         * string/endian.h [__USE_BSD]: Likewise.
34688         * string/string.h [__USE_SVID]: Likewise.
34689         [__USE_BSD]: Likewise.
34690         * string/strings.h [__USE_BSD]: Likewise.
34691         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
34692         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
34693         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
34694         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
34695         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
34696         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
34697         Likewise.
34698         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
34699         Likewise.
34700         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
34701         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
34702         Likewise.
34703         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
34704         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
34705         Likewise.
34706         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
34707         Likewise.
34708         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
34709         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
34710         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
34711         Likewise.
34712         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
34713         Likewise.
34714         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
34715         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
34716         * termios/termios.h [__USE_BSD]: Likewise.
34717         * time/sys/time.h [__USE_BSD]: Likewise.
34718         * time/time.h [__USE_BSD]: Likewise.
34719         [__USE_SVID]: Likewise.
34721         * Makefile (subdir_targets): Remove subdir_lint.out.
34723         * stdio-common/Makefile (do-tst-unbputc): Remove target.
34724         (do-tst-printf): Likewise.
34725         (tests): Depend directly on $(objpfx)tst-unbputc.out and
34726         $(objpfx)tst-printf.out.
34728         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
34730         * Makerules (check-abi-%): Change target to
34731         $(objpfx)check-abi-%.out.
34732         (check-abi target): Update dependencies.
34733         (check-abi-pattern variable): Redirect output of diff to $@.
34734         (check-abi variable): Likewise.
34735         * elf/Makefile (check-abi): Update dependencies.
34737         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
34738         unused.
34739         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
34740         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
34741         subnormal range.
34742         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
34743         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
34744         value has largest subnormal exponent.
34745         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
34746         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
34747         * sysdeps/aarch64/soft-fp/sfp-machine.h
34748         (_FP_TININESS_AFTER_ROUNDING): New macro.
34749         * sysdeps/alpha/soft-fp/sfp-machine.h
34750         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34751         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34752         Likewise.
34753         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
34754         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34755         * sysdeps/mips/soft-fp/sfp-machine.h
34756         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34757         * sysdeps/powerpc/soft-fp/sfp-machine.h
34758         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34759         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34760         Likewise.
34761         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34762         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34763         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34764         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34765         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34766         Likewise.
34768 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
34770         [BZ #16545]
34771         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
34772         model 1.
34774 2014-02-12  Richard Henderson  <rth@redhat.com>
34776         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
34777         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
34778         * sysdeps/unix/sysv/linux/alpha: Move directory from
34779         ports/sysdeps/unix/sysv/linux/alpha.
34780         * README: Update listing for alpha-*-linux-gnu.
34782 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
34784         * include/features.h: Update comment documenting feature test
34785         macros.
34786         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
34787         _DEFAULT_SOURCE.
34788         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
34789         (_SVID_SOURCE): Likewise.
34790         (_DEFAULT_SOURCE): Update description of default features.
34791         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
34792         with _GNU_SOURCE.
34793         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
34794         (S_ISVTX): Likewise.
34795         * manual/math.texi (Mathematical Constants): Likewise.
34796         * manual/signal.texi (Interrupted Primitives): Likewise.
34797         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
34798         * math/test-matherr.c (_SVID_SOURCE): Do not define.
34799         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
34800         Don't refer to _SVID_SOURCE in warning text.
34802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34804         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
34805         already defined.
34806         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34807         * sysdeps/mips/dl-lookup.c: Remove.
34808         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
34810 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34812         [BZ #16447]
34813         * math/auto-libm-test-in: Add testcase for expl.
34814         * math/auto-libm-test-out: Regenerate.
34815         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34816         calculation of unsafe.
34817         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34819 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34821         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34822         * sysdeps/unix/sysv/linux/aarch64: Move directory from
34823         ports/sysdeps/unix/sysv/linux/aarch64.
34824         * README: Update listing for aarch64*-*-linux-gnu.
34826 2014-02-11  Will Newton  <will.newton@linaro.org>
34828         * manual/probes.texi (Mathematical Function Probes): Use
34829         "triggered" instead of "hit".
34831         * manual/probes.texi (Internal Probes): Add documentation
34832         of setjmp, longjmp and longjmp_target probes.
34834         * include/stap-probe.h: Add comment about probe argument
34835         format.
34837         * malloc/mtrace.c (attribute_hidden): Remove unused macro
34838         definition.  (tr_where, tr_freehook, tr_mallochook,
34839         tr_reallochook, tr_memalignhook): Use ANSI protoype.
34841 2014-02-11  David S. Miller  <davem@davemloft.net>
34843         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34844         processing int_tests.
34846 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
34848         * sysdeps/mips: Move directory from ports/sysdeps/mips.
34849         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34850         * sysdeps/unix/sysv/linux/mips: Move directory from
34851         ports/sysdeps/unix/sysv/linux/mips.
34852         * README: Update listing for mips-*-linux-gnu and
34853         mips64-*-linux-gnu.
34855 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
34857         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34858         * sysdeps/unix/sysv/linux/m68k: Move directory from
34859         ports/sysdeps/unix/sysv/linux/m68k.
34860         * README: Update listing for m68k-*-linux-gnu.
34862 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
34864         * sysdeps/tile: Move directory from ports/sysdeps/tile.
34865         * sysdeps/unix/sysv/linux/generic: Move directory from
34866         ports/sysdeps/unix/sysv/linux/generic.
34867         * sysdeps/unix/sysv/linux/tile: Move directory from
34868         ports/sysdeps/unix/sysv/linux/tile.
34869         * README: Update listing for tile*-*-linux-gnu.
34871 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
34873         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
34874         __builtin_expect.
34875         * benchtests/bench-memmem.c (simple_memmem): Likewise.
34876         * catgets/open_catalog.c (__open_catalog): Likewise.
34877         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
34878         * debug/confstr_chk.c: Likewise.
34879         * debug/fread_chk.c (__fread_chk): Likewise.
34880         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
34881         * debug/getgroups_chk.c: Likewise.
34882         * debug/mbsnrtowcs_chk.c: Likewise.
34883         * debug/mbsrtowcs_chk.c: Likewise.
34884         * debug/mbstowcs_chk.c: Likewise.
34885         * debug/memcpy_chk.c: Likewise.
34886         * debug/memmove_chk.c: Likewise.
34887         * debug/mempcpy_chk.c: Likewise.
34888         * debug/memset_chk.c: Likewise.
34889         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34890         * debug/strcat_chk.c (__strcat_chk): Likewise.
34891         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
34892         * debug/strncat_chk.c (__strncat_chk): Likewise.
34893         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
34894         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
34895         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34896         * debug/wcpncpy_chk.c: Likewise.
34897         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34898         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
34899         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
34900         * debug/wcsncpy_chk.c: Likewise.
34901         * debug/wcsnrtombs_chk.c: Likewise.
34902         * debug/wcsrtombs_chk.c: Likewise.
34903         * debug/wcstombs_chk.c: Likewise.
34904         * debug/wmemcpy_chk.c: Likewise.
34905         * debug/wmemmove_chk.c: Likewise.
34906         * debug/wmempcpy_chk.c: Likewise.
34907         * debug/wmemset_chk.c: Likewise.
34908         * dirent/scandirat.c (SCANDIRAT): Likewise.
34909         * dlfcn/dladdr1.c (dladdr1): Likewise.
34910         * dlfcn/dladdr.c (dladdr): Likewise.
34911         * dlfcn/dlclose.c (dlclose_doit): Likewise.
34912         * dlfcn/dlerror.c (__dlerror): Likewise.
34913         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
34914         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
34915         * dlfcn/dlopen.c (dlopen_doit): Likewise.
34916         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
34917         * dlfcn/dlsym.c (dlsym_doit): Likewise.
34918         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
34919         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
34920         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
34921         Likewise.
34922         * elf/dl-conflict.c: Likewise.
34923         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34924         * elf/dl-dst.h: Likewise.
34925         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
34926         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
34927         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34928         * elf/dl-init.c (call_init, _dl_init): Likewise.
34929         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
34930         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
34931         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
34932         Likewise.
34933         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
34934         Likewise.
34935         * elf/dl-minimal.c (__libc_memalign): Likewise.
34936         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
34937         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34938         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
34939         * elf/dl-sym.c (do_sym): Likewise.
34940         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
34941         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
34942         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
34943         * elf/dl-writev.h (_dl_writev): Likewise.
34944         * elf/ldconfig.c (search_dir): Likewise.
34945         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
34946         (dl_main): Likewise.
34947         * elf/setup-vdso.h (setup_vdso): Likewise.
34948         * grp/compat-initgroups.c (compat_call): Likewise.
34949         * grp/fgetgrent.c (fgetgrent): Likewise.
34950         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
34951         * grp/putgrent.c (putgrent): Likewise.
34952         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34953         Likewise.
34954         * hurd/hurdinit.c: Likewise.
34955         * iconvdata/8bit-gap.c (struct): Likewise.
34956         * iconvdata/ansi_x3.110.c : Likewise.
34957         * iconvdata/big5.c : Likewise.
34958         * iconvdata/big5hkscs.c : Likewise.
34959         * iconvdata/cp1255.c: Likewise.
34960         * iconvdata/cp1258.c : Likewise.
34961         * iconvdata/cp932.c : Likewise.
34962         * iconvdata/euc-cn.c: Likewise.
34963         * iconvdata/euc-jisx0213.c : Likewise.
34964         * iconvdata/euc-jp.c: Likewise.
34965         * iconvdata/euc-jp-ms.c : Likewise.
34966         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34967         * iconvdata/gb18030.c : Likewise.
34968         * iconvdata/gbbig5.c (const): Likewise.
34969         * iconvdata/gbgbk.c: Likewise.
34970         * iconvdata/gbk.c : Likewise.
34971         * iconvdata/ibm1364.c : Likewise.
34972         * iconvdata/ibm930.c : Likewise.
34973         * iconvdata/ibm932.c: Likewise.
34974         * iconvdata/ibm933.c : Likewise.
34975         * iconvdata/ibm935.c : Likewise.
34976         * iconvdata/ibm937.c : Likewise.
34977         * iconvdata/ibm939.c : Likewise.
34978         * iconvdata/ibm943.c: Likewise.
34979         * iconvdata/iso_11548-1.c: Likewise.
34980         * iconvdata/iso-2022-cn.c : Likewise.
34981         * iconvdata/iso-2022-cn-ext.c : Likewise.
34982         * iconvdata/iso-2022-jp-3.c: Likewise.
34983         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
34984         * iconvdata/iso-2022-kr.c : Likewise.
34985         * iconvdata/iso646.c (gconv_end): Likewise.
34986         * iconvdata/iso_6937-2.c : Likewise.
34987         * iconvdata/iso_6937.c : Likewise.
34988         * iconvdata/iso8859-1.c: Likewise.
34989         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
34990         * iconvdata/shift_jisx0213.c : Likewise.
34991         * iconvdata/sjis.c : Likewise.
34992         * iconvdata/t.61.c : Likewise.
34993         * iconvdata/tcvn5712-1.c : Likewise.
34994         * iconvdata/tscii.c: Likewise.
34995         * iconvdata/uhc.c : Likewise.
34996         * iconvdata/unicode.c (gconv_end): Likewise.
34997         * iconvdata/utf-16.c (gconv_end): Likewise.
34998         * iconvdata/utf-32.c (gconv_end): Likewise.
34999         * iconvdata/utf-7.c (base64): Likewise.
35000         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35001         * iconv/gconv_close.c (__gconv_close): Likewise.
35002         * iconv/gconv_open.c (__gconv_open): Likewise.
35003         * iconv/gconv_simple.c (internal_ucs4_loop_single)
35004         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
35005         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
35006         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
35007         (ucs4le_internal_loop_single): Likewise.
35008         * iconv/iconv.c (iconv): Likewise.
35009         * iconv/iconv_close.c: Likewise.
35010         * iconv/loop.c (SINGLE): Likewise.
35011         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
35012         * include/atomic.h: Likewise.
35013         * inet/inet6_option.c (option_alloc): Likewise.
35014         * intl/bindtextdom.c (set_binding_values): Likewise.
35015         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
35016         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
35017         * intl/localealias.c (read_alias_file): Likewise.
35018         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
35019         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
35020         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
35021         * libio/fmemopen.c (fmemopen): Likewise.
35022         * libio/iofgets.c (_IO_fgets): Likewise.
35023         * libio/iofgets_u.c (fgets_unlocked): Likewise.
35024         * libio/iofgetws.c (fgetws): Likewise.
35025         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
35026         * libio/iogetdelim.c (_IO_getdelim): Likewise.
35027         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
35028         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
35029         * locale/findlocale.c (_nl_find_locale): Likewise.
35030         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35031         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
35032         Likewise.
35033         * locale/setlocale.c (setlocale): Likewise.
35034         * login/programs/pt_chown.c (main): Likewise.
35035         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
35036         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
35037         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
35038         (mmap, mmap64, mremap, munmap): Likewise.
35039         * math/e_exp2l.c: Likewise.
35040         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
35041         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
35042         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
35043         * math/s_catan.c (__catan): Likewise.
35044         * math/s_catanf.c (__catanf): Likewise.
35045         * math/s_catanh.c (__catanh): Likewise.
35046         * math/s_catanhf.c (__catanhf): Likewise.
35047         * math/s_catanhl.c (__catanhl): Likewise.
35048         * math/s_catanl.c (__catanl): Likewise.
35049         * math/s_ccosh.c (__ccosh): Likewise.
35050         * math/s_ccoshf.c (__ccoshf): Likewise.
35051         * math/s_ccoshl.c (__ccoshl): Likewise.
35052         * math/s_cexp.c (__cexp): Likewise.
35053         * math/s_cexpf.c (__cexpf): Likewise.
35054         * math/s_cexpl.c (__cexpl): Likewise.
35055         * math/s_clog10.c (__clog10): Likewise.
35056         * math/s_clog10f.c (__clog10f): Likewise.
35057         * math/s_clog10l.c (__clog10l): Likewise.
35058         * math/s_clog.c (__clog): Likewise.
35059         * math/s_clogf.c (__clogf): Likewise.
35060         * math/s_clogl.c (__clogl): Likewise.
35061         * math/s_csin.c (__csin): Likewise.
35062         * math/s_csinf.c (__csinf): Likewise.
35063         * math/s_csinh.c (__csinh): Likewise.
35064         * math/s_csinhf.c (__csinhf): Likewise.
35065         * math/s_csinhl.c (__csinhl): Likewise.
35066         * math/s_csinl.c (__csinl): Likewise.
35067         * math/s_csqrt.c (__csqrt): Likewise.
35068         * math/s_csqrtf.c (__csqrtf): Likewise.
35069         * math/s_csqrtl.c (__csqrtl): Likewise.
35070         * math/s_ctan.c (__ctan): Likewise.
35071         * math/s_ctanf.c (__ctanf): Likewise.
35072         * math/s_ctanh.c (__ctanh): Likewise.
35073         * math/s_ctanhf.c (__ctanhf): Likewise.
35074         * math/s_ctanhl.c (__ctanhl): Likewise.
35075         * math/s_ctanl.c (__ctanl): Likewise.
35076         * math/w_pow.c: Likewise.
35077         * math/w_powf.c: Likewise.
35078         * math/w_powl.c: Likewise.
35079         * math/w_scalb.c (sysv_scalb): Likewise.
35080         * math/w_scalbf.c (sysv_scalbf): Likewise.
35081         * math/w_scalbl.c (sysv_scalbl): Likewise.
35082         * misc/error.c (error_tail): Likewise.
35083         * misc/pselect.c (__pselect): Likewise.
35084         * nis/nis_callback.c (__nis_create_callback): Likewise.
35085         * nis/nis_call.c (__nisfind_server): Likewise.
35086         * nis/nis_creategroup.c (nis_creategroup): Likewise.
35087         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
35088         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
35089         * nis/nis_getservlist.c (nis_getservlist): Likewise.
35090         * nis/nis_lookup.c (nis_lookup): Likewise.
35091         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
35092         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
35093         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
35094         * nis/nis_xdr.c (xdr_endpoint): Likewise.
35095         * nis/nss_compat/compat-grp.c (getgrent_next_file)
35096         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
35097         * nis/nss_compat/compat-initgroups.c (add_group)
35098         (internal_getgrent_r): Likewise.
35099         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
35100         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
35101         * nis/nss_compat/compat-spwd.c (getspent_next_file)
35102         (internal_getspnam_r): Likewise.
35103         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
35104         (_nss_nis_getaliasbyname_r): Likewise.
35105         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
35106         (_nss_nis_getntohost_r): Likewise.
35107         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
35108         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
35109         (_nss_nis_getgrgid_r): Likewise.
35110         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
35111         (internal_nis_gethostent_r, internal_gethostbyname2_r)
35112         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
35113         (_nss_nis_gethostbyname4_r): Likewise.
35114         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
35115         (initgroups_netid): Likewise.
35116         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
35117         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
35118         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
35119         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
35120         (_nss_nis_getprotobynumber_r): Likewise.
35121         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
35122         (_nss_nis_getsecretkey): Likewise.
35123         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
35124         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
35125         (_nss_nis_getpwuid_r): Likewise.
35126         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
35127         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
35128         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
35129         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
35130         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
35131         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
35132         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
35133         Likewise.
35134         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
35135         (_nss_nisplus_getntohost_r): Likewise.
35136         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
35137         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
35138         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
35139         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
35140         Likewise.
35141         * nis/nss_nisplus/nisplus-initgroups.c
35142         (_nss_nisplus_initgroups_dyn): Likewise.
35143         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
35144         (_nss_nisplus_getnetbyaddr_r): Likewise.
35145         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
35146         (_nss_nisplus_getprotobynumber_r): Likewise.
35147         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
35148         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
35149         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
35150         Likewise.
35151         * nis/nss_nisplus/nisplus-service.c
35152         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
35153         (_nss_nisplus_getservbyport_r): Likewise.
35154         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
35155         (_nss_nisplus_getspnam_r): Likewise.
35156         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
35157         Likewise.
35158         * nscd/aicache.c (addhstaiX): Likewise.
35159         * nscd/cache.c (cache_search, prune_cache): Likewise.
35160         * nscd/connections.c (register_traced_file, send_ro_fd)
35161         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
35162         (main_loop_epoll): Likewise.
35163         * nscd/grpcache.c (addgrbyX): Likewise.
35164         * nscd/hstcache.c (addhstbyX): Likewise.
35165         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35166         * nscd/mem.c (gc, mempool_alloc): Likewise.
35167         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
35168         (addinnetgrX): Likewise.
35169         * nscd/nscd-client.h (__nscd_acquire_maplock)
35170         (__nscd_drop_map_ref): Likewise.
35171         * nscd/nscd_getai.c (__nscd_getai): Likewise.
35172         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35173         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
35174         Likewise.
35175         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35176         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35177         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
35178         (__nscd_get_map_ref): Likewise.
35179         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35180         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
35181         Likewise.
35182         * nscd/pwdcache.c (addpwbyX): Likewise.
35183         * nscd/selinux.c (preserve_capabilities): Likewise.
35184         * nscd/servicescache.c (addservbyX): Likewise.
35185         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
35186         * posix/fnmatch.c (fnmatch): Likewise.
35187         * posix/getopt.c (_getopt_internal_r): Likewise.
35188         * posix/glob.c (glob, glob_in_dir): Likewise.
35189         * posix/wordexp.c (exec_comm_child): Likewise.
35190         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
35191         (getanswer_r, gaih_getanswer_slice): Likewise.
35192         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
35193         * resolv/res_init.c: Likewise.
35194         * resolv/res_mkquery.c (res_nmkquery): Likewise.
35195         * resolv/res_query.c (__libc_res_nquery): Likewise.
35196         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
35197         Likewise.
35198         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
35199         * stdio-common/perror.c (perror): Likewise.
35200         * stdio-common/printf_fp.c (___printf_fp): Likewise.
35201         * stdio-common/tmpnam.c (tmpnam): Likewise.
35202         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35203         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
35204         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
35205         Likewise.
35206         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
35207         * stdlib/putenv.c (putenv): Likewise.
35208         * stdlib/setenv.c (__add_to_environ): Likewise.
35209         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35210         * stdlib/strtol_l.c (INTERNAL): Likewise.
35211         * string/memmem.c (memmem): Likewise.
35212         * string/strerror.c (strerror): Likewise.
35213         * string/strnlen.c (__strnlen): Likewise.
35214         * string/test-memmem.c (simple_memmem): Likewise.
35215         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
35216         * sunrpc/pm_getport.c (__get_socket): Likewise.
35217         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
35218         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
35219         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
35220         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
35221         Likewise.
35222         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
35223         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
35224         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35225         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
35226         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35227         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
35228         Likewise.
35229         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
35230         Likewise.
35231         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35232         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35233         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35234         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35235         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
35236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
35237         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35238         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
35239         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35240         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
35241         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35242         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
35243         Likewise.
35244         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
35245         Likewise.
35246         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
35247         Likewise.
35248         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
35249         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35250         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
35251         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
35252         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
35253         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
35254         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35255         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
35256         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
35257         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
35258         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
35259         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35260         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35261         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
35262         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35263         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35264         Likewise.
35265         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
35266         Likewise.
35267         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
35268         Likewise.
35269         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
35270         Likewise.
35271         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35272         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35273         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
35274         Likewise.
35275         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
35276         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
35277         * sysdeps/posix/opendir.c (__opendirat): Likewise.
35278         * sysdeps/posix/sleep.c: Likewise.
35279         * sysdeps/posix/tempname.c: Likewise.
35280         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
35281         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35282         Likewise.
35283         * sysdeps/powerpc/powerpc32/dl-machine.h
35284         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
35285         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35286         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35287         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
35288         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
35289         Likewise.
35290         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
35291         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
35292         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35293         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
35294         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35295         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
35296         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
35297         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
35298         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35299         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
35300         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
35301         (elf_machine_lazy_rel): Likewise.
35302         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35303         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
35304         (elf_machine_lazy_rel): Likewise.
35305         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
35306         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
35307         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
35308         * sysdeps/unix/grantpt.c (grantpt): Likewise.
35309         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
35310         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
35311         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35312         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35313         Likewise.
35314         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
35315         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
35316         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
35317         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
35318         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35319         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35320         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
35321         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
35322         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
35323         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35324         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35325         Likewise.
35326         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
35327         (__posix_fallocate64_l64): Likewise.
35328         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
35329         (posix_fallocate): Likewise.
35330         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
35331         Likewise.
35332         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35333         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
35334         (getifaddrs_internal): Likewise.
35335         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
35336         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
35337         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
35338         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35339         * sysdeps/unix/sysv/linux/posix_fallocate64.c
35340         (__posix_fallocate64_l64): Likewise.
35341         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35342         Likewise.
35343         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
35344         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
35345         (__get_clockfreq): Likewise.
35346         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
35347         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35348         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
35349         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35350         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35351         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
35352         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
35353         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
35354         Likewise.
35355         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
35356         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
35357         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
35358         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
35359         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35360         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
35361         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
35362         Likewise.
35363         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35364         (posix_fallocate): Likewise.
35365         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35366         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
35367         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
35368         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
35369         (elf_machine_rela, elf_machine_rela_relative)
35370         (elf_machine_lazy_rel): Likewise.
35371         * time/asctime.c (asctime_internal): Likewise.
35372         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
35373         * time/tzset.c (__tzset_parse_tz): Likewise.
35374         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35375         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35376         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
35377         * wcsmbs/wcsmbsload.h: Likewise.
35379         [BZ #15894]
35380         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
35382         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
35383         (arena_get2): Remove THREAD_STATS conditionals.
35384         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
35385         (__malloc_stats, int): Likewise.
35387 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
35389         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
35390         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
35392         * manual/setjmp.texi: Fix typos/grammar errors.
35394         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
35395         Only return early when n is <= 0.  Delete unused return statement.
35397         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
35398         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
35399         * debug/tst-longjmp_chk3.c: New file.
35401         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
35402         (test_main): Replace code with set_fortify_handler call.
35403         * debug/test-strcpy_chk.c: Likewise.
35404         * debug/tst-chk1.c: Likewise.
35405         * debug/tst-longjmp_chk.c: Likewise.
35406         * test-skeleton.c: Include fcntl.h & paths.h
35407         (set_fortify_handler): Define.
35409         * debug/tst-longjmp_chk.c: Add header comment and include
35410         ../test-skeleton.c.
35411         (do_test): Mark static.
35412         (TEST_FUNCTION): Define.
35414         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
35415         (IP_PMTUDISC_INTERFACE): Likewise.
35416         (IP_MULTICAST_IF): Likewise.
35417         (IP_MULTICAST_TTL): Likewise.
35418         (IP_MULTICAST_LOOP): Likewise.
35419         (IP_ADD_MEMBERSHIP): Likewise.
35420         (IP_DROP_MEMBERSHIP): Likewise.
35421         (IP_UNBLOCK_SOURCE): Likewise.
35422         (IP_BLOCK_SOURCE): Likewise.
35423         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
35424         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
35425         (IP_MSFILTER): Likewise.
35426         (MCAST_JOIN_GROUP): Likewise.
35427         (MCAST_BLOCK_SOURCE): Likewise.
35428         (MCAST_UNBLOCK_SOURCE): Likewise.
35429         (MCAST_LEAVE_GROUP): Likewise.
35430         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35431         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35432         (MCAST_MSFILTER): Likewise.
35433         (IP_MULTICAST_ALL): Likewise.
35434         (IP_UNICAST_IF): Likewise.
35436         * timezone/Makefile: Delete $(have-ksh) check.
35437         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
35438         * timezone/tzselect.ksh: Add +x mode bits.
35440         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
35441         (ANON_INODE_FS_MAGIC): Likewise.
35442         (BDEVFS_MAGIC): Likewise.
35443         (BINFMTFS_MAGIC): Likewise.
35444         (BTRFS_TEST_MAGIC): Likewise.
35445         (CRAMFS_MAGIC_WEND): Likewise.
35446         (DEBUGFS_MAGIC): Likewise.
35447         (ECRYPTFS_SUPER_MAGIC): Likewise.
35448         (EXT3_SUPER_MAGIC): Likewise.
35449         (EXT4_SUPER_MAGIC): Likewise.
35450         (FUTEXFS_SUPER_MAGIC): Likewise.
35451         (HOSTFS_SUPER_MAGIC): Likewise.
35452         (HUGETLBFS_MAGIC): Likewise.
35453         (MINIX3_SUPER_MAGIC): Likewise.
35454         (MTD_INODE_FS_MAGIC): Likewise.
35455         (NILFS_SUPER_MAGIC): Likewise.
35456         (OPENPROM_SUPER_MAGIC): Likewise.
35457         (PIPEFS_MAGIC): Likewise.
35458         (PSTOREFS_MAGIC): Likewise.
35459         (QNX6_SUPER_MAGIC): Likewise.
35460         (RAMFS_MAGIC): Likewise.
35461         (REISERFS_SUPER_MAGIC_STRING): Likewise.
35462         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
35463         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
35464         (SECURITYFS_MAGIC): Likewise.
35465         (SELINUX_MAGIC): Likewise.
35466         (SMACK_MAGIC): Likewise.
35467         (SOCKFS_MAGIC): Likewise.
35468         (SQUASHFS_MAGIC): Likewise.
35469         (STACK_END_MAGIC): Likewise.
35470         (TMPFS_MAGIC): Likewise.
35471         (USBDEVICE_SUPER_MAGIC): Likewise.
35472         (V9FS_MAGIC): Likewise.
35473         (XENFS_SUPER_MAGIC): Likewise.
35474         (CRAMFS_MAGIC): Fix typo in comment.
35475         (EXT2_SUPER_MAGIC): Update comment.
35476         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
35478 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
35480         * sysdeps/arm: Move directory from ports/sysdeps/arm.
35481         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
35482         * sysdeps/unix/sysv/linux/arm: Move directory from
35483         ports/sysdeps/unix/sysv/linux/arm.
35484         * README: Update listing for arm-*-linux-gnueabi.
35486         * README: Remove mention of am33.
35488 2014-02-07  Roland McGrath  <roland@hack.frob.com>
35490         * bits/sigset.h (__sigemptyset): Use a statement expression rather
35491         than the comma operator, to avoid "rhs of comma has no effect"
35492         compiler warnings.
35493         (__sigfillset, __sigandset, __sigorset): Likewise.
35494         * include/signal.h (__sigemptyset): Likewise.
35495         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
35497 2014-02-07  Allan McRae  <allan@archlinux.org>
35499         * version.h (RELEASE): Set to "development".
35500         (VERSION): Set to "2.19.90"
35501         * NEWS: Add 2.20 section.
35503 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
35505         [BZ #16529]
35506         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
35508 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35510         * manual/contrib.texi: Update entry for Carlos O'Donell,
35511         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
35513 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
35515         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
35517         * sysdeps/unix/sysv/linux/kernel-features.h
35518         [__LINUX_KERNEL_VERSION >= 0x020621]
35519         (__ASSUME_PROC_PID_TASK_COMM): Define.
35521 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35523         [BZ #16398]
35524         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
35525         conversion when destination buffer does not have enough space.
35526         * libio/tst-ftell-partial-wide.c: New test case.
35527         * libio/Makefile (tests): Add tst-ftell-partial-wide.
35529         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
35530         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
35531         Leonard and Allan McRae.
35533 2014-02-04  David S. Miller  <davem@davemloft.net>
35535         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
35536         32-bit.
35538 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35541         New file
35542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35543         New file
35544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35545         New file.
35546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35547         New file.
35548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35549         New file.
35550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35551         New file.
35552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35553         New file.
35554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35555         New file.
35556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35557         New file.
35558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35559         New file.
35560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35561         New file.
35562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35563         New file.
35564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35565         New file.
35567 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35569         * nptl/shlib-versions: Change powerpc*le start to 2.17.
35570         * shlib-versions: Likewise.
35572 2014-02-04  Roland McGrath  <roland@hack.frob.com>
35573             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35575         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
35576         (abilist-pattern): New variable, set to %-le.abilist.
35578         * Makerules (abilist-pattern): New variable.
35579         (vpath): Use $(abilist-pattern) in place of %.abilist.
35580         (check-abi-% pattern rule): Likewise.
35581         (check-abi, update-abi): Likewise.
35583 2014-02-04  Eric Wong  <normalperson@yhbt.net>
35585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35587 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
35589         * manual/startup.texi: Add next, previous, and top entries for
35590         the `Program Arguments' and `Environment Variables' nodes.
35592 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
35594         * manual/macros.texi: Add comments before MTASC-safety macros.
35596         * manual/users.texi: Document MTASC-safety properties.
35598         * manual/threads.texi (pthread_key_create, pthread_key_delete)
35599         (pthread_getspecific, pthread_setspecific): Format with
35600         @deftypefun, and add @safety note.
35601         * manual/signal.texi: Move comments that analyze the above
35602         functions to their home place.
35604 2014-02-03  Allan McRae  <allan@archlinux.org>
35606         * po/sl.po: Update Slovenian translation from translation project.
35608 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
35610         * manual/time.texi (timegm): Add missing blank after @c.
35611         Reported by Joseph Myers <joseph@codesourcery.com>.
35613 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
35615         * manual/check-safety.sh: New.
35616         * manual/Makefile ($(objpfx)stamp-summary): Run it.
35618         * manual/terminal.texi: Document MTASC-safety properties.
35620         * manual/filesys.texi: Document MTASC-safety properties.
35622         * manual/errno.texi: Document MTASC-safety properties.
35624         * manual/intro.texi: Document safety identifiers and
35625         conditionals.
35627         * manual/string.texi (wcstok): Fix prototype.
35628         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
35630         * manual/time.texi: Document MTASC-safety properties.
35632         * manual/string.texi: Document MTASC-safety properties.
35634         * manual/threads.texi: Document MTASC-safety properties.
35636         * manual/stdio.texi: Document MTASC-safety properties.
35638         * manual/syslog.texi: Document MTASC-safety properties.
35640         * manual/sysinfo.texi: Document MTASC-safety properties.
35642         * manual/startup.texi: Document MTASC-safety properties.
35644         * manual/socket.texi: Document MTASC-safety properties.
35646         * manual/signal.texi: Document MTASC-safety properties.
35648 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
35650         * manual/setjmp.texi: Document MTASC-safety properties.
35652         * manual/search.texi: Document MTASC-safety properties.
35654         * manual/resource.texi: Document MTASC-safety properties.
35656         * manual/process.texi: Document MTASC-safety properties.
35658         * manual/platform.texi: Document MTASC-safety properties.
35660         * manual/pipe.texi: Document MTASC-safety properties.
35662         * manual/pattern.texi: Document MTASC-safety properties.
35664         * manual/message.texi: Document MTASC-safety properties.
35666         [BZ #12751]
35667         * manual/memory.texi: Document MTASC-safety properties.
35669         * manual/math.texi: Document MTASC-safety properties.
35671         * manual/locale.texi: Document MTASC-safety properties.
35673         * manual/llio.texi: Document MTASC-safety properties.
35675         * manual/libdl.texi: New.
35677         * manual/lang.texi: Document MTASC-safety properties.
35679         * manual/job.texi: Document MTASC-safety properties.
35681         * manual/getopt.texi: Document MTASC-safety properties.
35683         * manual/ctype.texi: Document MTASC-safety properties.
35685 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
35687         [BZ #16046]
35688         * csu/libc-tls.c (static_map): Remove variable.
35689         (__libc_setup_tls): Use main executable's link map for TLS data.
35690         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
35691         casing for LM_ID_BASE and GL(dl_nns).
35692         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
35693         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
35694         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
35695         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
35696         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
35697         member.
35698         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
35699         l_phnum members.
35701 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
35703         * manual/debug.texi: Document MTASC-safety properties.
35705 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
35707         [BZ #16510]
35708         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
35709         of __x86_64__ when disabling x87 inline functions.
35711 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
35713         * manual/charset.texi: Document MTASC-safety properties.
35715         * manual/crypt.texi: Document MTASC-safety properties.
35717         * manual/conf.texi: Document MTASC-safety properties.
35719         * manual/arith.texi: Document MTASC-safety properties.
35721         * manual/argp.texi: Document MTASC-safety properties.
35723         * manual/macros.texi: Introduce macros to document multi
35724         thread, asynchronous signal and asynchronous cancellation
35725         safety properties.
35726         * manual/intro.texi: Introduce the properties themselves.
35728 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35730         * sysdeps/sh/sh4/Makefile: New file.
35732 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
35734         * math/gen-libm-test.pl ($srcdir): New variable.
35735         ($auto_input): Use it.
35737 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35739         [BZ #16506]
35740         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
35741         access beyond array bounds when parsing netgroups file.
35743         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
35744         the old buffer before realloc.
35746 2014-01-27  Allan McRae  <allan@archlinux.org>
35748         * po/fr.po: Update French translation from translation project.
35750 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35752         * sysdeps/sh/libm-test-ulps: Regenerate.
35754 2014-01-24  David S. Miller  <davem@davemloft.net>
35756         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
35758 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35760         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
35761         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
35763 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35765         [BZ #16474]
35766         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
35767         string pointers after reallocation.
35769 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35771         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
35772         __SH4A__ instead of __SH_FPU_ANY__.
35774 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35776         * sysdeps/sh/fpu_control.h: New file.
35777         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
35778         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
35779         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
35780         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
35781         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
35782         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
35783         * sysdeps/sh/sys/ucontext.h: Remove.
35784         * sysdeps/sh/sys: Remove directory.
35786 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35788         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
35789         s390/sys/ucontext.h.
35790         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
35791         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
35793 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
35795         [BZ #15605]
35796         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
35798 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35800         [BZ#16431]
35801         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35802         Adjust the vDSO correctly for internal calls.
35803         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
35805 2014-01-20  Allan McRae  <allan@archlinux.org>
35807         * po/ca.po: Update Catalan translation from translation project.
35809 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
35811         * sysdeps/s390/sotruss-lib.c: New file.
35813 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35815         [BZ#16430]
35816         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35817         (__GI___gettimeofday): Alias for a different internal symbol to avoid
35818         local calls issues by not having a PLT stub required for IFUNC calls.
35819         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35821 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
35823         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35824         * math/test-fpucw-static.c: Likewise.
35826 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35828         [BZ #16453]
35829         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35831 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35833         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35834         implementation for powerpc.
35836 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
35838         [BZ #14782]
35839         * sysdeps/posix/system.c (__libc_system): Do not enable
35840         asynchronous cancellation.
35842 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35844         [BZ #16427]
35845         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35846         handling only for numbers special also in the IEEE case.
35848 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35850         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35852 2014-01-11  Allan McRae  <allan@archlinux.org>
35854         * po/bg.po: Update Bulgarian translation from translation project.
35856         * po/de.po: Update German translation from translation project.
35858 2014-01-10  Roland McGrath  <roland@hack.frob.com>
35860         * sysdeps/generic/gcc-compat.h: New file.
35862 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35864         * benchtests/asin-inputs: Correct slow inputs.
35865         * benchtests/acos-inputs: Likewise.
35867 2014-01-10  Allan McRae  <allan@archlinux.org>
35869         * po:sv.po: Update Swedish translation from translation project.
35871         * po/vi.po: Update Vietnamese translation from translation project.
35873         * po/eo.po: Update Esperanto translation from translation project.
35875         * po/cs.po: Update Czech translation from translation project.
35877         * po/nl.po: Update Dutch translation from translation project.
35879         * po/pl.po: Update Polish translation from translation project.
35881         * po/ru.po: Update Russian translation from translation project.
35883         * po/uk.po: Update Ukrainian translation from translation project.
35885 2014-01-08  Brooks Moses  <bmoses@google.com>
35887         * elf/dl-load.c: Fix comment typo.
35889 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
35891         * po/header.pot: Rename to...
35892         * po/pot.header: ... this.
35893         * po/Makefile: Use pot.header.
35895 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
35896             Maxim Kuvyrkov  <maxim@kugelworks.com>
35898         [BZ #16394]
35899         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
35900         SRC and DEST against LEN.
35902 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35904         [BZ #16414]
35905         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
35906         implementation.
35907         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
35909 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35913 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
35915         [BZ #16408]
35916         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
35917         for large positive arguments.
35919 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
35921         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35923         * math/auto-libm-test-in: Mark various tests with
35924         xfail-rounding:ldbl-128ibm.
35925         * math/auto-libm-test-out: Regenerated.
35927         [BZ #16407]
35928         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35929         Increase overflow threshold.
35931 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
35933         [BZ #14286]
35934         * stdio-common/vfprintf.c: Check for integer overflow.
35936 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35938         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
35939         the first argument and return value of __tls_get_addr_internal.
35941 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35943         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
35944         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
35946 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35948         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
35949         * sysdeps/s390/rtld-global-offsets.sym: New file.
35950         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
35951         GLIBC_2.19 symbol.
35952         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35953         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
35954         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35955         ... this.
35956         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
35957         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35958         ... this.
35959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35960         Regenerate.
35961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35962         Regenerate.
35963         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35964         halfs of GPRs for high_gprs contexts.
35965         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35966         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
35967         field.
35968         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35969         uc_flags field.
35970         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
35971         64 bit versions:
35972         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
35973         for high GPRs (uc_high_gprs) and for future extensions
35974         (__reserved).
35975         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
35976         for future extensions (__reserved).
35977         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
35978         64 bit versions:
35979         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
35980         SC_HIGHGPRS offset definition.
35981         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
35982         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
35984         * Versions.def: Add GLIBC_2.19 for libpthread.
35985         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
35986         siglongjmp for libpthread with GLIBC_2.19 symver.
35987         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
35988         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
35989         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
35990         * sysdeps/s390/__longjmp.c: New file.
35991         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
35992         * sysdeps/s390/longjmp.c: New file.
35993         * sysdeps/s390/setjmp.S: New file.
35994         * sysdeps/s390/sigjmp.S: New file.
35995         * sysdeps/s390/v1-longjmp.c: New file.
35996         * sysdeps/s390/v1-setjmp.h: New file.
35997         * sysdeps/s390/v1-sigjmp.c: New file.
35998         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35999         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
36000         GLIBC_2.19 version.
36001         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
36002         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
36003         versioned symbols for ____longjmp_chk.
36004         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36005         Likewise.
36006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36007         Regenerate.
36008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36009         Regenerate.
36010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36011         Regenerate.
36012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36013         Regenerate.
36014         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
36015         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
36016         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
36017         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
36018         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
36019         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
36020         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
36021         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
36022         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
36023         * sysdeps/s390/rtld-__longjmp.c: New file.
36024         * sysdeps/s390/rtld-setjmp.S: New file.
36026 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
36028         [BZ #16400]
36029         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36030         Return -__logl (x) for small positive arguments without evaluating
36031         a polynomial.
36033 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
36035         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
36036         Rename to ...
36037         (__ptrace_peeksiginfo_args): ... this.
36038         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36039         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36040         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36042 2014-01-06  Allan McRae  <allan@archlinux.org>
36044         * inet/netinet/in.h: Fix typo in comment.
36046 2014-01-05  Andreas Jaeger  <aj@suse.de>
36048         * sysdeps/i386/fpu/libm-test-ulps: Update.
36050 2014-01-05  Allan McRae  <allan@archlinux.org>
36052         * po/libc.pot: Regenerated.
36054         * malloc/memusagestat.c: Fix gettext call formatting.
36056 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
36058         * nscd/nscd.c: Improve usage() output.
36060 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
36062         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
36063         * sysdeps/unix/sysv/linux/configure: Regenerated.
36064         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
36065         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
36067 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36069         [BZ #16390]
36070         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36071         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
36073 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36075         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
36076         extra tokens at end of #undef directive.
36077         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
36078         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
36079         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36081 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36083         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36085         * math/auto-libm-test-in: Mark various tests with
36086         xfail-rounding:ldbl-128ibm.
36087         * math/auto-libm-test-out: Regenerated.
36089 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
36091         [BZ #16386]
36092         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
36093         numbers with subnormal high part when calculating exponent.
36095         [BZ #16385]
36096         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
36097         fabs.
36099         [BZ #16384]
36100         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
36101         M_LN2l.
36102         (__ieee754_acoshl): Use __log1pl not __log1p.
36104 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
36106         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
36107         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
36108         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
36109         (grow_heap, heap_trim, _int_new_arena, get_free_list)
36110         (reused_arena, arena_get2): Convert to GNU style.
36111         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
36112         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
36113         (memalign_check, __malloc_set_state): Likewise.
36114         * malloc/mallocbug.c (main): Likewise.
36115         * malloc/malloc.c (__malloc_assert, malloc_init_state)
36116         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
36117         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
36118         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
36119         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
36120         (__posix_memalign, malloc_info): Likewise.
36121         * malloc/malloc.h: Likewise.
36122         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
36123         (mallochook, memalignhook, reallochook, mabort): Likewise.
36124         * malloc/mcheck.h: Likewise.
36125         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
36126         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
36127         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
36128         * malloc/morecore.c (__default_morecore): Likewise.
36129         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
36130         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
36131         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
36132         (print_and_abort): Likewise.
36133         * malloc/obstack.h: Likewise.
36134         * malloc/set-freeres.c (__libc_freeres): Likewise.
36135         * malloc/tst-mallocstate.c (main): Likewise.
36136         * malloc/tst-mtrace.c (main): Likewise.
36137         * malloc/tst-realloc.c (do_test): Likewise.
36139 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36141         [BZ #16366]
36142         * nscd/netgroupcache.c (do_notfound): New function.
36143         (addgetnetgrentX): Use it.
36145         [BZ # 16365]
36146         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
36147         NSS_STATUS_NOTFOUND.
36149 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
36151         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36154 2014-01-01  Allan McRae  <allan@archlinux.org>
36156         * scripts/update-copyrights: Update configure input file suffix.
36158         * NEWS: Update copyright year.
36159         * catgets/gencat.c: Likewise.
36160         * csu/version.c: Likewise.
36161         * debug/catchsegv.sh: Likewise.
36162         * debug/pcprofiledump.c: Likewise.
36163         * debug/xtrace.sh: Likewise.
36164         * elf/ldconfig.c: Likewise.
36165         * elf/ldd.bash.in: Likewise.
36166         * elf/pldd.c: Likewise.
36167         * elf/sotruss.ksh: Likewise.
36168         * elf/sprof.c: Likewise.
36169         * iconv/iconv_prog.c: Likewise.
36170         * iconv/iconvconfig.c: Likewise.
36171         * locale/programs/locale.c: Likewise.
36172         * locale/programs/localedef.c: Likewise.
36173         * login/programs/pt_chown.c: Likewise.
36174         * malloc/memusage.sh: Likewise.
36175         * malloc/memusagestat.c: Likewise.
36176         * malloc/mtrace.pl: Likewise.
36177         * manual/libc.texinfo: Likewise.
36178         * nscd/nscd.c: Likewise.
36179         * nss/getent.c: Likewise.
36180         * nss/makedb.c: Likewise.
36181         * posix/getconf.c: Likewise.
36182         * scripts/test-installation.pl: Likewise.
36184         * All files with FSF copyright notices: Update copyright dates
36185         using scripts/update-copyrights.
36186         * intl/plural.c: Regenerated.
36187         * locale/programs/charmap-kw.h: Likewise.
36188         * locale/programs/locfile-kw.h: Likewise.
36190 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
36192         * sysdeps/unix/sysv/linux/configure: Regenerated.
36193         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
36194         the linux/fanotify.h header.
36195         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
36196         HAVE_LINUX_FANOTIFY_H is defined.
36198 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36200         * benchtests/cos-inputs: New inputs.
36201         * benchtests/sin-inputs: Likewise.
36203         * benchtests/atan-inputs: New inputs. Fix name of multiple
36204         precision fallback inputs.
36206         * benchtests/atanh-inputs: New inputs.
36207         * benchtests/tanh-inputs: Likewise.
36209         * benchtests/acosh-inputs: New inputs.
36210         * benchtests/asinh-inputs: Likewise.
36212         * benchtests/cosh-inputs: New inputs.
36213         * benchtests/sinh-inputs: Likewise.
36215         * benchtests/acos-inputs: Add more inputs.
36216         * benchtests/asin-inputs: Likewise.
36218 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
36220         [BZ #16375]
36221         * manual/arith.texi: Fix spelling.
36222         * manual/charset.texi: Likewise.
36223         * manual/errno.texi: Likewise.
36224         * manual/filesys.texi: Likewise.
36225         * manual/lang.texi: Likewise.
36226         * manual/llio.texi: Likewise.
36227         * manual/locale.texi: Likewise.
36228         * manual/message.texi: Likewise.
36229         * manual/resource.texi: Likewise.
36230         * manual/search.texi: Likewise.
36231         * manual/setjmp.texi: Likewise.
36232         * manual/stdio.texi: Likewise.
36233         * manual/string.texi: Likewise.
36234         * manual/sysinfo.texi: Likewise.
36235         * manual/time.texi: Likewise.
36237 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
36239         * po/sl.po: New file.
36241 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
36243         * .gitignore: Add core/.gdbinit/.gdb_history.
36245 2013-12-27  Allan McRae  <allan@archlinux.org>
36247         [BZ #16369]
36248         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
36249         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
36251 2013-12-24  Brooks Moses  <bmoses@google.com>
36253         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
36254         all compilers that claim C++98 compliance, not just GCC.
36255         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36256         Likewise.
36258 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
36260         * NEWS: Restore accidentally deleted bug-fix entries.
36262 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
36263             Ondřej Bílka  <neleai@seznam.cz>
36265         [BZ #15073]
36266         * malloc/malloc.c (_int_free): Perform sanity check only if we
36267         have_lock.
36269 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
36271         [BZ #12986]
36272         * manual/stdio.texi (String Input Conversions): Clarify that character
36273         classes are not supported.
36275 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36279 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
36281         [BZ #16337]
36282         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36283         Calculate results for small negative arguments directly rather
36284         than using reflection formula with special underflow handling.
36286         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
36287         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
36288         sysdeps/unix/bsd/bsd4.4/syscalls.list.
36289         (fchflags): Likewise.
36290         (revoke): Likewise.
36291         (setlogin): Likewise.
36292         (sigaltstack): Likewise.
36293         (wait4): Likewise.
36294         (sigblock): Remove.
36295         (sigsetmask): Likewise.
36296         (wait3): Likewise.
36297         (waitpid): Likewise.
36298         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
36299         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
36300         file.
36301         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
36302         * sysdeps/unix/bsd/Makefile: ... here.
36303         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
36304         * sysdeps/unix/bsd/Versions: ... here.
36305         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
36306         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
36307         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
36308         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
36309         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
36310         * sysdeps/unix/bsd/sigblock.c: ... here.
36311         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
36312         * sysdeps/unix/bsd/sigsetmask.c: ... here.
36313         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
36314         * sysdeps/unix/bsd/sigvec.c: ... here.
36315         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
36316         * sysdeps/unix/bsd/tcdrain.c: ... here.
36317         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
36318         * sysdeps/unix/bsd/tcgetattr.c: ... here.
36319         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
36320         * sysdeps/unix/bsd/tcsetattr.c: ... here.
36321         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
36322         * sysdeps/unix/bsd/wait.c: ... here.
36323         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
36324         * sysdeps/unix/bsd/wait3.c: ... here.
36325         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
36326         * sysdeps/unix/bsd/waitpid.c: ... here.
36328 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
36330         [BZ #16356]
36331         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
36332         round-to-nearest for [!USE_AS_EXPM1L].
36333         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
36334         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
36335         more tests of exp and exp10.  Expect some exp10 tests to miss
36336         exceptions or fail in directed rounding modes.
36337         * math/auto-libm-test-out: Regenerated.
36338         * math/libm-test.inc (exp10_tonearest_test_data): New array.
36339         (exp10_test_tonearest): New function.
36340         (exp10_towardzero_test_data): New array.
36341         (exp10_test_towardzero): New function.
36342         (exp10_downward_test_data): New array.
36343         (exp10_test_downward): New function.
36344         (exp10_upward_test_data): New array.
36345         (exp10_test_upward): New function.
36346         (main): Call the new functions.
36347         * sysdeps/i386/fpu/libm-test-ulps: Update.
36348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36350 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
36352         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
36353         asinh, atan, atan2, atanh, cbrt, cos and cosh.
36354         * math/auto-libm-test-out: Regenerated.
36355         * math/libm-test.inc (acosh_test_data): Add more tests.
36356         (atanh_test_data): Likewise.
36357         (ceil_test_data): Likewise.
36358         (copysign_test_data): Likewise.
36359         * sysdeps/i386/fpu/libm-test-ulps: Update.
36360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36362         * timezone/checktab.awk: Update from tzcode 2013i.
36363         * timezone/private.h: Likewise.
36364         * timezone/scheck.c: Likewise.
36365         * timezone/tzfile.h: Likewise.
36366         * timezone/tzselect.ksh: Likewise.
36367         * timezone/zdump.c: Likewise.
36368         * timezone/zic.c: Likewise.
36370         * math/auto-libm-test-in: Add tests of cpow.
36371         * math/auto-libm-test-out: Regenerated.
36372         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
36373         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36374         mpc_cc_c.
36375         (func_calc_desc): Add mpc_cc_c union field.
36376         (test_functions): Add cpow.
36377         (special_fill_2pi): New function.
36378         (special_real_inputs): Add 2pi.
36379         (calc_generic_results): Handle mpc_cc_c.
36380         * sysdeps/i386/fpu/libm-test-ulps: Update.
36381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36383         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
36384         csqrt, ctan and ctanh.
36385         * math/auto-libm-test-out: Regenerated.
36386         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36387         (TEST_COND_x86): Likewise.
36388         (ccos_test_data): Use AUTO_TESTS_c_c.
36389         (ccosh_test_data): Likewise.
36390         (cexp_test_data): Likewise.
36391         (clog_test_data): Likewise.
36392         (csqrt_test_data): Likewise.
36393         (ctan_test_data): Likewise.
36394         (ctan_tonearest_test_data): Likewise.
36395         (ctan_towardzero_test_data): Likewise.
36396         (ctan_downward_test_data): Likewise.
36397         (ctan_upward_test_data): Likewise.
36398         (ctanh_test_data): Likewise.
36399         (ctanh_tonearest_test_data): Likewise.
36400         (ctanh_towardzero_test_data): Likewise.
36401         (ctanh_downward_test_data): Likewise.
36402         (ctanh_upward_test_data): Likewise.
36403         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36404         mpc_c_c.
36405         (func_calc_desc): Add mpc_c_c union field.
36406         (FUNC_mpc_c_c): New macro.
36407         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
36408         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
36409         ctanh.
36410         (special_fill_min_subnorm_p120): New function.
36411         (special_real_inputs): Add min_subnorm_p120.
36412         (calc_generic_results): Handle mpc_c_c.
36413         * sysdeps/i386/fpu/libm-test-ulps: Update.
36414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36416 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36418         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
36419         (do_sin_slow): New functions.
36420         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
36421         (cslow2, csloww1, csloww2): Use the new functions.
36423         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
36424         Use M to change sign of result instead of X.  Assume X is
36425         positive.
36426         (csloww1): Likewise.
36427         (__sin): Adjust.
36428         (__cos): Adjust.
36430         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
36431         arguments A and DA.
36432         (__sin): Adjust.
36433         (__cos): Likewise.
36435         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
36436         (__cos): Likewise.
36437         (sloww1): Don't adjust sign of DX.
36438         (csloww1): Likewise.
36439         (sloww2): Use X directly and don't adjust sign of DX.
36440         (csloww2): Likewise.
36442 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36444         * math/auto-libm-test-in: Add tests of cabs and carg.
36445         * math/auto-libm-test-out: Regenerated.
36446         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
36447         (carg_test_data): Likewise.
36448         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36449         mpc_c_f.
36450         (func_calc_desc): Add mpc_c_f union field.
36451         (test_functions): Add cabs and carg.
36452         (calc_generic_results): Handle mpc_c_f.
36454         * sysdeps/powerpc/powerpc32/libgcc-compat.S
36455         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
36456         as a macro and a compat symbol.
36457         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36458         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36459         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36460         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36461         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
36462         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
36463         not use .hidden.
36464         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
36465         Likewise.
36466         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
36467         Likewise.
36468         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
36469         Likewise.
36470         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
36471         Likewise.
36472         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
36473         Likewise.
36474         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
36475         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
36476         from GLIBC_2.3.2.
36478 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36482 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36484         * manual/texinfo.tex: Update to version 2013-11-26.10 with
36485         trailing whitespace removed.
36486         * scripts/config.guess: Update to version 2013-11-29.
36487         * scripts/config.sub: Update to version 2013-10-01.
36489         * math/auto-libm-test-in: Add tests of sincos.
36490         * math/auto-libm-test-out: Regenerated.
36491         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
36492         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36493         mpfr_f_11.
36494         (func_calc_desc): Add mpfr_f_11 union field.
36495         (test_functions): Add sincos.
36496         (calc_generic_results): Handle mpfr_f_11.
36497         * sysdeps/i386/fpu/libm-test-ulps: Update.
36498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36500 2013-12-19  Andreas Schwab  <schwab@suse.de>
36502         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
36503         CALL_MCOUNT.
36504         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36505         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
36506         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
36508 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36510         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
36511         * sysdeps/i386/fpu/libm-test-ulps: Update.
36512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36514         [BZ #16293]
36515         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
36516         round-to-nearest mode when using frndint.
36517         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
36518         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36519         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36520         Likewise.
36521         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
36522         sinh test to fail.
36523         * math/auto-libm-test-out: Regenerated.
36524         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
36525         (TEST_COND_x86): Likewise.
36526         (expm1_tonearest_test_data): New array.
36527         (expm1_test_tonearest): New function.
36528         (expm1_towardzero_test_data): New array.
36529         (expm1_test_towardzero): New function.
36530         (expm1_downward_test_data): New array.
36531         (expm1_test_downward): New function.
36532         (expm1_upward_test_data): New array.
36533         (expm1_test_upward): New function.
36534         (main): Run the new test functions.
36535         * sysdeps/i386/fpu/libm-test-ulps: Update.
36536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36538         * include/features.h: Update comment documenting feature test
36539         macros.  Mention _DEFAULT_SOURCE in comment.
36540         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
36541         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
36542         _BSD_SOURCE and _SVID_SOURCE.
36543         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
36544         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
36545         !_SVID_SOURCE]: Likewise.
36546         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36547         (__USE_POSIX_IMPLICITLY): Define.
36548         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36549         (_POSIX_SOURCE): Undefine and redefine.
36550         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36551         (_POSIX_C_SOURCE): Likewise.
36552         * manual/creature.texi (_DEFAULT_SOURCE): Document.
36553         (Feature Test Macros): Update documentation of default features.
36555 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36557         * benchtests/Makefile: Add bench-strtok.
36558         * benchtests/bench-strtok.c: New file: strtok benchtest.
36560 2013-12-19  Allan McRae  <allan@archlinux.org>
36562         * manual/install.texi: Suppress menu for plain text output.
36563         * INSTALL: Regenerated.
36565 2013-12-18  Brooks Moses  <bmoses@google.com>
36567         [BZ #15846]
36568         * misc/getauxval.c: Include errno.h.
36569         (__getauxval): Set errno to ENOENT if the requested type is not
36570         found.
36571         * misc/sys/auxv.h (getauxval): Document that it may set errno;
36572         don't declare with __attribute_const__.
36573         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
36574         * manual/startup.texi: Document that getauxval sets errno.
36576 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36578         * math/auto-libm-test-in: Add tests of jn and yn.
36579         * math/auto-libm-test-out: Regenerated.
36580         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
36581         (yn_test_data): Likewise.
36582         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36583         mpfr_if_f.
36584         (func_calc_desc): Add mpfr_if_f union field.
36585         (FUNC_mpfr_if_f): New macro.
36586         (test_functions): Add jn and yn.
36587         (calc_generic_results): Assert type of second input for
36588         mpfr_ff_f.  Handle mpfr_if_f.
36589         (output_for_one_input_case): Disable all checking for arguments
36590         fitting floating-point types in case of an integer argument.
36591         * sysdeps/i386/fpu/libm-test-ulps: Update.
36592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36595         Don't expect fegetround reference in libm.so.
36597 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36599         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
36600         $(config-cflags-nofma).
36602 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36604         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
36605         * math/auto-libm-test-out: Regenerated.
36607         [BZ #16338]
36608         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
36609         to determine exponent and adjust argument to have exponent of -1.
36610         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
36611         log2.
36612         * math/auto-libm-test-out: Regenerated.
36613         * sysdeps/i386/fpu/libm-test-ulps: Update.
36614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36616 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
36618         * manual/probes.texi: Remove cases when per-thread arenas are
36619         disabled.
36621 2013-12-18  Andreas Schwab  <schwab@suse.de>
36623         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
36624         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
36625         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
36626         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
36627         * sysdeps/i386/i686/multiarch/Makefile: Update.
36628         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
36630 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36632         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
36633         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
36635 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
36637         [BZ #15968]
36638         Support TZ transition times < 00:00:00.
36639         This is needed for version-3 tz-format files; it supports time
36640         stamps past 2037 for America/Godthab (the only entry in the tz
36641         database for which this change is relevant).
36642         * manual/time.texi (TZ Variable): Document transition times
36643         from -167:59:59 through -00:00:01.
36644         * time/tzset.c (tz_rule): Time of day is now signed.
36645         (__tzset_parse_tz): Parse negative time of day.
36647         Document TZ transition times >= 25:00:00.
36648         * manual/time.texi (TZ Variable): Document transition times from
36649         25:00:00 through 167:59:59.  These are already supported, and this
36650         support will help with version-3 tz-format files.
36652         * manual/time.texi (TZ Variable): Modernize North America example
36653         to reflect current (i.e., 2007-and-later) daylight saving rules.
36655         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
36657 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36659         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
36660         * sysdeps/unix/bsd/bits/stat.h: Likewise.
36661         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
36662         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36663         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
36664         * sysdeps/unix/bsd/bsdstat.h: Likewise.
36665         * sysdeps/unix/bsd/clock.c: Likewise.
36666         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
36667         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
36668         * sysdeps/unix/bsd/init-posix.c: Likewise.
36669         * sysdeps/unix/bsd/poll.c: Likewise.
36670         * sysdeps/unix/bsd/ptsname.c: Likewise.
36671         * sysdeps/unix/bsd/seekdir.c: Likewise.
36672         * sysdeps/unix/bsd/setegid.c: Likewise.
36673         * sysdeps/unix/bsd/seteuid.c: Likewise.
36674         * sysdeps/unix/bsd/setgid.c: Likewise.
36675         * sysdeps/unix/bsd/setrgid.c: Likewise.
36676         * sysdeps/unix/bsd/setruid.c: Likewise.
36677         * sysdeps/unix/bsd/setsid.c: Likewise.
36678         * sysdeps/unix/bsd/setuid.c: Likewise.
36679         * sysdeps/unix/bsd/sigaction.c: Likewise.
36680         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
36681         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
36682         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
36683         * sysdeps/unix/bsd/telldir.c: Likewise.
36684         * sysdeps/unix/bsd/times.c: Likewise.
36685         * sysdeps/unix/bsd/usleep.c: Likewise.
36687         * misc/Makefile (install-lib): Remove libbsd-compat.a.
36688         ($(objpfx)libbsd-compat.a): Remove rule.
36690         * include/features.h (__FAVOR_BSD): Do not define.
36691         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
36692         features conflicting with POSIX.
36693         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
36694         (_BSD_SOURCE): Remove description of not being a subset of other
36695         feature test macros.
36696         * manual/job.texi (getpgrp): Do not document BSD version.
36697         (getpgid): Do not document by reference to BSD getpgrp.
36698         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
36699         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
36700         * signal/signal.h [__FAVOR_BSD]: Likewise.
36701         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
36702         instead of making contents conditional on [__FAVOR_BSD].
36703         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
36705 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36709 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36711         [BZ #16314]
36712         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
36713         values below 2**-450, not 2**-500.
36714         * math/auto-libm-test-in: Don't allow spurious underflow from
36715         hypot.
36716         * math/auto-libm-test-out: Regenerated.
36718         [BZ #16316]
36719         [BZ #16330]
36720         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
36721         values of ha and hb and sort them after adjusting subnormal
36722         arguments.
36723         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36724         Likewise.
36725         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
36726         values of ea and eb and sort them after adjusting subnormal
36727         arguments.
36728         * math/auto-libm-test-in: Do not expect some hypot tests of
36729         subnormals to fail.  Add more hypot tests.
36730         * math/auto-libm-test-out: Regenerated.
36732 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36734         [BZ #13304]
36735         * sysdeps/sh/s_fma.c: New file.
36736         * sysdeps/sh/s_fmaf.c: New file.
36737         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
36738         version.
36739         * sysdeps/sh/Implies: Add sh/soft-fp.
36741 2013-12-16  Roland McGrath  <roland@hack.frob.com>
36743         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
36744         level of indirection to members `objname', `errstring', `malloced'.
36745         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
36746         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
36747         it as the __longjmp argument (just pass 1 instead).
36748         (_dl_catch_error): Initialize C with argument pointers and address of
36749         volatile local ERRCODE rather than copying values out of C at return.
36751 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
36753         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
36754         * math/auto-libm-test-out: Regenerated.
36755         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
36756         (hypot_test_data): Likewise.
36757         (pow_test_data): Likewise.
36758         (pow_tonearest_test_data): Likewise.
36759         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36760         mpfr_ff_f.
36761         (func_calc_desc): Add mpfr_ff_f union field.
36762         (FUNC_mpfr_ff_f): New macro.
36763         (test_functions): Add atan2, hypot and pow.
36764         (special_fill_min): New function.
36765         (special_fill_minus_min): Likewise.
36766         (special_fill_min_subnorm): Likewise.
36767         (special_fill_minus_min_subnorm): Likewise.
36768         (special_real_inputs): Add min, -min, min_subnorm and
36769         -min_subnorm.
36770         (calc_generic_results): Handle mpfr_ff_f.
36771         * sysdeps/i386/fpu/libm-test-ulps: Update.
36772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36774 2013-12-16  Will Newton  <will.newton@linaro.org>
36776         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
36777         (Aligned Memory Blocks): Add documentation for aligned_alloc
36778         and suggest it as an alternative to posix_memalign.
36779         (Hooks for Malloc): Document __memalign_hook is also called
36780         for aligned_alloc.  (Summary of Malloc): Add summary for
36781         aligned alloc.  Document __memalign_hook is also called
36782         for aligned_alloc.
36784 2013-12-16  Will Newton  <will.newton@linaro.org>
36786         * manual/memory.texi (Malloc Examples): Clarify default
36787         alignment documentation.  Suggest posix_memalign rather
36788         than memalign or valloc.
36789         (Aligned Memory Blocks): Remove suggestion to use memalign
36790         or valloc.  Remove obsolete comment about BSD.
36791         Document memalign errno values and mark the function obsolete.
36792         Document posix_memalign returned error codes.  Mark valloc
36793         as obsolete.  (Hooks for Malloc): __memalign_hook is also
36794         called for posix_memalign and valloc.
36795         (Summary of Malloc): Add posix_memalign to function summary.
36796         __memalign_hook is also called for posix_memalign and valloc.
36798 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36800         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
36801         TAYLOR_SIN.
36802         (__sin): Adjust.
36803         (__cos): Likewise.
36804         (sloww): Use mynumber union.  Expand ternary operator into
36805         if-else statements.
36806         (cslow): use mynumber union.
36808 2013-12-16  Allan McRae  <allan@archlinux.org>
36810         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
36811         * configure: Regenerated.
36813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36815         [BZ #14120]
36816         * configure.ac: Added --enable-maintainer-mode. Check for
36817         autoconf when enabled.
36818         * configure: Regenerated.
36820         * nscd/nscd.service: New file.
36821         * nscd/nscd.tmpfiles: New file.
36823 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
36825         [BZ #12100]
36826         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36827         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36828         * sysdeps/x86_64/multiarch/strstr.c: ... here.
36829         (strstr): Add __strstr_sse2_unaligned ifunc.
36830         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36831         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36832         (strcasestr): Remove __strcasestr_sse42 ifunc.
36833         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36837 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36839         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36840         * sysdeps/sh/bits/fenv.h: ... here.
36841         * sysdeps/sh/sh4/fpu/bits: Remove directory.
36843 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36845         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36848         hypotf multiarch implementations.
36849         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36850         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36851         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36852         multiarch hypot for PPC64.
36853         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36854         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36855         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36856         multiarch hypotf for PPC64.
36858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36859         modff multiarch implementations.
36860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36863         multiarch modf for PPC64.
36864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36867         multiarch modff for PPC64.
36869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36870         and logl multiarch implementations.
36871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
36873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
36874         multiarch logb for PPC64.
36875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
36877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
36878         multiarch logb for PPC64.
36879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
36880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
36881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
36882         multiarch logb for PPC64.
36884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
36885         isinff multiarch implementation.
36886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36887         file.
36888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
36889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
36890         multiarch isinf for PPC64.
36891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
36892         file.
36893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
36894         multiarch isinff for PPC64.
36896         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
36897         finitef multiarch implementation.
36898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
36899         file.
36900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
36901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
36902         multiarch finite for PPC64.
36903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
36904         file.
36905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
36906         multiarch finitef for PPC64.
36908         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
36909         lrint multiarch implementation.
36910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
36911         file.
36912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
36913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
36914         multiarch llrint for PPC64.
36915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
36916         multiarch lrint for PPC64.
36918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
36919         copysignf multiarch implementation.
36920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
36921         file.
36922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
36923         file.
36924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
36925         multiarch copysign for PPC64.
36926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
36927         multiarch copysignf for PPC64.
36929         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
36930         multiarch implementation.
36931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
36932         file.
36933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
36934         file.
36935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
36936         file.
36937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
36938         file.
36939         multiarch llround for PPC64.
36940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
36941         multiarch trunc for PPC64.
36942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
36943         multiarch truncf for PPC64.
36945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
36946         multiarch implementation.
36947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
36948         file.
36949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
36950         file.
36951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
36952         file.
36953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
36954         file.
36955         multiarch llround for PPC64.
36956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
36957         multiarch round for PPC64.
36958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
36959         multiarch roundf for PPC64.
36961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36962         multiarch implementation.
36963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36964         file.
36965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36966         file.
36967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
36968         file.
36969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
36970         file.
36971         multiarch llround for PPC64.
36972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
36973         multiarch floor for PPC64.
36974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
36975         multiarch floorf for PPC64.
36977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
36978         multiarch implementation.
36979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
36980         file.
36981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
36982         file.
36983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
36984         file.
36985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
36986         file.
36987         multiarch llround for PPC64.
36988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
36989         multiarch ceil for PPC64.
36990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
36991         multiarch ceilf for PPC64.
36993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36994         multiarch implementation.
36995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
36996         file.
36997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36998         file.
36999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
37000         file.
37001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
37002         multiarch llround for PPC64.
37003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
37004         multiarch lround for PPC64.
37006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37007         multiarch implementation.
37008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
37009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
37010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
37011         file.
37012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
37013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
37014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
37015         multiarch isnan for PPC64.
37016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
37017         multiarch isnanf for PPC64.
37019         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
37020         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
37021         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
37022         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
37023         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
37024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
37026         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
37027         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37028         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37029         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37031         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
37032         multiarch implementations.
37033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37034         (__libc_ifunc_impl_list): Likewise.
37035         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
37036         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
37037         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
37038         multiarch stpcpy for PPC64.
37040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
37041         multiarch implementations.
37042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37043         (__libc_ifunc_impl_list): Likewise.
37044         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
37045         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
37046         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
37047         multiarch strcpy for PPC64.
37049         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
37050         redefine function name.
37051         (_wordcopy_fwd_dest_aligned): Likewise.
37052         (_wordcopy_bwd_aligned): Likewise.
37053         (_wordcopy_bwd_dest_aligned): Likewise.
37054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
37055         multiarch implementations.
37056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37057         (__libc_ifunc_impl_list): Likewise.
37058         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
37059         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
37060         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
37061         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
37062         multiarch wcscpy for PPC64.
37064         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
37065         multiarch implementations.
37066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37067         (__libc_ifunc_impl_list): Likewise.
37068         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
37069         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
37070         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
37071         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
37072         multiarch wcscpy for PPC64.
37074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
37075         multiarch implementations.
37076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37077         (__libc_ifunc_impl_list): Likewise.
37078         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
37079         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
37080         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
37081         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
37082         multiarch wcsrchr for PPC64.
37084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
37085         multiarch implementations.
37086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37087         (__libc_ifunc_impl_list): Likewise.
37088         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
37089         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
37090         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
37091         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
37092         multiarch wcschr for PPC64.
37094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
37095         multiarch implementations.
37096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37097         (__libc_ifunc_impl_list): Likewise.
37098         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
37099         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
37100         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
37101         multiarch strchrnul for PPC64.
37103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
37104         implementations.
37105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37106         (__libc_ifunc_impl_list): Likewise.
37107         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
37108         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
37109         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
37110         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
37111         strchr for PPC64.
37113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
37114         implementations.
37115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37116         (__libc_ifunc_impl_list): Likewise.
37117         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
37118         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
37119         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
37120         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
37121         strncmp for PPC64.
37123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
37124         multiarch implementations.
37125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37126         (__libc_ifunc_impl_list): Likewise.
37127         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
37128         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
37129         strncasecmp for PPC64.
37130         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
37131         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
37132         multiarch strncasecmp_l for PPC64.
37134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
37135         multiarch implementations.
37136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37137         (__libc_ifunc_impl_list): Likewise.
37138         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
37139         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
37140         multiarch strcasecmp for PPC64.
37141         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
37142         file.
37143         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
37144         multiarch strcasecmp_l for PPC64.
37146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
37147         implementations.
37148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37149         (__libc_ifunc_impl_list): Likewise.
37150         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
37151         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
37152         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
37153         strnlen for PPC64.
37155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
37156         implementations.
37157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37158         (__libc_ifunc_impl_list): Likewise.
37159         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
37160         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
37161         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
37162         strlen for PPC64.
37164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
37165         implementations.
37166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37167         (__libc_ifunc_impl_list): Likewise.
37168         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
37169         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
37170         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
37171         rawmemrchr for PPC64.
37173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
37174         implementation.
37175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37176         (__libc_ifunc_impl_list): Likewise.
37177         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
37178         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
37179         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
37180         memrchr for PPC64.
37182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
37183         implementation.
37184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37185         (__libc_ifunc_impl_list): Likewise.
37186         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
37187         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
37188         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
37189         memchr for PPC64.
37191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
37192         implementation.
37193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37194         (__libc_ifunc_impl_list): Likewise.
37195         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
37196         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
37197         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
37198         mempcpy for PPC64.
37200         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
37201         avoid cretion of __bzero symbol.
37202         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
37203         Likewise.
37204         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
37205         Likewise.
37206         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
37207         Likewise.
37208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
37209         multiarch implementations.
37210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37211         (__libc_ifunc_impl_list): Likewise.
37212         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
37213         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
37214         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
37215         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
37216         bzero for PPC32.
37217         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
37218         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
37219         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
37220         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
37221         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
37222         memset for PPC64.
37223         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
37225         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
37226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
37227         implementations.
37228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37229         (__libc_ifunc_impl_list): Likewise.
37230         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
37231         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
37232         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
37233         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
37234         memcmp for PPC64.
37236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
37237         multiarch for POWER/PPC64.
37238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
37239         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
37240         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
37241         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
37242         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
37243         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
37244         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
37245         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
37246         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
37247         memcpy for PPC64.
37249         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
37250         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
37251         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
37252         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
37253         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
37254         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
37255         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
37256         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
37257         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
37258         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
37259         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
37260         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
37261         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
37262         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
37263         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
37264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
37265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
37266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
37267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
37268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
37269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
37270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
37272 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37274         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
37276 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37278         * benchtests/Makefile (bench): Add exp2 and log2.
37279         (LDLIBS-bench-exp2): Add -lm.
37280         (LDLIBS-bench-log2): Likewise.
37281         * benchtests/exp2-inputs: New inputs file.
37282         * benchtests/log2-inputs: New inputs file.
37283         * benchtests/log-inputs: Add new inputs.
37284         * benchtests/tan-inputs: Likewise.
37286 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37288         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
37289         definition...
37290         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
37291         (csloww2): ... from here.
37293         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
37294         instead of structures.
37295         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
37296         (POLYNOMIAL): Likewise.
37297         (TAYLOR_SLOW): Likewise.
37298         (__sin): Likewise.
37299         (__cos): Likewise.
37300         (slow1): Likewise.
37301         (slow2): Likewise.
37302         (sloww): Likewise.
37303         (sloww1); Likewise.
37304         (sloww2): Likewise.
37305         (bsloww1): Likewise.
37306         (bsloww2): Likewise.
37307         (cslow2): Likewise.
37308         (csloww): Likewise.
37309         (csloww1): Likewise.
37310         (csloww2): Likewise.
37312 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
37314         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
37315         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
37316         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
37317         * malloc/hooks.c (realloc_check): Likewise.
37319         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
37320         * malloc/arena.c: Remove PER_THREAD conditional.
37321         [!PER_THREAD]: Remove code.
37322         (ptmalloc_unlock_all2): Likewise.
37323         (ptmalloc_init): Likewise.
37324         (_int_new_arena): Likewise.
37325         (arena_get2): Likewise.
37326         * malloc/hooks.c (__malloc_get_state): Likewise.
37327         (__malloc_set_state): Likewise.
37328         * malloc/malloc.c: Likewise.
37329         (struct malloc_state): Likewise.
37330         (struct malloc_par): Likewise.
37331         (__libc_realloc): Likewise.
37332         (__libc_mallopt): Likewise.
37334 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37336         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
37338 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
37340         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
37341         macro to a function.  Check for zero perturb_byte.
37342         (_int_malloc, _int_free): Remove zero perturb_byte checks.
37344         * malloc/malloc.c: (force_reg): Remove.
37345         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
37346         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
37347         force_reg by atomic_forced_read.
37348         * malloc/arena.c (ptmalloc_init): Likewise.
37349         * malloc/hooks.c (top_check): Likewise.
37351 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37355 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
37357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37359 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
37361         * math/auto-libm-test-in: Add tests of lgamma.
37362         * math/auto-libm-test-out: Regenerated.
37363         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
37364         (M_LOG_2_SQRT_PIl): Likewise.
37365         (lgamma_test_data): Use AUTO_TESTS_f_f1.
37366         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37367         mpfr_f_f1.
37368         (func_calc_desc): Add mpfr_f_f1 union field.
37369         (ARGS1): New macro.
37370         (ARGS2): Likewise.
37371         (ARGS3): Likewise.
37372         (ARGS4): Likewise.
37373         (RET1): Likewise.
37374         (RET2): Likewise.
37375         (CALC): Likewise.
37376         (FUNC): Likewise.
37377         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
37378         (test_functions): Add lgamma.
37379         (calc_generic_results): Handle mpfr_f_f1.
37380         * sysdeps/i386/fpu/libm-test-ulps: Update.
37381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37383 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37385         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
37386         __mpn_add_n for PowerPC64/POWER7.
37387         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
37388         __mpn_sub_n for PowerPC64/POWER7.
37390         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
37391         __mpn_addmul_1 for PowerPC64.
37392         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
37393         __mpn_submul_1 for PowerPC64.
37394         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
37395         for PowerPC64.
37396         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
37397         for PowerPC64.
37399 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
37401         [BZ #15089]
37402         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
37404 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37406         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
37408         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
37409         add multiarch folders.
37410         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
37411         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
37412         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
37413         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
37414         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
37415         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
37416         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
37417         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
37418         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
37419         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
37420         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
37421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
37422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
37423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
37424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
37425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
37426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
37428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37429         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
37430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
37431         New file.
37432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
37433         New file.
37434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
37435         multiarch __ieee754_hypot for PowerPC32.
37436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
37437         New file.
37438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
37439         New file.
37440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
37441         multiarch __ieee754_hypotf for PowerPC32.
37443         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
37444         long_double_symbol only if __logbl is defined.
37445         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
37446         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
37447         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
37448         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
37449         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
37450         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
37451         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
37452         path for implementation.
37453         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
37454         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
37455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
37456         logb, and logbl multiarch implementations for PowerPC32.
37457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
37458         file.
37459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
37460         file.
37461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
37462         multiarch logb for PowerPC32.
37463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
37464         file.
37465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
37466         file.
37467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
37468         multiarch logbf for PowerPC32.
37469         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
37470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
37471         file.
37472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
37473         multiarch logbl implementation for PowerPC32.
37475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
37476         and modff multiarch implementations.
37477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
37478         New file.
37479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
37480         New file.
37481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
37482         multiarch modf for PowerPC32.
37483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
37484         New file.
37485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
37486         New file.
37487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
37488         multiarch modff for PowerPC32.
37490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
37491         and lrintf multiarch implementations.
37492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
37493         New file.
37494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
37495         New file.
37496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
37497         multiarch lrint for PowerPC32.
37498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
37499         file: multiarch lrintf for PowerPC32.
37501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
37502         and lroundf multiarch implementations.
37503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
37504         New file.
37505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
37506         New file.
37507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
37508         New file.
37509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
37510         multiarch lround for PowerPC32.
37511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
37512         file: multiarch lroundf for PowerPC32.
37514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37515         copysign and copysignf multiarch implementations.
37516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
37517         New file.
37518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
37519         New file.
37520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
37521         file: multiarch copysign for PowerPC32.
37522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
37523         file: multiarch copysignf for PowerPC32.
37525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
37526         and truncf multiarch implementations.
37527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
37528         New file.
37529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
37530         file.
37531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
37532         multiarch trunc for PowerPC32.
37533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
37534         New file.
37535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
37536         New file.
37537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
37538         multiarch truncf for PowerPC32.
37540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
37541         and roundf multiarch implementations.
37542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
37543         New file.
37544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
37545         file.
37546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
37547         multiarch round for PowerPC32.
37548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
37549         New file.
37550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
37551         New file.
37552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
37553         multiarch roundf for PowerPC32.
37555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
37556         and floorf multiarch implementations.
37557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
37558         New file.
37559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
37560         file.
37561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
37562         multiarch floor for PowerPC32.
37563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
37564         New file.
37565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
37566         New file.
37567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
37568         multiarch floorf for PowerPC32.
37570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
37571         and ceilf multiarch implementations.
37572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
37573         New file.
37574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
37575         file.
37576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
37577         multiarch ceil for PowerPC32.
37578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
37579         New file.
37580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
37581         file.
37582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
37583         multiarch ceilf for PowerPC32.
37585         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
37586         is defined.
37587         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
37588         FINITEF is defined.
37589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
37590         and finitef multiarch implementations.
37591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
37592         New file.
37593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
37594         file.
37595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
37596         multiarch finite for PowerPC32.
37597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
37598         New file.
37599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
37600         file: multiarch finitef for PowerPC32.
37602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
37603         and isinff multiarch implementations.
37604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
37605         file.
37606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
37607         file.
37608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
37609         multiarch isinf for PowerPC32.
37610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
37611         New file.
37612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
37613         multiarch isinff for PowerPC32.
37615         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
37616         alias when __isnan is defined.
37617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
37618         and isnanf multiarch implementations.
37619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
37620         file.
37621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
37622         file.
37623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
37624         file.
37625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
37626         file.
37627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
37628         multiarch isnan for PowerPC32.
37629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
37630         New file.
37631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
37632         New file.
37633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
37634         multiarch isnanf for PowerPC32.
37636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
37637         and sqrtf multiarch implementations.
37638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
37639         file.
37640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
37641         file.
37642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
37643         multiarch sqrt for PowerPC32.
37644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
37645         file.
37646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
37647         file.
37648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
37649         multiarch sqrtf for PowerPC32.
37651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
37652         and llroundf multiarch implementations.
37653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
37654         New file.
37655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
37656         New file.
37657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
37658         New file.
37659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
37660         file: multiarch llround for PowerPC32.
37661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
37662         file: multiarch llroundf for PowerPC32.
37664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
37665         multiarch PowerPC32 fpu implementations.
37666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
37667         New file.
37668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
37669         New file.
37670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
37671         multiarch llrint for PowerPC32.
37672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
37673         New file.
37674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
37675         New file.
37676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
37677         file.
37679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
37681         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
37682         file.
37683         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
37684         file.
37685         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
37686         file.
37687         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
37688         multiarch wordcopy for PPC32.
37689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37690         wordcopy objects.
37691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37692         (__libc_ifunc_impl_list): Likewise.
37693         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
37694         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
37695         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
37696         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
37697         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
37698         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
37700         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
37701         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
37702         file.
37703         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
37704         file.
37705         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
37706         file.
37707         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
37708         multiarch wcscpy for PPC32.
37709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37710         multiarch objects.
37711         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37712         (__libc_ifunc_impl_list): Likewise.
37713         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37714         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37715         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
37716         sysdeps/powerpc/power6/wcscpy.c.
37718         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
37719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
37720         file.
37721         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
37722         file.
37723         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
37724         file.
37725         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
37726         multiarch wcsrchr for PPC32.
37727         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37728         multiarch objects.
37729         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37730         (__libc_ifunc_impl_list): Likewise.
37731         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37732         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37733         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
37734         sysdeps/powerpc/power6/wcsrchr.c.
37736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
37737         file.
37738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
37739         file.
37740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
37741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
37742         multiarch wcschr for PPc32.
37743         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37744         multiarch objects.
37745         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37746         (__libc_ifunc_impl_list): Likewise.
37747         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
37748         * sysdeps/powerpc/power6/wcschr.c: ... to here.
37749         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
37750         sysdeps/powerpc/power6/wcschr.c.
37752         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
37753         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
37754         file.
37755         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
37756         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
37757         file: multiarch strchr for PPC32.
37758         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
37759         multiarch objects.
37760         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37761         (__libc_ifunc_impl_list): Likewise.
37763         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
37764         name.
37765         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
37766         file.
37767         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
37768         file.
37769         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
37770         multiarch strchrnul for PPC32.
37771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
37772         multiarch objects.
37773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37774         (__libc_ifunc_impl_list): Likewise.
37776         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
37777         file.
37778         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
37779         multiarch strncasecmp for PPC32.
37780         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
37781         file.
37782         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
37783         multiarch strncasecmp_l for PPC32.
37784         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
37785         strncasecmp multiarch objects.
37786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37787         (__libc_ifunc_impl_list): Likewise.
37789         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
37790         file.
37791         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
37792         multiarch strncasecmp for PPC32.
37793         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37794         New file.
37795         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
37796         multiarch strcasecmp_l for PPC32.
37797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
37798         multiarch objects.
37799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37800         (__libc_ifunc_impl_list): Likewise.
37802         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
37803         file.
37804         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
37805         file.
37806         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
37807         multiarch strncmp for PPC32.
37808         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
37809         multiarch objects.
37810         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37811         (__libc_ifunc_impl_list): Likewise.
37813         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37814         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37815         file.
37816         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37817         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37819         multiarch objects.
37820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37821         (__libc_ifunc_impl_list): Likewise.
37823         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37824         file.
37825         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37826         file.
37827         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37829         multiarch objects.
37830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37831         (__libc_ifunc_impl_list): Likewise.
37833         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37834         file.
37835         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37836         file.
37837         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37838         multiarch rawmemchr for PPC32.
37839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37840         multiarch objects.
37841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37842         (__libc_ifunc_impl_list): Likewise.
37844         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37845         file.
37846         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37847         file.
37848         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37849         file: memrchr multiarch for PPC32.
37850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37851         multiarch objects.
37852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37853         (__libc_ifunc_impl_list): Likewise.
37855         * string/memchr.c (__memchr): Using macro to redefine symbol name.
37856         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37857         file.
37858         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37859         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37860         multiarch memchr for PPC32.
37861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37862         multiarch objects.
37863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37864         (__libc_ifunc_impl_list): Likewise.
37866         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37867         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37868         file.
37869         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37870         file.
37871         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
37872         file: multiarch mempcpy for PPC32.
37873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
37874         multiarch objects.
37875         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37876         (__libc_ifunc_impl_list): Likewise.
37878         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
37879         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
37880         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
37881         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
37882         multiarch bzero for PPC32.
37883         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
37884         file.
37885         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
37886         file.
37887         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
37888         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
37889         file: multiarch memset for PPC32.
37890         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
37891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
37892         memset multiarch objects.
37893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37894         (__libc_ifunc_impl_list): Likewise.
37896         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
37897         file.
37898         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
37899         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
37900         memcmp for PPC32.
37901         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
37902         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
37903         multiarch objects.
37904         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37905         (__libc_ifunc_impl_list): Likewise.
37907         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
37908         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
37909         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
37910         file.
37911         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
37912         file.
37913         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
37914         file.
37915         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
37916         multiarch memcpy for PPC32.
37917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
37918         multiarch objects.
37919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37920         (__libc_ifunc_impl_list): Likewise.
37922         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
37923         support multiarch for POWER/PPC32.
37924         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
37925         Likewise.
37926         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
37928         Implies file to make multiarch folder appers before the fpu and
37929         default folder for power4 configuration.
37931 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37933         * scripts/bench.pl: Append volatile keyword to type.
37935 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37937         * sysdeps/sh/sotruss-lib.c: New file.
37938         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37940 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37944 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
37946         [BZ #6810]
37947         * math/w_tgamma.c: Include <errno.h>.
37948         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
37949         * math/w_tgammaf.c: Include <errno.h>.
37950         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
37951         * math/w_tgammal.c: Include <errno.h>.
37952         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
37953         * math/auto-libm-test-in: Do not allow missing errno on tgamma
37954         underflow.  Add more tgamma tests.
37955         * math/auto-libm-test-out: Regenerated.
37956         * sysdeps/i386/fpu/libm-test-ulps: Update.
37957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37959         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37960         sin, sinh, tan, tanh, tgamma, y0 and y1.
37961         * math/auto-libm-test-out: Regenerated.
37962         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37963         (TEST_COND_x86): Likewise.
37964         (M_E2l): Remove macro.
37965         (M_E3l): Likewise.
37966         (M_2_SQRT_PIl): Likewise.
37967         (M_SQRT_PIl): Likewise.
37968         (M_1_DIV_El): Likewise.
37969         (log_test_data): Use AUTO_TESTS_f_f.
37970         (log10_test_data): Likewise.
37971         (log1p_test_data): Likewise.
37972         (log2_test_data): Likewise.
37973         (sin_test_data): Likewise.
37974         (sin_tonearest_test_data): Likewise.
37975         (sin_towardzero_test_data): Likewise.
37976         (sin_downward_test_data): Likewise.
37977         (sin_upward_test_data): Likewise.
37978         (sinh_test_data): Likewise.
37979         (sinh_tonearest_test_data): Likewise.
37980         (sinh_towardzero_test_data): Likewise.
37981         (sinh_downward_test_data): Likewise.
37982         (sinh_upward_test_data): Likewise.
37983         (tan_test_data): Likewise.
37984         (tan_tonearest_test_data): Likewise.
37985         (tan_towardzero_test_data): Likewise.
37986         (tan_downward_test_data): Likewise.
37987         (tan_upward_test_data): Likewise.
37988         (tanh_test_data): Likewise.
37989         (tgamma_test_data): Likewise.
37990         (y0_test_data): Likewise.
37991         (y1_test_data): Likewise.
37992         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
37993         (special_real_inputs): Add pi/4.
37994         * sysdeps/i386/fpu/libm-test-ulps: Update.
37995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37997 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37999         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
38000         "longjmp_target" static probes.
38001         (__longjmp): Rename to __longjmp_symbol.
38002         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38003         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
38004         on which longjmp to generate.
38005         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38006         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
38007         probe.
38008         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38009         (__sigjmp_save): Rename to __sigjmp_save_symbol.
38010         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38011         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
38012         and __sigjmp_save_symbol based on which sigsetjmp to generated.
38013         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
38015         __longjmp_symbol based on which __longjmp to generate.
38016         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
38017         probe.
38018         (setjmp): Rename to setjmp_symbol.
38019         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38020         (_setjmp): Rename to _setjmp_symbol.
38021         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38022         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
38023         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
38024         which setjmp to generate.
38025         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
38026         "longjmp_target" static probes.
38028 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38030         * benchtests/README: Add note about output arguments.
38031         * benchtests/bench-sincos.c: Remove file.
38032         * benchtests/sincos-inputs: New file.
38033         * scripts/bench.pl: Identify output arguments and define
38034         static variables for them.
38036         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
38038         [BZ #15941]
38039         * Makefile (INSTALL): Add install-plain.texi as the primary
38040         dependency.
38041         * manual/install-plain.texi: New file.
38042         * manual/install.texi: Include node directive only for
38043         non-plaintext output.
38045 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
38047         * stdlib/longlong.h: Update from GCC.
38049         [BZ #6807]
38050         [BZ #15901]
38051         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
38052         * math/w_j0f.c (y0f): Likewise.
38053         * math/w_j0l.c (__y0l): Likewise.
38054         * math/w_j1.c (y1): Likewise.
38055         * math/w_j1f.c (y1f): Likewise.
38056         * math/w_j1l.c (__y1l): Likewise.
38057         * math/w_jn.c (yn): Likewise.
38058         * math/w_jnf.c (ynf): Likewise.
38059         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
38060         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
38061         value for Bessel function domain errors outside _SVID_ mode.
38062         Adjust sign of return value for yn (negative integer, 0).
38063         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
38064         by zero in return for negative x and set sign appropriately for
38065         negative n.
38066         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
38067         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38068         * math/libm-test.inc (y0_test_data): Add more tests and adjust
38069         expectations in error cases.
38070         (y1_test_data): Likewise.
38071         (yn_test_data): Likewise.
38072         * sysdeps/i386/fpu/libm-test-ulps: Update.
38073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38075 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38077         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
38078         "64" to "64-v1".  Add "64-v2".
38079         (abi-64-options): Rename to ...
38080         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
38081         (abi-64-condition): Rename to ...
38082         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
38083         (abi-64-ld-soname): Rename to ...
38084         (abi-64-v1-ld-soname): ... this.
38085         (abi-64-v2-options): Define.
38086         (abi-64-v2-condition): Likewise.
38087         (abi-64-v2-ld-soname): Likewise.
38088         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
38089         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
38090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
38091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
38092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
38094 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38095             Alan Modra  <amodra@gmail.com>
38097         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
38098         New versions for use with the ELFv2 ABI.
38099         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
38100         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
38101         declaration.
38102         (struct La_ppc64v2_retval): Likewise.
38103         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
38104         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
38105         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
38106         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
38107         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
38108         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38109         Do not save or restore CR.
38110         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
38111         (_dl_profile_resolve): Do no save or restore CR.  Support extended
38112         return values for ELFv2 ABI.  Fix location of FPR return registers.
38113         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
38114         updated values for _CALL_ELF == 2.
38115         (La_regs, La_retval, int_retval): Likewise.
38117 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38119         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
38120         (FRAME_MIN_SIZE_PARM): Likewise.
38121         (FRAME_BACKCHAIN): Likewise.
38122         (FRAME_CR_SAVE): Likewise.
38123         (FRAME_LR_SAVE): Likewise.
38124         (FRAME_TOC_SAVE): Likewise.
38125         (FRAME_PARM_SAVE): Likewise.
38126         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
38127         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
38128         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38129         (call_mcount_parm_offset): New macro.
38130         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
38131         (PROF): Use symbolic stack frame offsets.
38132         (TAIL_CALL_SYSCALL_ERROR): Likewise.
38133         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
38134         Redefine in terms of FRAME_MIN_SIZE.
38135         (_dl_runtime_resolve): Use symbolic stack frame offsets.
38136         (_dl_profile_resolve): Likewise.  Update comment.
38137         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
38138         symbols stack frame offsets.
38139         (__sigsetjmp): Likewise.
38140         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
38141         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
38142         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
38143         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
38145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
38146         (FRAME_BACKCHAIN): Remove.
38147         (FRAME_CR_SAVE): Likewise.
38148         (FRAME_LR_SAVE): Likewise.
38149         (FRAME_COMPILER_DW): Likewise.
38150         (FRAME_LINKER_DW): Likewise.
38151         (FRAME_TOC_SAVE): Likewise.
38152         (FRAME_PARM_SAVE): Likewise.
38153         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
38154         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
38155         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
38157         (CHECK_SP): Use symbolic stack frame offsets.
38158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
38159         zone" instead of caller's parameter save area for temp storage.
38160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38161         Likewise.  Also, use symbolic stack frame offsets.
38162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
38163         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
38164         our own stack frame instead of the caller's.
38165         (__socket): Use symbolic stack frame offsets.
38167 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38168             Alan Modra  <amodra@gmail.com>
38170         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
38171         Define.
38172         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
38173         (PPC64_LOCAL_ENTRY_OFFSET): Define.
38174         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
38175         New function.
38176         (elf_machine_fixup_plt): Call it.
38177         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
38178         reloc arguments.
38179         (elf_machine_rela): Update call to elf_machine_plt_conflict.
38180         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
38181         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
38182         r2 before calling target.
38184 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38185             Alan Modra  <amodra@gmail.com>
38187         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
38188         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
38189         versions of macros to support ELFv2 ABI.
38190         (LOCALENTRY): New macro.
38191         (ENTRY, EALIGN): Use it.
38192         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
38193         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
38194         fall through into ENTRY entry point.
38195         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
38196         Only define if _CALL_ELF != 2.
38198         (elf_machine_matches_host): Verify ABI version matches.
38199         (RTLD_START): Use LOCALENTRY.
38200         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
38201         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
38202         (PLT_ENTRY_WORDS): New macro.
38203         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
38204         (elf_machine_runtime_setup): Support ELFv2 ABI.
38205         (elf_machine_fixup_plt): Likewise.
38206         (elf_machine_plt_conflict): Likewise.
38207         (resolve_ifunc): Likewise.
38208         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38209         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38210         Likewise.
38211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
38212         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
38213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38214         (makecontext): Support ELFv2 ABI.
38215         * elf/elf.h (EF_PPC64_ABI): Define.
38217 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38219         * sysdeps/powerpc/powerpc64/sysdep.h
38220         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
38221         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
38222         (ENTRY) [ASSEMBLER]: ... but instead here ...
38223         (EALIGN) [ASSEMBLER]: ... and here.
38224         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
38225         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
38226         (ENTRY_2) [!ASSEMBLER]: Use it.
38227         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
38228         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
38229         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
38230         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
38231         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
38232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
38233         Use PPC64_LOAD_FUNCPTR.
38235         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
38237 2013-12-04  Alan Modra  <amodra@gmail.com>
38239         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
38240         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
38241         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
38242         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
38244         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
38245         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
38246         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
38247         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
38248         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
38249         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
38251 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38254         (__makecontext): Fix incorrect CFI when backtracing out of
38255         context created via makecontext.
38256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
38257         (__setcontext): Fix incorrect CFI during switch to new context.
38258         (__novec_setcontext): Likewise.
38260 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
38262         [BZ #4772]
38263         * time/strptime_l.c (__strptime_internal): Allow modifiers
38264         in strptime.
38265         * time/tst-strptime.c (day_tests): Add testcase.
38267 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38269         * scripts/bench.pl: Skip over blank lines.
38271 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
38273         [BZ #926]
38274         * manual/time.texi (Calendar Time): Clarify what timezone functions
38275         use.
38277 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38281 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
38283         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
38284         implementation.
38285         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
38286         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
38287         * debug/memset_chk.c (__memset_chk): Likewise.
38288         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
38289         * debug/strncpy_chk.c: Likewise.
38291 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
38293         [BZ #15268]
38294         [BZ #15425]
38295         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
38296         (__ieee754_exp): For possibly underflowing results, check size of
38297         result and force underflow exception if required.
38298         * math/auto-libm-test-in: Add more tests of exp.
38299         * math/auto-libm-test-out: Regenerated.
38300         * sysdeps/i386/fpu/libm-test-ulps: Update.
38301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38303         [BZ #16283]
38304         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
38305         * math/w_exp2f.c (__exp2f): Likewise.
38306         * math/w_exp2l.c (__exp2l): Likewise.
38307         * math/auto-libm-test-in: Do not allow missing errno on exp2
38308         underflow.
38309         * math/auto-libm-test-out: Regenerated.
38311 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
38313         [BZ #16274]
38314         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
38315         handle filename validation.
38316         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
38317         (do_open): Delete.
38319 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
38321         [BZ #6786]
38322         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
38323         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
38324         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
38325         <float.h>.
38326         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
38327         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
38328         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38329         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
38330         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38331         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
38332         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38333         * math/auto-libm-test-in: Don't allow missing errno from erfc.
38334         Add more erfc tests.
38335         * math/auto-libm-test-out: Regenerated.
38336         * sysdeps/i386/fpu/libm-test-ulps: Update.
38337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38339         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
38340         exp2, expm1, j0 and j1.
38341         * math/auto-libm-test-out: Regenerated.
38342         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
38343         (erfc_test_data): Likewise.
38344         (exp_test_data): Likewise.
38345         (exp_tonearest_test_data): Likewise.
38346         (exp_towardzero_test_data): Likewise.
38347         (exp_downward_test_data): Likewise.
38348         (exp_upward_test_data): Likewise.
38349         (exp10_test_data): Likewise.
38350         (exp2_test_data): Likewise.
38351         (expm1_test_data): Likewise.
38352         (j0_test_data): Likewise.
38353         (j1_test_data): Likewise.
38354         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
38355         (input_flag_type): Add flag_xfail_rounding.
38356         (input_flags): Add xfail-rounding.
38357         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
38358         (output_for_one_input_case): Handle flag_xfail_rounding.
38359         * sysdeps/i386/fpu/libm-test-ulps: Update.
38360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38362 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
38364         [BZ #16289]
38365         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
38366         division by 0.
38368 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38370         [BZ #16195]
38371         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
38372         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
38373         (STAP_PROBE0): New macro.
38374         (STAP_PROBE1): Likewise.
38375         (STAP_PROBE2): Likewise.
38376         (STAP_PROBE3): Likewise.
38377         (STAP_PROBE4): Likewise.
38379 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
38381         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
38383 2013-12-02  Steve Ellcey  <sellcey@mips.com>
38385         * benchtests/Makefile (bench): Add sqrt.
38386         (LDLIBS-bench-sqrt): New.
38387         * benchtests/sqrt-input: New.
38389 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
38391         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
38392         (GAIH_EAI): Likewise.
38393         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
38394         (gaih_inet): Likewise.
38395         (getaddrinfo): Don't use GAIH_EAI.
38397         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
38398         (struct gaih): Remove definition.
38400 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38402         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
38403         Use HERRNOP directly.
38405 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38409 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
38411         * math/gen-auto-libm-tests.c (test_functions): Add more
38412         single-argument functions.
38413         (special_fill_pi_2): New function.
38414         (special_fill_minus_pi_2): Likewise.
38415         (special_fill_pi_6): Likewise.
38416         (special_fill_minus_pi_6): Likewise.
38417         (special_fill_pi_3): Likewise.
38418         (special_fill_2pi_3): Likewise.
38419         (special_fill_e): Likewise.
38420         (special_fill_1_e): Likewise.
38421         (special_fill_e_minus_1): Likewise.
38422         (special_real_inputs): Add more special inputs.
38423         (output_for_one_input_case): Do not require ERANGE on underflow to
38424         zero if round-to-nearest result does not underflow to zero, unless
38425         exact results required.
38426         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
38427         atan, atanh, cbrt, cos and cosh.
38428         * math/auto-libm-test-out: Regenerated.
38429         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
38430         (acos_tonearest_test_data): Likewise.
38431         (acos_towardzero_test_data): Likewise.
38432         (acos_downward_test_data): Likewise.
38433         (acos_upward_test_data): Likewise.
38434         (acosh_test_data): Likewise.
38435         (asin_test_data): Likewise.
38436         (asin_tonearest_test_data): Likewise.
38437         (asin_towardzero_test_data): Likewise.
38438         (asin_upward_test_data): Likewise.
38439         (asinh_test_data): Likewise.
38440         (atan_test_data): Likewise.
38441         (atanh_test_data): Likewise.
38442         (cbrt_test_data): Likewise.
38443         (cos_test_data): Likewise.
38444         (cos_tonearest_test_data): Likewise.
38445         (cos_towardzero_test_data): Likewise.
38446         (cos_downward_test_data): Likewise.
38447         (cos_upward_test_data): Likewise.
38448         (cosh_test_data): Likewise.
38449         (cosh_tonearest_test_data): Likewise.
38450         (cosh_towardzero_test_data): Likewise.
38451         (cosh_downward_test_data): Likewise.
38452         (cosh_upward_test_data): Likewise.
38453         * sysdeps/i386/fpu/libm-test-ulps: Update.
38454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38456 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
38458         [BZ #6787]
38459         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
38460         * math/w_exp10f.c (__exp10f): Likewise.
38461         * math/w_exp10l.c (__exp10l): Likewise.
38462         * math/libm-test.inc (exp10_test_data): Add more tests and expect
38463         errno settings in existing tests.
38465         [BZ #14032]
38466         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
38467         precision control set to double precision.
38468         * sysdeps/i386/fpu/w_sqrt.c: New file.
38469         * math/auto-libm-test-in: Add more tests.
38470         * math/auto-libm-test-out: Update.
38472         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
38473         (sqrt_test_tonearest): New function.
38474         (sqrt_towardzero_test_data): New variable.
38475         (sqrt_test_towardzero): New function.
38476         (sqrt_downward_test_data): New variable.
38477         (sqrt_test_downward): New function.
38478         (sqrt_upward_test_data): New variable.
38479         (sqrt_test_upward): New function.
38480         (main): Call the new functions.
38482         * math/gen-auto-libm-tests.c: New file.
38483         * math/auto-libm-test-in: Likewise.
38484         * math/auto-libm-test-out: New generated file.
38485         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
38486         variables.
38487         (%beautify): Add generated representations of zero.
38488         (top level): Set $auto_input and call parse_auto_input.
38489         (beautify): Remove trailing "f" from hex float constants.
38490         (parse_args): Handle XFAIL_TEST.
38491         (convert_condition): New function.
38492         (or_value): Likewise.
38493         (or_cond_value): Likewise.
38494         (generate_testfile): Handle AUTO_TESTS_* lines.
38495         (parse_auto_input): New function.
38496         * math/libm-test.inc (XFAIL_TEST): New macro.
38497         (ERRNO_UNCHANGED): Update value.
38498         (ERRNO_EDOM): Likewise.
38499         (ERRNO_ERANGE): Likewise.
38500         (IGNORE_RESULT): Likewise.
38501         (TEST_COND_flt_32): New macro.
38502         (TEST_COND_dbl_64): Likewise.
38503         (TEST_COND_ldbl_96_intel): Likewise.
38504         (TEST_COND_ldbl_96_m68k): Likewise.
38505         (TEST_COND_ldbl_128): Likewise.
38506         (TEST_COND_ldbl_128ibm): Likewise.
38507         (TEST_COND_long32): Likewise.
38508         (TEST_COND_long64): Likewise.
38509         (TEST_COND_before_rounding): Likewise.
38510         (TEST_COND_after_rounding): Likewise.
38511         (enable_test): Handle XFAIL_TEST flag.
38512         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
38513         with finite results.
38514         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
38515         auto-libm-test-out.
38517 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38518             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38520         [BZ #16214]
38521         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
38522         __tls_get_addr_internal instead of __tls_get_offset in order to
38523         avoid GOT pointer dependency.  Make rtld export
38524         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
38525         __tls_get_addr since we are a __tls_get_offset platform.
38526         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
38527         GOT pointer being set up before.
38528         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
38530 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
38532         * manual/math.texi (Errors in Math Functions): Document accuracy
38533         goals.
38535         [BZ #15004]
38536         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
38537         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
38538         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38539         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38540         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38541         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38542         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38543         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38544         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38545         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38546         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38547         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38548         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38549         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38550         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38551         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38553         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
38554         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
38555         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
38556         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
38557         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
38558         Likewise.
38559         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
38560         Likewise.
38561         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
38562         Likewise.
38563         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
38564         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
38565         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
38566         atomic-feupdateenv and flt-rounds.
38567         * sysdeps/powerpc/nofpu/Versions (libc): Add
38568         __atomic_feholdexcept, __atomic_feclearexcept,
38569         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
38570         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
38571         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
38572         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
38573         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
38574         here.
38575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38576         Update.
38578         * manual/arith.texi (FP Exceptions): Document that exceptions may
38579         not be raised when matherr is used.
38580         (Math Error Reporting): Document overflow in directed rounding
38581         modes.  Document that errno may not be set when finite values are
38582         returned on overflow.  Document intent to set errno on underflow
38583         only for underflow to zero.
38585         [BZ #16271]
38586         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
38587         round-to-nearest then adjust result for other rounding modes.
38588         * include/fenv.h (fegetround): Use libm_hidden_proto.
38589         * math/fegetround.c (fegetround): Use libm_hidden_def.
38590         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38591         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38592         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38593         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38594         Likewise.
38595         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
38596         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38597         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38598         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
38600 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38602         [BZ #16077]
38603         * nss/Versions (libnss_files): Add
38604         _nss_files_gethostbyname3_r.
38605         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
38606         New function.
38607         (HOST_DB_LOOKUP): Remove macro.
38608         (_nss_files_gethostbyname_r): Implement function without the
38609         HOST_DB_LOOKUP macro.
38610         (_nss_files_gethostbyname2_r): Likewise.
38612 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
38614         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
38616 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
38618         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
38619         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
38620         warning.
38622 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38624         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
38625         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
38626         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38627         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38628         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
38629         __fe_nomask_env_priv and attribute_hidden.
38630         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
38631         (libc_feupdateenv_test_ppc): Likewise.
38632         (libc_feresetround_ppc): Likewise.
38633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38634         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
38635         compat_symbol macro.
38636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38637         (__fe_nomask_env): Likewise.
38638         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
38640 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38642         * string/Makefile: Remove ifunc tests.
38643         * string/test-string.h: Define TEST_IFUNC.
38644         * string/test-bcopy-ifunc.c: Remove.
38645         * string/test-bzero-ifunc.c: Likewise.
38646         * string/test-memccpy-ifunc.c: Likewise.
38647         * string/test-memchr-ifunc.c: Likewise.
38648         * string/test-memcmp-ifunc.c: Likewise.
38649         * string/test-memcpy-ifunc.c: Likewise.
38650         * string/test-memmem-ifunc.c: Likewise.
38651         * string/test-memmove-ifunc.c: Likewise.
38652         * string/test-mempcpy-ifunc.c: Likewise.
38653         * string/test-memrchr-ifunc.c: Likewise.
38654         * string/test-memset-ifunc.c: Likewise.
38655         * string/test-rawmemchr-ifunc.c: Likewise.
38656         * string/test-stpcpy-ifunc.c: Likewise.
38657         * string/test-stpncpy-ifunc.c: Likewise.
38658         * string/test-strcasecmp-ifunc.c: Likewise.
38659         * string/test-strcasestr-ifunc.c: Likewise.
38660         * string/test-strcat-ifunc.c: Likewise.
38661         * string/test-strchr-ifunc.c: Likewise.
38662         * string/test-strchrnul-ifunc.c: Likewise.
38663         * string/test-strcmp-ifunc.c: Likewise.
38664         * string/test-strcpy-ifunc.c: Likewise.
38665         * string/test-strcspn-ifunc.c: Likewise.
38666         * string/test-strlen-ifunc.c: Likewise.
38667         * string/test-strncasecmp-ifunc.c: Likewise.
38668         * string/test-strncat-ifunc.c: Likewise.
38669         * string/test-strncmp-ifunc.c: Likewise.
38670         * string/test-strncpy-ifunc.c: Likewise.
38671         * string/test-strnlen-ifunc.c: Likewise.
38672         * string/test-strpbrk-ifunc.c: Likewise.
38673         * string/test-strrchr-ifunc.c: Likewise.
38674         * string/test-strspn-ifunc.c: Likewise.
38675         * string/test-strstr-ifunc.c: Likewise.
38677 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38679         * benchtests/Makefile: Remove ifunc tests.
38680         * benchtests/bench-string.h: Define TEST_IFUNC.
38681         * benchtests/bench-bcopy-ifunc.c: Remove.
38682         * benchtests/bench-bzero-ifunc.c: Likewise.
38683         * benchtests/bench-memccpy-ifunc.c: Likewise.
38684         * benchtests/bench-memchr-ifunc.c: Likewise.
38685         * benchtests/bench-memcmp-ifunc.c: Likewise.
38686         * benchtests/bench-memcpy-ifunc.c: Likewise.
38687         * benchtests/bench-memmem-ifunc.c: Likewise.
38688         * benchtests/bench-memmove-ifunc.c: Likewise.
38689         * benchtests/bench-mempcpy-ifunc.c: Likewise.
38690         * benchtests/bench-memrchr-ifunc.c: Likewise.
38691         * benchtests/bench-memset-ifunc.c: Likewise.
38692         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
38693         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
38694         * benchtests/bench-stpcpy-ifunc.c: Likewise.
38695         * benchtests/bench-stpncpy-ifunc.c: Likewise.
38696         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
38697         * benchtests/bench-strcasestr-ifunc.c: Likewise.
38698         * benchtests/bench-strcat-ifunc.c: Likewise.
38699         * benchtests/bench-strchr-ifunc.c: Likewise.
38700         * benchtests/bench-strchrnul-ifunc.c: Likewise.
38701         * benchtests/bench-strcmp-ifunc.c: Likewise.
38702         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
38703         * benchtests/bench-strcpy-ifunc.c: Likewise.
38704         * benchtests/bench-strcspn-ifunc.c: Likewise.
38705         * benchtests/bench-strlen-ifunc.c: Likewise.
38706         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
38707         * benchtests/bench-strncat-ifunc.c: Likewise.
38708         * benchtests/bench-strncmp-ifunc.c: Likewise.
38709         * benchtests/bench-strncpy-ifunc.c: Likewise.
38710         * benchtests/bench-strnlen-ifunc.c: Likewise.
38711         * benchtests/bench-strpbrk-ifunc.c: Likewise.
38712         * benchtests/bench-strrchr-ifunc.c: Likewise.
38713         * benchtests/bench-strsep-ifunc.c: Likewise.
38714         * benchtests/bench-strspn-ifunc.c: Likewise.
38715         * benchtests/bench-strstr-ifunc.c: Likewise.
38717 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38719         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
38721 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38723         * resolv/netdb.h: Use __glibc_reserved instead __unused.
38724         * rt/aio.h: Likewise.
38725         * sysdeps/gnu/bits/utmp.h: Likewise.
38726         * sysdeps/gnu/bits/utmpx.h: Likewise.
38727         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38728         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
38729         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
38730         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
38731         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
38732         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
38733         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
38734         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
38735         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
38736         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
38737         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
38738         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
38739         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
38740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
38741         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38742         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
38743         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
38744         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
38745         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
38746         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
38747         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
38748         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
38749         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
38750         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38751         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
38752         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38753         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
38754         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
38755         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
38756         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
38757         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
38758         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
38759         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
38760         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38761         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
38762         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
38763         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
38764         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
38765         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
38766         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
38767         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
38768         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38770 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
38772         [BZ #16245]
38773         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
38774         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
38776 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
38778         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
38779         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38780         Likewise.
38782 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38784         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
38785         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
38786         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
38787         (__fesetround): Remove define.
38788         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
38789         rounding and exceptions handling.
38790         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
38791         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
38792         (__fe_nomask_env): Likewise.
38793         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
38794         __fegetround instead of fegetround.
38795         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38796         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
38798 2013-11-21  Roland McGrath  <roland@hack.frob.com>
38800         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
38801         it's there.
38803         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
38805 2013-11-21  Meador Inge  <meadori@codesourcery.com>
38807         [BZ #11157]
38808         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
38809         (encrypt_r): Likewise.
38810         * malloc/obstack.h (obstack_free): Likewise.
38811         * posix/unistd.h (encrypt): Likewise.
38813 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
38815         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38816         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38817         DL_CALL_DT_FINI() that call the functions directly.
38818         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38819         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38820         * elf/dl-fini.c: Likewise.
38822 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
38824         * malloc/hooks.c (memalign_check): Add alignment rounding.
38825         * malloc/malloc.c (_mid_memalign): New function.
38826         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38827         Implement by calling _mid_memalign.
38828         * manual/probes.texi (Memory Allocation Probes): Remove
38829         memory_valloc_retry and memory_pvalloc_retry.
38831 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38833         * locale/programs/locarchive.c (open_archive): Add const
38834         qualifier to ARCHIVEFNAME and copy default fname to
38835         DEFAULT_FNAME.
38837         [BZ #15601]
38838         * libio/tst-widetext.input: Rename Oriya to Odia.
38839         * locale/iso-639.def: Likewise.
38841         * manual/probes.texi (Mathematical Function Probes): Add
38842         documentation for sin, cos, asin and acos probes.
38843         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38844         (__sin32): Add slowasin probe.
38845         (__cos32): Add slowacos probe.
38846         (__mpsin): Add slowsin probe.
38847         (__mpcos): Add slowcos probe.
38849 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
38851         [BZ #15483]
38852         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38853         thread-local __sim_exceptions_thread and global
38854         __sim_exceptions_global.
38855         (__sim_disabled_exceptions): Change to thread-local
38856         __sim_disabled_exceptions_thread and global
38857         __sim_disabled_exceptions_global.
38858         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38859         and global __sim_round_mode_global.
38860         (__simulate_exceptions): Use thread-local floating-point state and
38861         set global state from it as needed.
38862         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38863         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38864         __sim_round_mode_thread.
38865         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38866         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38867         and global __sim_exceptions_global.
38868         (__sim_disabled_exceptions): Change to thread-local
38869         __sim_disabled_exceptions_thread and global
38870         __sim_disabled_exceptions_global.
38871         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38872         and global __sim_round_mode_global.
38873         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
38874         (SIM_SET_GLOBAL): Likewise.
38875         * sysdeps/powerpc/soft-fp/sfp-machine.h
38876         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
38877         __sim_round_mode_thread.
38878         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
38879         __sim_disabled_exceptions_thread.
38880         (__sim_exceptions): Change to __sim_exceptions_thread.
38881         (__sim_disabled_exceptions): Change to
38882         __sim_disabled_exceptions_thread.
38883         (__sim_round_mode): Change to __sim_round_mode_thread.
38884         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
38885         thread-local floating-point state and set global state from it as
38886         needed.
38887         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
38888         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
38889         (__sim_disabled_exceptions): Remove extern declaration.
38890         (feenableexcept): Use thread-local floating-point state and set
38891         global state from it as needed.
38892         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
38893         extern declaration.
38894         (__sim_disabled_exceptions): Likewise.
38895         (__sim_round_mode): Likewise.
38896         (__fegetenv): Use thread-local floating-point state.
38897         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
38898         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38899         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
38900         floating-point state and set global state from it as needed.
38901         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
38902         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38903         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
38904         Likewise.
38905         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38906         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
38907         Likewise.
38908         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
38909         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
38910         Use __sim_round_mode_thread.
38911         * math/test-fenv-tls.c: New file.
38912         * math/Makefile (tests): Add test-fenv-tls.
38913         ($(objpfx)test-fenv-tls): Depend on
38914         $(common-objpfx)nptl/libpthread.so.
38916 2013-11-19  Andreas Schwab  <schwab@suse.de>
38918         * locale/programs/locale.c (show_info): Decode wordarray elements.
38919         * locale/categories.def (LC_MONETARY): Add element for
38920         _NL_MONETARY_CRNCYSTR.
38921         * locale/C-monetary.c (conversion_rate): New variable.
38922         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
38923         element.
38925 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
38927         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
38928         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
38930 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38932         * elf/Makefile (tst-auxv): New test.
38933         * elf/tst-auxv.c: New
38934         * elf/rtld.c (dl_main): Adjust AT_EXECFN
38936 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
38938         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
38939         (hidden_proto): Caller changed.
38940         (hidden_tls_proto): New macro.
38941         (libc_hidden_tls_proto): Likewise.
38942         (rtld_hidden_tls_proto): Likewise.
38943         (libm_hidden_tls_proto): Likewise.
38944         (libresolv_hidden_tls_proto): Likewise.
38945         (librt_hidden_tls_proto): Likewise.
38946         (libdl_hidden_tls_proto): Likewise.
38947         (libnss_files_hidden_tls_proto): Likewise.
38948         (libnsl_hidden_tls_proto): Likewise.
38949         (libnss_nisplus_hidden_tls_proto): Likewise.
38950         (libutil_hidden_tls_proto): Likewise.
38952 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
38954         [BZ #10253]
38955         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
38956         (decompose_rpath): Defer expansion to fillin_rpath.
38957         (_dl_init_paths): Pass linkmap to fillin_rpath.
38959 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38961         * benchtests/Makefile: Add strsep.
38962         * benchtests/bench-strsep.c: New file: strsep benchtest.
38963         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38965 2013-11-18  Andreas Schwab  <schwab@suse.de>
38967         * locale/programs/locale.c (show_info) [case byte]: Check for
38968         '\377' instead of '\177'.
38969         * locale/C-monetary.c (not_available): Always use "\377".
38970         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
38971         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
38972         detect unavailable sign_posn locale elements.
38973         * locale/localeconv.c (__localeconv): For grouping and
38974         mon_grouping handle "\177" and "\377" like no grouping.
38975         (INT_ELEM): New macro.  Use it to set all numeric members.
38976         * locale/programs/ld-monetary.c (monetary_read)
38977         <tok_mon_grouping>: Normalize single -1 to the empty string.
38978         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
38979         Likewise.
38981 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38983         [BZ #16055]
38984         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
38985         when we match (nil).
38986         * stdio-common/tst-sscanf.c (struct test): Add testcase.
38988 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
38990         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
38991         (NO_TEST_INLINE): Update value.
38992         (ERRNO_UNCHANGED): Likewise.
38993         (ERRNO_EDOM): Likewise.
38994         (ERRNO_ERANGE): Likewise.
38995         (IGNORE_RESULT): Likewise.
38996         (check_float_internal): Check signs of NaN results if
38997         TEST_NAN_SIGN used.
38998         (check_complex): Pass TEST_NAN_SIGN flag through to second
38999         check_float_internal call.
39000         (copysign_test_data): Add tests with quiet NaNs as second
39001         argument.  Use TEST_NAN_SIGN.
39002         (fabs_test_data): Add test of negative quiet NaN argument.  Use
39003         TEST_NAN_SIGN.
39004         (signbit_test_data): Add tests of quiet NaN argument.
39005         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
39007         * math/gen-libm-test.pl (show_exceptions): Take extra argument
39008         $ignore_result.
39009         (parse_args): Handle function results specified as IGNORE.
39010         * math/libm-test.inc (IGNORE_RESULT): New macro.
39011         (check_float_internal): Do not check numerical result if flag
39012         IGNORE_RESULT set.
39013         (check_complex): Pass through IGNORE_RESULT to second
39014         check_float_internal call.
39015         (check_int): Do not check numerical result if flag IGNORE_RESULT
39016         set.
39017         (check_long): Likewise.
39018         (check_bool): Likewise.
39019         (check_longlong): Likewise.
39020         (lrint_test_data): Add tests of infinite and NaN arguments.
39021         (lrint_tonearest_test_data): Likewise.
39022         (lrint_towardzero_test_data): Likewise.
39023         (lrint_downward_test_data): Likewise.
39024         (lrint_upward_test_data): Likewise.
39025         (llrint_test_data): Likewise.
39026         (llrint_tonearest_test_data): Likewise.
39027         (llrint_towardzero_test_data): Likewise.
39028         (llrint_downward_test_data): Likewise.
39029         (llrint_upward_test_data): Likewise.
39030         (lround_test_data): Likewise.
39031         (llround_test_data): Likewise.
39033         * math/libm-test.inc (NO_TEST_INLINE): New macro.
39034         (ERRNO_UNCHANGED): Update value.
39035         (ERRNO_EDOM): Likewise.
39036         (ERRNO_ERANGE): Likewise.
39037         (NO_TEST_INLINE_FLOAT): New macro.
39038         (NO_TEST_INLINE_DOUBLE): Likewise.
39039         (enable_test): New function.
39040         (RUN_TEST_f_f): Check enable_test before running test.
39041         (RUN_TEST_2_f): Likewise.
39042         (RUN_TEST_fff_f): Likewise.
39043         (RUN_TEST_c_f): Likewise.
39044         (RUN_TEST_f_f1): Likewise.
39045         (RUN_TEST_fF_f1): Likewise.
39046         (RUN_TEST_fI_f1): Likewise.
39047         (RUN_TEST_ffI_f1): Likewise.
39048         (RUN_TEST_c_c): Likewise.
39049         (RUN_TEST_cc_c): Likewise.
39050         (RUN_TEST_f_i): Likewise.
39051         (RUN_TEST_f_i_tg): Likewise.
39052         (RUN_TEST_ff_i_tg): Likewise.
39053         (RUN_TEST_f_b): Likewise.
39054         (RUN_TEST_f_b_tg): Likewise.
39055         (RUN_TEST_f_l): Likewise.
39056         (RUN_TEST_f_L): Likewise.
39057         (RUN_TEST_fFF_11): Likewise.
39058         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
39059         conditionals.
39060         (cosh_test_data): Likewise.
39061         (exp_test_data): Likewise.
39062         (expm1_test_data): Likewise.
39063         (hypot_test_data): Likewise.
39064         (pow_test_data): Likewise.
39065         (sinh_test_data): Likewise.
39066         (tanh_test_data): Likewise.
39067         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
39068         flags argument.
39070         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
39071         tests with quiet NaN input and output.
39072         (acosh_test_data): Likewise.
39073         (asin_test_data): Likewise.
39074         (asinh_test_data): Likewise.
39075         (atan_test_data): Likewise.
39076         (atanh_test_data): Likewise.
39077         (atan2_test_data): Likewise.
39078         (cbrt_test_data): Likewise.
39079         (cos_test_data): Likewise.
39080         (cosh_test_data): Likewise.
39081         (erf_test_data): Likewise.
39082         (erfc_test_data): Likewise.
39083         (exp_test_data): Likewise.
39084         (exp10_test_data): Likewise.
39085         (exp2_test_data): Likewise.
39086         (expm1_test_data): Likewise.
39087         (hypot_test_data): Likewise.
39088         (j0_test_data): Likewise.
39089         (j1_test_data): Likewise.
39090         (jn_test_data): Likewise.
39091         (lgamma_test_data): Likewise.
39092         (log_test_data): Likewise.
39093         (log10_test_data): Likewise.
39094         (log1p_test_data): Likewise.
39095         (log2_test_data): Likewise.
39096         (pow_test_data): Likewise.
39097         (scalb_test_data): Likewise.
39098         (sin_test_data): Likewise.
39099         (sincos_test_data): Likewise.
39100         (sinh_test_data): Likewise.
39101         (tan_test_data): Likewise.
39102         (tanh_test_data): Likewise.
39103         (tgamma_test_data): Likewise.
39104         (y0_test_data): Likewise.
39105         (y1_test_data): Likewise.
39106         (yn_test_data): Likewise.
39108         [BZ #16167]
39109         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
39110         argument being NaN and avoid computations with second argument in
39111         that case.
39112         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39113         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
39114         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39116 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
39118         * locale/iso-639.def: Add Chitwani Tharu (the).
39120 2013-11-14  Andreas Schwab  <schwab@suse.de>
39122         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
39123         word instead of empty string.
39125 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39128         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
39129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39130         (__fe_nomask_env): Likewise.
39132 2013-11-13  Steve Ellcey  <sellcey@mips.com>
39134         * benchtests/bench-timing.h: Include time.h.
39136 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
39138         [BZ #15997]
39139         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
39140         to 3.4.0 for x32.
39141         * sysdeps/unix/sysv/linux/configure: Regenerated.
39143 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
39145         [BZ #16151]
39146         * stdlib/strtod_l.c (round_and_return): Do not consider
39147         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
39148         exponent one less than half the least subnormal exponent.
39149         * stdlib/test-strtod-round-data: Add more tests.
39150         * stdlib/tst-strtod-round.c (tests): Regenerated.
39152 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39154         [BZ #14143]
39155         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
39156         (__fe_mask_env): Likewise.
39157         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
39158         libm_hidden_proto and add function prototype.
39159         (__fe_mask_env): Add function prototype.
39160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39161         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
39162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39163         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
39164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39165         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
39167 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39169         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
39170         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
39172 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39174         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
39175         of htab_find_slot().
39177 2013-11-11  David S. Miller  <davem@davemloft.net>
39179         [BZ #16150]
39180         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
39181         symbol in the non-vis3 case in static builds.
39182         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
39183         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
39184         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
39185         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
39187 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
39189         [BZ #387]
39190         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
39191         it is empty.
39193 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39195         * benchtests/Makefile: Add bench-strtod.
39196         * benchtests/bench-strtod.c: New file: strtod benchtest
39198 2013-11-11  Andreas Schwab  <schwab@suse.de>
39200         [BZ #16153]
39201         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
39202         terminating NUL in key length.
39204 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39206         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39207         Add artificial ODP entry for vDSO symbol for PPC64.
39208         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
39209         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
39211 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39213         [BZ #15374]
39214         * nss/getent.c (services_keys): Recognize services starting with digit.
39216 2013-11-06  David S. Miller  <davem@davemloft.net>
39218         [BZ #15985]
39219         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
39220         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
39222 2013-11-06  Will Newton  <will.newton@linaro.org>
39224         * manual/memory.texi (Malloc Examples): Remove register
39225         keyword from examples.
39227 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
39229         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
39231 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
39233         [BZ #6981]
39234         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
39235         depending on [__GCC_IEC_559 > 0].
39236         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
39237         depending on [__GCC_IEC_559_COMPLEX > 0].
39239 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
39241         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
39242         to iso-639.def.
39244 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
39246         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
39248 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
39250         [BZ #16112]
39251         * malloc/malloc (malloc_info): Do not handle first bin as
39252         special case.
39254 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
39256         * locale/iso-639.def: Add Central Nahuatl (nhn).
39258 2013-11-01  Bruno Haible  <bruno@clisp.org>
39260         [BZ #7003]
39261         * manual/math.texi (BSD Random): Specify range upper bound as
39262         in POSIX.
39264 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
39266         * locale/iso-639.def: Add Meadow Mari (mhr).
39268 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
39270         [BZ #14752], [BZ #15763]
39271         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
39272         Validate name.
39273         * rt/tst_shm.c: Add test for escaping directory.
39275 2013-10-31  Andreas Schwab  <schwab@suse.de>
39277         [BZ #15917]
39278         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
39279         followed by 'x' as part of digit sequence.
39280         * stdio-common/tst-sscanf.c (double_tests2): New tests.
39282 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
39284         [BZ #16037]
39285         * configure.ac: allow GNU Make 4.0 and greater.
39286         * configure: Regenerated.
39288 2013-10-30  Will Newton  <will.newton@linaro.org>
39290         [BZ #16038]
39291         * malloc/hooks.c (memalign_check): Limit alignment to the
39292         maximum representable power of two.
39293         * malloc/malloc.c (__libc_memalign): Likewise.
39294         * malloc/tst-memalign.c (do_test): Add test for very
39295         large alignment values.
39296         * malloc/tst-posix_memalign.c (do_test): Likewise.
39298 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
39300         [BZ #11087]
39301         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
39302         (munmap_chunk): Likewise.
39303         (mremap_chunk): Likewise.
39305 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
39307         [BZ #15799]
39308         * stdlib/div.c (div): Remove obsolete code.
39309         * stdlib/ldiv.c (ldiv): Likewise.
39310         * stdlib/lldiv.c (lldiv): Likewise.
39312 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39314         [BZ #16071]
39315         * nss/nss_files/files-XXX.c (get_contents_ret): New
39316         enumerator.
39317         (get_contents): New function.
39318         (internal_getent): Use it.  Expand size of LINEBUFLEN.
39320 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
39322         * configure.in: Moved to ...
39323         * configure.ac: ... here. Change reference to configure.in
39324         to configure.ac.
39325         * sysdeps/arm/preconfigure.ac: ... here.
39326         configure.in to configure.ac.
39327         * sysdeps/gnu/configure.in: Moved to ...
39328         * sysdeps/gnu/configure.ac: ... here.
39329         * sysdeps/i386/configure.in: Moved to ...
39330         * sysdeps/i386/configure.ac: ... here.
39331         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
39332         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
39333         * sysdeps/mach/configure.in: Moved to ...
39334         * sysdeps/mach/configure.ac: ... here.
39335         * sysdeps/mach/hurd/configure.in: Moved to ...
39336         * sysdeps/mach/hurd/configure.ac: ... here.
39337         * sysdeps/powerpc/configure.in: Moved to ...
39338         * sysdeps/powerpc/configure.ac: ... here.
39339         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
39340         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
39341         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
39342         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
39343         * sysdeps/s390/s390-32/configure.in: Moved to ...
39344         * sysdeps/s390/s390-32/configure.ac: ... here.
39345         * sysdeps/s390/s390-64/configure.in: Moved to ...
39346         * sysdeps/s390/s390-64/configure.ac: ... here.
39347         * sysdeps/sh/configure.in: Moved to ...
39348         * sysdeps/sh/configure.ac: ... here.
39349         * sysdeps/sparc/configure.in: Moved to ...
39350         * sysdeps/sparc/configure.ac: ... here.
39351         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
39352         * sysdeps/unix/sysv/linux/configure.ac: ... here.
39353         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
39354         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
39355         * sysdeps/x86_64/configure.in: Moved to ...
39356         * sysdeps/x86_64/configure.ac: ... here.
39357         * sysdeps/x86_64/preconfigure.in: Moved to ...
39358         * sysdeps/x86_64/preconfigure.ac: ... here.
39359         * aclocal.m4: Change reference to configure.in to configure.ac.
39360         * config.h.in: Likewise.
39361         * manual/install.texi: Likewise.
39362         * manual/maint.texi: Likewise.
39363         * Makefile: Likewise.
39364         * malloc/Makefile: Likewise.
39365         * nscd/Makefile: Likewise.
39366         * Makeconfig: Change reference to configure.in and
39367         preconfigure.in to configure.ac and preconfigure.ac
39368         respectively.
39369         * INSTALL: Regenerated.
39370         * configure: Likewise.
39371         * sysdeps/gnu/configure: Likewise.
39372         * sysdeps/i386/configure: Likewise.
39373         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
39374         * sysdeps/mach/configure: Likewise.
39375         * sysdeps/mach/hurd/configure: Likewise.
39376         * sysdeps/powerpc/configure: Likewise.
39377         * sysdeps/powerpc/powerpc32/configure: Likewise.
39378         * sysdeps/powerpc/powerpc64/configure: Likewise.
39379         * sysdeps/s390/s390-32/configure: Likewise.
39380         * sysdeps/s390/s390-64/configure: Likewise.
39381         * sysdeps/sh/configure: Likewise.
39382         * sysdeps/sparc/configure: Likewise.
39383         * sysdeps/unix/sysv/linux/configure: Likewise.
39384         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
39385         * sysdeps/x86_64/configure: Likewise.
39386         * sysdeps/x86_64/preconfigure: Likewise.
39388 2013-10-29  Andreas Schwab  <schwab@suse.de>
39390         * stdio-common/Makefile (tst-swscanf-ENV): Define.
39392 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39394         * benchtests/pow-inputs: Add new inputs.
39396         * benchtests/exp-inputs: Add new inputs.
39398         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
39399         conditional check for return value.
39400         (__cos32): Likewise.
39402 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39404         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
39405         to provide a boost for large inputs with word alignment.
39406         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
39407         implementation based on optimized PPC64 strcpy.
39408         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
39409         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
39410         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
39411         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
39413 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39415         [BZ #2801]
39416         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
39418 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39420         [BZ #14876]
39421         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
39422         * time/tst-strptime.c (day_tests): Add testcase.
39424 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39426         [BZ #14029]
39427         * manual/pattern.texi: Acknowledge that fnmatch can fail.
39429 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
39431         [BZ #16074]
39432         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
39433         MAP_FAILED on error.
39435 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39437         [BZ #16072]
39438         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
39439         heap for large requests.
39441 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
39443         [BZ #9954]
39444         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
39445         result if the result has no associated interface.
39446         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
39447         interface for all 127.X.Y.Z addresses.
39449 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
39451         * locale/iso-639.def: Add Ligurian (lij)
39453 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
39455         [BZ #15825]
39456         * sunrpc/rpc_main.c: Document rpcgen -5.
39458 2013-10-19  Michael Stahl  <mstahl@redhat.com>
39460         * elf/rtld.c (do_preload): Print the reason why preloading failed.
39462 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
39464         [BZ #10278]
39465         * posix/glob.c: Match only directories when trailing slash is present.
39466         * posix/tst-gnuglob.c (my_opendir): Do not open files.
39467         (main): Add testcase.
39469 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
39471         [BZ #15670]
39472         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
39474 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
39476         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
39477         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
39478         AUTH_DES and cindex for FIPS 140-2.
39479         (DES Encryption): Add cindex FIPS 46-3.
39481         * locale/locarchive.h (struct locarhandle): Add fname.
39482         * locale/programs/localedef.c (main): Pass ARGV[remaining]
39483         if an optional argument was specified to --list-archive,
39484         otherwise NULL.
39485         * locale/programs/locarchive.c (show_archive_content): Take new
39486         argument fname and pass it via ah.fname to open_archive.
39487         * locale/programs/localedef.h: Update decl.
39488         (open_archive): If AH->fname is non-null, open that file
39489         rather than the default file name, and don't ignore ENOENT.
39490         (create_archive): Set AH.fname to NULL.
39491         (delete_locales_from_archive): Likewise.
39492         (add_locales_to_archive): Likewise.
39493         * locale/programs/locfile.c (write_all_categories): Likewise.
39495 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
39496             Aldy Hernandez  <aldyh@redhat.com>
39498         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
39499         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
39500         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
39501         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
39502         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
39503         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
39504         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
39505         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
39506         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
39507         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
39508         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
39509         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
39510         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
39511         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
39512         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
39513         Likewise.
39514         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
39515         Likewise.
39516         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
39517         Likewise.
39518         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
39519         Likewise.
39520         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
39521         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
39522         Likewise.
39523         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
39524         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
39525         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
39526         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
39527         Likewise.
39528         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
39529         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
39530         * sysdeps/powerpc/preconfigure: Likewise.
39531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
39532         Likewise.
39533         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
39534         Replace contents of file by #include of <fenv_libc.h>.
39535         * sysdeps/powerpc/soft-fp/sfp-machine.h
39536         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
39537         and <sys/prctl.h>.
39538         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
39539         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
39540         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
39541         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
39542         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
39543         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
39544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
39545         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
39546         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
39547         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
39548         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
39549         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
39550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39551         Allow copysignl PLT reference to be missing.
39553 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
39554             Joseph Myers  <joseph@codesourcery.com
39556         [BZ #15948]
39557         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
39558         single character.
39559         (add_to_tablewc): Assert sequence of wide characters is nonempty.
39561 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39563         * elf/tst-tls-dlinfo.c: Don't include tls.h.
39564         * elf/tst-tls1.c: Likewise.
39565         * elf/tst-tls10.h: Likewise.
39566         * elf/tst-tls14.c: Likewise.
39567         * elf/tst-tls2.c: Likewise.
39568         * elf/tst-tls3.c: Likewise.
39569         * elf/tst-tls4.c: Likewise.
39570         * elf/tst-tls5.c: Likewise.
39571         * elf/tst-tls6.c: Likewise.
39572         * elf/tst-tls7.c: Likewise.
39573         * elf/tst-tls8.c: Likewise.
39574         * elf/tst-tls9.c: Likewise.
39575         * elf/tst-tlsmod1.c: Likewise.
39576         * elf/tst-tlsmod13.c: Likewise.
39577         * elf/tst-tlsmod13a.c: Likewise.
39578         * elf/tst-tlsmod14a.c: Likewise.
39579         * elf/tst-tlsmod16a.c: Likewise.
39580         * elf/tst-tlsmod16b.c: Likewise.
39581         * elf/tst-tlsmod2.c: Likewise.
39582         * elf/tst-tlsmod3.c: Likewise.
39583         * elf/tst-tlsmod4.c: Likewise.
39584         * elf/tst-tlsmod5.c: Likewise.
39585         * elf/tst-tlsmod6.c: Likewise.
39587 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
39589         [BZ #12486]
39590         * malloc/malloc.c: remove checks for statistics.
39592 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39594         [BZ #15277]
39595         * inet/inet_net.c (inet_network): Detect additional invalid strings.
39596         * inet/tst-network.c: Add testcase.
39598 2013-10-17  Andreas Schwab  <schwab@suse.de>
39600         [BZ #15218]
39601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
39602         to determine canonical name.
39604 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39606         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
39607         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
39608         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39609         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39610         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39611         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39612         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39613         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39614         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39615         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39616         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39617         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39618         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39619         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39620         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39621         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39622         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39623         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39624         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39625         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39626         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39627         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39628         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39629         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
39630         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
39631         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39632         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39633         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
39634         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39635         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
39636         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39637         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39638         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39639         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39640         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39641         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39642         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39643         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39644         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39645         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39646         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39647         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39648         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39649         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39650         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39651         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39652         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39653         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39654         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39655         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39656         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39657         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39658         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39659         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39660         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39661         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39662         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39663         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39665 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
39667         [BZ #16041]
39668         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
39669         make result into a quiet NaN.
39671 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
39673         * soft-fp/adddf3.c: Fix horizontal whitespace.
39674         * soft-fp/addsf3.c: Likewise.
39675         * soft-fp/addtf3.c: Likewise.
39676         * soft-fp/divdf3.c: Likewise.
39677         * soft-fp/divsf3.c: Likewise.
39678         * soft-fp/divtf3.c: Likewise.
39679         * soft-fp/double.h: Likewise.
39680         * soft-fp/eqdf2.c: Likewise.
39681         * soft-fp/eqsf2.c: Likewise.
39682         * soft-fp/eqtf2.c: Likewise.
39683         * soft-fp/extenddftf2.c: Likewise.
39684         * soft-fp/extended.h: Likewise.
39685         * soft-fp/extendsfdf2.c: Likewise.
39686         * soft-fp/extendsftf2.c: Likewise.
39687         * soft-fp/extendxftf2.c: Likewise.
39688         * soft-fp/fixdfdi.c: Likewise.
39689         * soft-fp/fixdfsi.c: Likewise.
39690         * soft-fp/fixdfti.c: Likewise.
39691         * soft-fp/fixsfdi.c: Likewise.
39692         * soft-fp/fixsfsi.c: Likewise.
39693         * soft-fp/fixsfti.c: Likewise.
39694         * soft-fp/fixtfdi.c: Likewise.
39695         * soft-fp/fixtfsi.c: Likewise.
39696         * soft-fp/fixtfti.c: Likewise.
39697         * soft-fp/fixunsdfdi.c: Likewise.
39698         * soft-fp/fixunsdfsi.c: Likewise.
39699         * soft-fp/fixunsdfti.c: Likewise.
39700         * soft-fp/fixunssfdi.c: Likewise.
39701         * soft-fp/fixunssfsi.c: Likewise.
39702         * soft-fp/fixunssfti.c: Likewise.
39703         * soft-fp/fixunstfdi.c: Likewise.
39704         * soft-fp/fixunstfsi.c: Likewise.
39705         * soft-fp/fixunstfti.c: Likewise.
39706         * soft-fp/floatdidf.c: Likewise.
39707         * soft-fp/floatdisf.c: Likewise.
39708         * soft-fp/floatditf.c: Likewise.
39709         * soft-fp/floatsidf.c: Likewise.
39710         * soft-fp/floatsisf.c: Likewise.
39711         * soft-fp/floatsitf.c: Likewise.
39712         * soft-fp/floattidf.c: Likewise.
39713         * soft-fp/floattisf.c: Likewise.
39714         * soft-fp/floattitf.c: Likewise.
39715         * soft-fp/floatundidf.c: Likewise.
39716         * soft-fp/floatundisf.c: Likewise.
39717         * soft-fp/floatunditf.c: Likewise.
39718         * soft-fp/floatunsidf.c: Likewise.
39719         * soft-fp/floatunsisf.c: Likewise.
39720         * soft-fp/floatunsitf.c: Likewise.
39721         * soft-fp/floatuntidf.c: Likewise.
39722         * soft-fp/floatuntisf.c: Likewise.
39723         * soft-fp/floatuntitf.c: Likewise.
39724         * soft-fp/fmadf4.c: Likewise.
39725         * soft-fp/fmasf4.c: Likewise.
39726         * soft-fp/fmatf4.c: Likewise.
39727         * soft-fp/gedf2.c: Likewise.
39728         * soft-fp/gesf2.c: Likewise.
39729         * soft-fp/getf2.c: Likewise.
39730         * soft-fp/ledf2.c: Likewise.
39731         * soft-fp/lesf2.c: Likewise.
39732         * soft-fp/letf2.c: Likewise.
39733         * soft-fp/muldf3.c: Likewise.
39734         * soft-fp/mulsf3.c: Likewise.
39735         * soft-fp/multf3.c: Likewise.
39736         * soft-fp/negdf2.c: Likewise.
39737         * soft-fp/negsf2.c: Likewise.
39738         * soft-fp/negtf2.c: Likewise.
39739         * soft-fp/op-1.h: Likewise.
39740         * soft-fp/op-2.h: Likewise.
39741         * soft-fp/op-4.h: Likewise.
39742         * soft-fp/op-8.h: Likewise.
39743         * soft-fp/op-common.h: Likewise.
39744         * soft-fp/quad.h: Likewise.
39745         * soft-fp/single.h: Likewise.
39746         * soft-fp/soft-fp.h: Likewise.
39747         * soft-fp/sqrtdf2.c: Likewise.
39748         * soft-fp/sqrtsf2.c: Likewise.
39749         * soft-fp/sqrttf2.c: Likewise.
39750         * soft-fp/subdf3.c: Likewise.
39751         * soft-fp/subsf3.c: Likewise.
39752         * soft-fp/subtf3.c: Likewise.
39753         * soft-fp/truncdfsf2.c: Likewise.
39754         * soft-fp/trunctfdf2.c: Likewise.
39755         * soft-fp/trunctfsf2.c: Likewise.
39756         * soft-fp/trunctfxf2.c: Likewise.
39757         * soft-fp/unorddf2.c: Likewise.
39758         * soft-fp/unordsf2.c: Likewise.
39759         * soft-fp/unordtf2.c: Likewise.
39761 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
39763         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
39764         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
39766 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
39768         * elf/dl-libc.c: Clear initfini list after freeing.
39770 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
39772         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
39773         * soft-fp/addsf3.c: Likewise.
39774         * soft-fp/addtf3.c: Likewise.
39775         * soft-fp/divdf3.c: Likewise.
39776         * soft-fp/divsf3.c: Likewise.
39777         * soft-fp/divtf3.c: Likewise.
39778         * soft-fp/double.h: Likewise.
39779         * soft-fp/eqdf2.c: Likewise.
39780         * soft-fp/eqsf2.c: Likewise.
39781         * soft-fp/eqtf2.c: Likewise.
39782         * soft-fp/extenddftf2.c: Likewise.
39783         * soft-fp/extended.h: Likewise.
39784         * soft-fp/extendsfdf2.c: Likewise.
39785         * soft-fp/extendsftf2.c: Likewise.
39786         * soft-fp/extendxftf2.c: Likewise.
39787         * soft-fp/fixdfdi.c: Likewise.
39788         * soft-fp/fixdfsi.c: Likewise.
39789         * soft-fp/fixdfti.c: Likewise.
39790         * soft-fp/fixsfdi.c: Likewise.
39791         * soft-fp/fixsfsi.c: Likewise.
39792         * soft-fp/fixsfti.c: Likewise.
39793         * soft-fp/fixtfdi.c: Likewise.
39794         * soft-fp/fixtfsi.c: Likewise.
39795         * soft-fp/fixtfti.c: Likewise.
39796         * soft-fp/fixunsdfdi.c: Likewise.
39797         * soft-fp/fixunsdfsi.c: Likewise.
39798         * soft-fp/fixunsdfti.c: Likewise.
39799         * soft-fp/fixunssfdi.c: Likewise.
39800         * soft-fp/fixunssfsi.c: Likewise.
39801         * soft-fp/fixunssfti.c: Likewise.
39802         * soft-fp/fixunstfdi.c: Likewise.
39803         * soft-fp/fixunstfsi.c: Likewise.
39804         * soft-fp/fixunstfti.c: Likewise.
39805         * soft-fp/floatdidf.c: Likewise.
39806         * soft-fp/floatdisf.c: Likewise.
39807         * soft-fp/floatditf.c: Likewise.
39808         * soft-fp/floatsidf.c: Likewise.
39809         * soft-fp/floatsisf.c: Likewise.
39810         * soft-fp/floatsitf.c: Likewise.
39811         * soft-fp/floattidf.c: Likewise.
39812         * soft-fp/floattisf.c: Likewise.
39813         * soft-fp/floattitf.c: Likewise.
39814         * soft-fp/floatundidf.c: Likewise.
39815         * soft-fp/floatundisf.c: Likewise.
39816         * soft-fp/floatunsidf.c: Likewise.
39817         * soft-fp/floatunsisf.c: Likewise.
39818         * soft-fp/floatuntidf.c: Likewise.
39819         * soft-fp/floatuntisf.c: Likewise.
39820         * soft-fp/floatuntitf.c: Likewise.
39821         * soft-fp/fmadf4.c: Likewise.
39822         * soft-fp/fmasf4.c: Likewise.
39823         * soft-fp/fmatf4.c: Likewise.
39824         * soft-fp/gedf2.c: Likewise.
39825         * soft-fp/gesf2.c: Likewise.
39826         * soft-fp/getf2.c: Likewise.
39827         * soft-fp/ledf2.c: Likewise.
39828         * soft-fp/lesf2.c: Likewise.
39829         * soft-fp/letf2.c: Likewise.
39830         * soft-fp/muldf3.c: Likewise.
39831         * soft-fp/mulsf3.c: Likewise.
39832         * soft-fp/multf3.c: Likewise.
39833         * soft-fp/negdf2.c: Likewise.
39834         * soft-fp/negsf2.c: Likewise.
39835         * soft-fp/negtf2.c: Likewise.
39836         * soft-fp/op-1.h: Likewise.
39837         * soft-fp/op-2.h: Likewise.
39838         * soft-fp/op-4.h: Likewise.
39839         * soft-fp/op-8.h: Likewise.
39840         * soft-fp/op-common.h: Likewise.
39841         * soft-fp/quad.h: Likewise.
39842         * soft-fp/single.h: Likewise.
39843         * soft-fp/soft-fp.h: Likewise.
39844         * soft-fp/sqrtdf2.c: Likewise.
39845         * soft-fp/sqrtsf2.c: Likewise.
39846         * soft-fp/sqrttf2.c: Likewise.
39847         * soft-fp/subdf3.c: Likewise.
39848         * soft-fp/subsf3.c: Likewise.
39849         * soft-fp/subtf3.c: Likewise.
39850         * soft-fp/truncdfsf2.c: Likewise.
39851         * soft-fp/trunctfdf2.c: Likewise.
39852         * soft-fp/trunctfsf2.c: Likewise.
39853         * soft-fp/trunctfxf2.c: Likewise.
39854         * soft-fp/unorddf2.c: Likewise.
39855         * soft-fp/unordsf2.c: Likewise.
39856         * soft-fp/unordtf2.c: Likewise.
39858 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
39860         [BZ #15672]
39861         * misc/error.c (error_tail): Fix possible buffer overflow.
39863 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
39865         [BZ #13028]
39866         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39867         address.
39869 2013-10-14  P. J. McDermott  <pj@pehjota.net>
39871         [BZ #832]
39872         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
39873         testing pipefail option.
39875 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39877         * soft-fp/double.h: Indent preprocessor directives inside #if.
39878         * soft-fp/extended.h: Likewise.
39879         * soft-fp/op-2.h: Likewise.
39880         * soft-fp/op-4.h: Likewise.
39881         * soft-fp/op-common.h: Likewise.
39882         * soft-fp/quad.h: Likewise.
39883         * soft-fp/single.h: Likewise.
39884         * soft-fp/soft-fp.h: Likewise.
39886 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
39888         * iconv/iconv_prog.c: Fix typos.
39889         * stdio-common/psiginfo-data.h: Likewise.
39891 2013-10-12   Reuben Thomas <rrt@sc3d.org>
39893         [BZ #15764]
39894         * locale/setlocale.c: Fix typo.
39896 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39898         [BZ #16036]
39899         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
39900         signaling NaN arguments.
39901         * soft-fp/unordsf2.c (__unordsf2): Likewise.
39902         * soft-fp/unordtf2.c (__unordtf2): Likewise.
39904         [BZ #14910]
39905         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
39906         unordered operands.
39907         * soft-fp/gesf2.c (__gesf2): Likewise.
39908         * soft-fp/getf2.c (__getf2): Likewise.
39909         * soft-fp/ledf2.c (__ledf2): Likewise.
39910         * soft-fp/lesf2.c (__lesf2): Likewise.
39911         * soft-fp/letf2.c (__letf2): Likewise.
39913         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
39914         * soft-fp/eqsf2.c (__eqsf2): Likewise.
39915         * soft-fp/eqtf2.c (__eqtf2): Likewise.
39916         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
39917         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
39918         * soft-fp/fixdfti.c (__fixdfti): Likewise.
39919         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
39920         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
39921         * soft-fp/fixsfti.c (__fixsfti): Likewise.
39922         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
39923         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39924         * soft-fp/fixtfti.c (__fixtfti): Likewise.
39925         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
39926         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
39927         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
39928         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
39929         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
39930         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
39931         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
39932         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
39933         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
39934         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
39935         * soft-fp/floatdisf.c (__floatdisf): Likewise.
39936         * soft-fp/floatsisf.c (__floatsisf): Likewise.
39937         * soft-fp/floattidf.c (__floattidf): Likewise.
39938         * soft-fp/floattisf.c (__floattisf): Likewise.
39939         * soft-fp/floattitf.c (__floattitf): Likewise.
39940         * soft-fp/floatundidf.c (__floatundidf): Likewise.
39941         * soft-fp/floatundisf.c (__floatundisf): Likewise.
39942         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
39943         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
39944         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
39945         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
39946         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
39947         * soft-fp/gesf2.c (__gesf2): Likewise.
39948         * soft-fp/getf2.c (__getf2): Likewise.
39949         * soft-fp/ledf2.c (__ledf2): Likewise.
39950         * soft-fp/lesf2.c (__lesf2): Likewise.
39951         * soft-fp/letf2.c (__letf2): Likewise.
39953         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
39954         Undefine and redefine.
39955         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
39956         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
39957         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
39958         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
39959         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39960         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39961         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39962         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39963         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39964         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39965         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39966         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39967         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39968         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
39969         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39971         [BZ #16032]
39972         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
39973         without decrementing exponent if mantissa >= that for the
39974         denominator, not >.
39975         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
39976         denominator, not >.  Decrement exponent in < case instead of
39977         incrementing in >= case.
39978         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
39979         without decrementing exponent if mantissa >= that for the
39980         denominator, not >.
39982         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
39983         computing saturated result for unsigned overflow.
39985 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39986             Jeff Law  <law@redhat.com>
39988         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
39989         (atan2Mp): Add systemtap probe marker.
39990         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
39991         (__ieee754_log): Add systemtap probe marker.
39992         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
39993         (atanMp): Add systemtap probe marker.
39994         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
39995         (tanMp): Add systemtap probe marker.
39996         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
39997         (__slowexp): Add systemtap probe marker.
39998         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39999         (__slowpow): Add systemtap probe marker.
40000         * manual/probes.texi: Document probes.
40002 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
40004         [BZ #15362]
40005         * libio/fileops.c (_IO_new_file_write): Return count of bytes
40006         written.
40007         (_IO_new_file_xsputn): Don't return EOF if nothing has been
40008         written.
40009         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
40010         written to buffer but not flushed.
40011         * libio/iofwrite_u.c:  Likewise.
40012         * libio/iopadn.c:  Return bytes returned even if EOF was
40013         encountered.
40014         * libio/iowpadn.c:  Likewise.
40015         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
40016         if _IO_padn does not write the whole buffer.
40017         [!COMPILE_WPRINTF] (PAD): Likewise.
40019 2013-10-10  David S. Miller  <davem@davemloft.net>
40021         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
40022         directory block.
40024 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40026         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
40027         instead of FSF address.
40028         * soft-fp/fixdfti.c: Likewise.
40029         * soft-fp/fixsfti.c: Likewise.
40030         * soft-fp/fixtfti.c: Likewise.
40031         * soft-fp/fixunsdfti.c: Likewise.
40032         * soft-fp/fixunssfti.c: Likewise.
40033         * soft-fp/fixunstfti.c: Likewise.
40034         * soft-fp/floattidf.c: Likewise.
40035         * soft-fp/floattisf.c: Likewise.
40036         * soft-fp/floattitf.c: Likewise.
40037         * soft-fp/floatuntidf.c: Likewise.
40038         * soft-fp/floatuntisf.c: Likewise.
40039         * soft-fp/floatuntitf.c: Likewise.
40040         * soft-fp/trunctfxf2.c: Likewise.
40042         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
40043         * soft-fp/fixdfti.c: Likewise.
40044         * soft-fp/fixsfti.c: Likewise.
40045         * soft-fp/fixtfti.c: Likewise.
40046         * soft-fp/fixunsdfti.c: Likewise.
40047         * soft-fp/fixunssfti.c: Likewise.
40048         * soft-fp/fixunstfti.c: Likewise.
40049         * soft-fp/floattidf.c: Likewise.
40050         * soft-fp/floattisf.c: Likewise.
40051         * soft-fp/floattitf.c: Likewise.
40052         * soft-fp/floatuntidf.c: Likewise.
40053         * soft-fp/floatuntisf.c: Likewise.
40054         * soft-fp/floatuntitf.c: Likewise.
40055         * soft-fp/trunctfxf2.c: Likewise.
40057 2013-10-10  David S. Miller  <davem@davemloft.net>
40059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40061 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
40063         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40064         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
40065         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
40066         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
40067         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
40068         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
40069         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
40071         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
40072         for NaNs before doing comparisons on argument.
40073         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
40074         Likewise.
40076 2013-10-10  Will Newton  <will.newton@linaro.org>
40078         * malloc/hooks.c (memalign_check): Ensure the value of bytes
40079         passed to _int_memalign does not overflow.
40081 2013-10-10  Torvald Riegel  <triegel@redhat.com>
40083         * scripts/bench.pl: Add include-sources directive.
40084         * benchtests/README: Update documentation.
40086 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40088         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
40089         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
40090         instead of FP_INIT_ROUNDMODE.
40091         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
40092         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
40094         [BZ #16034]
40095         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
40096         copy class of input value.
40097         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
40098         not handle exceptions.
40099         * soft-fp/negsf2.c (__negsf2): Likewise.
40100         * soft-fp/negtf2.c (__negtf2): Likewise.
40101         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
40103 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
40105         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
40106         semicolon.  From Linux kernel.
40108 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
40110         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
40112 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
40114         [BZ #156]
40115         * manual/socket.texi: Added statement about buffer
40116         for gethostbyname2_r.
40118 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
40120         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
40121         Use .p2align directive instead, throughout.
40122         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40123         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40124         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
40125         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40126         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40127         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
40128         * sysdeps/x86_64/strchr.S: Likewise.
40129         * sysdeps/x86_64/strrchr.S: Likewise.
40131 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40133         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
40135         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
40137         * sysdeps/generic/math_private.h (__mpsin1): Remove
40138         declaration.
40139         (__mpcos1): Likewise.
40140         (__mpsin): New argument __range_reduce.
40141         (__mpcos): Likewise.
40142         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40143         (slow): Use __mpsin and __mpcos.
40144         (slow1): Likewise.
40145         (slow2): Likewise.
40146         (sloww): Likewise.
40147         (sloww1): Likewise.
40148         (sloww2): Likewise.
40149         (bsloww): Likewise.
40150         (bsloww1): Likewise.
40151         (bsloww2): Likewise.
40152         (cslow2): Likewise.
40153         (csloww): Likewise.
40154         (csloww1): Likewise.
40155         (csloww2): Likewise.
40156         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
40157         range_reduce.  Merge in __mpsin1.
40158         (__mpcos): Likewise.
40159         (__mpsin1): Remove.
40160         (__mpcos1): Likewise.
40162 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
40164         * locale/loadlocale.c (_nl_intern_locale_data): Use
40165         LOCFILE_ALIGNED_P.
40166         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
40167         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
40168         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
40169         obstack data is appropriately aligned.
40170         (obstack_int32_grow_fast): Likewise.
40171         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
40172         * locale/programs/locfile.c (add_locale_uint32): Likewise.
40173         (add_locale_uint32_array): Likewise.
40175 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
40177         * benchtests/Makefile: Remove ARGLIST and RET variables.
40178         ($(objpfx)bench-%.c): Pass only function name to the script.
40179         * benchtests/README: Update documentation.
40180         * benchtests/acos-inputs: Add new directives.
40181         * benchtests/acosh-inputs: Likewise.
40182         * benchtests/asin-inputs: Likewise.
40183         * benchtests/asinh-inputs: Likewise.
40184         * benchtests/atan-inputs: Likewise.
40185         * benchtests/atanh-inputs: Likewise.
40186         * benchtests/cos-inputs: Likewise.
40187         * benchtests/cosh-inputs: Likewise.
40188         * benchtests/exp-inputs: Likewise.
40189         * benchtests/log-inputs: Likewise.
40190         * benchtests/pow-inputs: Likewise.
40191         * benchtests/rint-inputs: Likewise.
40192         * benchtests/sin-inputs: Likewise.
40193         * benchtests/sinh-inputs: Likewise.
40194         * benchtests/tan-inputs: Likewise.
40195         * benchtests/tanh-inputs: Likewise.
40196         * scripts/bench.pl: Add support for new directives.
40198 2013-10-07  Alan Modra  <amodra@gmail.com>
40200         * README: Fix careless merge.
40202 2013-10-05  Alan Modra  <amodra@gmail.com>
40204         * NEWS: Mention powerpc64le support and bugs fixed.
40205         * README: Both big-endian and little-endian powerpc64 supported.
40207 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40209         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
40210         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
40211         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
40212         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
40214 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
40216         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
40217         match prototype.
40219 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
40221         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
40222         Move -mhard-float appending from
40223         ports/sysdeps/powerpc/powerpc32/Makefile.
40224         [$(with-fp) = yes] (ASFLAGS): Likewise.
40225         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
40226         * sysdeps/powerpc/nofpu: Move directory from
40227         ports/sysdeps/powerpc/nofpu.
40228         * sysdeps/powerpc/soft-fp: Move directory from
40229         ports/sysdeps/powerpc/soft-fp.
40230         * sysdeps/powerpc/powerpc32/405: Move directory from
40231         ports/sysdeps/powerpc/powerpc32/405.
40232         * sysdeps/powerpc/powerpc32/440: Move directory from
40233         ports/sysdeps/powerpc/powerpc32/440.
40234         * sysdeps/powerpc/powerpc32/464: Move directory from
40235         ports/sysdeps/powerpc/powerpc32/464.
40236         * sysdeps/powerpc/powerpc32/476: Move directory from
40237         ports/sysdeps/powerpc/powerpc32/476.
40238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
40239         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
40240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
40241         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
40242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
40243         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
40244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
40245         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
40246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
40247         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
40248         * README: Update for powerpc-*-linux-gnu software floating point
40249         support in libc.
40251         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
40252         case to powerpc/powerpc32*.
40253         * sysdeps/unix/sysv/linux/configure: Regenerated.
40255         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
40256         (_FPU_MASK_OM): Define as 0x04.
40257         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
40258         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
40259         0x00c10080.
40260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
40261         0x0000003c.
40262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
40264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
40265         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40266         getcontext_e500.
40267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
40268         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40269         setcontext_e500.
40270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
40271         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
40272         and setcontext_e500.
40274 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
40276         * locale/iso-3166.def: Update iso-1366.def and related occurrences
40278 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40280         * manual/threads.texi (Default Thread Attributes): Fix typo.
40282 2013-10-04  Will Newton  <will.newton@linaro.org>
40284         * malloc/Makefile: Add tst-memalign.
40285         * malloc/tst-memalign.c: New file.
40287         * malloc/tst-posix_memalign.c: Add comments.
40288         (do_test): Add comments and call free on all potentially
40289         allocated pointers. Add space after cast.
40291         * malloc/tst-pvalloc.c: Add comments.
40292         (do_test): Add comments and call free on all potentially
40293         allocated pointers. Remove duplicate check for NULL pointer.
40294         Add space after cast.
40296         * malloc/tst-valloc.c: Add comments.
40297         (do_test): Add comments and call free on all potentially
40298         allocated pointers. Remove duplicate check for NULL pointer.
40299         Add space after cast.
40301 2013-10-04  Alan Modra  <amodra@gmail.com>
40303         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40304         Use stdint types in rather than __attribute__((mode())).
40305         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40307 2013-10-04  Alan Modra  <amodra@gmail.com>
40309         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40310         Correct handling of unaligned relocs for little-endian.
40311         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40313 2013-10-04  Alan Modra  <amodra@gmail.com>
40315         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
40316         * configure: Regenerate.
40317         * nptl/shlib-versions: Powerpc*le starts at 2.18.
40318         * shlib-versions: Likewise.
40320 2013-10-04  Alan Modra  <amodra@gmail.com>
40322         * string/tester.c (test_memrchr): Increment reported test cycle.
40324 2013-10-04  Alan Modra  <amodra@gmail.com>
40326         * string/test-memcpy.c (do_one_test): When reporting errors, print
40327         string address and don't overrun end of string.
40329 2013-10-04  Alan Modra  <amodra@gmail.com>
40331         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
40332         insrdi.  Make better use of reg selection to speed exit slightly.
40333         Schedule entry path a little better.  Remove useless "are we done"
40334         checks on entry to main loop.  Handle wrapping around zero address.
40335         Correct main loop count.  Handle single left-over word from main
40336         loop inline rather than by using loop_small.  Remove extra word
40337         case in loop_small caused by wrong loop count.  Add little-endian
40338         support.
40339         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40340         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
40341         cache hint.
40342         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40343         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
40344         support.  Avoid rlwimi.
40345         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
40347 2013-10-04  Alan Modra  <amodra@gmail.com>
40349         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
40350         insrdi.  Formatting.
40351         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
40352         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40353         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40354         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40355         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40356         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
40358 2013-10-04  Alan Modra  <amodra@gmail.com>
40360         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
40361         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40362         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40363         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
40364         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40365         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40366         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40367         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40368         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
40369         use of regs.  Use power7 mtocrf.  Tidy function tails.
40371 2013-10-04  Alan Modra  <amodra@gmail.com>
40373         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
40374         Formatting.  Consistently use rXXX register defines or rN defines.
40375         Use early exit labels that avoid restoring unused non-volatile regs.
40376         Make cr field use more consistent with rWORDn compares.  Rename
40377         regs used as shift registers for unaligned loop, using rN defines
40378         for short lifetime/multiple use regs.
40379         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40380         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
40381         addi 1,1,64 to pop stack frame.  Simplify return value code.
40382         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40384 2013-10-04  Alan Modra  <amodra@gmail.com>
40386         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
40387         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
40388         rather than rlwimi.
40389         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
40390         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
40391         little-endian support.  Correct typos.
40392         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
40393         rather than rlwimi.
40394         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
40395         in loop and entry code to keep "and." results.
40396         (strchr): Add little-endian support.  Comment.  Move cntlzd
40397         earlier in tail.
40398         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
40400 2013-10-04  Alan Modra  <amodra@gmail.com>
40402         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
40403         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
40404         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
40405         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
40407 2013-10-04  Alan Modra  <amodra@gmail.com>
40409         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
40410         (rTMP): Define as r11.
40411         (strcmp): Add little-endian support.  Optimise tail.
40412         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
40413         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40414         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40415         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40416         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40417         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40418         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40420 2013-10-04  Alan Modra  <amodra@gmail.com>
40422         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
40423         little-endian support.  Remove unnecessary "are we done" tests.
40424         Handle "s" wrapping around zero and extremely large "size".
40425         Correct main loop count.  Handle single left-over word from main
40426         loop inline rather than by using small_loop.  Correct comments.
40427         Delete "zero" tail, use "end_max" instead.
40428         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
40430 2013-10-04  Alan Modra  <amodra@gmail.com>
40432         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
40433         support.  Don't branch over align.
40434         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
40435         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
40436         support.  Rearrange tmp reg use to suit.  Comment.
40437         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
40439 2013-10-04  Alan Modra  <amodra@gmail.com>
40441         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
40443 2013-10-04  Alan Modra  <amodra@gmail.com>
40445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
40446         conditional form of branch and link when obtaining pc.
40447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40449 2013-10-04  Alan Modra  <amodra@gmail.com>
40451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
40452         HIWORD/LOWORD.
40453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
40454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
40456 2013-10-04  Alan Modra  <amodra@gmail.com>
40458         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
40459         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
40460         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40461         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
40462         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40463         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40464         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
40465         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40466         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40467         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
40469 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40470             Alistair Popple <alistair@ozlabs.au.ibm.com>
40471             Alan Modra <amodra@gmail.com>
40473         [BZ #15723]
40474         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
40475         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
40476         _dl_hwcap access for little-endian.
40477         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
40478         destroy vmx regs when saving unaligned.
40479         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
40480         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
40481         destroy vmx regs when saving unaligned.
40483 2013-10-04  Alan Modra  <amodra@gmail.com>
40485         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
40486         Don't use a union to pack hi/low value.
40488 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40490         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
40491         for little-endian.
40492         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40493         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
40494         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
40495         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40496         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40498 2013-10-04  Alan Modra  <amodra@gmail.com>
40500         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
40501         constants to usual value for .cst8 section, and remove redundant
40502         high address load.
40503         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
40504         constant for 0x1p52.  Load little-endian words of double from
40505         correct stack offsets.
40507 2013-10-04  Alan Modra  <amodra@gmail.com>
40509         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
40510         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
40511         words of double from correct stack offsets.
40512         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40513         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
40514         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40515         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40516         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40517         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40518         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40519         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40520         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40521         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40522         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40523         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40524         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40525         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40526         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40527         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
40528         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40530 2013-10-04  Alan Modra  <amodra@gmail.com>
40532         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
40533         64-bit int/double union.
40534         (_FPU_SETCW): Likewise.
40535         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
40536         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
40538 2013-10-04  Alan Modra  <amodra@gmail.com>
40540         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
40541         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
40543 2013-10-04  Alan Modra  <amodra@gmail.com>
40545         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
40546         use vector int constants.
40547         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
40549 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40551         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
40552         array with long long.
40553         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
40554         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
40555         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
40556         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
40557         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
40558         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
40559         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
40560         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
40561         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
40562         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
40563         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
40564         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
40565         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
40567 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40569         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
40570         (__signbit): Likewise.  Correct for little-endian.
40571         (__signbitl): Call __signbit.
40572         (lrint): Correct for little-endian.
40573         (lrintf): Call lrint.
40575 2013-10-04  Alan Modra  <amodra@gmail.com>
40577         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
40578         union 32-bit int array member with 64-bit int array.
40579         (t515, tm256): Double rather than long double.
40580         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
40582 2013-10-04  Alan Modra  <amodra@gmail.com>
40584         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
40585         Delete.
40586         (IEEE854_LONG_DOUBLE_BIAS): Delete.
40587         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
40588         version of math_ldbl.h.
40590 2013-10-04  Alan Modra  <amodra@gmail.com>
40592         [BZ #15734], [BZ #15735]
40593         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
40594         all uses of ieee875 long double macros and unions.  Simplify test
40595         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
40596         ldbl_extract_mantissa value for ix,iy exponents.  Properly
40597         normalize after ldbl_extract_mantissa, and don't add hidden bit
40598         already handled.  Don't treat low word of ieee854 mantissa like
40599         low word of IBM long double and mask off bit when testing for
40600         zero.
40601         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
40602         all uses of ieee875 long double macros and unions.  Simplify tests
40603         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
40604         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
40605         two1022, instead use their values.  Recognise that tests for large
40606         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
40607         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
40608         Rewrite all uses of ieee875 long double macros and unions.  Simplify
40609         test for 0.0L and nan.  Correct negation.
40610         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
40611         ieee875 long double macros and unions.  Correct output for large
40612         magnitude x.  Correct absolute value calculation.
40613         (__erfcl): Likewise.
40614         * math/libm-test.inc: Add tests for errors discovered in IBM long
40615         double versions of fmodl, remainderl, erfl and erfcl.
40617 2013-10-04  Alan Modra  <amodra@gmail.com>
40619         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
40620         all uses of ieee854 long double macros and unions.  Simplify tests
40621         for long doubles that are fully specified by the high double.
40622         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
40623         Likewise.
40624         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
40625         Remove dead code too.
40626         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
40627         (__ieee754_ynl): Likewise.
40628         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
40629         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
40630         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
40631         Remove dead code too.
40632         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
40633         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
40634         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
40635         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
40636         Simplify.
40637         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
40638         Simplify.
40639         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
40640         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
40641         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
40642         Comment on variable precision.
40643         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
40644         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40645         Likewise.
40646         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
40647         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40648         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40649         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
40650         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
40652 2013-10-04  Alan Modra  <amodra@gmail.com>
40654         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
40655         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
40656         all uses of ieee854 long double macros and unions.
40657         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
40658         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40659         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
40660         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
40661         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
40662         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40663         Likewise.
40664         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
40665         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40666         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
40667         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40668         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
40669         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
40670         Simplify sign and nan test too.
40671         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
40672         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
40673         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
40674         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
40675         Likewise.
40676         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40677         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
40678         Likewise.
40679         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40680         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
40681         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
40682         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
40683         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
40684         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
40686 2013-10-04  Alan Modra  <amodra@gmail.com>
40688         * stdio-common/printf_size.c (__printf_size): Don't use
40689         union ieee854_long_double in fpnum union.
40690         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
40691         signbit macro to retrieve sign from long double.
40692         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
40693         retrieve sign from long double.
40694         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
40695         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
40696         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
40697         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40698         * math/test-misc.c (main): Don't use union ieee854_long_double.
40700 2013-10-04  Alan Modra  <amodra@gmail.com>
40702         [BZ #15680]
40703         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
40704         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
40705         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
40706         calculation.  Remove unnecessary test for denormal exponent.
40707         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
40708         Correct handling of denormals.  Avoid undefined shift behaviour.
40709         Correct normalisation of low mantissa when low double is denormal.
40710         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
40711         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
40712         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
40713         Correct normalisation of low mantissa.  Test for overflow of high
40714         mantissa and normalise.
40715         (ldbl_nearbyint): Use more readable constant for two52.
40716         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
40717         (__mpn_construct_long_double): Fix test for overflow of high
40718         mantissa and correct normalisation.  Avoid undefined shift.
40720 2013-10-04  Alan Modra  <amodra@gmail.com>
40722         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40723         (union ibm_extended_long_double): Define as an array of ieee754_double.
40724         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
40725         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
40726         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
40727         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40728         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40729         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
40730         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40731         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40732         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40733         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
40734         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40736 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
40738         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
40739         page size instead of calling getpagesize.
40741         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
40742         (LOCFILE_ALIGN_MASK): Likewise.
40743         (LOCFILE_ALIGN_UP): Likewise.
40744         (LOCFILE_ALIGNED_P): Likewise.
40745         * locale/programs/ld-collate.c (collate_output): Use the new
40746         macros instead of __alignof__ (int32_t).
40747         * locale/weight.h (findidx): Likewise.
40749 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
40751         [BZ #431]
40752         * manual/string.texi: Fix strncat and wcsncat.
40754 2013-10-03  Brooks Moses  <bmoses@google.com>
40756         [BZ #15915]
40757         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
40758         * Makerules: ...here, and adjust associated comments.
40760 2013-10-02  Will Newton  <will.newton@linaro.org>
40762         * malloc/Makefile: Add tst-pvalloc.
40763         * malloc/tst-pvalloc.c: New file.
40765 2013-10-02  Will Newton  <will.newton@linaro.org>
40767         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
40768         improve test coverage.
40770 2013-10-02  Will Newton  <will.newton@linaro.org>
40772         * malloc/Makefile: Add tst-posix_memalign.
40773         * malloc/tst-posix_memalign.c: New file.
40775 2013-10-01  Eric Blake  <eblake@redhat.com>
40777         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40778         Use __THROWNL rather than __THROW on static functions.
40780 2013-09-30  Petr Machata  <pmachata@redhat.com>
40782         * elf/elf.h (R_AARCH64_ABS16): New macro.
40783         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
40784         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
40785         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
40786         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
40787         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
40788         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
40789         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
40790         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
40791         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
40792         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
40793         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
40794         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
40795         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
40796         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
40797         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
40798         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40799         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
40800         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
40801         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
40802         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
40803         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
40804         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
40805         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
40806         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
40807         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
40808         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40809         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
40810         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
40811         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40812         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40813         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40814         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40815         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40816         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40817         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40818         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40819         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40820         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40821         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40822         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40823         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40824         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40825         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40826         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40827         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40828         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40829         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40830         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40831         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40832         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40833         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40834         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40835         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40836         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40837         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40838         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40839         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40840         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40841         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40842         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40843         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40844         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40845         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40846         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40847         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40848         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40849         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40850         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40851         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40852         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40853         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40854         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40855         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40856         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40857         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40858         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40859         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40860         (R_AARCH64_TLSDESC_LDR): Likewise.
40861         (R_AARCH64_TLSDESC_ADD): Likewise.
40862         (R_AARCH64_TLSDESC_CALL): Likewise.
40864 2013-09-30  Andreas Schwab  <schwab@suse.de>
40866         [BZ #15048]
40867         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40868         the nss database lookup.
40869         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40870         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40872 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
40874         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
40876 2013-09-28  P. J. McDermott  <pj@pehjota.net>
40878         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
40879         ${Bash-specific parameter/pattern/string} parameter expansion.
40880         * sysdeps/unix/make-syscalls.sh: Likewise.
40882 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40884         * sysdeps/sh/stackguard-macros.h: New file.
40886 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
40888         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40889         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
40890         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
40891         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
40892         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40893         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
40895 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40897         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
40898         Fix thread ID register.
40900 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
40902         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
40903         [POSIX || UNIX98]: Require rather than permitting all symbols from
40904         <time.h>.
40905         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
40906         element of struct sched_param.
40907         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
40908         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
40909         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
40910         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40911         constant.
40913 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
40915         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
40916         argument calculation.
40918 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40920         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
40921         Expect macro.
40922         [POSIX] (pthread_attr_t): Do not require type.
40923         [POSIX] (pthread_cond_t): Likewise.
40924         [POSIX] (pthread_condattr_t): Likewise.
40925         [POSIX] (pthread_key_t): Likewise.
40926         [POSIX] (pthread_mutex_t): Likewise.
40927         [POSIX] (pthread_mutexattr_t): Likewise.
40928         [POSIX] (pthread_once_t): Likewise.
40929         [POSIX] (pthread_t): Likewise.
40930         [POSIX-based standards] (pthread_atfork): Expect function.
40932 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40933             Richard Sandiford  <richard@codesourcery.com>
40935         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
40936         (swap_endianness_p): New extern variable.
40937         (set_big_endian): New inline function.
40938         (maybe_swap_uint32): Likewise.
40939         (maybe_swap_uint32_array): Likewise.
40940         (maybe_swap_uint32_obstack): Likewise.
40941         * locale/programs/locfile.c: Include <stdbool.h>.
40942         (swap_endianness_p): New variable.
40943         (add_locale_uint32): Call maybe_swap_uint32.
40944         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
40945         (write_locale_data): Call maybe_swap_uint32_array.
40946         * locale/programs/ld-collate.c (obstack_int32_grow): Call
40947         maybe_swap_uint32.
40948         (obstack_int32_grow_fast): Likewise.
40949         (output_weightwc): Call maybe_swap_uint32_obstack.
40950         (collate_output): Likewise.
40951         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40952         (OPT_LITTLE_ENDIAN): Likewise.
40953         (options): Add --little-endian and --big-endian options.
40954         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
40955         * locale/programs/locarchive.c: Include "locfile.h".
40956         (GET): New macro.
40957         (SET): Likewise.
40958         (INC): Likewise.
40959         (create_archive): Use the new macros to access fields of
40960         structures directly mapped from or written to locale archives.
40961         (oldlocrecentcmp): Likewise.
40962         (enlarge_archive): Likewise.
40963         (insert_name): Likewise.
40964         (add_alias): Likewise.
40965         (add_locale): Likewise.
40966         (delete_locales_from_archive): Likewise.
40967         (show_archive_content): Likewise.
40968         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
40969         locale data.
40971 2013-09-24  Roland McGrath  <roland@hack.frob.com>
40973         * manual/freemanuals.texi: Updated from (newly) canonical copy at
40974         http://www.gnu.org/doc/freemanuals.texi.
40975         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
40977 2013-09-24  Will Newton  <will.newton@linaro.org>
40979         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
40980         macro.
40982 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
40984         * locale/hashval.h (compute_hashval): Interpret bytes of key as
40985         unsigned char.
40987 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
40989         * manual/threads.texi (POSIX Threads): Fix a typo.
40991 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40993         [BZ #14547]
40994         * string/tst-strcoll-overflow.c: New test case.
40995         * string/Makefile (xtests): Add tst-strcoll-overflow.
40996         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
40997         cache if string sizes may cause integer overflow.
40999         [BZ #14547]
41000         * string/strcoll_l.c (coll_seq): New members rule, idx,
41001         save_idx and back_us.
41002         (get_next_seq_nocache): New function.
41003         (do_compare_nocache): New function.
41004         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
41005         when malloc fails.
41007 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
41009         [BZ #15754]
41010         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
41011         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
41012         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
41014         [BZ #15754]
41015         * elf/Makefile (tests): Add tst-ptrguard1.
41016         (tests-static): Add tst-ptrguard1-static.
41017         (tst-ptrguard1-ARGS): Define.
41018         (tst-ptrguard1-static-ARGS): Define.
41019         * elf/tst-ptrguard1.c: New file.
41020         * elf/tst-ptrguard1-static.c: New file.
41021         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
41022         * sysdeps/i386/stackguard-macros.h: Likewise.
41023         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41024         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41025         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41026         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41027         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41028         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41030 2013-09-23  Hector Marco  <hecmargi@upv.es>
41031             Ismael Ripoll  <iripoll@disca.upv.es>
41032             Carlos O'Donell  <carlos@redhat.com>
41034         [BZ #15754]
41035         * sysdeps/generic/stackguard-macros.h: Define
41036         __pointer_chk_guard_local and POINTER_CHK_GUARD.
41037         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
41038         Define __pointer_chk_guard_local.
41039         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
41040         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
41042 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
41044         [BZ #15859]
41045         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
41047 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
41049         * include/string.h (__ffs): Declare as hidden.
41050         * string/ffs.c (__ffs): Define as hidden.
41051         * sysdeps/i386/ffs.c (__ffs): Likewise.
41052         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
41053         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
41054         * sysdeps/s390/ffs.c (__ffs): Likewise.
41055         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
41057 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
41059         * NEWS: Mention malloc probes.
41061         * malloc/arena.c (new_heap): New memory_heap_new probe.
41062         (grow_heap): New memory_heap_more probe.
41063         (shrink_heap): New memory_heap_less probe.
41064         (heap_trim): New memory_heap_free probe.
41065         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
41066         (systrim): New memory_sbrk_less probe.
41067         * manual/probes.texi: Document them.
41069         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
41070         * manual/probes.texi: Document it.
41072         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
41073         (__libc_realloc): Add memory_realloc_retry probe.
41074         (__libc_memalign): Add memory_memalign_retry probe.
41075         (__libc_valloc): Add memory_valloc_retry probe.
41076         (__libc_pvalloc): Add memory_pvalloc_retry probe.
41077         (__libc_calloc): Add memory_calloc_retry probe.
41078         * manual/probes.texi: Document them.
41080         * malloc/arena.c (get_free_list): Add probe
41081         memory_arena_reuse_free_list.
41082         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
41083         and memory_arena_reuse.
41084         (arena_get2) [!PER_THREAD]: Likewise.
41085         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
41086         memory_arena_reuse_realloc.
41087         * manual/probes.texi: Document them.
41089         * malloc/malloc.c (__libc_free): Add
41090         memory_mallopt_free_dyn_thresholds probe.
41091         (__libc_mallopt): Add multiple memory_mallopt probes.
41092         * manual/probes.texi: Document them.
41094         * malloc/malloc.c: Include stap-probe.h.
41095         (__libc_mallopt): Add memory_mallopt probe.
41096         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
41097         * manual/probes.texi: New.
41098         * manual/Makefile (chapters): Add probes.
41099         * manual/threads.texi: Set next node.
41101 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
41103         [BZ #15963, #13985]
41104         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
41105         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
41106         Add `Chinese' to `nan' entry name.
41108 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41110         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
41111         (POLYNOMIAL): Likewise.
41112         (TAYLOR_SINCOS): Likewise.
41113         (TAYLOR_SLOW): Likewise.
41114         (__sin): Use TAYLOR_SINCOS.
41115         (__cos): Likewise.
41116         (slow): Use TAYLOR_SLOW.
41117         (sloww): Likewise.
41118         (bsloww): Likewise.
41119         (csloww): Likewise.
41121 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41123         * stdlib/strtod_l.c: Fix buffer overrun.
41125 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41127         * benchtests/Makefile (bench): Add sincos.
41128         * benchtests/bench-sincos.c: New file.
41130         * math/libm-test.inc (cos_test_data): New test inputs.
41131         (sin_test_data): Likewise.
41133         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
41134         macro.
41135         (__sin): Use it.
41136         (__cos): Likewise.
41137         (slow1): Likewise.
41138         (slow2): Likewise.
41139         (sloww1): Likewise.
41140         (sloww2): Likewise.
41141         (bsloww1): Likewise.
41142         (bsloww2): Likewise.
41143         (cslow2): Likewise.
41144         (csloww1): Likewise.
41145         (csloww2): Likewise.
41147         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
41148         function.
41149         (__sin): Use it.
41150         (__cos): Likewise.
41152         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
41153         gotos.
41154         (__cos): Likewise.
41156 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
41158         * config.h.in (HAVE_MIPS_NAN2008): New macro.
41159         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
41160         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
41161         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
41162         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
41163         * elf/cache.c (print_entry): Handle the new cache flags.
41165 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
41166             Aldy Hernandez  <aldyh@redhat.com>
41168         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
41169         Change condition to [_SOFT_FLOAT].
41170         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
41171         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
41172         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
41173         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
41174         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
41175         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
41176         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
41177         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
41178         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
41179         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
41180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
41181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
41182         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
41183         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
41184         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
41185         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
41186         declaration.
41188 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
41190         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
41191         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41192         (__longjmp): Use LOAD_GP to load saved GPRs.
41193         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
41194         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41195         (__sigsetjmp): Use SAVE_GP to save GPRs.
41197         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
41198         Do not append -msoft-float.
41199         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
41201 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41203         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
41205 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
41207         [BZ #15966]
41208         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
41209         (_FPU_GETCW): Use initial "__" on variable and field names but not
41210         on macro parameter name.
41211         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
41212         parentheses around reference to macro parameter.
41214 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
41216         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
41217         prototype.
41218         (ctype_startup): Use uint32_t in cast and sizeof for
41219         ctype->charnames.
41221 2013-09-11  Jia Liu  <proljc@gmail.com>
41223         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
41224         __daddr_t_defined.
41225         [__FreeBSD__]: Likewise.
41227 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
41229         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
41230         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
41231         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
41232         (strchr): Remove __strchr_sse42 ifunc selection.
41233         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
41234         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
41236 2013-09-11  Will Newton  <will.newton@linaro.org>
41238         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
41239         parameter to RES. Remove hardcoded 1000 value.
41240         * benchtests/bench-skeleton.c (main): Pass RES parameter
41241         to TIMING_INIT and multiply result by 1000.
41243 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41247 2013-09-11  Andreas Schwab  <schwab@suse.de>
41249         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
41250         if not defined.
41251         (O_TMPFILE) [__USE_GNU]: Define.
41252         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
41253         Define.
41255 2013-09-11  Will Newton  <will.newton@linaro.org>
41257         [BZ #15857]
41258         * malloc/malloc.c (__libc_memalign): Check the value of bytes
41259         does not overflow.
41261 2013-09-11  Will Newton  <will.newton@linaro.org>
41263         [BZ #15856]
41264         * malloc/malloc.c (__libc_valloc): Check the value of bytes
41265         does not overflow.
41267 2013-09-11  Will Newton  <will.newton@linaro.org>
41269         [BZ #15855]
41270         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
41271         does not overflow.
41273 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
41275         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
41276         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41277         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41278         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41279         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41281 2013-09-10  Allan McRae  <allan@archlinux.org>
41283         [BZ #15748]
41284         * manual/arith.texi (Parsing of Floats): Clarify
41285         cross-reference.
41287         [BZ #15849]
41288         * manual/install.texi (Running make install): Mention
41289         --enable-pt-chown.
41290         * INSTALL: Regenerated.
41292 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
41294         * csu/init-first.c (_init): Remove the !SHARED condition around
41295         FPU control word initialization.
41296         * elf/dl-support.c (_dl_fpu_control): New variable.
41297         (_dl_aux_init) <AT_FPUCW>: Initialize it.
41298         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
41299         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
41300         * math/test-fpucw-static.c: New file.
41301         * math/test-fpucw-ieee.c: New file.
41302         * math/test-fpucw-ieee-static.c: New file.
41303         * math/Makefile (tests): Add `test-fpucw-ieee' and
41304         `$(tests-static)'.
41305         (tests-static): New variable.
41306         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
41307         dependency to...
41308         [($(build-shared),yes)]
41309         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41310         ... this.
41311         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
41312         New dependency.
41314 2013-09-09  Allan McRae  <allan@archlinux.org>
41316         [BZ #15939]
41317         * manual/string.texi (Collation Functions): Fix typo in
41318         strcoll example.
41319         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
41321         [BZ #15893]
41322         * stdlib/isomac.c (get_null_defines): Fix memory leak.
41324         [BZ #15892]
41325         * libio/memstream.c (open_memstream): Fix memory leak.
41326         * libio/wmemstream.c (open_wmemstream): Likewise.
41328         [BZ #15895]
41329         * nscd/netgroupcache.c: Fix nesting of ifdefs.
41331 2013-09-09  Will Newton  <will.newton@linaro.org>
41333         * malloc/Makefile: Add tst-realloc to tests.
41334         * malloc/tst-realloc.c: New file.
41336 2013-09-09  Allan McRae  <allan@archlinux.org>
41338         [BZ #15844]
41339         * COPYING: Update from GNU website to fix FSF address.
41340         * COPYING.LIB: Likewise.
41342 2013-09-06  David S. Miller  <davem@davemloft.net>
41344         * po/zh_TW.po: Update Chinese (traditional) translation from
41345         translation project.
41347 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
41348             Joseph Myers  <joseph@codesourcery.com>
41350         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
41351         "localeinfo.h".
41352         (obstack_chunk_alloc): New macro.
41353         (obstack_chunk_free): Likewise.
41354         (record_offset): New function.
41355         (init_locale_data): Likewise.
41356         (align_locale_data): Likewise.
41357         (add_locale_empty): Likewise.
41358         (add_locale_raw_data): Likewise.
41359         (add_locale_raw_obstack): Likewise.
41360         (add_locale_string): Likewise.
41361         (add_locale_wstring): Likewise.
41362         (add_locale_uint32): Likewise.
41363         (add_locale_uint32_array): Likewise.
41364         (add_locale_char): Likewise.
41365         (start_locale_structure): Likewise.
41366         (end_locale_structure): Likewise.
41367         (start_locale_prelude): Likewise.
41368         (end_locale_prelude): Likewise.
41369         (write_locale_data): Take locale_file structure rather than an
41370         iovec.
41371         * locale/programs/locfile.h: Include "obstack.h".
41372         (struct locale_file): Change to store locale file contents instead
41373         of header.
41374         (init_locale_data): New prototype.
41375         (align_locale_data): Likewise.
41376         (add_locale_empty): Likewise.
41377         (add_locale_raw_data): Likewise.
41378         (add_locale_raw_obstack): Likewise.
41379         (add_locale_string): Likewise.
41380         (add_locale_wstring): Likewise.
41381         (add_locale_uint32): Likewise.
41382         (add_locale_uint32_array): Likewise.
41383         (add_locale_char): Likewise.
41384         (start_locale_structure): Likewise.
41385         (end_locale_structure): Likewise.
41386         (start_locale_prelude): Likewise.
41387         (end_locale_prelude): Likewise.
41388         (write_locale_data): Update prototype.
41389         * locale/programs/3level.h (struct TABLE): Remove result field.
41390         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
41391         Use new locale_file interface.
41392         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
41393         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
41394         * locale/programs/ld-address.c (address_output): Use new
41395         locale_file interface.
41396         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
41397         NO_ADD_LOCALE.
41398         (collate_finish): Don't call collseq_table_finalize.
41399         (collate_output): Use new locale_file interface.
41400         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
41401         in file.
41402         (NO_FINALIZE): Change to NO_ADD_LOCALE.
41403         (TABLE): Move defines earlier in file.
41404         (ELEMENT): Likewise.
41405         (DEFAULT): Likewise.
41406         (wctrans_table_add): Move macro and inline function earlier in
41407         file.
41408         (struct wctype_table): Move type earlier in file.
41409         (add_locale_wctype_table): New static prototype.
41410         (struct locale_ctype_t): Use logical types instead of struct iovec
41411         pointers for members.
41412         (ctype_output): Use new locale_file interface.
41413         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
41414         new locale_file interface.
41415         (allocate_arrays): Update for use of new locale_file interface.
41416         * locale/programs/ld-identification.c (identification_output): Use
41417         new locale_file interface.
41418         * locale/programs/ld-measurement.c (measurement_output): Likewise.
41419         * locale/programs/ld-messages.c (messages_output): Likewise.
41420         * locale/programs/ld-monetary.c (monetary_output): Likewise.
41421         * locale/programs/ld-name.c (name_output): Likewise.
41422         * locale/programs/ld-numeric.c (numeric_output): Likewise.
41423         * locale/programs/ld-paper.c (paper_output): Likewise.
41424         * locale/programs/ld-telephone.c (telephone_output): Likewise.
41425         * locale/programs/ld-time.c (time_output): Likewise.
41427 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41429         * benchtests/Makefile: Add memrchr benchmark.
41430         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
41431         benchmark as memrchr.
41432         * benchtests/bench-memrchr-ifunc.c: New file.
41433         * benchtests/bench-memrchr.c: New file.
41435 2013-09-06   Will Newton  <will.newton@linaro.org>
41437         * benchtests/Makefile (string-bench): Add memcpy.
41439 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
41440             Cong Wang  <amwang@redhat.com>
41442         [BZ #15850]
41443         * sysdeps/unix/sysv/linux/bits/in.h
41444         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
41445         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
41446         before __USE_KERNEL_IPV6_DEFS uses.
41447         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
41448         IPPROTO_BEETPH.
41449         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
41450         sockaddr_in6, or ipv6_mreq.
41452 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41454         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
41455         memory access for final bytes in some large inputs.
41456         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
41458 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41460         * string/test-memrchr.c: New file.
41461         * string/test-memrchr-ifunc.c: New file.
41462         * string/Makefile: Add new memrchr testcase.
41464 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
41466         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
41467         fanotify_init returns EPERM.
41469 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
41471         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
41472         errors.
41473         (top level): Treat second token from macro or constant entries for
41474         allowed headers as allowed.
41475         * include/complex.h: Condition internal declarations on
41476         [!_ISOMAC].
41477         * include/fenv.h: Condition include of <stdbool.h> and internal
41478         declarations on [!_ISOMAC].
41480 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
41482         [BZ #15923]
41483         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
41485 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
41487         * configure.in (--enable-versioning): Remove configure option.
41488         (libc_cv_asm_symver_directive): Remove configure test.
41489         (libc_cv_ld_version_script_option): Likewise.
41490         (VERSIONING): Remove variable and AC_SUBST.
41491         (DO_VERSIONING): Remove AC_DEFINE.
41492         * configure: Regenerated.
41493         * config.h.in (DO_VERSIONING): Remove macro.
41494         * Makerules [$(versioning) = yes]: Change conditionals to
41495         [$(build-shared) = yes].
41496         * config.make.in (versioning): Remove variable.
41497         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
41498         [$(build-shared) = yes].
41499         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
41500         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
41501         * elf/Makefile [$(versioning) = yes]: Change conditionals to
41502         [$(build-shared) = yes].
41503         * extra-lib.mk [$(versioning) = yes]: Likewise.
41504         * hurd/Makefile [$(versioning) = yes]: Likewise.
41505         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
41506         [SHARED].
41507         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
41508         [SHARED].
41509         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41510         [SHARED && !NO_HIDDEN].
41511         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
41512         [SHARED].
41513         [SHARED && DO_VERSIONING]: Likewise..
41514         * libio/Makefile [$(versioning) = yes]: Change conditionals to
41515         [$(build-shared) = yes].
41516         * manual/install.texi (--disable-versioning): Remove
41517         documentation.
41518         * INSTALL: Regenerated.
41519         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
41520         to [SHARED].
41521         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
41522         [$(build-shared) = yes].
41523         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
41524         * sysdeps/i386/i686/multiarch/strstr-c.c
41525         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41526         [SHARED && !NO_HIDDEN].
41527         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
41528         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
41529         * sysdeps/powerpc/powerpc32/dl-machine.c
41530         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
41531         * sysdeps/powerpc/powerpc32/sysdep.h
41532         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
41533         to [SHARED && PIC && !NO_HIDDEN].
41534         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
41535         conditional to [SHARED].
41537 2013-09-04   Will Newton  <will.newton@linaro.org>
41539         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
41540         * benchtests/bench-string.h: Include bench-timing.h instead
41541         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
41542         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
41543         call to HP_TIMING_DIFF_INIT.
41544         * benchtests/bench-memccpy.c: Use bench-timing.h macros
41545         instead of hp-timing.h macros.
41546         * benchtests/bench-memchr.c: Likewise.
41547         * benchtests/bench-memcmp.c: Likewise.
41548         * benchtests/bench-memcpy.c: Likewise.
41549         * benchtests/bench-memmem.c: Likewise.
41550         * benchtests/bench-memmove.c: Likewise.
41551         * benchtests/bench-memset.c: Likewise.
41552         * benchtests/bench-rawmemchr.c: Likewise.
41553         * benchtests/bench-strcasecmp.c: Likewise.
41554         * benchtests/bench-strcasestr.c: Likewise.
41555         * benchtests/bench-strcat.c: Likewise.
41556         * benchtests/bench-strchr.c: Likewise.
41557         * benchtests/bench-strcmp.c: Likewise.
41558         * benchtests/bench-strcpy.c: Likewise.
41559         * benchtests/bench-strcpy_chk.c: Likewise.
41560         * benchtests/bench-strlen.c: Likewise.
41561         * benchtests/bench-strncasecmp.c: Likewise.
41562         * benchtests/bench-strncat.c: Likewise.
41563         * benchtests/bench-strncmp.c: Likewise.
41564         * benchtests/bench-strncpy.c: Likewise.
41565         * benchtests/bench-strnlen.c: Likewise.
41566         * benchtests/bench-strpbrk.c: Likewise.
41567         * benchtests/bench-strrchr.c: Likewise.
41568         * benchtests/bench-strspn.c: Likewise.
41569         * benchtests/bench-strstr.c: Likewise.
41571 2013-09-04  Will Newton  <will.newton@linaro.org>
41573         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
41575 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
41577         [BZ #15427]
41578         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
41579         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
41580         * math/libm-test.inc (lgamma_test_data): Add more tests.
41581         * sysdeps/i386/fpu/libm-test-ulps: Update.
41582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41584 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
41586         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
41587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41588         Add ifunc.
41589         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41590         Add strcmp-sse2-unaligned
41591         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
41593 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41595         * Versions.def (libc): Add GLIBC_2.19.
41597 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41599         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
41600         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
41602 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
41604         [BZ #14155]
41605         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
41606         intermediate calculations in recurrence.
41607         (__ieee754_ynf): Likewise.
41608         * math/libm-test.inc (jn_test_data): Do not allow spurious
41609         underflow exception.  Add more tests.
41610         (yn_test_data): Add more tests.
41611         * sysdeps/i386/fpu/libm-test-ulps: Update.
41612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41614 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
41616         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
41618 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41620         * csu/init-first.c: Fix then/than typos.
41621         * locale/programs/ld-collate.c: Likewise.
41622         * locale/programs/linereader.h: Likewise.
41623         * manual/charset.texi: Likewise.
41624         * manual/filesys.texi: Likewise.
41625         * manual/stdio.texi: Likewise.
41626         * manual/string.texi: Likewise.
41627         * stdlib/fmtmsg.c: Likewise.
41628         * sysdeps/i386/stpncpy.S: Likewise.
41629         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41630         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41631         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41632         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41634 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41636         * elf/dl-open.c: Fix typos.
41637         * iconvdata/gbbig5.c: Likewise.
41638         * iconvdata/iso-2022-jp.c: Likewise.
41639         * iconv/gconv_int.h: Likewise.
41640         * iconv/loop.c: Likewise.
41641         * nis/rpcsvc/nis.h: Likewise.
41642         * resolv/ns_name.c: Likewise.
41643         * stdio-common/vfscanf.c: Likewise.
41644         * streams/stropts.h: Likewise.
41645         * sunrpc/rpc_thread.c: Likewise.
41646         * sysdeps/i386/strpbrk.S: Likewise.
41647         * sysdeps/ieee754/k_standard.c: Likewise.
41648         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41649         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41650         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
41651         * sysdeps/mach/hurd/profil.c: Likewise.
41652         * sysdeps/s390/dl-procinfo.h: Likewise.
41653         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
41654         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41655         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
41656         * sysdeps/x86_64/dl-trampoline.S: Likewise.
41657         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41659 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
41661         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
41662         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
41664 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
41666         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
41667         aix specific files.
41668         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
41669         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
41670         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
41671         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
41672         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
41673         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
41674         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
41675         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
41677 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41678             Roland McGrath  <roland@hack.frob.com>
41680         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
41681         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
41683 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41685         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
41686         __executable_start symbol instead of _start.
41688 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41690         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
41691         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
41692         Move macros to...
41693         * sysdeps/gnu/ldsodefs.h: ... this new file.
41695         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
41696         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
41697         instead of ELFOSABI_LINUX.
41699         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
41700         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
41701         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
41702         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
41703         Likewise.
41704         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
41705         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
41706         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
41707         Likewise.
41708         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41709         (ibm_extended_long_double): Add ieee_nan member.
41710         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
41711         (do_test): New function.
41713         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
41714         TEST_TRUNC.
41715         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
41716         functions, renamed from truncdfsf_test, trunctfsf_test,
41717         trunctfdf_test.
41718         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
41719         functions.
41720         (do_test): Run all these.
41722 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
41724         * argp/argp-help.c: Fix typos.
41725         * argp/argp-parse.c: Likewise.
41726         * debug/backtracesyms.c: Likewise.
41727         * elf/elf.h: Likewise.
41728         * malloc/malloc.c: Likewise.
41729         * nis/nis_print.c: Likewise.
41730         * resolv/res_comp.c: Likewise.
41731         * stdlib/stdlib.h: Likewise.
41732         * sunrpc/clnt_tcp.c: Likewise.
41733         * sunrpc/clnt_udp.c: Likewise.
41734         * sunrpc/clnt_unix.c: Likewise.
41735         * sysdeps/unix/bsd/ptsname.c: Likewise.
41736         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41737         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
41738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
41739         Likewise.
41740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
41741         Likewise.
41742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
41743         Likewise.
41744         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41746 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41748         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
41749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41751 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
41753         [BZ #15897]
41754         * dlfcn/Makefile (tests): Add bug-dl-leaf.
41755         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
41756         ($(objpfx)bug-dl-leaf): New rule.
41757         ($(objpfx)bug-dl-leaf.so): Likewise.
41758         ($(objpfx)bug-dl-leaf.out): Likewise.
41759         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
41760         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
41761         * dlfcn/bug-dl-leaf.c: New test.
41762         * dlfcn/bug-dl-leaf-lib.c: Likewise.
41763         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
41764         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
41765         (dlclose): Likewise.
41766         (dlmopen): Likewise.
41768 2013-08-27  Roland McGrath  <roland@hack.frob.com>
41770         * include/netdb.h [!_ISOMAC]:
41771         Don't include <tls.h>.
41772         (h_errno, __libc_h_errno): Move declaration and macros out of
41773         [_LIBC_REENTRANT].
41775         * include/resolv.h [_RESOLV_H_]:
41776         Don't include <tls.h>.
41777         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
41778         * resolv/res_libc.c: Don't include <tls.h>.
41779         (_res): Use __attribute__ ((nocommon)) in place of
41780         __attribute__ ((section (".bss"))).
41782         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
41783         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
41785         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
41787         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
41788         only under [SIOCGIFCONF && SIOCGIFNETMASK].
41790         * resolv/res_mkquery.c: Include <sys/time.h>.
41792         * inet/ifreq.c: Moved to ...
41793         * sysdeps/unix/ifreq.c: ... here.
41794         * inet/ifreq.c: New file, true stub version.
41796         * socket/sa_len.c: New file.
41797         * socket/Makefile (aux): Add it.
41798         * sysdeps/unix/sysv/linux/Makefile
41799         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
41800         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
41801         and #include <socket/sa_len.c>.
41802         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
41803         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
41805         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
41806         * bits/socket.h: ... here.
41808         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
41809         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
41810         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41812 2013-08-27  Andreas Schwab  <schwab@suse.de>
41814         [BZ #15736]
41815         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41816         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41817         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41818         * string/test-strcasecmp.c (test_main): Run tests in several
41819         locales.
41820         * string/test-strncasecmp.c (test_main): Likewise.
41822         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41823         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41824         to __strcasecmp_nonascii and __strncasecmp_nonascii.
41825         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41826         (__strncasecmp_ssse3) [PIC]: Likewise.
41828 2013-08-26  Roland McGrath  <roland@hack.frob.com>
41830         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41832         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41833         instead of explicitly declaring xdecrypt.
41834         * nis/nss_nis/nis-publickey.c: Likewise.
41836 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41838         [BZ #15890]
41839         * nscd/aicache.c: Include res_hconf.h.
41840         (addhstaiX): Initialize res_hconf.
41842 2013-08-26  Andreas Schwab  <schwab@suse.de>
41844         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41845         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41847 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41849         * nscd/aicache.c (addhstaiX): Fix indentation.
41851 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
41853         * configure.ac: Quote $build_pt_chown test.
41854         * configure: Regenerated.
41856 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
41858         [BZ #15532]
41859         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41860         * math/s_cexpf.c (__cexpf): Likewise.
41861         * math/s_cexpl.c (__cexpl): Likewise.
41862         * math/libm-test.inc (cexp_test_data): Correct expected return
41863         value for NaN + i0.  Add another test.
41865 2013-08-22  David S. Miller  <davem@davemloft.net>
41867         * po/ca.po: Update Catalan translation from translation project.
41868         * po/uk.po: Add Ukrainian translations from translation project.
41870 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
41872         [BZ #15797]
41873         * math/s_fdim.c (__fdim): Check for infinite arguments if result
41874         is infinite, not alongside NaN test.
41875         * math/s_fdimf.c (__fdimf): Likewise.
41876         * math/s_fdiml.c (__fdiml): Likewise.
41877         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
41878         errno is unchanged.
41880 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
41882         * argp/argp-help.c: Fix typos.
41883         * crypt/speeds.c: Likewise.
41884         * csu/check_fds.c: Likewise.
41885         * elf/dl-load.c: Likewise.
41886         * elf/dl-open.c: Likewise.
41887         * elf/reldep3.c: Likewise.
41888         * elf/reldep.c: Likewise.
41889         * elf/sprof.c: Likewise.
41890         * iconv/iconv_charmap.c: Likewise.
41891         * iconv/skeleton.c: Likewise.
41892         * iconv/strtab.c: Likewise.
41893         * io/lockf64.c: Likewise.
41894         * libio/libioP.h: Likewise.
41895         * resolv/gai_notify.c: Likewise.
41896         * resolv/ns_name.c: Likewise.
41897         * resolv/ns_samedomain.c: Likewise.
41898         * resolv/res_send.c: Likewise.
41899         * stdlib/random.c: Likewise.
41900         * sunrpc/rpc/xdr.h: Likewise.
41901         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
41902         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41903         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41904         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41905         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41906         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41907         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41908         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41909         * sysdeps/mach/hurd/check_fds.c: Likewise.
41910         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41911         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41912         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41913         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41914         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41915         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41916         * sysdeps/pthread/aio_notify.c: Likewise.
41917         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
41918         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
41919         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41920         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41921         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41923 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41925         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
41926         version if bit_Slow_SSE4_2 is set.
41927         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41928         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41930 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41932         [BZ #15867]
41933         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
41934         trampoline stack frame information.
41935         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
41936         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
41937         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
41938         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
41939         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
41940         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41941         (_libc_vdso_platform_setup): Initialize the signal trampolines.
41942         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
41943         sa_flags value.
41944         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
41945         interrupting a syscall and set with option SA_SIGINFO.
41947 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41949         [BZ #15531]
41950         * math/s_cproj.c (__cproj): Only return an infinity if one part of
41951         argument is infinite.
41952         * math/s_cprojf.c (__cprojf): Likewise.
41953         * math/s_cprojl.c (__cprojl): Likewise.
41954         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
41955         * math/libm-test.inc (cproj_test_data): Add more tests.
41957         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
41959         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41960         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41961         size.  Use __ffs to determine corresponding shift.
41963 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41964             Roland McGrath  <roland@hack.frob.com>
41966         * Makefile (INSTALL): Remove trailing blank lines from output of
41967         makeinfo.
41969 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41971         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
41972         Align 32 bit compat elf_greg to 8 bytes.
41974 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
41976         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
41978 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41980         * string/strcoll_l.c (coll_seq): New structure.
41981         (get_next_seq_cached): New function.
41982         (get_next_seq): New function.
41983         (do_compare): New function.
41984         (STRCOLL): Use GNU style definition.  Simplify implementation
41985         by using get_next_seq, get_next_seq_cached and do_compare.
41987 2013-08-16  Florian Weimer  <fweimer@redhat.com>
41989         [BZ #14699]
41990         CVE-2013-4237
41991         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
41992         member.
41993         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
41994         member.
41995         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
41996         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
41997         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
41998         conditional.
41999         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
42000         GETDENTS_64BIT_ALIGNED.
42001         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42002         * manual/filesys.texi (Reading/Closing Directory): Document
42003         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
42004         strongly.
42005         * manual/conf.texi (Limits for Files): Add portability note to
42006         NAME_MAX, PATH_MAX.
42007         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
42009 2013-08-13  Andreas Schwab  <schwab@suse.de>
42011         [BZ #15749]
42012         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
42013         of fabs.
42014         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
42015         LDBL_MAX_EXP >= 16384]: Add tests for it.
42017 2013-08-12  David S. Miller  <davem@davemloft.net>
42019         * version.h (RELEASE): Set to "development".
42020         (VERSION): Set to "2.18.90".
42021         * NEWS: Add 2.19 section.
42023 2013-08-03  David S. Miller  <davem@davemloft.net>
42025         * po/ko.po: Update Korean translation from translation project.
42027 2013-08-01  David S. Miller  <davem@davemloft.net>
42029         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
42030         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
42031         Bilka.
42033 2013-07-30  David S. Miller  <davem@davemloft.net>
42035         * po/fr.po: Update French translation from translation project.
42037 2013-07-28  David S. Miller  <davem@davemloft.net>
42039         * po/cs.po: Update Czech translation from translation project.
42041         * po/sv.po: Update Swedish translation from translation project.
42043 2013-07-27  David S. Miller  <davem@davemloft.net>
42045         * po/eo.po: Update Esperanto translation from translation project.
42047         * po/vi.po: Update Vietnamese translation from translation project.
42049         * po/de.po: Update German translation from translation project.
42051 2013-07-26  David S. Miller  <davem@davemloft.net>
42053         * po/bg.po: Update Bulgarian translation from translation project.
42055         * po/nl.po: Update Dutch translation from translation project.
42056         * po/pl.po: Update Polish translation from translation project.
42057         * po/ru.po: Update Russian translation from translation project.
42059 2013-07-24  David S. Miller  <davem@davemloft.net>
42061         * po/libc.pot: Update.
42063 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42065         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
42066         variable page size.
42067         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
42068         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
42069         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
42071 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42073         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
42075 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42076             Andreas Schwab  <schwab@suse.de>
42077             Roland McGrath  <roland@hack.frob.com>
42078             Joseph Myers  <joseph@codesourcery.com>
42079             Carlos O'Donell  <carlos@redhat.com>
42081         [BZ #15755]
42082         * config.h.in: Define HAVE_PT_CHOWN.
42083         * config.make.in (build-pt-chown): New variable.
42084         * configure.in (--enable-pt_chown): New configure option.
42085         * configure: Regenerate.
42086         * login/Makefile: Include Makeconfig.  Build pt_chown only if
42087         build-pt-chown is enabled.
42088         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
42089         pt_chown to fix pty ownership.
42090         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
42091         CLOSE_ALL_FDS.
42092         * manual/install.texi (Configuring and compiling): Mention
42093         --enable-pt_chown. Add @findex for grantpt.
42094         * INSTALL: Regenerate.
42096 2013-07-20  David S. Miller  <davem@davemloft.net>
42098         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
42099         difference between 32-bit and 64-bit.
42101 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
42103         [BZ #15711]
42104         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
42105         Avoid system header dependency with -ffreestanding.
42106         ($(objpfx)bits/syscall%d): Likewise.
42108 2013-07-13  David S. Miller  <davem@davemloft.net>
42110         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
42111         underflows from atanl/atan2l due to bug 15319.
42112         (casinh_test_data): Likewise.
42114 2013-07-07  David S. Miller  <davem@davemloft.net>
42116         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
42118 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
42120         * sysdeps/i386/fpu/libm-test-ulps: Update.
42121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42123 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42125         * configure.in (--enable-lock-elision): Fix message text.
42126         * INSTALL: Regenerate.
42127         * configure: Regenerate.
42129 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42133 2013-07-03  Andreas Jaeger  <aj@suse.de>
42135         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
42136         define.
42137         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
42138         (ptrace_peeksiginfo_args): Add.
42139         (__ptrace_peeksiginfo_flags): Add.
42140         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42141         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42142         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42144 2013-07-03  Allan McRae  <allan@archlinux.org>
42146         * sysdeps/i386/fpu/libm-test-ulps: Update.
42148 2013-07-02  David S. Miller  <davem@davemloft.net>
42150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42152 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
42154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42156 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
42158         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42161 2013-07-02  Andi Kleen <ak@linux.intel.com>
42163         * config.h.in (ENABLE_LOCK_ELISION): Add.
42164         * configure.in (--enable-lock-elision): Add option.
42165         * manual/install.texi: Document --enable lock elision.
42166         * configure: Regenerate
42167         * INSTALL: Regenerate.
42169 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
42171         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
42172         SSE4.2 strcasecmp for libc.a.
42173         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42175 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
42177         [BZ #13304]
42178         * soft-fp/op-common.h (_FP_FMA): New macro.
42179         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
42180         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
42181         (_FP_MUL_MEAT_1_imm): ... here.
42182         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
42183         (_FP_MUL_MEAT_1_wide): ... here.
42184         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
42185         (_FP_MUL_MEAT_1_hard): ... here.
42186         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
42187         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
42188         (_FP_MUL_MEAT_2_wide): ... here.
42189         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
42190         (_FP_MUL_MEAT_2_wide_3mul): ... here.
42191         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
42192         (_FP_MUL_MEAT_2_gmp): ... here.
42193         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
42194         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
42195         (_FP_MUL_MEAT_4_wide): ... here.
42196         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
42197         (_FP_MUL_MEAT_4_gmp): ... here.
42198         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
42199         (_FP_WFRACBITS_DW_S): Likewise.
42200         (_FP_WFRACXBITS_DW_S): Likewise.
42201         (_FP_HIGHBIT_DW_S): Likewise.
42202         (FP_FMA_S): Likewise.
42203         (_FP_FRAC_HIGH_DW_S): Likewise.
42204         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
42205         (_FP_WFRACBITS_DW_D): Likewise.
42206         (_FP_WFRACXBITS_DW_D): Likewise.
42207         (_FP_HIGHBIT_DW_D): Likewise.
42208         (FP_FMA_D): Likewise.
42209         (_FP_FRAC_HIGH_DW_D): Likewise.
42210         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
42211         (_FP_WFRACBITS_DW_E): Likewise.
42212         (_FP_WFRACXBITS_DW_E): Likewise.
42213         (_FP_HIGHBIT_DW_E): Likewise.
42214         (FP_FMA_E): Likewise.
42215         (_FP_FRAC_HIGH_DW_E): Likewise.
42216         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
42217         (_FP_WFRACBITS_DW_Q): Likewise.
42218         (_FP_WFRACXBITS_DW_Q): Likewise.
42219         (_FP_HIGHBIT_DW_Q): Likewise.
42220         (FP_FMA_Q): Likewise.
42221         (_FP_FRAC_HIGH_DW_Q): Likewise.
42222         * soft-fp/fmasf4.c: New file.
42223         * soft-fp/fmadf4.c: Likewise.
42224         * soft-fp/fmatf4.c: Likewise.
42226 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42229         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
42230         Silvermont.
42231         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
42232         macro.
42233         (index_Slow_SSE4_2): Likewise.
42234         (index_Prefer_PMINUB_for_stringop): Likewise.
42235         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
42236         bit_Slow_SSE4_2 is set.
42237         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42238         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42240 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42242         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
42243         rtld_global._dl_hwcap2.
42244         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
42245         POWER8.
42246         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
42247         POWER8 feature descriptions defined in _dl_hwcap2.
42248         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
42249         string handling for POWER8 feature bits.
42250         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
42251         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
42252         _dl_powerpc_cap_flags.
42253         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
42254         * sysdeps/powerpc/rtld-global-offsets.sym
42255         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
42256         _dl_hwcap2 in the rtld_global_ro structure.
42258 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42260         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
42261         hardware capabilities in support of AT_HWCAP2.
42262         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
42263         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
42264         GLRO(dl_hwcap2).
42265         (_dl_show_auxv): Add support for calling _dl_procinfo to display
42266         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
42267         explicitly the unknown a_type display mechanism is used.
42268         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
42269         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
42270         struct member.
42271         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
42272         to macro prototype for AT_HWCAP2 support.
42273         * sysdeps/i386/dl-procinfo.h: Likewise.
42274         * sysdeps/s390/dl-procinfo.h: Likewise.
42275         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
42276         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
42277         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
42278         return -1 for unknown a_type display fallback.
42279         * sysdeps/sparc/dl-procinfo.h: Likewise.
42280         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
42281         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
42283 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
42285         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
42286         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
42288 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
42290         [BZ #12492]
42291         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
42292         mprotect making __stack_prot writable.
42294 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
42295             Joseph Myers  <joseph@codesourcery.com>
42297         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
42298         as being properly aligned.
42300 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
42302         * dlfcn/modstatic5.c: New file.
42303         * dlfcn/tststatic5.c: New file.
42304         * dlfcn/Makefile (tests): Add tststatic5.
42305         (tests-static): Likewise.
42306         (modules-names): Add modstatic5.
42307         (tststatic5-ENV): New variable.
42308         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
42310         [BZ #15022]
42311         * elf/dl-support.c (_dl_main_map): New variable.
42312         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
42313         (_dl_nns, _dl_load_adds): Set to 1.
42314         (_dl_initial_searchlist): Refer to _dl_main_map.
42315         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
42316         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
42317         call to _dl_get_origin.
42318         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
42319         around call_map.
42320         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
42321         * dlfcn/modstatic3.c: New file.
42322         * dlfcn/tststatic3.c: New file.
42323         * dlfcn/tststatic4.c: New file.
42324         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
42325         (tests-static): Likewise.
42326         (modules-names): Add modstatic3.
42327         (tststatic3-ENV, tststatic4-ENV): New variables.
42328         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
42329         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
42331 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
42333         * configure.in (CC): Require GCC version 4.4 or later.
42334         * configure: Regenerated.
42335         * manual/install.texi (Tools for Compilation): Update GCC version
42336         requirement.
42337         * INSTALL: Regenerated.
42339 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42341         [BZ #15674]
42342         * string/test-memcmp.c (check2): New.
42343         (main): Call check2.
42345         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
42347 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
42349         [BZ #15022]
42350         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
42351         over to...
42352         (dl_open_worker) [!SHARED]: ... here.
42354 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42356         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
42358 2013-06-25  Richard Henderson  <rth@redhat.com>
42360         * locale/programs/locarchive.c: Include <libc-internal.h>
42362 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
42364         * manual/texinfo.tex: Update to version 2013-06-21.17, with
42365         trailing whitespace removed.
42367 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
42369         [BZ #10283]
42370         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
42371         * locale/programs/locarchive.c: Include libc-mmap.h.
42372         (prepare_address_space): Take two new outputs (the mmap base and len).
42373         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
42374         values.
42375         (create_archive): Declare new mmap base and len values for
42376         prepare_address_space, and store the result in ah.
42377         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
42378         (enlarge_archive): If ah->mmap_base is not NULL, use that and
42379         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42380         Declare new mmap base and len values for
42381         prepare_address_space, and store the result in new_ah.
42382         (open_archive): Declare new mmap base and len values for
42383         prepare_address_space, and store the result in ah.
42384         (close_archive): If ah->mmap_base is not NULL, use that and
42385         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42386         * sysdeps/generic/libc-mmap.h: New file.
42388 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
42390         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
42391         (ALIGN_UP): Likewise.
42392         (PTR_ALIGN_DOWN): Likewise.
42393         (PTR_ALIGN_UP): Likewise.
42395 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42397         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
42398         entry mapped to PPC_PLATFORM_POWER8.
42399         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
42400         POWER8.
42401         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
42402         (_dl_string_platform): Add case for exporting platform position for
42403         POWER8.
42404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
42405         search path to sysdeps/powerpc/powerpc32/power8 directory.
42406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
42407         search path to sysdeps/powerpc/powerpc64/power8 directory.
42408         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
42409         power7 directories.
42410         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
42411         power7 directories.
42413 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42415         * INSTALL: Regenerate.
42417         * nscd/connections.c (nscd_init): Fix comment.
42419 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
42421         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
42423         [BZ #15667]
42424         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
42425         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
42427 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
42429         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
42430         DL_DST_REQ_STATIC.
42431         (DL_DST_REQ_STATIC): Remove macro.
42433 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
42435         [BZ #7006]
42436         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
42437         with a shift of 0 bits.
42439 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
42441         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
42442         $(tststatic-ENV).
42444 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42446         [BZ #15655]
42447         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
42449 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42451         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
42452         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
42453         accepts -fno-tree-loop-distribute-patterns.
42454         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
42455         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
42456         recursive call.
42457         * string/memset.c (memset): Likewise.
42458         * string/test-memmove.c (simple_memmove): Disable loop transformation
42459         to library calls.
42460         * string/test-memset.c (simple_memset): Likewise.
42461         * benchtests/bench-memmove.c (simple_memmove): Likewise.
42462         * benchtests/bench-memset.c (simple_memset): Likewise.
42463         * configure: Regenerated.
42465 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
42467         * math/test-misc.c (main): Ignore fesetround failure when failures
42468         of subsequent rounding tests would be ignored.
42470         [BZ #15654]
42471         * math/fedisblxcpt.c (fedisableexcept): Return 0.
42472         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
42473         * math/fegetenv.c (__fegetenv): Return 0.
42474         * math/fegetexcept.c (fegetexcept): Return 0.
42475         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
42476         FE_TONEAREST.
42477         * math/feholdexcpt.c (feholdexcept): Return 0.
42478         * math/fesetenv.c (__fesetenv): Return 0.
42479         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
42480         argument FE_TONEAREST.
42481         * math/feupdateenv.c (__feupdateenv): Return 0.
42482         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
42484 2013-06-18  Roland McGrath  <roland@hack.frob.com>
42486         * elf/rtld-Rules (rtld-compile-command.S): New variable.
42487         (rtld-compile-command.s, rtld-compile-command.c): New variables.
42488         ($(objpfx)rtld-%.os rules): Use them.
42490 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42492         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
42493         fields.
42495 2013-06-17  Roland McGrath  <roland@hack.frob.com>
42497         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
42498         length of target pattern, then descending length of dependency pattern.
42499         * configure.in (AWK): Require gawk 3.1.2 or newer.
42500         * manual/install.texi (Tools for Compilation): Say that we do.
42501         * configure: Regenerated.
42503         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
42504         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
42505         * scripts/sysd-rules.awk: ... this new script.
42506         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
42507         than a glob-style pattern.
42509 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
42511         * math/test-misc.c (main): Do not treat incorrectly rounded
42512         conversions as failure unless ROUNDING_TESTS passes.
42514 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
42516         [BZ #15631]
42517         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
42518         restore exception state around main square root computation, then
42519         check for inexactness explicitly.
42521         * math/libm-test.inc (fma_test_data): Add another test.
42523 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42525         * manual/threads.texi (Non-POSIX Extensions): New document
42526         node.  Document pthread_getattr_default_np and
42527         pthread_setattr_default_np.
42529         * Versions.def (libpthread): Add GLIBC_2.18.
42530         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
42531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42532         Likewise.
42533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42534         Likewise.
42535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42536         Likewise.
42537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42538         Likewise.
42539         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
42540         Likewise.
42541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42542         Likewise.
42543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42544         Likewise.
42545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42546         Likewise.
42547         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42548         Likewise.
42550 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42553         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
42555 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42556             H.J. Lu  <hjl.tools@gmail.com>
42558         [BZ #15627]
42559         * sysdeps/x86_64/rtld-memset.c: Remove file.
42560         * sysdeps/x86_64/rtld-memset.S: New file.
42562 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
42564         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
42565         (test_in_one_mode): Take arguments for whether the rounding mode
42566         is supported for each floating-point type.
42567         (do_test): Pass new arguments to test_in_one_mode using
42568         ROUNDING_TESTS.
42570 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42572         * posix/tst-waitid.c (do_test): Distinguish different instances of
42573         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
42574         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
42575         before entering the kernel for waitpid.
42577 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42579         * NEWS: Fix note on clock function precision.  Text by Roland
42580         McGrath.
42582 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42584         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
42585         it into place only when and if the sanity check passes.
42587 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
42589         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
42590         output for whether conversion result is exact.  Take argument
42591         indicating whether type is IBM long double.
42592         (round_for_all): Change need_exact field to ibm_ld.
42593         * stdlib/tst-strtod-round.c (struct exactness): New type.
42594         (struct test): Change bool ld_ok field to struct exactness exact.
42595         (TEST): Update all definitions for change to field.
42596         (tests): Regenerate array contents.
42597         (test_in_one_mode): Take pointer to new field instead of old ld_ok
42598         field value.  Check for IBM long double here.
42599         (do_test): Update calls to test_in_one_mode.
42601 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42603         [BZ #12515]
42604         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
42605         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
42607 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42609         [BZ #15605]
42610         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
42611         generated by the compiler on loop optimizations.
42612         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
42613         general definitions.
42615 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
42617         * math/bug-nextafter.c: Include <math-tests.h>.
42618         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42619         the relevant type.
42620         * math/bug-nexttoward.c: Include <math-tests.h>.
42621         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42622         the relevant type.
42623         * math/test-misc.c: Include <math-tests.h>.
42624         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42625         the relevant type.
42627 2013-06-12  Andreas Jaeger  <aj@suse.de>
42629         * po/ia.po: Update Interlingua translation from translation
42630         project.
42632 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42634         * include/fenv.h: Include stdbool.h.
42635         (struct rm_ctx): New structure.
42636         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
42637         Define macro.
42638         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
42639         (SET_RESTORE_ROUNDF): Likewise.
42640         (SET_RESTORE_ROUNDL): Likewise.
42641         (SET_RESTORE_ROUND_NOEX): Likewise.
42642         (SET_RESTORE_ROUND_NOEXF): Likewise.
42643         (SET_RESTORE_ROUND_NOEXL): Likewise.
42644         (SET_RESTORE_ROUND_53BIT): Likewise.
42645         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
42646         (libc_feresetround_noexf_ctx): Likewise.
42647         (libc_feresetround_noexl_ctx): Likewise.
42648         (libc_feholdsetround_53bit_ctx): Likewise.
42649         (libc_feresetround_53bit_ctx): Likewise.
42650         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
42651         (libc_feholdexcept_setround_sse_ctx): New function.
42652         (libc_fesetenv_sse_ctx): Likewise.
42653         (libc_feupdateenv_sse_ctx): Likewise.
42654         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
42655         (libc_feholdexcept_setround_387_ctx): Likewise.
42656         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
42657         (libc_feholdsetround_387_prec_ctx): Likewise.
42658         (libc_feholdsetround_387_ctx): Likewise.
42659         (libc_feholdsetround_387_53bit_ctx): Likewise.
42660         (libc_feholdsetround_sse_ctx): Likewise.
42661         (libc_feresetround_sse_ctx): Likewise.
42662         (libc_feresetround_387_ctx): Likewise.
42663         (libc_feupdateenv_387_ctx): Likewise.
42664         (libc_feholdexcept_setroundf_ctx): Define macro.
42665         (libc_fesetenvf_ctx): Likewise.
42666         (libc_feupdateenvf_ctx): Likewise.
42667         (libc_feholdsetroundf_ctx): Likewise.
42668         (libc_feresetroundf_ctx): Likewise.
42669         (libc_feholdexcept_setround_ctx): Likewise.
42670         (libc_fesetenv_ctx): Likewise.
42671         (libc_feupdateenv_ctx): Likewise.
42672         (libc_feholdsetround_ctx): Likewise.
42673         (libc_feresetround_ctx): Likewise.
42674         (libc_feholdexcept_setroundl_ctx): Likewise.
42675         (libc_feupdateenvl_ctx): Likewise.
42676         (libc_feholdsetroundl_ctx): Likewise.
42677         (libc_feresetroundl_ctx): Likewise.
42678         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
42679         (libc_feresetround_53bit_ctx): Likewise.
42681 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42683         * locale/iso-639.def: Convert to UTF-8.
42685 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
42687         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
42688         (EXCEPTION_TESTS_double): Likewise.
42689         (EXCEPTION_TESTS_long_double): Likewise.
42690         (EXCEPTION_TESTS): Likewise.
42691         * math/libm-test.inc (test_exceptions): Only test exceptions if
42692         EXCEPTION_TESTS (FLOAT).
42694 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42696         * benchtests/Makefile (string-bench): Add strcpy_chk and
42697         stpcpy_chk.
42698         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
42699         * benchtests/bench-stpcpy_chk.c: New file.
42700         * benchtests/bench-strcpy_chk-ifunc.c: New file.
42701         * benchtests/bench-strcpy_chk.c: New file.
42702         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
42703         code.
42704         (do_test): Likewise.
42706 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42708         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
42709         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
42710         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
42711         with tabs where appropriate.
42712         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
42713         dl-procinfo.h.
42714         [PPC_PLATFORM_PPC440]: Likewise.
42715         [PPC_PLATFORM_PPC464]: Likewise.
42716         [PPC_PLATFORM_PPC476]: Likewise.
42717         (_dl_string_platform): Add support for detecting ppc405, ppc440,
42718         ppc464, and ppc476 platform strings merging from ports/
42719         dl-procinfo.h.
42721 2013-06-11  Andreas Schwab  <schwab@suse.de>
42723         [BZ #14991]
42724         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
42725         (from_ucs4_idx): Regenerate.
42726         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
42727         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
42728         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
42729         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
42730         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
42731         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
42732         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
42733         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
42734         from FROM_LOOP and TO_LOOP specific macros.
42735         (BODY): Handle combining characters.
42736         * iconvdata/BIG5HKSCS.irreversible: Update.
42737         * iconvdata/BIG5HKSCS.precomposed: New file.
42738         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
42739         characters.
42740         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
42742 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42744         * include/sys/time.h: Fix indentation and add copyright header.
42746         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
42747         (do_test): Likewise.
42748         * string/test-memchr.c (do_one_test): Likewise.
42749         (do_test): Likewise.
42750         * string/test-memcmp.c (do_one_test): Likewise.
42751         (do_test): Likewise.
42752         * string/test-memcpy.c (do_one_test): Likewise.
42753         (do_test): Likewise.
42754         * string/test-memmem.c (do_one_test): Likewise.
42755         (do_test): Likewise.
42756         (do_random_tests): Likewise.
42757         * string/test-memmove.c (do_one_test): Likewise.
42758         (do_test): Likewise.
42759         * string/test-memset.c (do_one_test): Likewise.
42760         (do_test): Likewise.
42761         * string/test-rawmemchr.c (do_one_test): Likewise.
42762         (do_test): Likewise.
42763         * string/test-strcasecmp.c (do_one_test): Likewise.
42764         (do_test): Likewise.
42765         * string/test-strcasestr.c (do_one_test): Likewise.
42766         (do_test): Likewise.
42767         * string/test-strcat.c (do_one_test): Likewise.
42768         (do_test): Likewise.
42769         * string/test-strchr.c (do_one_test): Likewise.
42770         (do_test): Likewise.
42771         * string/test-strcmp.c (do_one_test): Likewise.
42772         (do_test): Likewise.
42773         * string/test-strcpy.c (do_one_test): Likewise.
42774         (do_test): Likewise.
42775         * string/test-string.h: Likewise.
42776         (test_init): Likewise.
42777         * string/test-strlen.c (do_one_test): Likewise.
42778         (do_test): Likewise.
42779         * string/test-strncasecmp.c (do_one_test): Likewise.
42780         (do_test): Likewise.
42781         * string/test-strncat.c (do_one_test): Likewise.
42782         (do_test): Likewise.
42783         * string/test-strncmp.c (do_one_test): Likewise.
42784         (do_test_limit): Likewise.
42785         (do_test): Likewise.
42786         * string/test-strncpy.c (do_one_test): Likewise.
42787         (do_test): Likewise.
42788         * string/test-strnlen.c (do_one_test): Likewise.
42789         (do_test): Likewise.
42790         * string/test-strpbrk.c (do_one_test): Likewise.
42791         (do_test): Likewise.
42792         * string/test-strrchr.c (do_one_test): Likewise.
42793         (do_test): Likewise.
42794         * string/test-strspn.c (do_one_test): Likewise.
42795         (do_test): Likewise.
42796         * string/test-strstr.c (do_one_test): Likewise.
42797         (do_test): Likewise.
42799         * benchtests/Makefile (string-bench): Add string benchmarks.
42800         * benchtests/bench-bcopy-ifunc.c: New file.
42801         * benchtests/bench-bcopy.c: New file.
42802         * benchtests/bench-bzero-ifunc.c: New file.
42803         * benchtests/bench-bzero.c: New file.
42804         * benchtests/bench-memccpy-ifunc.c: New file.
42805         * benchtests/bench-memccpy.c: New file.
42806         * benchtests/bench-memchr-ifunc.c: New file.
42807         * benchtests/bench-memchr.c: New file.
42808         * benchtests/bench-memcmp-ifunc.c: New file.
42809         * benchtests/bench-memcmp.c: New file.
42810         * benchtests/bench-memmem-ifunc.c: New file.
42811         * benchtests/bench-memmem.c: New file.
42812         * benchtests/bench-memmove-ifunc.c: New file.
42813         * benchtests/bench-memmove.c: New file.
42814         * benchtests/bench-mempcpy-ifunc.c: New file.
42815         * benchtests/bench-mempcpy.c: New file.
42816         * benchtests/bench-memset-ifunc.c: New file.
42817         * benchtests/bench-memset.c: New file.
42818         * benchtests/bench-rawmemchr-ifunc.c: New file.
42819         * benchtests/bench-rawmemchr.c: New file.
42820         * benchtests/bench-stpcpy-ifunc.c: New file.
42821         * benchtests/bench-stpcpy.c: New file.
42822         * benchtests/bench-stpncpy-ifunc.c: New file.
42823         * benchtests/bench-stpncpy.c: New file.
42824         * benchtests/bench-strcasecmp-ifunc.c: New file.
42825         * benchtests/bench-strcasecmp.c: New file.
42826         * benchtests/bench-strcasestr-ifunc.c: New file.
42827         * benchtests/bench-strcasestr.c: New file.
42828         * benchtests/bench-strcat-ifunc.c: New file.
42829         * benchtests/bench-strcat.c: New file.
42830         * benchtests/bench-strchr-ifunc.c: New file.
42831         * benchtests/bench-strchr.c: New file.
42832         * benchtests/bench-strchrnul-ifunc.c: New file.
42833         * benchtests/bench-strchrnul.c: New file.
42834         * benchtests/bench-strcmp-ifunc.c: New file.
42835         * benchtests/bench-strcmp.c: New file.
42836         * benchtests/bench-strcpy-ifunc.c: New file.
42837         * benchtests/bench-strcpy.c: New file.
42838         * benchtests/bench-strcspn-ifunc.c: New file.
42839         * benchtests/bench-strcspn.c: New file.
42840         * benchtests/bench-strlen-ifunc.c: New file.
42841         * benchtests/bench-strlen.c: New file.
42842         * benchtests/bench-strncasecmp-ifunc.c: New file.
42843         * benchtests/bench-strncasecmp.c: New file.
42844         * benchtests/bench-strncat-ifunc.c: New file.
42845         * benchtests/bench-strncat.c: New file.
42846         * benchtests/bench-strncmp-ifunc.c: New file.
42847         * benchtests/bench-strncmp.c: New file.
42848         * benchtests/bench-strncpy-ifunc.c: New file.
42849         * benchtests/bench-strncpy.c: New file.
42850         * benchtests/bench-strnlen-ifunc.c: New file.
42851         * benchtests/bench-strnlen.c: New file.
42852         * benchtests/bench-strpbrk-ifunc.c: New file.
42853         * benchtests/bench-strpbrk.c: New file.
42854         * benchtests/bench-strrchr-ifunc.c: New file.
42855         * benchtests/bench-strrchr.c: New file.
42856         * benchtests/bench-strspn-ifunc.c: New file.
42857         * benchtests/bench-strspn.c: New file.
42858         * benchtests/bench-strstr-ifunc.c: New file.
42859         * benchtests/bench-strstr.c: New file.
42861         * benchtests/Makefile: Disable parallel execution of targets.
42862         (string-bench): Add memcpy.
42863         (benchset): New variable to store a list of benchmark sets.
42864         (bench-func): Renamed from bench.
42865         (bench-set): New target.
42866         (bench): Depend on bench-func and bench-set.
42867         * benchtests/README: Add section on benchmark sets.
42868         * benchtests/bench-memcpy-ifunc.c: New file.
42869         * benchtests/bench-memcpy.c: New file.
42870         * benchtests/bench-string.h: New file.
42872 2013-06-11  Andreas Schwab  <schwab@suse.de>
42874         [BZ #15577]
42875         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
42876         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
42877         values in the triple.
42878         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
42879         terminator in the group key.
42881 2013-06-11  Andreas Jaeger  <aj@suse.de>
42883         * po/zh_TW.po: Update Chinese (traditional) translation from
42884         translation project.
42886 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42888         * include/time.h (__clock_gettime): Add libc_hidden_proto.
42889         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
42890         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
42891         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42892         (clock_getcpuclockid): Likewise.
42893         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
42894         Add weak_alias and libc_hidden_def.
42895         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
42896         * rt/clock_gettime.c (clock_gettime): Rename to
42897         __clock_gettime.  Add weak_alias and libc_hidden_def.
42898         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
42899         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42900         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
42901         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
42902         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
42903         Likewise.
42904         * rt/clock_settime.c (clock_settime): Rename to
42905         __clock_settime.  Add weak_alias and libc_hidden_def.
42906         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
42908 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
42910         * mach/err_boot.sub: Remove trailing whitespace.
42911         * mach/err_ipc.sub: Likewise.
42912         * mach/err_mach.sub: Likewise.
42914         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
42915         (ROUNDING_TESTS_double): Likewise.
42916         (ROUNDING_TESTS_long_double): Likewise.
42917         (ROUNDING_TESTS): Likewise.
42918         * math/libm-test.inc: Include <math-tests.h>.
42919         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
42920         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42921         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42922         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42924 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42926         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
42927         of assigning.
42929 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
42931         * sysdeps/gnu/errlist.awk: Do not generate space at end of
42932         otherwise empty TRANS lines.
42933         * sysdeps/gnu/errlist.c: Regenerated.
42935         * catgets/gencat.c (error_print): Use (void) in function
42936         definition.
42937         * crypt/crypt_util.c (__init_des): Likewise.
42938         * crypt/speeds.c (Stop): Likewise.
42939         (main): Likewise.
42940         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
42941         * inet/ruserpass.c (token): Likewise.
42942         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
42943         * intl/localealias.c (extend_alias_table): Likewise.
42944         * intl/plural-exp.c (init_germanic_plural): Likewise.
42945         * libio/fcloseall.c (__fcloseall): Likewise.
42946         * libio/genops.c (_IO_flush_all): Likewise.
42947         (_IO_flush_all_linebuffered): Likewise.
42948         (_IO_cleanup): Likewise.
42949         (_IO_iter_begin): Likewise.
42950         (_IO_iter_end): Likewise.
42951         (_IO_list_lock): Likewise.
42952         (_IO_list_unlock): Likewise.
42953         (_IO_list_resetlock): Likewise.
42954         * libio/getchar.c (getchar): Likewise.
42955         * libio/getchar_u.c (getchar_unlocked): Likewise.
42956         * libio/getwchar.c (getwchar): Likewise.
42957         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
42958         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
42959         * login/getpt.c (__getpt): Likewise.
42960         * login/tst-utmp.c (main): Likewise.
42961         * malloc/hooks.c (__malloc_check_init): Likewise.
42962         * malloc/malloc.c (__malloc_stats): Likewise.
42963         * malloc/mtrace.c (tr_break): Likewise.
42964         (mtrace): Likewise.
42965         (muntrace): Likewise.
42966         * misc/fstab.c (endfsent): Likewise.
42967         * misc/getclktck.c (__getclktck): Likewise.
42968         * misc/getdtsz.c (__getdtablesize): Likewise.
42969         * misc/gethostid.c (gethostid): Likewise.
42970         * misc/getpagesize.c (__getpagesize): Likewise.
42971         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
42972         (__get_nprocs): Likewise.
42973         (__get_phys_pages): Likewise.
42974         (__get_avphys_pages): Likewise.
42975         * misc/getttyent.c (getttyent): Likewise.
42976         (setttyent): Likewise.
42977         (endttyent): Likewise.
42978         * misc/getusershell.c (getusershell): Likewise.
42979         (endusershell): Likewise.
42980         (setusershell): Likewise.
42981         (initshells): Likewise.
42982         * misc/hsearch.c (__hdestroy): Likewise.
42983         * misc/sync.c (sync): Likewise.
42984         * misc/syslog.c (closelog_internal): Likewise.
42985         (closelog): Likewise.
42986         * misc/ttyslot.c (ttyslot): Likewise.
42987         * misc/vhangup.c (vhangup): Likewise.
42988         * posix/fork.c (__fork): Likewise.
42989         * posix/getegid.c (__getegid): Likewise.
42990         * posix/geteuid.c (__geteuid): Likewise.
42991         * posix/getgid.c (__getgid): Likewise.
42992         * posix/getpid.c (__getpid): Likewise.
42993         * posix/getppid.c (__getppid): Likewise.
42994         * posix/getuid.c (__getuid): Likewise.
42995         * posix/pause.c (pause): Likewise.
42996         * posix/setpgrp.c (setpgrp): Likewise.
42997         * posix/setsid.c (__setsid): Likewise.
42998         * posix/test-vfork.c (noop): Likewise.
42999         * resolv/gethnamaddr.c (_endhtent): Likewise.
43000         (_gethtent): Likewise.
43001         (ht_endhostent): Likewise.
43002         (gethostent): Likewise.
43003         (dns_service): Likewise.
43004         * stdlib/drand48.c (drand48): Likewise.
43005         * stdlib/lrand48.c (lrand48): Likewise.
43006         * stdlib/mrand48.c (mrand48): Likewise.
43007         * stdlib/rand.c (rand): Likewise.
43008         * stdlib/random.c (__random): Likewise.
43009         * stdlib/setenv.c (clearenv): Likewise.
43010         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
43011         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
43012         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
43013         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
43014         (__get_nprocs): Likewise.
43015         (__get_phys_pages): Likewise.
43016         (__get_avphys_pages): Likewise.
43017         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
43018         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
43019         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
43020         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
43021         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
43022         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
43023         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
43024         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
43025         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
43026         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
43027         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
43028         * sysdeps/mach/hurd/sync.c (sync): Likewise.
43029         * sysdeps/posix/clock.c (clock): Likewise.
43030         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
43031         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
43032         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
43033         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
43034         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
43035         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
43036         (__get_nprocs_conf): Likewise.
43037         (__get_phys_pages): Likewise.
43038         (__get_avphys_pages): Likewise.
43039         * time/clock.c (clock): Likewise.
43040         * time/tzset.c (__tzname_max): Likewise.
43042 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
43044         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
43045         (__bswap_32): Do not use "register".
43046         * crypt/crypt.c (_ufc_doit_r): Likewise.
43047         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43048         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43049         * gmon/gmon.c (__monstartup): Likewise.
43050         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
43051         * hurd/hurdmalloc.c (more_memory): Likewise.
43052         (malloc): Likewise.
43053         (free): Likewise.
43054         (realloc): Likewise.
43055         (malloc_fork_prepare): Likewise.
43056         (malloc_fork_parent): Likewise.
43057         (malloc_fork_child): Likewise.
43058         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
43059         (_svcauth_des): Likewise.
43060         * inet/inet_lnaof.c (inet_lnaof): Likewise.
43061         * inet/inet_net.c (inet_network): Likewise.
43062         * inet/inet_netof.c (inet_netof): Likewise.
43063         * inet/rcmd.c (__validuser2_sa): Likewise.
43064         * io/fts.c (fts_open): Likewise.
43065         (fts_load): Likewise.
43066         (fts_close): Likewise.
43067         (fts_read): Likewise.
43068         (fts_children): Likewise.
43069         (fts_build): Likewise.
43070         (fts_stat): Likewise.
43071         (fts_sort): Likewise.
43072         (fts_alloc): Likewise.
43073         (fts_lfree): Likewise.
43074         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
43075         (_IO_file_xsgetn): Likewise.
43076         (_IO_file_xsgetn_mmap): Likewise.
43077         * libio/iofopncook.c (_IO_cookie_read): Likewise.
43078         (_IO_cookie_write): Likewise.
43079         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
43080         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
43081         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
43082         * malloc/obstack.c (_obstack_begin): Likewise.
43083         (_obstack_begin_1): Likewise.
43084         (_obstack_newchunk): Likewise.
43085         (_obstack_allocated_p): Likewise.
43086         (obstack_free): Likewise.
43087         (_obstack_memory_used): Likewise.
43088         * misc/getttyent.c (getttynam): Likewise.
43089         (getttyent): Likewise.
43090         (skip): Likewise.
43091         (value): Likewise.
43092         * misc/getusershell.c (initshells): Likewise.
43093         * misc/syslog.c (__vsyslog_chk): Likewise.
43094         * misc/ttyslot.c (ttyslot): Likewise.
43095         * nis/nis_hash.c (__nis_hash): Likewise.
43096         * posix/fnmatch_loop.c (FCT): Likewise.
43097         * posix/getconf.c (print_all): Likewise.
43098         (main): Likewise.
43099         * posix/getopt.c (exchange): Likewise.
43100         * posix/glob.c (globfree): Likewise.
43101         (prefix_array): Likewise.
43102         (__glob_pattern_type): Likewise.
43103         * resolv/arpa/nameser.h (NS_GET16): Likewise.
43104         (NS_GET32): Likewise.
43105         (NS_PUT16): Likewise.
43106         (NS_PUT32): Likewise.
43107         * resolv/gethnamaddr.c (getanswer): Likewise.
43108         (gethostbyname2): Likewise.
43109         (gethostbyaddr): Likewise.
43110         (_gethtent): Likewise.
43111         (_gethtbyname2): Likewise.
43112         (_gethtbyaddr): Likewise.
43113         * resolv/ns_print.c (dst_s_get_int16): Likewise.
43114         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
43115         * resolv/res_init.c (__res_vinit): Likewise.
43116         (net_mask): Likewise.
43117         * resolv/res_mkquery.c (outchar): Likewise.
43118         (PRINT): Likewise.
43119         * stdio-common/printf_fp.c (outchar): Likewise.
43120         (PRINT): Likewise.
43121         * stdio-common/printf_fphex.c (outchar): Likewise.
43122         (PRINT): Likewise.
43123         * stdio-common/printf_size.c (outchar): Likewise.
43124         (PRINT): Likewise.
43125         * stdio-common/test_rdwr.c (main): Likewise.
43126         * stdio-common/tfformat.c (matches): Likewise.
43127         * stdio-common/vfprintf.c (outchar): Likewise.
43128         (printf_unknown): Likewise.
43129         (buffered_vfprintf): Likewise.
43130         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43131         * stdio-common/xbug.c (AppendToBuffer): Likewise.
43132         (ReadFile): Likewise.
43133         * stdlib/qsort.c (SWAP): Likewise.
43134         (_quicksort): Likewise.
43135         * stdlib/setenv.c (__add_to_environ): Likewise.
43136         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43137         * stdlib/strtol_l.c (__strtol_l): Likewise.
43138         * stdlib/tst-strtod.c (main): Likewise.
43139         * stdlib/tst-strtol.c (main): Likewise.
43140         * stdlib/tst-strtoll.c (main): Likewise.
43141         * string/bits/string2.h (__strcmp_cc): Likewise.
43142         (__strcmp_cg): Likewise.
43143         (__strcspn_c1): Likewise.
43144         (__strcspn_c2): Likewise.
43145         (__strcspn_c3): Likewise.
43146         (__strspn_c1): Likewise.
43147         (__strspn_c2): Likewise.
43148         (__strspn_c3): Likewise.
43149         (__strsep_1c): Likewise.
43150         (__strsep_2c): Likewise.
43151         (__strsep_3c): Likewise.
43152         * string/memccpy.c (__memccpy): Likewise.
43153         * string/stpcpy.c (__stpcpy): Likewise.
43154         * string/strcmp.c (strcmp): Likewise.
43155         * string/strrchr.c (strrchr): Likewise.
43156         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
43157         Likewise.
43158         * sysdeps/mach/hurd/getcwd.c
43159         (_hurd_canonicalize_directory_name_internal): Likewise.
43160         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
43161         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
43162         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
43163         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
43164         Likewise, in both definitions.
43165         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
43166         definitions.
43167         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
43168         64] (__bswap_64): Likewise.
43169         * time/test_time.c (main): Likewise.
43170         * time/tzfile.c (__tzfile_read): Likewise.
43171         (__tzfile_compute): Likewise.
43172         * time/tzset.c (__tzset_parse_tz): Likewise.
43173         (tzset_internal): Likewise.
43174         (compute_change): Likewise.
43175         * wcsmbs/wcscat.c (__wcscat): Likewise.
43176         * wcsmbs/wcschr.c (wcschr): Likewise.
43177         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
43178         * wcsmbs/wcscspn.c (wcscspn): Likewise.
43179         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
43180         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
43181         * wcsmbs/wcsspn.c (wcsspn): Likewise.
43182         * wcsmbs/wcsstr.c (wcsstr): Likewise.
43183         * wcsmbs/wmemchr.c (wmemchr): Likewise.
43184         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43185         * wcsmbs/wmemset.c (wmemset): Likewise.
43187 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
43189         * scripts/config.guess: Update to version 2013-05-16.
43190         * scripts/config.sub: Update to version 2013-04-24.
43191         * scripts/install-sh: Update to version 2011-11-20.07.
43192         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
43193         * scripts/move-if-change: Update to version 2012-01-06 07:23.
43195 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
43197         * debug/fgetws_u_chk.c: Fix leading whitespaces.
43198         * elf/sln.c: Likewise.
43199         * hurd/hurd/ioctl.h: Likewise.
43200         * hurd/hurdmalloc.c: Likewise.
43201         * hurd/xattr.c: Likewise.
43202         * include/shlib-compat.h: Likewise.
43203         * inet/ruserpass.c: Likewise.
43204         * libio/iofgets_u.c: Likewise.
43205         * libio/iofgetws_u.c: Likewise.
43206         * locale/programs/ld-identification.c: Likewise.
43207         * locale/programs/ld-time.c: Likewise.
43208         * mach/msg-destroy.c: Likewise.
43209         * nss/nss_files/files-netgrp.c: Likewise.
43210         * resolv/res_data.c: Likewise.
43211         * soft-fp/op-1.h: Likewise.
43212         * soft-fp/op-2.h: Likewise.
43213         * soft-fp/op-4.h: Likewise.
43214         * soft-fp/op-common.h: Likewise.
43215         * stdio-common/printf_fphex.c: Likewise.
43216         * stdlib/strtod_l.c: Likewise.
43217         * sunrpc/rpc/clnt.h: Likewise.
43218         * sysdeps/generic/framestate.c: Likewise.
43219         * sysdeps/i386/bsd-_setjmp.S: Likewise.
43220         * sysdeps/i386/bsd-setjmp.S: Likewise.
43221         * sysdeps/i386/__longjmp.S: Likewise.
43222         * sysdeps/i386/setjmp.S: Likewise.
43223         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43224         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43225         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43226         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43227         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43228         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43229         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43230         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43231         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43232         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43233         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43234         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43235         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43236         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43237         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43238         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43239         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43240         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
43241         * sysdeps/ieee754/support.c: Likewise.
43242         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43243         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
43244         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
43245         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
43246         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
43247         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
43248         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
43249         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
43250         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
43251         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
43252         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
43253         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
43254         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
43255         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
43256         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
43257         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
43258         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
43261 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
43263         * posix/transbug.c: Remove executable mode.
43265 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
43267         * crypt/speeds.c: Remove trailing whitespace.
43268         * dlfcn/default.c: Likewise.
43269         * elf/ifuncdep2.c: Likewise.
43270         * elf/ifuncmain1.c: Likewise.
43271         * elf/ifuncmain1vis.c: Likewise.
43272         * elf/testobj.h: Likewise.
43273         * elf/tst-stackguard1.c: Likewise.
43274         * gmon/sys/gmon.h: Likewise.
43275         * hurd/hurdmsg.c: Likewise.
43276         * hurd/new-fd.c: Likewise.
43277         * hurd/ports-get.c: Likewise.
43278         * iconvdata/ibm1008_420.c: Likewise.
43279         * inet/tst-getni1.c: Likewise.
43280         * inet/tst-getni2.c: Likewise.
43281         * libio/ioungetc.c: Likewise.
43282         * libio/wfiledoalloc.c: Likewise.
43283         * manual/libm-err-tab.pl: Likewise.
43284         * math/w_dremf.c: Likewise.
43285         * misc/ftruncate.c: Likewise.
43286         * posix/bug-glob2.c: Likewise.
43287         * posix/tst-pcre.c: Likewise.
43288         * posix/wait4.c: Likewise.
43289         * resolv/README: Likewise.
43290         * resolv/res_debug.h: Likewise.
43291         * resolv/tst-inet_ntop.c: Likewise.
43292         * setjmp/bug269-setjmp.c: Likewise.
43293         * soft-fp/extended.h: Likewise.
43294         * soft-fp/op-1.h: Likewise.
43295         * soft-fp/op-2.h: Likewise.
43296         * soft-fp/op-4.h: Likewise.
43297         * soft-fp/op-8.h: Likewise.
43298         * soft-fp/testit.c: Likewise.
43299         * stdio-common/bug16.c: Likewise.
43300         * stdlib/random.c: Likewise.
43301         * sunrpc/rpcsvc/rquota.x: Likewise.
43302         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
43303         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43304         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43305         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43306         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43307         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43308         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43309         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43310         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43311         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43312         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43313         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43314         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43315         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43316         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43317         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43318         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43319         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43320         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43321         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43322         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43323         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43324         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
43325         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43326         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43327         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43328         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43329         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43330         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43331         * sysdeps/ieee754/s_lib_version.c: Likewise.
43332         * sysdeps/mach/hurd/check_fds.c: Likewise.
43333         * sysdeps/mach/hurd/getsockname.c: Likewise.
43334         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
43335         * sysdeps/mach/hurd/recvfrom.c: Likewise.
43336         * sysdeps/powerpc/bits/link.h: Likewise.
43337         * sysdeps/powerpc/dl-procinfo.c: Likewise.
43338         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
43339         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
43340         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
43341         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
43342         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43343         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
43344         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
43345         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
43346         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43347         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43348         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43349         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
43350         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43351         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43352         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43353         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43354         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43355         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43356         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43357         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43358         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
43359         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43360         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43361         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
43362         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43363         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43364         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43365         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43366         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43367         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43368         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43369         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43370         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43371         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
43372         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
43373         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
43374         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43375         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43376         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
43377         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
43378         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
43379         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
43380         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
43381         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43382         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
43383         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
43384         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43385         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
43386         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
43387         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43388         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43389         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43390         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43391         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
43392         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43393         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43394         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43395         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
43396         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43397         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
43398         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
43399         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
43400         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43401         * sysdeps/powerpc/sysdep.h: Likewise.
43402         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43403         * sysdeps/s390/s390-64/sub_n.S: Likewise.
43404         * sysdeps/sh/dl-trampoline.S: Likewise.
43405         * sysdeps/sh/memset.S: Likewise.
43406         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
43407         * sysdeps/sh/strlen.S: Likewise.
43408         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
43409         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
43410         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
43411         * sysdeps/sparc/sparc32/rem.S: Likewise.
43412         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
43413         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
43414         * sysdeps/sparc/sparc32/strchr.S: Likewise.
43415         * sysdeps/sparc/sparc32/udiv.S: Likewise.
43416         * sysdeps/sparc/sparc32/urem.S: Likewise.
43417         * sysdeps/sparc/sparc64/add_n.S: Likewise.
43418         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43419         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
43420         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
43421         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
43422         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
43423         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
43424         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
43425         * sysdeps/unix/bsd/times.c: Likewise.
43426         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
43427         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
43428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
43431         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
43432         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43433         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
43434         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
43435         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
43436         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
43437         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43438         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
43439         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43440         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43441         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
43442         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43443         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
43444         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
43445         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
43446         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
43447         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
43448         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43449         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
43450         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
43451         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43452         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
43453         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43454         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
43455         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
43456         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
43457         * sysdeps/x86_64/strcspn.S: Likewise.
43459 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43461         * locale/C-translit.h: Revert #include <stdint.h> because this is a
43462         generated file.  Regenerate properly from gen-translit.pl.
43463         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
43464         locale/C-translit.h.
43466 2013-06-05  Andreas Schwab  <schwab@suse.de>
43468         [BZ #15100]
43469         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
43470         week as 6 instead of -1.
43471         * time/tst-strptime.c (day_tests): Add test case.
43473 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43475         * sysdeps/generic/math_private.h
43476         (libc_feholdexcept_setround_53bit): Replace with
43477         libc_feholdsetround_53bit.
43478         (libc_feupdateenv_53bit): Replace with
43479         libc_feresetround_53bit.
43480         (SET_RESTORE_ROUND_53BIT): Adjust.
43482 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43484         * string/test-strchrnul.c: Add copyright header.
43486         * posix/tst-getaddrinfo4.c: Increase test timeout.
43488 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
43490         [BZ #15536]
43491         * math/libm-test.inc (MAX_EXP): Remove
43492         (MIN_EXP): Define.
43493         (ulp): Use MIN_EXP - MANT_DIG.
43494         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
43496 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
43498         * po/be.po: Revert last change.
43499         * po/zh_CN.po: Likewise.
43500         * po/header.pot: Likewise.
43502 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
43504         * Makefile ($(common-objpfx)linkobj/libc.so): Define
43505         link-libc-deps to empty as target-specific variable.
43506         * Makerules (link-libc-args): New variable.
43507         (libc-for-link): Likewise.
43508         (link-libc-deps): Likewise.
43509         (lib%.so): Depend on $(link-libc-deps).  Link with
43510         $(link-libc-args).
43511         (build-module): Link with $(link-libc-args).
43512         (build-module-asneeded): Likewise.
43513         (build-module-helper-objlist): Filter out $(link-libc-deps) from
43514         list of objects.
43515         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
43516         target-specific variable.
43517         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
43518         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
43519         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
43520         libc.
43521         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
43522         libc and ld.so.
43523         ($(objpfx)libpcprofile.so): Likewise.
43524         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
43525         libc_nonshared.a.
43526         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
43527         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
43528         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
43529         $(link-libc-deps).
43530         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
43531         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
43532         * login/Makefile ($(objpfx)libutil.so): Likewise.
43533         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
43534         * math/Makefile ($(objpfx)libm.so): Likewise.
43535         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
43536         $(objpfx)libnsl.so): Define libc-for-link as target-specific
43537         variable instead of depending directly on libc.
43538         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
43539         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
43540         $(link-libc-deps).
43541         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
43542         libc.
43543         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
43544         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
43545         ($(objpfx)libanl.so): Likewise.
43546         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
43547         ld.so.
43548         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
43549         $(link-libc-deps).
43550         * sysdeps/i386/fpu/Makefile: Remove file.
43551         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
43552         ($(objpfx)libm.so): Remove dependency on ld.so.
43554 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
43556         [BZ # 15553]
43557         * nis/yp_xdr.c (XDRMAXNAME): Define.
43558         (XDRMAXRECORD): Define.
43559         (xdr_domainname): Use XDRMAXNAME.
43560         (xdr_mapname): Likewise.
43561         (xdr_peername): Likewise.
43562         (xdr_keydat): Use XDRMAXRECORD.
43563         (xdr_valdat): Likewise.
43565 2013-05-30  Jeff Law  <law@redhat.com>
43567         [BZ #14256]
43568         * manual/errno.texi (ESTALE): Update to account for more than
43569         just NFS file systems.
43570         * sysdeps/gnu/errlist.c: Regenerated.
43572 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43574         [BZ #15465]
43575         * elf/Makefile (tests): Add tst-null-argv.
43576         (modules-names):  Add tst-null-argv-lib.
43577         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
43578         (tst-null-argv-ENV): Set environment for tst-null-argv.
43579         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
43580         (RTLD_PROGNAME): New macro.
43581         * elf/tst-null-argv.c: New test case.
43582         * elf/tst-null-argv-lib.c: Library for test case.
43583         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
43584         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
43585         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
43586         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
43587         * elf/dl-init.c (call_init): Likewise.
43588         (_dl_init): Likewise.
43589         * elf/dl-load.c (print_search_path): Likewise.
43590         (_dl_map_object): Likewise.
43591         * elf/dl-lookup.c (do_lookup_x): Likewise.
43592         (add_dependency): Likewise.
43593         (_dl_lookup_symbol_x): Likewise.
43594         (_dl_debug_bindings): Likewise.
43595         * elf/dl-open.c (_dl_show_scope): Likewise.
43596         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43597         * elf/dl-version.c (match_symbol): Likewise.
43598         (_dl_check_map_versions): Likewise.
43599         * elf/rtld.c (dl_main): Likewise.
43600         (print_unresolved): Use RTLD_PROGNAME.
43601         (print_missing_version): Likewise.
43602         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
43603         (elf_machine_rela): Likewise.
43604         * sysdeps/powerpc/powerpc32/dl-machine.c
43605         (__process_machine_rela): Likewise.
43606         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43607         Likewise.
43608         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43609         Likewise.
43610         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43611         Likewise.
43612         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43613         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
43614         Likewise.
43615         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
43616         Likewise.
43617         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43619 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
43621         * po/be.po: Add descriptive title.
43622         * po/zh_CN.po: Likewise.
43623         * po/header.pot: Likewise.
43625 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
43627         * locale/programs/locarchive.c (create_archive): Inlucde fname in
43628         error message.
43629         (enlarge_archive): Likewise.
43631 2013-05-28  Ben North  <ben@redfrontdoor.org>
43633         * manual/arith.texi (frexp): It is the magnitude of the return
43634         value which lies in [0.5, 1), not the return value itself.
43636 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43640 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
43642         * stdio-common/bug26.c (main): Correct fscanf template.
43644         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
43645         declare _dl_skip_args.
43647         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
43648         Don't declare.
43650         * manual/platform.texi: Add missing @end deftypefun.
43652 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43654         [BZ #15529]
43655         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
43656         bit of mantissa of 2^16382.
43657         * math/libm-test.inc (hypot_test_data): Add more tests.
43659         * math/libm-test.inc: Add drem and pow10 to list of tested
43660         functions.
43661         (pow10_test): New function.
43662         (drem_test): Likewise.
43663         (drem_test_tonearest): Likewise.
43664         (drem_test_towardzero): Likewise.
43665         (drem_test_downward): Likewise.
43666         (drem_test_upward): Likewise.
43667         (main): Call the new functions.
43669         * math/libm-test.inc (finite_test_data): Remove.
43670         (finite_test): Run tests from isfinite_test_data.
43671         (gamma_test_data): Remove.
43672         (gamma_test): Run tests from lgamma_test_data.
43673         * sysdeps/i386/fpu/libm-test-ulps: Update.
43674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43676 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43678         * manual/platform.texi: Add PowerPC PPR function set documentation.
43679         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
43680         implementation.
43682 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
43684         * math/libm-test.inc (MAX_EXP): Define.
43685         (ULPDIFF): Define.
43686         (ulp): New function.
43687         (check_float_internal): Use ULPDIFF.
43688         (cpow_test): Disable failing test.
43689         (check_ulp): Test ulp() implemetnation.
43690         (main): Call check_ulp before starting tests.
43692 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43694         * math/gen-libm-test.pl (generate_testfile): Do not handle
43695         START_DATA and END_DATA.
43696         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
43697         END_DATA.
43698         (acos_tonearest_test_data): Likewise.
43699         (acos_towardzero_test_data): Likewise.
43700         (acos_downward_test_data): Likewise.
43701         (acos_upward_test_data): Likewise.
43702         (acosh_test_data): Likewise.
43703         (asin_test_data): Likewise.
43704         (asin_tonearest_test_data): Likewise.
43705         (asin_towardzero_test_data): Likewise.
43706         (asin_downward_test_data): Likewise.
43707         (asin_upward_test_data): Likewise.
43708         (asinh_test_data): Likewise.
43709         (atan_test_data): Likewise.
43710         (atanh_test_data): Likewise.
43711         (atan2_test_data): Likewise.
43712         (cabs_test_data): Likewise.
43713         (cacos_test_data): Likewise.
43714         (cacosh_test_data): Likewise.
43715         (carg_test_data): Likewise.
43716         (casin_test_data): Likewise.
43717         (casinh_test_data): Likewise.
43718         (catan_test_data): Likewise.
43719         (catanh_test_data): Likewise.
43720         (cbrt_test_data): Likewise.
43721         (ccos_test_data): Likewise.
43722         (ccosh_test_data): Likewise.
43723         (ceil_test_data): Likewise.
43724         (cexp_test_data): Likewise.
43725         (cimag_test_data): Likewise.
43726         (clog_test_data): Likewise.
43727         (clog10_test_data): Likewise.
43728         (conj_test_data): Likewise.
43729         (copysign_test_data): Likewise.
43730         (cos_test_data): Likewise.
43731         (cos_tonearest_test_data): Likewise.
43732         (cos_towardzero_test_data): Likewise.
43733         (cos_downward_test_data): Likewise.
43734         (cos_upward_test_data): Likewise.
43735         (cosh_test_data): Likewise.
43736         (cosh_tonearest_test_data): Likewise.
43737         (cosh_towardzero_test_data): Likewise.
43738         (cosh_downward_test_data): Likewise.
43739         (cosh_upward_test_data): Likewise.
43740         (cpow_test_data): Likewise.
43741         (cproj_test_data): Likewise.
43742         (creal_test_data): Likewise.
43743         (csin_test_data): Likewise.
43744         (csinh_test_data): Likewise.
43745         (csqrt_test_data): Likewise.
43746         (ctan_test_data): Likewise.
43747         (ctan_tonearest_test_data): Likewise.
43748         (ctan_towardzero_test_data): Likewise.
43749         (ctan_downward_test_data): Likewise.
43750         (ctan_upward_test_data): Likewise.
43751         (ctanh_test_data): Likewise.
43752         (ctanh_tonearest_test_data): Likewise.
43753         (ctanh_towardzero_test_data): Likewise.
43754         (ctanh_downward_test_data): Likewise.
43755         (ctanh_upward_test_data): Likewise.
43756         (erf_test_data): Likewise.
43757         (erfc_test_data): Likewise.
43758         (exp_test_data): Likewise.
43759         (exp_tonearest_test_data): Likewise.
43760         (exp_towardzero_test_data): Likewise.
43761         (exp_downward_test_data): Likewise.
43762         (exp_upward_test_data): Likewise.
43763         (exp10_test_data): Likewise.
43764         (exp2_test_data): Likewise.
43765         (expm1_test_data): Likewise.
43766         (fabs_test_data): Likewise.
43767         (fdim_test_data): Likewise.
43768         (finite_test_data): Likewise.
43769         (floor_test_data): Likewise.
43770         (fma_test_data): Likewise.
43771         (fma_towardzero_test_data): Likewise.
43772         (fma_downward_test_data): Likewise.
43773         (fma_upward_test_data): Likewise.
43774         (fmax_test_data): Likewise.
43775         (fmin_test_data): Likewise.
43776         (fmod_test_data): Likewise.
43777         (fpclassify_test_data): Likewise.
43778         (frexp_test_data): Likewise.
43779         (gamma_test_data): Likewise.
43780         (hypot_test_data): Likewise.
43781         (ilogb_test_data): Likewise.
43782         (isfinite_test_data): Likewise.
43783         (isgreater_test_data): Likewise.
43784         (isgreaterequal_test_data): Likewise.
43785         (isinf_test_data): Likewise.
43786         (isless_test_data): Likewise.
43787         (islessequal_test_data): Likewise.
43788         (islessgreater_test_data): Likewise.
43789         (isnan_test_data): Likewise.
43790         (isnormal_test_data): Likewise.
43791         (issignaling_test_data): Likewise.
43792         (isunordered_test_data): Likewise.
43793         (j0_test_data): Likewise.
43794         (j1_test_data): Likewise.
43795         (jn_test_data): Likewise.
43796         (ldexp_test_data): Likewise.
43797         (lgamma_test_data): Likewise.
43798         (lrint_test_data): Likewise.
43799         (lrint_tonearest_test_data): Likewise.
43800         (lrint_towardzero_test_data): Likewise.
43801         (lrint_downward_test_data): Likewise.
43802         (lrint_upward_test_data): Likewise.
43803         (llrint_test_data): Likewise.
43804         (llrint_tonearest_test_data): Likewise.
43805         (llrint_towardzero_test_data): Likewise.
43806         (llrint_downward_test_data): Likewise.
43807         (llrint_upward_test_data): Likewise.
43808         (log_test_data): Likewise.
43809         (log10_test_data): Likewise.
43810         (log1p_test_data): Likewise.
43811         (log2_test_data): Likewise.
43812         (logb_test_data): Likewise.
43813         (logb_downward_test_data): Likewise.
43814         (lround_test_data): Likewise.
43815         (llround_test_data): Likewise.
43816         (modf_test_data): Likewise.
43817         (nearbyint_test_data): Likewise.
43818         (nextafter_test_data): Likewise.
43819         (nexttoward_test_data): Likewise.
43820         (pow_test_data): Likewise.
43821         (pow_tonearest_test_data): Likewise.
43822         (pow_towardzero_test_data): Likewise.
43823         (pow_downward_test_data): Likewise.
43824         (pow_upward_test_data): Likewise.
43825         (remainder_test_data): Likewise.
43826         (remainder_tonearest_test_data): Likewise.
43827         (remainder_towardzero_test_data): Likewise.
43828         (remainder_downward_test_data): Likewise.
43829         (remainder_upward_test_data): Likewise.
43830         (remquo_test_data): Likewise.
43831         (rint_test_data): Likewise.
43832         (rint_tonearest_test_data): Likewise.
43833         (rint_towardzero_test_data): Likewise.
43834         (rint_downward_test_data): Likewise.
43835         (rint_upward_test_data): Likewise.
43836         (round_test_data): Likewise.
43837         (scalb_test_data): Likewise.
43838         (scalbn_test_data): Likewise.
43839         (scalbln_test_data): Likewise.
43840         (signbit_test_data): Likewise.
43841         (sin_test_data): Likewise.
43842         (sin_tonearest_test_data): Likewise.
43843         (sin_towardzero_test_data): Likewise.
43844         (sin_downward_test_data): Likewise.
43845         (sin_upward_test_data): Likewise.
43846         (sincos_test_data): Likewise.
43847         (sinh_test_data): Likewise.
43848         (sinh_tonearest_test_data): Likewise.
43849         (sinh_towardzero_test_data): Likewise.
43850         (sinh_downward_test_data): Likewise.
43851         (sinh_upward_test_data): Likewise.
43852         (sqrt_test_data): Likewise.
43853         (tan_test_data): Likewise.
43854         (tan_tonearest_test_data): Likewise.
43855         (tan_towardzero_test_data): Likewise.
43856         (tan_downward_test_data): Likewise.
43857         (tan_upward_test_data): Likewise.
43858         (tanh_test_data): Likewise.
43859         (tgamma_test_data): Likewise.
43860         (trunc_test_data): Likewise.
43861         (y0_test_data): Likewise.
43862         (y1_test_data): Likewise.
43863         (yn_test_data): Likewise.
43864         (significand_test_data): Likewise.
43866         * math/gen-libm-test.pl (@functions): Remove variable.
43867         (generate_testfile): Don't handle START and END lines.
43868         * math/libm-test.inc (START): New macro.
43869         (END): Likewise.
43870         (END_COMPLEX): Likewise.
43871         (acos_test): Use END macro without arguments.
43872         (acos_test_tonearest): Likewise.
43873         (acos_test_towardzero): Likewise.
43874         (acos_test_downward): Likewise.
43875         (acos_test_upward): Likewise.
43876         (acosh_test): Likewise.
43877         (asin_test): Likewise.
43878         (asin_test_tonearest): Likewise.
43879         (asin_test_towardzero): Likewise.
43880         (asin_test_downward): Likewise.
43881         (asin_test_upward): Likewise.
43882         (asinh_test): Likewise.
43883         (atan_test): Likewise.
43884         (atanh_test): Likewise.
43885         (atan2_test): Likewise.
43886         (cabs_test): Likewise.
43887         (cacos_test): Use END_COMPLEX macro without arguments.
43888         (cacosh_test): Likewise.
43889         (carg_test): Use END macro without arguments.
43890         (casin_test): Use END_COMPLEX macro without arguments.
43891         (casinh_test): Likewise.
43892         (catan_test): Likewise.
43893         (catanh_test): Likewise.
43894         (cbrt_test): Use END macro without arguments.
43895         (ccos_test): Use END_COMPLEX macro without arguments.
43896         (ccosh_test): Likewise.
43897         (ceil_test): Use END macro without arguments.
43898         (cexp_test): Use END_COMPLEX macro without arguments.
43899         (cimag_test): Use END macro without arguments.
43900         (clog_test): Use END_COMPLEX macro without arguments.
43901         (clog10_test): Likewise.
43902         (conj_test): Likewise.
43903         (copysign_test): Use END macro without arguments.
43904         (cos_test): Likewise.
43905         (cos_test_tonearest): Likewise.
43906         (cos_test_towardzero): Likewise.
43907         (cos_test_downward): Likewise.
43908         (cos_test_upward): Likewise.
43909         (cosh_test): Likewise.
43910         (cosh_test_tonearest): Likewise.
43911         (cosh_test_towardzero): Likewise.
43912         (cosh_test_downward): Likewise.
43913         (cosh_test_upward): Likewise.
43914         (cpow_test): Use END_COMPLEX macro without arguments.
43915         (cproj_test): Likewise.
43916         (creal_test): Use END macro without arguments.
43917         (csin_test): Use END_COMPLEX macro without arguments.
43918         (csinh_test): Likewise.
43919         (csqrt_test): Likewise.
43920         (ctan_test): Likewise.
43921         (ctan_test_tonearest): Likewise.
43922         (ctan_test_towardzero): Likewise.
43923         (ctan_test_downward): Likewise.
43924         (ctan_test_upward): Likewise.
43925         (ctanh_test): Likewise.
43926         (ctanh_test_tonearest): Likewise.
43927         (ctanh_test_towardzero): Likewise.
43928         (ctanh_test_downward): Likewise.
43929         (ctanh_test_upward): Likewise.
43930         (erf_test): Use END macro without arguments.
43931         (erfc_test): Likewise.
43932         (exp_test): Likewise.
43933         (exp_test_tonearest): Likewise.
43934         (exp_test_towardzero): Likewise.
43935         (exp_test_downward): Likewise.
43936         (exp_test_upward): Likewise.
43937         (exp10_test): Likewise.
43938         (exp2_test): Likewise.
43939         (expm1_test): Likewise.
43940         (fabs_test): Likewise.
43941         (fdim_test): Likewise.
43942         (finite_test): Likewise.
43943         (floor_test): Likewise.
43944         (fma_test): Likewise.
43945         (fma_test_towardzero): Likewise.
43946         (fma_test_downward): Likewise.
43947         (fma_test_upward): Likewise.
43948         (fmax_test): Likewise.
43949         (fmin_test): Likewise.
43950         (fmod_test): Likewise.
43951         (fpclassify_test): Likewise.
43952         (frexp_test): Likewise.
43953         (gamma_test): Likewise.
43954         (hypot_test): Likewise.
43955         (ilogb_test): Likewise.
43956         (isfinite_test): Likewise.
43957         (isgreater_test): Likewise.
43958         (isgreaterequal_test): Likewise.
43959         (isinf_test): Likewise.
43960         (isless_test): Likewise.
43961         (islessequal_test): Likewise.
43962         (islessgreater_test): Likewise.
43963         (isnan_test): Likewise.
43964         (isnormal_test): Likewise.
43965         (issignaling_test): Likewise.
43966         (isunordered_test): Likewise.
43967         (j0_test): Likewise.
43968         (j1_test): Likewise.
43969         (jn_test): Likewise.
43970         (ldexp_test): Likewise.
43971         (lgamma_test): Likewise.
43972         (lrint_test): Likewise.
43973         (lrint_test_tonearest): Likewise.
43974         (lrint_test_towardzero): Likewise.
43975         (lrint_test_downward): Likewise.
43976         (lrint_test_upward): Likewise.
43977         (llrint_test): Likewise.
43978         (llrint_test_tonearest): Likewise.
43979         (llrint_test_towardzero): Likewise.
43980         (llrint_test_downward): Likewise.
43981         (llrint_test_upward): Likewise.
43982         (log_test): Likewise.
43983         (log10_test): Likewise.
43984         (log1p_test): Likewise.
43985         (log2_test): Likewise.
43986         (logb_test): Likewise.
43987         (logb_test_downward): Likewise.
43988         (lround_test): Likewise.
43989         (llround_test): Likewise.
43990         (modf_test): Likewise.
43991         (nearbyint_test): Likewise.
43992         (nextafter_test): Likewise.
43993         (nexttoward_test): Likewise.
43994         (pow_test): Likewise.
43995         (pow_test_tonearest): Likewise.
43996         (pow_test_towardzero): Likewise.
43997         (pow_test_downward): Likewise.
43998         (pow_test_upward): Likewise.
43999         (remainder_test): Likewise.
44000         (remainder_test_tonearest): Likewise.
44001         (remainder_test_towardzero): Likewise.
44002         (remainder_test_downward): Likewise.
44003         (remainder_test_upward): Likewise.
44004         (remquo_test): Likewise.
44005         (rint_test): Likewise.
44006         (rint_test_tonearest): Likewise.
44007         (rint_test_towardzero): Likewise.
44008         (rint_test_downward): Likewise.
44009         (rint_test_upward): Likewise.
44010         (round_test): Likewise.
44011         (scalb_test): Likewise.
44012         (scalbn_test): Likewise.
44013         (scalbln_test): Likewise.
44014         (signbit_test): Likewise.
44015         (sin_test): Likewise.
44016         (sin_test_tonearest): Likewise.
44017         (sin_test_towardzero): Likewise.
44018         (sin_test_downward): Likewise.
44019         (sin_test_upward): Likewise.
44020         (sincos_test): Likewise.
44021         (sinh_test): Likewise.
44022         (sinh_test_tonearest): Likewise.
44023         (sinh_test_towardzero): Likewise.
44024         (sinh_test_downward): Likewise.
44025         (sinh_test_upward): Likewise.
44026         (sqrt_test): Likewise.
44027         (tan_test): Likewise.
44028         (tan_test_tonearest): Likewise.
44029         (tan_test_towardzero): Likewise.
44030         (tan_test_downward): Likewise.
44031         (tan_test_upward): Likewise.
44032         (tanh_test): Likewise.
44033         (tgamma_test): Likewise.
44034         (trunc_test): Likewise.
44035         (y0_test): Likewise.
44036         (y1_test): Likewise.
44037         (yn_test): Likewise.
44038         (significand_test): Likewise.
44040 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
44042         [BZ #15381]
44043         * libio/genops.c (_IO_no_init): Initialize wide struct info.
44045 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44047         [BZ #14894]
44048         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
44049         __ppc_mdoio and __ppc_mdoom.
44050         * manual/platform.texi: Document new functions __ppc_yield,
44051         __ppc_mdoio and __ppc_mdoom.
44053 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
44055         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
44056         (main): Mention "tls" pseudo-hwcap is legacy.
44057         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
44059 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44061         * math/gen-libm-test.pl (parse_args): Output only string of
44062         arguments as text for test name, not full call or descriptions of
44063         tests for extra outputs.
44064         (generate_testfile): Do not pass function name to parse_args.
44065         Generate this_func variable from START.
44066         * math/libm-test.inc (struct test_f_f_data): Rename test_name
44067         field to arg_str.
44068         (struct test_ff_f_data): Likewise.
44069         (test_ff_f_data_nexttoward): Likewise.
44070         (struct test_fi_f_data): Likewise.
44071         (struct test_fl_f_data): Likewise.
44072         (struct test_if_f_data): Likewise.
44073         (struct test_fff_f_data): Likewise.
44074         (struct test_c_f_data): Likewise.
44075         (struct test_f_f1_data): Likewise.  Remove field extra_name.
44076         (struct test_fF_f1_data): Likewise.
44077         (struct test_ffI_f1_data): Likewise.
44078         (struct test_c_c_data): Rename test_name field to arg_str.
44079         (struct test_cc_c_data): Likewise.
44080         (struct test_f_i_data): Likewise.
44081         (struct test_ff_i_data): Likewise.
44082         (struct test_f_l_data): Likewise.
44083         (struct test_f_L_data): Likewise.
44084         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
44085         and extra2_name.
44086         (COMMON_TEST_SETUP): New macro.
44087         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
44088         (COMMON_TEST_CLEANUP): Likewise.
44089         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
44090         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
44091         macros.
44092         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
44093         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
44094         macros.
44095         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
44096         (RUN_TEST_fff_f): Take argument string.  Call new setup and
44097         cleanup macros.
44098         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
44099         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
44100         macros.
44101         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
44102         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
44103         macros.
44104         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44105         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
44106         cleanup macros.
44107         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44108         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
44109         cleanup macros.
44110         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44111         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
44112         cleanup macros.
44113         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44114         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
44115         macros.
44116         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
44117         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
44118         macros.
44119         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
44120         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
44121         macros.
44122         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
44123         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
44124         cleanup macros.
44125         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
44126         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
44127         cleanup macros.
44128         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
44129         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
44130         macros.
44131         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
44132         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
44133         cleanup macros.
44134         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
44135         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
44136         macros.
44137         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
44138         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
44139         macros.
44140         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
44141         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
44142         cleanup macros.
44143         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
44145 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
44147         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
44148         to _sifields.sigfault.
44149         (si_addr_lsb): Define new macro.
44150         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44151         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44152         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
44154 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
44156         [BZ #15441]
44157         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
44158         returns -1.
44159         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
44160         null return -1.
44161         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
44162         loading the domain.
44164 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44166         * math/gen-libm-test.pl (parse_args): Do not include expected
44167         result in test name.
44168         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
44169         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44170         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44171         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44172         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44175 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44177         * benchtests/Makefile: Sort function entries.
44179         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
44180         tanh, asinh, acosh, atanh.
44181         * benchtests/acos-inputs: New file.
44182         * benchtests/acosh-inputs: New file.
44183         * benchtests/asin-inputs: New file.
44184         * benchtests/asinh-inputs: New file.
44185         * benchtests/atanh-inputs: New file.
44186         * benchtests/cosh-inputs: New file.
44187         * benchtests/log-inputs: New file.
44188         * benchtests/sinh-inputs: New file.
44189         * benchtests/tanh-inputs: New file.
44191 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
44193         [BZ #15339]
44194         * posix/tst-getaddrinfo4.c: New test.
44195         * posix/Makefile (tests): Add it.
44197 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44199         [BZ #15339]
44200         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
44201         when no services were used.
44202         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
44203         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
44205 2013-05-21  Andreas Schwab  <schwab@suse.de>
44207         [BZ #15014]
44208         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
44209         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
44210         successful.
44211         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
44212         redundant variable declarations and reallocation of buffer when
44213         parsing as IPv6 address.  Always set NSS status when called from
44214         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
44215         buffer too small.  Correct computation of needed size.
44216         * nss/Makefile (tests): Add test-digits-dots.
44217         * nss/test-digits-dots.c: New test.
44219 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44221         * benchtests/Makefile: Remove instructions for adding
44222         benchmark tests.
44223         * benchtests/README: New file to explain how to execute and
44224         enhance the benchmark tests.
44226 2013-05-21  Andreas Schwab  <schwab@suse.de>
44228         [BZ #15493]
44229         * setjmp/Makefile (tests): Add tst-sigsetjmp.
44230         * setjmp/tst-sigsetjmp.c: New test.
44232 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
44234         * sysdeps/x86_64/memset.S (memset): New implementation.
44235         (__bzero): Likewise.
44236         (__memset_tail): New function.
44238 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
44240         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
44241         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
44242         __memcpy_sse2_unaligned ifunc selection.
44243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44244         Add memcpy-sse2-unaligned.S.
44245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44246         Add: __memcpy_sse2_unaligned.
44248 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
44250         [BZ #15490]
44251         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44252         math_force_eval before restoring floating-point envrionment.
44253         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
44254         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
44255         Likewise.
44256         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
44257         <math_private.h>.
44258         (__nearbyintl): Use math_force_eval before restoring
44259         floating-point environment.
44260         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
44262         * math/gen-libm-test.pl (special_functions): Remove.
44263         (parse_args): Don't handle TEST_extra.  Handle functions with no
44264         return value.
44265         * math/libm-test.inc (struct test_sincos_data): Replace with
44266         struct test_fFF_11_data.
44267         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
44268         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
44269         (sincos_test_data): Change element type to struct
44270         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
44271         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
44272         RUN_TEST_LOOP_sincos.
44273         * math/README.libm-test: Don't mention special handling of
44274         individual functions.
44275         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
44276         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44277         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44278         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44279         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44282         * math/gen-libm-test.pl (get_variable): Remove function.
44283         (parse_args): Don't show pointer parameters to call in test
44284         names.  Use "extra output N" in test names for extra outputs
44285         rather than naming variables.
44287 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
44289         [BZ #15488]
44290         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
44291         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
44292         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
44293         double tests.
44294         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
44295         disable.
44296         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
44297         check_long_double.
44299         * math/gen-libm-test.pl (@tests): Remove variable.
44300         ($count): Likewise.
44301         (new_test): Remove function.
44302         (show_exceptions): New function.
44303         (special_functions): Use show_exceptions instead of new_test.
44304         (parse_args): Likewise.
44305         (generate_testfile): Pass only function name in generated call to
44306         print_max_error or print_complex_max_error.
44307         (get_ulps): Do not handle complex tests specially.
44308         (output_test): Rename to ...
44309         (get_all_ulps_for_test): ... this.  Return a string rather than
44310         printing to a file.  Require ulps to be present.
44311         (output_ulps): Generate arrays rather than #defines.
44312         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
44313         (struct ulp_data): New type.
44314         (BUILD_COMPLEX_ULP): Remove macro.
44315         (compare_ulp_data): New function.
44316         (find_ulps): Likewise.
44317         (find_test_ulps): Likewise.
44318         (find_function_ulps): Likewise.
44319         (find_complex_function_ulps): Likewise.
44320         (print_max_error): Determine allowed ulps using
44321         find_function_ulps.
44322         (print_complex_max_error): Determine allowed ulps using
44323         find_complex_function_ulps.
44324         (check_float_internal): Determine max ulps using find_test_ulps.
44325         (check_float): Do not take max_ulp parameter.  Update call to
44326         check_float_internal.
44327         (check_complex): Likewise.
44328         (check_int): Do not take max_ulp parameter.
44329         (check_long): Likewise.
44330         (check_bool): Likewise.
44331         (check_longlong): Likewise.
44332         (struct test_f_f_data): Remove max_ulp field.
44333         (struct test_ff_f_data): Likewise.
44334         (struct test_ff_f_data_nexttoward): Likewise.
44335         (struct test_fi_f_data): Likewise.
44336         (struct test_fl_f_data): Likewise.
44337         (struct test_if_f_data): Likewise.
44338         (struct test_fff_f_data): Likewise.
44339         (struct test_c_f_data): Likewise.
44340         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
44341         (struct test_fF_f1_data): Likewise.
44342         (struct test_ffI_f1_data): Likewise.
44343         (struct test_c_c_data): Remove max_ulp field.
44344         (struct test_cc_c_data): Likewise.
44345         (struct test_f_i_data): Likewise.
44346         (struct test_ff_i_data): Likewise.
44347         (struct test_f_l_data): Likewise.
44348         (struct test_f_L_data): Likewise.
44349         (struct test_sincos_data): Likewise.
44350         (RUN_TEST_f_f): Do not handle ulps.
44351         (RUN_TEST_LOOP_f_f): Likewise.
44352         (RUN_TEST_2_f): Likewise.
44353         (RUN_TEST_LOOP_2_f): Likewise.
44354         (RUN_TEST_fff_f): Likewise.
44355         (RUN_TEST_LOOP_fff_f): Likewise.
44356         (RUN_TEST_c_f): Likewise.
44357         (RUN_TEST_LOOP_c_f): Likewise.
44358         (RUN_TEST_f_f1): Likewise.
44359         (RUN_TEST_LOOP_f_f1): Likewise.
44360         (RUN_TEST_fF_f1): Likewise.
44361         (RUN_TEST_LOOP_fF_f1): Likewise.
44362         (RUN_TEST_fI_f1): Likewise.
44363         (RUN_TEST_LOOP_fI_f1): Likewise.
44364         (RUN_TEST_ffI_f1): Likewise.
44365         (RUN_TEST_LOOP_ffI_f1): Likewise.
44366         (RUN_TEST_c_c): Likewise.
44367         (RUN_TEST_LOOP_c_c): Likewise.
44368         (RUN_TEST_cc_c): Likewise.
44369         (RUN_TEST_LOOP_cc_c): Likewise.
44370         (RUN_TEST_f_i): Likewise.
44371         (RUN_TEST_LOOP_f_i): Likewise.
44372         (RUN_TEST_f_i_tg): Likewise.
44373         (RUN_TEST_LOOP_f_i_tg): Likewise.
44374         (RUN_TEST_ff_i_tg): Likewise.
44375         (RUN_TEST_LOOP_ff_i_tg): Likewise.
44376         (RUN_TEST_f_b): Likewise.
44377         (RUN_TEST_LOOP_f_b): Likewise.
44378         (RUN_TEST_f_b_tg): Likewise.
44379         (RUN_TEST_LOOP_f_b_tg): Likewise.
44380         (RUN_TEST_f_l): Likewise.
44381         (RUN_TEST_LOOP_f_l): Likewise.
44382         (RUN_TEST_f_L): Likewise.
44383         (RUN_TEST_LOOP_f_L): Likewise.
44384         (RUN_TEST_sincos): Likewise.
44385         (RUN_TEST_LOOP_sincos): Likewise.
44387 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
44389         [BZ #15480]
44390         [BZ #15485]
44391         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
44392         main case of finite arguments, set rounding mode to FE_TONEAREST
44393         and discard exceptions.
44394         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
44395         exceptions.
44396         (remainder_tonearest_test_data): New variable.
44397         (remainder_test_tonearest): New function.
44398         (remainder_towardzero_test_data): New variable.
44399         (remainder_test_towardzero): New function.
44400         (remainder_downward_test_data): New variable.
44401         (remainder_test_downward): New function.
44402         (remainder_upward_test_data): New variable.
44403         (remainder_test_upward): New function.
44404         (main): Call the new test functions.
44406         * math/libm-test.inc (struct test_f_f1_data): Remove field
44407         extra_init.
44408         (struct test_fF_f1_data): Likewise.
44409         (struct test_ffI_f1_data): Likewise.
44410         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
44411         based on value of EXTRA_EXPECTED.
44412         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44413         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
44414         EXTRA_VAR based on value of EXTRA_EXPECTED.
44415         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44416         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
44417         EXTRA_VAR based on value of EXTRA_EXPECTED.
44418         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44419         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
44420         EXTRA_VAR based on value of EXTRA_EXPECTED.
44421         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44422         * math/gen-libm-test.pl (parse_args): Don't output initializers
44423         for extra output values.
44425         * math/libm-test.inc (check_int): Expect result to be exactly
44426         equal to expected value and do not handle ulps.
44427         (check_long): Likewise.
44428         (check_longlong): Likewise.
44430         * math/libm-test.inc (ceil_test_data): Test for "inexact"
44431         exceptions.
44432         (cimag_test_data): Likewise.
44433         (conj_test_data): Likewise.
44434         (copysign_test_data): Likewise.
44435         (cproj_test_data): Likewise.
44436         (creal_test_data): Likewise.
44437         (fabs_test_data): Likewise.
44438         (fdim_test_data): Likewise.
44439         (finite_test_data): Likewise.
44440         (floor_test_data): Likewise.
44441         (fmax_test_data): Likewise.
44442         (fmin_test_data): Likewise.
44443         (fmod_test_data): Likewise.
44444         (fpclassify_test_data): Likewise.
44445         (frexp_test_data): Likewise.
44446         (ilogb_test_data): Likewise.
44447         (isfinite_test_data): Likewise.
44448         (isgreater_test_data): Likewise.
44449         (isgreaterequal_test_data): Likewise.
44450         (isinf_test_data): Likewise.
44451         (isless_test_data): Likewise.
44452         (islessequal_test_data): Likewise.
44453         (islessgreater_test_data): Likewise.
44454         (isnan_test_data): Likewise.
44455         (isnormal_test_data): Likewise.
44456         (issignaling_test_data): Likewise.
44457         (isunordered_test_data): Likewise.
44458         (ldexp_test_data): Likewise.
44459         (lrint_test_data): Likewise.
44460         (lrint_test_data) [TEST_FLOAT]: Disable one test.
44461         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
44462         (lrint_tonearest_test_data): Test for "inexact" exceptions.
44463         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
44464         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
44465         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44466         test input.
44467         (lrint_towardzero_test_data): Test for "inexact" exceptions.
44468         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
44469         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
44470         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
44471         that test input.
44472         (lrint_downward_test_data): Test for "inexact" exceptions.
44473         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
44474         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
44475         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44476         test input.
44477         (lrint_upward_test_data): Test for "inexact" exceptions.
44478         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
44479         test input.
44480         (llrint_test_data): Test for "inexact" exceptions.
44481         (llrint_test_data) [TEST_FLOAT]: Disable one test.
44482         (llrint_tonearest_test_data): Test for "inexact" exceptions.
44483         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
44484         (llrint_towardzero_test_data): Test for "inexact" exceptions.
44485         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
44486         (llrint_downward_test_data): Test for "inexact" exceptions.
44487         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
44488         (llrint_upward_test_data): Test for "inexact" exceptions.
44489         (logb_test_data): Likewise.
44490         (logb_downward_test_data): Likewise.
44491         (nextafter_test_data): Likewise.
44492         (nexttoward_test_data): Likewise.
44493         (remainder_test_data): Likewise.
44494         (remquo_test_data): Likewise.
44495         (scalbn_test_data): Likewise.
44496         (scalbln_test_data): Likewise.
44497         (signbit_test_data): Likewise.
44498         (sqrt_test_data): Likewise.
44499         (significand_test_data): Likewise.
44501 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44503         [BZ #15424]
44504         * benchtests/bench-modf.c (struct args): Mark arg0 as
44505         volatile.
44506         * scripts/bench.pl: Mark members of struct args as volatile.
44508 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44510         [BZ # 15497]
44511         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
44512         negative infinity on POWER6 or lower.
44513         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
44515 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44517         [BZ #15442]
44518         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
44519         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
44520         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
44521         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
44522         (_FP_SETQNAN): New macro.
44523         (_FP_SETQNAN_SEMIRAW): Likewise.
44524         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
44525         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
44526         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
44527         (FP_EXTEND): Use _FP_FRAC_SNANP.
44528         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
44529         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
44530         into account.
44531         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44532         New macro.
44533         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44534         Likewise.
44536 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44538         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
44539         with DIVIDE_BY_ZERO_EXCEPTION.
44540         (gamma_test_data): Likewise.
44541         (lgamma_test_data): Likewise.
44542         (log_test_data): Likewise.
44543         (log10_test_data): Likewise.
44544         (log2_test_data): Likewise.
44545         (tgamma_test_data): Likewise.
44547         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
44548         (acos_test_tonearest): Likewise.
44549         (acos_test_towardzero): Likewise.
44550         (acos_test_downward): Likewise.
44551         (acos_test_upward): Likewise.
44552         (acosh_test): Likewise.
44553         (asin_test): Likewise.
44554         (asin_test_tonearest): Likewise.
44555         (asin_test_towardzero): Likewise.
44556         (asin_test_downward): Likewise.
44557         (asin_test_upward): Likewise.
44558         (asinh_test): Likewise.
44559         (atan_test): Likewise.
44560         (atanh_test): Likewise.
44561         (atan2_test): Likewise.
44562         (cabs_test): Likewise.
44563         (cacos_test): Likewise.
44564         (cacosh_test): Likewise.
44565         (casin_test): Likewise.
44566         (casinh_test): Likewise.
44567         (catan_test): Likewise.
44568         (catanh_test): Likewise.
44569         (cbrt_test): Likewise.
44570         (ccos_test): Likewise.
44571         (ccosh_test): Likewise.
44572         (cexp_test): Likewise.
44573         (clog_test): Likewise.
44574         (clog10_test): Likewise.
44575         (cos_test): Likewise.
44576         (cos_test_tonearest): Likewise.
44577         (cos_test_towardzero): Likewise.
44578         (cos_test_downward): Likewise.
44579         (cos_test_upward): Likewise.
44580         (cosh_test): Likewise.
44581         (cosh_test_tonearest): Likewise.
44582         (cosh_test_towardzero): Likewise.
44583         (cosh_test_downward): Likewise.
44584         (cosh_test_upward): Likewise.
44585         (cpow_test): Likewise.
44586         (csin_test): Likewise.
44587         (csinh_test): Likewise.
44588         (csqrt_test): Likewise.
44589         (ctan_test): Likewise.
44590         (ctan_test_tonearest): Likewise.
44591         (ctan_test_towardzero): Likewise.
44592         (ctan_test_downward): Likewise.
44593         (ctan_test_upward): Likewise.
44594         (ctanh_test): Likewise.
44595         (ctanh_test_tonearest): Likewise.
44596         (ctanh_test_towardzero): Likewise.
44597         (ctanh_test_downward): Likewise.
44598         (ctanh_test_upward): Likewise.
44599         (erf_test): Likewise.
44600         (erfc_test): Likewise.
44601         (exp_test): Likewise.
44602         (exp_test_tonearest): Likewise.
44603         (exp_test_towardzero): Likewise.
44604         (exp_test_downward): Likewise.
44605         (exp_test_upward): Likewise.
44606         (exp10_test): Likewise.
44607         (exp2_test): Likewise.
44608         (expm1_test): Likewise.
44609         (fmod_test): Likewise.
44610         (gamma_test): Likewise.
44611         (hypot_test): Likewise.
44612         (j0_test): Likewise.
44613         (j1_test): Likewise.
44614         (jn_test): Likewise.
44615         (lgamma_test): Likewise.
44616         (log_test): Likewise.
44617         (log10_test): Likewise.
44618         (log1p_test): Likewise.
44619         (log2_test): Likewise.
44620         (logb_test_downward): Likewise.
44621         (pow_test): Likewise.
44622         (pow_test_tonearest): Likewise.
44623         (pow_test_towardzero): Likewise.
44624         (pow_test_downward): Likewise.
44625         (pow_test_upward): Likewise.
44626         (remainder_test): Likewise.
44627         (remquo_test): Likewise.
44628         (sin_test): Likewise.
44629         (sin_test_tonearest): Likewise.
44630         (sin_test_towardzero): Likewise.
44631         (sin_test_downward): Likewise.
44632         (sin_test_upward): Likewise.
44633         (sincos_test): Likewise.
44634         (sinh_test): Likewise.
44635         (sinh_test_tonearest): Likewise.
44636         (sinh_test_towardzero): Likewise.
44637         (sinh_test_downward): Likewise.
44638         (sinh_test_upward): Likewise.
44639         (sqrt_test): Likewise.
44640         (tan_test): Likewise.
44641         (tan_test_tonearest): Likewise.
44642         (tan_test_towardzero): Likewise.
44643         (tan_test_downward): Likewise.
44644         (tan_test_upward): Likewise.
44645         (tanh_test): Likewise.
44646         (tgamma_test): Likewise.
44647         (y0_test): Likewise.
44648         (y1_test): Likewise.
44649         (yn_test): Likewise.
44651         * math/gen-libm-test.pl (adjust_arg): Remove function.
44652         (special_function): Remove argument $in_func.  Only handle
44653         generating output for tables of tests, not inside functions.
44654         (parse_args): Likewise.
44655         (generate_testfile): Remove variable $in_func.  Update call to
44656         parse_args.
44657         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
44658         (MINUS_ZERO_INIT): Rename macro to minus_zero.
44659         (PLUS_INFTY_INIT): Rename macro to plus_infty.
44660         (MINUS_INFTY_INIT): Rename macro to minus_infty.
44661         (QNAN_VALUE_INIT): Rename macro to qnan_value.
44662         (MAX_VALUE_INIT): Rename macro to max_value.
44663         (MIN_VALUE_INIT): Rename macro to min_value.
44664         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
44665         (plus_zero): Remove variable.
44666         (minus_zero): Likewise.
44667         (plus_infty): Likewise.
44668         (minus_infty): Likewise.
44669         (qnan_value): Likewise.
44670         (max_value): Likewise.
44671         (min_value): Likewise.
44672         (min_subnorm_value): Likewise.
44674 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44676         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
44677         uint64_t or uint32_t usage.
44678         * crypt/sha256-block.c: Likewise.
44679         * crypt/sha256-crypt.c: Likewise.
44680         * crypt/sha256.c: Likewise.
44681         * crypt/sha512-block.c: Likewise.
44682         * crypt/sha512-crypt.c: Likewise.
44683         * crypt/sha512.c: Likewise.
44684         * debug/backtrace-tst.c: Likewise.
44685         * debug/pcprofiledump.c: Likewise.
44686         * elf/cache.c: Likewise.
44687         * elf/dl-cache.c: Likewise.
44688         * elf/dl-misc.c: Likewise.
44689         * elf/dl-profile.c: Likewise.
44690         * elf/dl-support.c: Likewise.
44691         * elf/ldconfig.c: Likewise.
44692         * elf/sprof.c: Likewise.
44693         * iconv/dummy-repertoire.c: Likewise.
44694         * iconv/iconv_charmap.c: Likewise.
44695         * iconv/skeleton.c: Likewise.
44696         * iconvdata/8bit-generic.c: Likewise.
44697         * iconvdata/cp737.h: Likewise.
44698         * iconvdata/cp775.h: Likewise.
44699         * iconvdata/ibm1008.h: Likewise.
44700         * iconvdata/ibm1025.h: Likewise.
44701         * iconvdata/ibm1046.h: Likewise.
44702         * iconvdata/ibm1097.h: Likewise.
44703         * iconvdata/ibm1112.h: Likewise.
44704         * iconvdata/ibm1122.h: Likewise.
44705         * iconvdata/ibm1123.h: Likewise.
44706         * iconvdata/ibm1124.h: Likewise.
44707         * iconvdata/ibm1129.h: Likewise.
44708         * iconvdata/ibm1130.h: Likewise.
44709         * iconvdata/ibm1132.h: Likewise.
44710         * iconvdata/ibm1133.h: Likewise.
44711         * iconvdata/ibm1137.h: Likewise.
44712         * iconvdata/ibm1140.h: Likewise.
44713         * iconvdata/ibm1141.h: Likewise.
44714         * iconvdata/ibm1142.h: Likewise.
44715         * iconvdata/ibm1143.h: Likewise.
44716         * iconvdata/ibm1144.h: Likewise.
44717         * iconvdata/ibm1145.h: Likewise.
44718         * iconvdata/ibm1146.h: Likewise.
44719         * iconvdata/ibm1147.h: Likewise.
44720         * iconvdata/ibm1148.h: Likewise.
44721         * iconvdata/ibm1149.h: Likewise.
44722         * iconvdata/ibm1153.h: Likewise.
44723         * iconvdata/ibm1154.h: Likewise.
44724         * iconvdata/ibm1155.h: Likewise.
44725         * iconvdata/ibm1156.h: Likewise.
44726         * iconvdata/ibm1157.h: Likewise.
44727         * iconvdata/ibm1158.h: Likewise.
44728         * iconvdata/ibm1160.h: Likewise.
44729         * iconvdata/ibm1161.h: Likewise.
44730         * iconvdata/ibm1162.h: Likewise.
44731         * iconvdata/ibm1163.h: Likewise.
44732         * iconvdata/ibm1164.h: Likewise.
44733         * iconvdata/ibm1166.h: Likewise.
44734         * iconvdata/ibm1167.h: Likewise.
44735         * iconvdata/ibm12712.h: Likewise.
44736         * iconvdata/ibm1390.h: Likewise.
44737         * iconvdata/ibm1399.h: Likewise.
44738         * iconvdata/ibm16804.h: Likewise.
44739         * iconvdata/ibm4517.h: Likewise.
44740         * iconvdata/ibm4899.h: Likewise.
44741         * iconvdata/ibm4909.h: Likewise.
44742         * iconvdata/ibm4971.h: Likewise.
44743         * iconvdata/ibm5347.h: Likewise.
44744         * iconvdata/ibm803.h: Likewise.
44745         * iconvdata/ibm856.h: Likewise.
44746         * iconvdata/ibm901.h: Likewise.
44747         * iconvdata/ibm902.h: Likewise.
44748         * iconvdata/ibm9030.h: Likewise.
44749         * iconvdata/ibm9066.h: Likewise.
44750         * iconvdata/ibm921.h: Likewise.
44751         * iconvdata/ibm922.h: Likewise.
44752         * iconvdata/ibm9448.h: Likewise.
44753         * iconvdata/isiri-3342.h: Likewise.
44754         * iconvdata/jis0201.h: Likewise.
44755         * include/link.h: Likewise.
44756         * include/netdb.h: Likewise.
44757         * inet/check_native.c: Likewise.
44758         * inet/check_pf.c: Likewise.
44759         * inet/getipv4sourcefilter.c: Likewise.
44760         * inet/getnameinfo.c: Likewise.
44761         * inet/getsourcefilter.c: Likewise.
44762         * inet/htonl.c: Likewise.
44763         * inet/setipv4sourcefilter.c: Likewise.
44764         * inet/setsourcefilter.c: Likewise.
44765         * inet/test-inet6_opt.c: Likewise.
44766         * inet/tst-network.c: Likewise.
44767         * locale/C-collate.c: Likewise.
44768         * locale/C-ctype.c: Likewise.
44769         * locale/C-time.c: Likewise.
44770         * locale/C-translit.h: Likewise.
44771         * locale/loadarchive.c: Likewise.
44772         * locale/programs/3level.h: Likewise.
44773         * locale/programs/charmap.c: Likewise.
44774         * locale/programs/charmap.h: Likewise.
44775         * locale/programs/ld-address.c: Likewise.
44776         * locale/programs/ld-collate.c: Likewise.
44777         * locale/programs/ld-ctype.c: Likewise.
44778         * locale/programs/ld-identification.c: Likewise.
44779         * locale/programs/ld-measurement.c: Likewise.
44780         * locale/programs/ld-messages.c: Likewise.
44781         * locale/programs/ld-monetary.c: Likewise.
44782         * locale/programs/ld-name.c: Likewise.
44783         * locale/programs/ld-numeric.c: Likewise.
44784         * locale/programs/ld-paper.c: Likewise.
44785         * locale/programs/ld-telephone.c: Likewise.
44786         * locale/programs/ld-time.c: Likewise.
44787         * locale/programs/linereader.c: Likewise.
44788         * locale/programs/locale.c: Likewise.
44789         * locale/programs/locarchive.c: Likewise.
44790         * locale/programs/locfile.h: Likewise.
44791         * locale/programs/repertoire.c: Likewise.
44792         * locale/programs/simple-hash.c: Likewise.
44793         * locale/programs/simple-hash.h: Likewise.
44794         * malloc/memusage.c: Likewise.
44795         * malloc/memusagestat.c: Likewise.
44796         * nis/nis_defaults.c: Likewise.
44797         * nis/nis_hash.c: Likewise.
44798         * nis/nis_print.c: Likewise.
44799         * nis/nis_xdr.c: Likewise.
44800         * nscd/connections.c: Likewise.
44801         * nscd/hstcache.c: Likewise.
44802         * nscd/nscd_gethst_r.c: Likewise.
44803         * nscd/nscd_getserv_r.c: Likewise.
44804         * nscd/nscd_helper.c: Likewise.
44805         * nscd/servicescache.c: Likewise.
44806         * nss/makedb.c: Likewise.
44807         * nss/nss_db/db-XXX.c: Likewise.
44808         * nss/nss_db/db-initgroups.c: Likewise.
44809         * nss/nss_db/db-netgrp.c: Likewise.
44810         * nss/nss_files/files-network.c: Likewise.
44811         * nss/nss_files/files-parse.c: Likewise.
44812         * posix/bug-regex5.c: Likewise.
44813         * posix/fnmatch_loop.c: Likewise.
44814         * posix/regcomp.c: Likewise.
44815         * posix/regexec.c: Likewise.
44816         * posix/tst-rfc3484-2.c: Likewise.
44817         * posix/tst-rfc3484-3.c: Likewise.
44818         * posix/tst-rfc3484.c: Likewise.
44819         * resolv/nss_dns/dns-canon.c: Likewise.
44820         * resolv/nss_dns/dns-network.c: Likewise.
44821         * resolv/res_init.c: Likewise.
44822         * resolv/res_mkquery.c: Likewise.
44823         * resolv/tst-aton.c: Likewise.
44824         * stdlib/cxa_atexit.c: Likewise.
44825         * stdlib/cxa_finalize.c: Likewise.
44826         * stdlib/gen-fpioconst.c: Likewise.
44827         * stdlib/strtol_l.c: Likewise.
44828         * string/tst-endian.c: Likewise.
44829         * sunrpc/auth_des.c: Likewise.
44830         * sunrpc/clnt_udp.c: Likewise.
44831         * sunrpc/rtime.c: Likewise.
44832         * sunrpc/svcauth_des.c: Likewise.
44833         * sunrpc/xdr.c: Likewise.
44834         * sunrpc/xdr_intXX_t.c: Likewise.
44835         * sunrpc/xdr_rec.c: Likewise.
44836         * sysdeps/generic/ldconfig.h: Likewise.
44837         * sysdeps/generic/ldsodefs.h: Likewise.
44838         * sysdeps/generic/memusage.h: Likewise.
44839         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44840         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44841         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44842         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44843         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44844         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44845         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44846         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44847         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44848         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44849         * sysdeps/posix/getaddrinfo.c: Likewise.
44850         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44851         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44852         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44853         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44854         * sysdeps/powerpc/test-gettimebase.c: Likewise.
44855         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44856         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44857         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44858         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44859         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44860         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44861         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44862         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44863         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44864         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44865         * sysdeps/x86_64/dl-tls.h: Likewise.
44866         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44867         * time/alt_digit.c: Likewise.
44868         * time/era.c: Likewise.
44869         * wcsmbs/tst-c16c32-1.c: Likewise.
44871 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44873         * math/libm-test.inc (struct test_sincos_data): New type.
44874         (RUN_TEST_LOOP_sincos): New macro.
44875         (sincos_test_data): New variable.
44876         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
44878 2013-05-16  Richard Henderson  <rth@redhat.com>
44880         * math/atest-exp2.c (LIMB64): New macro.
44881         (CONSTSZ): New macro.
44882         (mp_exp1, mp_exp_m1, mp_log2): New variables.
44883         (hexdig): Move ...
44884         (print_mpn_fp): ... to function scope.
44885         (read_mpn_hex): Remove.
44886         (get_log2): Remove.
44887         (exp2_mpn): Use mp_log2.
44888         (main): Use mp_exp1.
44890 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44892         * math/libm-test.inc: Remove comment about not testing "inexact"
44893         exceptions.
44894         (INEXACT_EXCEPTION): New macro.
44895         (NO_INEXACT_EXCEPTION): Likewise.
44896         (INVALID_EXCEPTION_OK): Update value.
44897         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44898         (OVERFLOW_EXCEPTION_OK): Likewise.
44899         (UNDERFLOW_EXCEPTION_OK): Likewise.
44900         (IGNORE_ZERO_INF_SIGN): Likewise.
44901         (ERRNO_UNCHANGED): Likewise.
44902         (ERRNO_EDOM): Likewise.
44903         (ERRNO_ERANGE): Likewise.
44904         (test_exceptions): Handle testing "inexact" exceptions.
44905         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
44906         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
44907         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
44908         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
44909         INEXACT_EXCEPTION.
44910         (rint_towardzero_test_data): Likewise.
44911         (rint_downward_test_data): Likewise.
44912         (rint_upward_test_data): Likewise.
44914         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
44915         with OVERFLOW_EXCEPTION.
44916         (exp10_test_data): Likewise.
44917         (exp2_test_data): Likewise.
44918         (expm1_test_data): Likewise.
44919         (lgamma_test_data): Likewise.
44920         (pow_test_data): Likewise.
44921         (tgamma_test_data): Likewise.
44922         (yn_test_data): Remove duplicate test of overflow.
44924         * math/libm-test.inc (struct test_cc_c_data): New type.
44925         (RUN_TEST_LOOP_cc_c): New macro.
44926         (cpow_test_data): New variable.
44927         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
44929         * math/libm-test.inc (struct test_f_L_data): New type.
44930         (RUN_TEST_LOOP_f_L): New macro.
44931         (llrint_test_data): New variable.
44932         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
44933         (llrint_tonearest_test_data): New variable.
44934         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
44935         (llrint_towardzero_test_data): New variable.
44936         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
44937         (llrint_downward_test_data): New variable.
44938         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
44939         (llrint_upward_test_data): New variable.
44940         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
44941         (llround_test_data): New variable.
44942         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
44944 2013-05-13  Peter Collingbourne  <pcc@google.com>
44946         * math/atest-exp2.c (get_log2): Remove const attribute.
44948 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44950         * math/libm-test.inc (struct test_f_l_data): New type.
44951         (RUN_TEST_LOOP_f_l): New macro.
44952         (lrint_test_data): New variable.
44953         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
44954         (lrint_tonearest_test_data): New variable.
44955         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
44956         (lrint_towardzero_test_data): New variable.
44957         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
44958         (lrint_downward_test_data): New variable.
44959         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44960         (lrint_upward_test_data): New variable.
44961         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44962         (lround_test_data): New variable.
44963         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44965 2013-05-15  Peter Collingbourne  <pcc@google.com>
44967         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
44968         (EXTRACT_WORDS64) Use where appropriate.
44969         (INSERT_WORDS64) Likewise.
44971         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
44972         constraints with x constraints.
44973         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
44975         * malloc/obstack.c (_obstack_compat): Add initializer.
44977 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44979         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
44980         si_trapno and add si_addr_lsb to _sifields.sigfault.
44981         (si_trapno): Remove macro.
44982         (si_addr_lsb): Define new macro.
44983         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44985 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44987         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
44988         instead of TEST_f_l.
44989         (llrint_test_tonearest): Likewise.
44990         (llrint_test_towardzero): Likewise.
44991         (llrint_test_downward): Likewise.
44992         (llrint_test_upward): Likewise.
44993         (llround_test): Likewise.
44995         * math/libm-test.inc (struct test_f_i_data): Add comment.
44996         (RUN_TEST_LOOP_f_b): New macro.
44997         (RUN_TEST_LOOP_f_b_tg): Likewise.
44998         (finite_test_data): New variable.
44999         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
45000         (isfinite_test_data): New variable.
45001         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45002         (isinf_test_data): New variable.
45003         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45004         (isnan_test_data): New variable.
45005         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45006         (isnormal_test_data): New variable.
45007         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45008         (issignaling_test_data): New variable.
45009         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45010         (signbit_test_data): New variable.
45011         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45013         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
45014         with INVALID_EXCEPTION.
45015         (acosh_test_data): Likewise.
45016         (asin_test_data): Likewise.
45017         (atanh_test_data): Likewise.
45018         (fmod_test_data): Likewise.
45019         (log_test_data): Likewise.
45020         (log10_test_data): Likewise.
45021         (log2_test_data): Likewise.
45022         (pow_test_data): Likewise.
45023         (sqrt_test_data): Likewise.
45024         (y0_test_data): Likewise.
45025         (y1_test_data): Likewise.
45026         (yn_test_data): Likewise.
45028         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
45029         function contents.
45031         * math/libm-test.inc (struct test_ff_i_data): New type.
45032         (RUN_TEST_LOOP_ff_i_tg): New macro.
45033         (isgreater_test_data): New variable.
45034         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45035         (isgreaterequal_test_data): New variable.
45036         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45037         (isless_test_data): New variable.
45038         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45039         (islessequal_test_data): New variable.
45040         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45041         (islessgreater_test_data): New variable.
45042         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45043         (isunordered_test_data): New variable.
45044         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45046 2013-05-14  David S. Miller  <davem@davemloft.net>
45048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45050 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
45052         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
45054         * math/libm-test.inc (struct test_fF_f1_data): Change type of
45055         extra_test to int.
45056         (struct test_f_i_data): Change type of max_ulp to int.
45058         * math/libm-test.inc (test_ffI_f1_data): New type.
45059         (RUN_TEST_LOOP_ffI_f1): New macro.
45060         (remquo_test_data): New variable.
45061         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
45063         * setjmp/tst-setjmp-fp.c: New file.
45064         * setjmp/Makefile (tests): Add tst-setjmp-fp.
45065         (link-libm): New variable.
45066         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
45068         * math/libm-test.inc (struct test_f_i_data): New type.
45069         (RUN_TEST_LOOP_f_i): New macro.
45070         (RUN_TEST_LOOP_f_i_tg): Likewise.
45071         (fpclassify_test_data): New variable.
45072         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
45073         (ilogb_test_data): New variable.
45074         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
45076         * math/libm-test.inc (scalbln_test): Correct function name in END
45077         call.
45079         * math/libm-test.inc (struct test_f_f1_data): Add comment.
45080         (RUN_TEST_LOOP_fI_f1): New macro.
45081         (frexp_test_data): New variable.
45082         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
45084         * math/libm-test.inc (struct test_fF_f1_data): New type.
45085         (RUN_TEST_LOOP_fF_f1): New macro.
45086         (modf_test_data): New variable.
45087         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
45089         * math/libm-test.inc (struct test_f_f1_data): New type.
45090         (RUN_TEST_LOOP_f_f1): New macro.
45091         (gamma_test_data): New variable.
45092         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45093         (lgamma_test_data): New variable.
45094         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45096 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
45098         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
45099         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
45100         (main): Comment "tls" pseudo-hwcap.
45102 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
45104         * math/libm-test.inc (struct test_fl_f_data): New type.
45105         (RUN_TEST_LOOP_fl_f): New variable.
45106         (scalbln_test_data): New variable.
45107         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
45109         * math/libm-test.inc (struct test_fi_f_data): New type.
45110         (RUN_TEST_LOOP_fi_f): New macro.
45111         (ldexp_test_data): New variable.
45112         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
45113         (scalbn_test_data): New variable.
45114         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
45116         * math/libm-test.inc (struct test_c_f_data): New type.
45117         (RUN_TEST_LOOP_c_f): New macro.
45118         (cabs_test_data): New variable.
45119         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
45120         (carg_test_data): New variable.
45121         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
45122         (cimag_test_data): New variable.
45123         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
45124         (creal_test_data): New variable.
45125         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
45127         * math/libm-test.inc (struct test_if_f_data): New type.
45128         (RUN_TEST_LOOP_if_f): New macro.
45129         (jn_test_data): New variable.
45130         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
45131         (yn_test_data): New variable.
45132         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
45134         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
45136 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45138         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
45139         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
45141 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45143         * benchtests/Makefile (CPPFLAGS-nonlib): Add
45144         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
45145         (bench-deps): Add bench-timing.h.
45146         * benchtests-bench-skeleton.c: Include bench-timing.h.
45147         (main): Use TIMING_* macros instead of clock_gettime.
45148         * benchtests/bench-timing.h: New file.
45150         [BZ #14582]
45151         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
45152         Renamed from _LIB_VERSION.
45153         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
45155 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
45157         * math/libm-test.inc (struct test_fff_f_data): New type.
45158         (RUN_TEST_LOOP_fff_f): New macro.
45159         (fma_test_data): New variable.
45160         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
45161         (fma_towardzero_test_data): New variable.
45162         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
45163         (fma_downward_test_data): New variable.
45164         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
45165         (fma_upward_test_data): New variable.
45166         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
45168         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
45169         (struct test_c_c_data): New type.
45170         (RUN_TEST_LOOP_c_c): New macro.
45171         (cacos_test_data): New variable.
45172         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
45173         (cacosh_test_data): New variable.
45174         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
45175         (casin_test_data): New variable.
45176         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
45177         (casinh_test_data): New variable.
45178         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
45179         (catan_test_data): New variable.
45180         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
45181         (catanh_test_data): New variable.
45182         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
45183         (ccos_test_data): New variable.
45184         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
45185         (ccosh_test_data): New variable.
45186         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
45187         (cexp_test_data): New variable.
45188         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
45189         (clog_test_data): New variable.
45190         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
45191         (clog10_test_data): New variable.
45192         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
45193         (conj_test_data): New variable.
45194         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
45195         (cproj_test_data): New variable.
45196         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
45197         (csin_test_data): New variable.
45198         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
45199         (csinh_test_data): New variable.
45200         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
45201         (csqrt_test_data): New variable.
45202         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
45203         (ctan_test_data): New variable.
45204         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
45205         (ctan_tonearest_test_data): New variable.
45206         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
45207         (ctan_towardzero_test_data): New variable.
45208         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
45209         (ctan_downward_test_data): New variable.
45210         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
45211         (ctan_upward_test_data): New variable.
45212         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
45213         (ctanh_test_data): New variable.
45214         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
45215         (ctanh_tonearest_test_data): New variable.
45216         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
45217         (ctanh_towardzero_test_data): New variable.
45218         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
45219         (ctanh_downward_test_data): New variable.
45220         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
45221         (ctanh_upward_test_data): New variable.
45222         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
45223         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
45224         of BUILD_COMPLEX.
45226         * math/libm-test.inc (struct test_ff_f_data): New type.
45227         (struct test_ff_f_data_nexttoward): Likewise.
45228         (RUN_TEST_LOOP_2_f): New macro.
45229         (RUN_TEST_LOOP_ff_f): Likewise.
45230         (atan2_test_data): New variable.
45231         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
45232         (copysign_test_data): New variable.
45233         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
45234         (fdim_test_data): New variable.
45235         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
45236         (fmax_test_data): New variable.
45237         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
45238         (fmin_test_data): New variable.
45239         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
45240         (fmod_test_data): New variable.
45241         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
45242         (hypot_test_data): New variable.
45243         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
45244         (nextafter_test_data): New variable.
45245         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
45246         (nexttoward_test_data): New variable.
45247         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
45248         (pow_test_data): New variable.
45249         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
45250         (pow_tonearest_test_data): New variable.
45251         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
45252         (pow_towardzero_test_data): New variable.
45253         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
45254         (pow_downward_test_data): New variable.
45255         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
45256         (pow_upward_test_data): New variable.
45257         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
45258         (remainder_test_data): New variable.
45259         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
45260         (scalb_test_data): New variable.
45261         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
45262         * sysdeps/i386/fpu/libm-test-ulps: Update.
45264 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
45266         * math/libm-test.inc (fma_test): Use max_value instead of local
45267         variable fltmax.
45268         (nextafter_test): Likewise.
45270         * math/libm-test.inc (acos_towardzero_test_data): New variable.
45271         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45272         (acos_downward_test_data): New variable.
45273         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45274         (acos_upward_test_data): New variable.
45275         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45276         (acosh_test_data): New variable.
45277         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
45278         (asin_test_data): New variable.
45279         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
45280         (asin_tonearest_test_data): New variable.
45281         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45282         (asin_towardzero_test_data): New variable.
45283         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45284         (asin_downward_test_data): New variable.
45285         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45286         (asin_upward_test_data): New variable.
45287         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45288         (asinh_test_data): New variable.
45289         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
45290         (atan_test_data): New variable.
45291         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
45292         (atanh_test_data): New variable.
45293         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
45294         (cbrt_test_data): New variable.
45295         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
45296         (ceil_test_data): New variable.
45297         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
45298         (cos_test_data): New variable.
45299         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
45300         (cos_tonearest_test_data): New variable.
45301         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45302         (cos_towardzero_test_data): New variable.
45303         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45304         (cos_downward_test_data): New variable.
45305         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45306         (cos_upward_test_data): New variable.
45307         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45308         (cosh_test_data): New variable.
45309         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
45310         (cosh_tonearest_test_data): New variable.
45311         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45312         (cosh_towardzero_test_data): New variable.
45313         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45314         (cosh_downward_test_data): New variable.
45315         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45316         (cosh_upward_test_data): New variable.
45317         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45318         (erf_test_data): New variable.
45319         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
45320         (erfc_test_data): New variable.
45321         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
45322         (exp_test_data): New variable.
45323         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
45324         (exp_tonearest_test_data): New variable.
45325         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45326         (exp_towardzero_test_data): New variable.
45327         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45328         (exp_downward_test_data): New variable.
45329         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45330         (exp_upward_test_data): New variable.
45331         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45332         (exp10_test_data): New variable.
45333         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
45334         (exp2_test_data): New variable.
45335         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
45336         (expm1_test_data): New variable.
45337         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
45338         (fabs_test_data): New variable.
45339         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
45340         (floor_test_data): New variable.
45341         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
45342         (j0_test_data): New variable.
45343         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
45344         (j1_test_data): New variable.
45345         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
45346         (log_test_data): New variable.
45347         (log_test): Run tests with RUN_TEST_LOOP_f_f.
45348         (log10_test_data): New variable.
45349         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
45350         (log1p_test_data): New variable.
45351         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
45352         (log2_test_data): New variable.
45353         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
45354         (logb_test_data): New variable.
45355         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
45356         (logb_downward_test_data): New variable.
45357         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45358         (nearbyint_test_data): New variable.
45359         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
45360         (rint_test_data): New variable.
45361         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
45362         (rint_tonearest_test_data): New variable.
45363         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45364         (rint_towardzero_test_data): New variable.
45365         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45366         (rint_downward_test_data): New variable.
45367         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45368         (rint_upward_test_data): New variable.
45369         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45370         (round_test_data): New variable.
45371         (round_test): Run tests with RUN_TEST_LOOP_f_f.
45372         (sin_test_data): New variable.
45373         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
45374         (sin_tonearest_test_data): New variable.
45375         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45376         (sin_towardzero_test_data): New variable.
45377         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45378         (sin_downward_test_data): New variable.
45379         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45380         (sin_upward_test_data): New variable.
45381         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45382         (sinh_test_data): New variable.
45383         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
45384         (sinh_tonearest_test_data): New variable.
45385         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45386         (sinh_towardzero_test_data): New variable.
45387         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45388         (sinh_downward_test_data): New variable.
45389         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45390         (sinh_upward_test_data): New variable.
45391         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45392         (sqrt_test_data): New variable.
45393         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
45394         (tan_test_data): New variable.
45395         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
45396         (tan_tonearest_test_data): New variable.
45397         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45398         (tan_towardzero_test_data): New variable.
45399         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45400         (tan_downward_test_data): New variable.
45401         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45402         (tan_upward_test_data): New variable.
45403         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45404         (tanh_test_data): New variable.
45405         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
45406         (tgamma_test_data): New variable.
45407         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
45408         (trunc_test_data): New variable.
45409         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
45410         (y0_test_data): New variable.
45411         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
45412         (y1_test_data): New variable.
45413         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
45414         (significand_test_data): New variable.
45415         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
45417 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
45419         [BZ #12387]
45420         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
45422 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45424         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
45426 2013-05-10  Andreas Jaeger  <aj@suse.de>
45428         [BZ #15448]
45429         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
45430         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
45432 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
45434         * math/gen-libm-test.pl (adjust_arg): New function.
45435         (special_functions): Handle generating output in both functions
45436         and arrays.
45437         (parse_args): Likewise.
45438         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
45439         $in_func argument to parse_args.
45440         * math/libm-test.inc (struct test_f_f_data): New type.
45441         (IF_ROUND_INIT_): New macro.
45442         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
45443         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45444         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45445         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45446         (ROUND_RESTORE_): Likewise.
45447         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
45448         (ROUND_RESTORE_FE_TONEAREST): Likewise.
45449         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
45450         (ROUND_RESTORE_FE_UPWARD): Likewise.
45451         (RUN_TEST_LOOP_f_f): New macro.
45452         (acos_test_data): New variable.
45453         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
45454         (acos_tonearest_test_data): New variable.
45455         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45457 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45459         * benchtests/bench-skeleton.c (startup): Fix coding style.
45461 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
45463         [BZ #6809]
45464         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
45465         negative infinity argument.
45466         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
45467         negative infinity argument.
45468         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
45469         negative infinity argument.
45470         * math/libm-test.inc (tgamma_test): Expect errno to be set for
45471         domain errors.
45473 2013-05-10  Florian Weimer  <fweimer@redhat.com>
45475         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
45476         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
45477         * iconv/iconv_prog.c (main): Likewise.
45478         * locale/programs/charmap-dir.c (charmap_readdir)
45479         (fopen_uncompressed): Likewise.
45480         * locale/programs/locfile.c (siblings_uncached)
45481         (write_locale_data): Use lstat64 instead of lstat.
45482         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
45483         stat.
45485 2013-05-10  Andreas Jaeger  <aj@suse.de>
45487         [BZ #15395]
45488         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
45489         localization.
45490         Include <locale.h>.
45492 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
45494         * elf/dl-close.c (_dl_close_worker): Add comments.
45496 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
45498         [BZ #15359]
45499         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
45500         high part of pi/2.
45501         (__ieee754_rem_pio2l): Update comments.
45503         [BZ #15429]
45504         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
45505         high part of pi/2.
45506         (__ieee754_rem_pio2l): Update comments.
45508         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
45509         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
45511         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
45512         M_PI_4l.
45514         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
45515         (M_PI_34_LOG10El): Likewise.
45516         (M_PI2_LOG10El): Likewise.
45517         (M_PI4_LOG10El): Likewise.
45518         (M_PI_LOG10El): Likewise.
45520 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45524 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
45526         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
45527         (MINUS_ZERO_INIT): Likewise.
45528         (PLUS_INFTY_INIT): Likewise.
45529         (MINUS_INFTY_INIT): Likewise.
45530         (QNAN_VALUE_INIT): Likewise.
45531         (MAX_VALUE_INIT): Likewise.
45532         (MIN_VALUE_INIT): Likewise.
45533         (MIN_SUBNORM_VALUE_INIT): Likewise.
45534         (plus_zero): Initialize with PLUS_ZERO_INIT.
45535         (minus_zero): Initialize with MINUS_ZERO_INIT.
45536         (plus_infty): Initialize with PLUS_INFTY_INIT.
45537         (minus_infty): Initialize with MINUS_INFTY_INIT.
45538         (qnan_value): Initialize with QNAN_VALUE_INIT.
45539         (max_value): Initialize with MAX_VALUE_INIT.
45540         (min_value): Initialize with MIN_VALUE_INIT.
45541         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
45543         * math/libm-test.inc (RUN_TEST_if_f): New macro.
45544         (jn_test): Use TEST_if_f instead of TEST_ff_f.
45545         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
45546         (yn_test): Use TEST_if_f instead of TEST_ff_f.
45548         * math/libm-test.inc (RUN_TEST_f_f): New macro.
45549         (RUN_TEST_2_f): Likewise.
45550         (RUN_TEST_ff_f): Likewise.
45551         (RUN_TEST_fi_f): Likewise.
45552         (RUN_TEST_fl_f): Likewise.
45553         (RUN_TEST_fff_f): Likewise.
45554         (RUN_TEST_c_f): Likewise.
45555         (RUN_TEST_f_f1): Likewise.
45556         (RUN_TEST_fF_f1): Likewise.
45557         (RUN_TEST_fI_f1): Likewise.
45558         (RUN_TEST_ffI_f1): Likewise.
45559         (RUN_TEST_c_c): Likewise.
45560         (RUN_TEST_cc_c): Likewise.
45561         (RUN_TEST_f_i): Likewise.
45562         (RUN_TEST_f_i_tg): Likewise.
45563         (RUN_TEST_ff_i_tg): Likewise.
45564         (RUN_TEST_f_b): Likewise.
45565         (RUN_TEST_f_b_tg): Likewise.
45566         (RUN_TEST_f_l): Likewise.
45567         (RUN_TEST_f_L): Likewise.
45568         (RUN_TEST_sincos): Likewise.
45569         * math/gen-libm-test.pl (new_test): Take new argument to indicate
45570         whether to show exceptions.  Do not include ");\n" in return
45571         value.
45572         (special_functions): Output call to RUN_TEST_sincos instead of
45573         check_float calls.  Update calls to new_test.
45574         (parse_args): Output call to single RUN_TEST_* macro instead of
45575         check_* calls and other assignments.  Update calls to new_test.
45577         [BZ #2546]
45578         [BZ #2560]
45579         [BZ #5159]
45580         [BZ #15426]
45581         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
45582         input to result for tgamma overflow.
45583         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
45584         (gamma_coeff): New variable.
45585         (NCOEFF): New macro.
45586         (gamma_positive): New function.
45587         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
45588         underflow here.  Use gamma_positive instead of exp (lgamma) for
45589         other arguments.
45590         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
45591         (gamma_coeff): New variable.
45592         (NCOEFF): New macro.
45593         (gammaf_positive): New function.
45594         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
45595         underflow here.  Use gamma_positive instead of exp (lgamma) for
45596         other arguments.
45597         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
45598         (gamma_coeff): New variable.
45599         (NCOEFF): New macro.
45600         (gammal_positive): New function.
45601         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
45602         underflow here.  Use gamma_positive instead of exp (lgamma) for
45603         other arguments.
45604         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
45605         (gamma_coeff): New variable.
45606         (NCOEFF): New macro.
45607         (gammal_positive): New function.
45608         (__ieee754_gammal_r): Handle positive infinity, overflow and
45609         underflow here.  Handle NaN the same as positive infinity.  Remove
45610         check x < 0xffffffff for negative integers.  Use gamma_positive
45611         instead of exp (lgamma) for other arguments.
45612         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
45613         (gamma_coeff): New variable.
45614         (NCOEFF): New macro.
45615         (gammal_positive): New function.
45616         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
45617         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
45618         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
45619         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
45620         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
45621         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
45622         * sysdeps/generic/math_private.h (__gamma_productf): New
45623         prototype.
45624         (__gamma_product): Likewise.
45625         (__gamma_productl): Likewise.
45626         * math/Makefile (libm-calls): Add gamma_product.
45627         * math/libm-test.inc (tgamma_test): Add more tests.
45628         * sysdeps/i386/fpu/libm-test-ulps: Update.
45629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45631 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
45633         * benchtests/bench-skeleton.c (main): Preheat CPU.
45635 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
45637         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
45639 2013-05-07  Roland McGrath  <roland@hack.frob.com>
45641         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
45642         and _dl_skip_args_internal.
45644 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
45646         * manual/message.texi (Message Translation): Talk about users.
45647         Message to key mapping impacts design.
45649 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45651         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
45653         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
45655         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
45656         * sysdeps/wordsize-64/glob64.c: ... here.
45658         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
45659         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
45660         New macros.
45662         * debug/getlogin_r_chk.c: Moved to ...
45663         * login/getlogin_r_chk.c: ... here.
45664         * debug/Makefile (routines): Move getlogin_r_chk to ...
45665         * login/Makefile (routines): ... here.
45666         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
45667         * login/Versions (libc: GLIBC_2.4): ... here.
45669         * io/poll.c (__poll): Renamed from poll.
45670         Add libc_hidden_def.
45671         (poll): Define as weak alias.
45673         * debug/ptsname_r_chk.c: Moved to ...
45674         * login/ptsname_r_chk.c: ... here.
45675         * debug/Makefile (routines): Move ptsname_r_chk to ...
45676         * login/Makefile (routines): ... here.
45677         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
45678         * login/Versions (libc: GLIBC_2.4): ... here.
45680         * posix/getlogin.c: Moved to ...
45681         * login/getlogin.c: ... here.
45682         * posix/getlogin_r.c: Moved to ...
45683         * login/getlogin_r.c: ... here.
45684         * posix/getlogin_r.c: Moved to ...
45685         * login/getlogin_r.c: ... here.
45686         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
45687         * login/Makefile (routines): ... here.
45688         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
45689         * login/Versions (libc: GLIBC_2.0): ... here.
45691         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
45692         (setrlimit): Define as weak alias.
45694         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
45695         Call __ names for open, ftruncate, and close.
45696         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
45697         (truncate): Define as weak alias.
45699 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
45701         * math/gen-libm-test.pl (parse_args): Initialize x before each
45702         test of frexp, modf and remquo.
45704         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
45705         test signgam value.
45707 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45709         [BZ #15418]
45710         [BZ #15419]
45711         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
45712         internal tests.
45713         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45715 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45717         * elf/dl-writev.h: New file.
45718         * elf/dl-misc.c: Include it.
45719         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
45720         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
45722 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
45724         * math/libm-test.inc (noXFails): Remove variable.
45725         (noXPasses): Likewise.
45726         (BUILD_COMPLEX_INT): Remove macro.
45727         (print_screen): Remove xfail argument.
45728         (print_screen_max_error): Likewise.
45729         (update_stats): Likewise.
45730         (print_max_error): Likewise.  Update calls to other affected
45731         functions.
45732         (print_complex_max_error): Likewise.
45733         (test_single_exception): Update calls to print_screen.
45734         (test_single_errno): Likewise.
45735         (check_float_internal): Remove xfail argument.  Update calls to
45736         other affected functions.
45737         (check_float): Likewise.
45738         (check_complex): Likewise.
45739         (check_int): Likewise.
45740         (check_long): Likewise.
45741         (check_bool): Likewise.
45742         (check_longlong): Likewise.
45743         (main): Don't print noXFails and noXPasses.
45744         * math/gen-libm-test.pl (top level): Don't mention expected
45745         failure handling in comment.
45746         (new_test): Don't handle expected failures.
45747         (parse_args): Don't mention expected failure handling in comment.
45748         (generate_testfile): Don't handle expected failures.
45749         (parse_ulps): Likewise.
45750         (print_ulps_file): Likewise.
45751         (get_failure): Remove function.
45752         (output_test): Don't handle expected failures.
45753         * make/README.libm-test: Don't mention expected failure handling.
45755         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
45756         (minus_zero): Likewise.
45757         (plus_infty): Likewise.
45758         (minus_infty): Likewise.
45759         (qnan_value): Likewise.
45760         (max_value): Likewise.
45761         (min_value): Likewise.
45762         (min_subnorm_value): Likewise.
45763         (initialize): Do not initialize those variables dynamically.
45765 2013-05-03  Roland McGrath  <roland@hack.frob.com>
45767         * io/open.c (__open_2): Moved to ...
45768         * io/open_2.c: ... this new file.
45769         * io/open64.c (__open64_2): Moved to ...
45770         * io/open64_2.c: ... this new file.
45771         * io/openat.c (__openat_2): Moved to ...
45772         * io/openat_2.c: ... this new file.
45773         * io/openat64.c (__openat64_2): Moved to ...
45774         * io/openat64_2.c: ... this new file.
45775         * io/Makefile (routines): Add them.
45776         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
45777         * sysdeps/unix/sysv/linux/open_2.c: File removed.
45778         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
45779         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
45780         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
45781         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
45782         (__openat64): Add hidden_ver.
45783         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
45784         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
45786         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
45787         Separately conditionalize setting of GLRO(dl_sysinfo) so
45788         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
45789         as well, but the actual setting is only under [NEED_DL_SYSINFO].
45791 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45793         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
45794         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
45795         definition.
45796         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
45797         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45798         (_libc_vdso_platform_setup): Add __vdso_time initialization.
45799         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
45800         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
45802 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
45804         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
45805         test signgam value.
45807         * math/libm-test.inc (hypot_test): Do not use
45808         IGNORE_ZERO_INF_SIGN.
45810 2013-05-03  Andreas Jaeger  <aj@suse.de>
45812         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45813         Linux 3.9.
45814         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45815         (PF_MAX): Adjust for VSOCK change.
45817 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45821 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
45823         [BZ #15264]
45824         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45825         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45826         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45828 2013-05-02  David S. Miller  <davem@davemloft.net>
45830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45832 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
45834         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45836 2013-05-01  Roland McGrath  <roland@hack.frob.com>
45838         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45840 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
45842         [BZ #14952]
45843         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45844         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45845         Use __attribute__ ((__gnu_inline__)).
45846         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45847         Don't use __attribute__ ((__gnu_inline__)).
45849 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
45851         [BZ #15423]
45852         * math/s_catan.c (__catan): Handle small real or imaginary part of
45853         input specially to avoid spurious underflow.
45854         * math/s_catanf.c (__catanf): Likewise.
45855         * math/s_catanh.c (__catanh): Likewise.
45856         * math/s_catanhf.c (__catanhf): Likewise.
45857         * math/s_catanhl.c (__catanhl): Likewise.
45858         * math/s_catanl.c (__catanl): Likewise.
45859         * math/libm-test.inc (catan_test): Add more tests.
45860         (catanh_test): Likewise.
45861         * sysdeps/i386/fpu/libm-test-ulps: Update.
45862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45864 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45868 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
45870         [BZ #15416]
45871         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45872         accurately for denominator in atan2.
45873         * math/s_catanf.c (__catanf): Likewise.
45874         * math/s_catanh.c (__catanh): Likewise.
45875         * math/s_catanhf.c (__catanhf): Likewise.
45876         * math/s_catanhl.c (__catanhl): Likewise.
45877         * math/s_catanl.c (__catanl): Likewise.
45878         * math/libm-test.inc (catan_test): Add more tests.
45879         (catanh_test): Likewise.
45880         * sysdeps/i386/fpu/libm-test-ulps: Update.
45881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45883 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45885         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
45887         * benchtests/Makefile (bench): Remove slow benchmarks.
45888         * benchtests/atan-inputs: Add slow benchmark inputs.
45889         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
45890         (BENCH_FUNC): Accept variant offset.
45891         (VARIANT): Define.
45892         * benchtests/bench-skeleton.c (main): Run benchmark for each
45893         variant.
45894         * benchtests/cos-inputs: Add slow benchmark inputs.
45895         * benchtests/exp-inputs: Likewise.
45896         * benchtests/pow-inputs: Likewise.
45897         * benchtests/sin-inputs: Likewise.
45898         * benchtests/slowatan-inputs: Remove.
45899         * benchtests/slowatan.c: Remove.
45900         * benchtests/slowcos-inputs: Remove.
45901         * benchtests/slowcos.c: Remove.
45902         * benchtests/slowexp-inputs: Remove.
45903         * benchtests/slowexp.c: Remove.
45904         * benchtests/slowpow-inputs: Remove.
45905         * benchtests/slowpow.c: Remove.
45906         * benchtests/slowsin-inputs: Remove.
45907         * benchtests/slowsin.c: Remove.
45908         * benchtests/slowtan-inputs: Remove.
45909         * benchtests/slowtan.c: Remove.
45910         * benchtests/tan-inputs: Add slow benchmark inputs.
45911         * scripts/bench.pl: Parse comments and directives.
45913         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
45914         in CPPFLAGS.
45915         ($(objpfx)bench-%.c): Remove *-ITER.
45916         * benchtests/bench-modf.c: Remove definition of ITER.
45917         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
45918         (main): Loop for DURATION seconds instead of fixed number of
45919         iterations.
45920         * scripts/bench.pl: Don't expect iterations in parameters.
45922 2013-04-29  Roland McGrath  <roland@hack.frob.com>
45924         * io/fchdir.c (__fchdir): Renamed from fchdir.
45925         (fchdir): Define as weak alias.
45927 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45929         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
45930         (ERRNO_EDOM): Likewise.
45931         (ERRNO_ERANGE): Likewise.
45932         (noErrnoTests): New variable.
45933         (init_max_error): Set errno to 0.
45934         (test_single_errno): New function.
45935         (test_errno): Likewise.
45936         (check_float_internal): Call test_errno.  Set errno to 0.
45937         (check_complex): Refer to errno tests in comment.
45938         (check_int): Call test_errno.  Set errno to 0.
45939         (check_long): Likewise.
45940         (check_bool): Likewise.
45941         (check_longlong): Likewise.
45942         (cos_test): Use ERRNO_* flags for errno tests instead of
45943         check_int.
45944         (expm1_test): Likewise.
45945         (fmod_test): Likewise.
45946         (ilogb_test): Likewise.
45947         (lgamma_test): Likewise.
45948         (pow_test): Likewise.
45949         (remainder_test): Likewise.
45950         (sin_test): Likewise.
45951         (tan_test): Likewise.
45952         (yn_test): Likewise.
45953         (initialize): Set errno to 0.
45954         (main): Print number of errno tests.
45955         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
45957 2013-04-29  Andreas Jaeger  <aj@suse.de>
45959         [BZ #15084]
45960         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45961         and RES_USEVC.
45963         [BZ #15085]
45964         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45965         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45966         unimplemented.
45968         [BZ #15380]
45969         * stdlib/random.c (__initstate): Return NULL if
45970         __initstate fails.
45972         [BZ #15086]
45973         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
45974         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
45975         RES_SNGLKUPREOP.
45977 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45981 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45983         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
45984         of individual tests.
45985         (casin_test): Likewise.
45986         (casinh_test): Likewise.
45988 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
45990         [BZ #15409]
45991         * math/s_catan.c (__catan): Handle arguments with large real or
45992         imaginary part separately without squaring.
45993         * math/s_catanf.c (__catanf): Likewise.
45994         * math/s_catanh.c (__catanh): Likewise.
45995         * math/s_catanhf.c (__catanhf): Likewise.
45996         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45997         and redefine.
45998         (__catanhl): Handle arguments with large real or imaginary part
45999         separately without squaring.
46000         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46001         and redefine.
46002         (__catanl): Handle arguments with large real or imaginary part
46003         separately without squaring.
46004         * math/libm-test.inc (catan_test): Add more tests.
46005         (catanh_test): Likewise.
46006         * sysdeps/i386/fpu/libm-test-ulps: Update.
46007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46009 2013-04-27  Andreas Jaeger  <aj@suse.de>
46011         [BZ #15007]
46012         * stdlib/stdlib.h: Update guards for qecvt.
46013         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
46014         <stdlib.h>.
46016 2013-04-27  Allan McRae  <allan@archlinux.org>
46018         * sysdeps/i386/fpu/libm-test-ulps: Update.
46020 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
46022         [BZ #15406]
46023         * math/s_catan.c: Include <float.h>.
46024         (__catan): Ensure underflow exception occurs for underflowed
46025         result.
46026         * math/s_catanf.c: Include <float.h>.
46027         (__catanf): Ensure underflow exception occurs for underflowed
46028         result.
46029         * math/s_catanh.c: Include <float.h>.
46030         (__catanh): Ensure underflow exception occurs for underflowed
46031         result.
46032         * math/s_catanhf.c: Include <float.h>.
46033         (__catanhf): Ensure underflow exception occurs for underflowed
46034         result.
46035         * math/s_catanhl.c: Include <float.h>.
46036         (__catanhl): Ensure underflow exception occurs for underflowed
46037         result.
46038         * math/s_catanl.c: Include <float.h>.
46039         (__catanl): Ensure underflow exception occurs for underflowed
46040         result.
46041         * math/libm-test.inc (catan_test): Add more tests.
46042         (catanh_test): Likewise.
46044         [BZ #15405]
46045         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
46046         underflowed result.
46047         * math/s_ccoshf.c (__ccoshf): Likewise.
46048         * math/s_ccoshl.c (__ccoshl): Likewise.
46049         * math/s_csin.c (__csin): Likewise.
46050         * math/s_csinf.c (__csinf): Likewise.
46051         * math/s_csinh.c (__csinh): Likewise.
46052         * math/s_csinhf.c (__csinhf): Likewise.
46053         * math/s_csinhl.c (__csinhl): Likewise.
46054         * math/s_csinl.c (__csinl): Likewise.
46055         * math/libm-test.inc (ccos_test): Add more tests.
46056         (ccosh_test): Likewise.
46057         (csin_test): Likewise.
46058         (csinh_test): Likewise.
46060 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46062         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
46063         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
46064         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
46065         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
46066         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
46067         powerpc/power5+/fpu folders.
46068         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
46071 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
46073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46075 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
46077         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
46078         additions to variable.
46079         [$(config-machine) = x86_64] (modules-names): Likewise.
46080         ($(objpfx)tst-audit3): Remove dependency.
46081         ($(objpfx)tst-audit3.out): Likewise.
46082         ($(objpfx)tst-audit4): Likewise.
46083         ($(objpfx)tst-audit4.out): Likewise.
46084         ($(objpfx)tst-audit5): Likewise.
46085         ($(objpfx)tst-audit5.out): Likewise.
46086         ($(objpfx)tst-audit6): Likewise.
46087         ($(objpfx)tst-audit6.out): Likewise.
46088         ($(objpfx)tst-audit7): Likewise.
46089         ($(objpfx)tst-audit7.out): Likewise.
46090         (tst-audit3-ENV): Remove variable.
46091         (tst-audit4-ENV): Likewise.
46092         (tst-audit5-ENV): Likewise.
46093         (tst-audit6-ENV): Likewise.
46094         (tst-audit7-ENV): Likewise.
46095         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
46096         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
46097         addition to variable.
46098         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
46099         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
46100         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
46101         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
46102         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
46103         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
46104         tst-audit3, tst-audit4 and tst-audit5.
46105         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
46106         tst-audit6 and tst-audit7.
46107         [$(subdir) = elf] (modules-names): Add audit modules for those
46108         tests.
46109         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
46110         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
46111         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
46112         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
46113         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
46114         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
46115         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
46116         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
46117         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
46118         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
46119         [$(subdir) = elf] (tst-audit3-ENV): New variable.
46120         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
46121         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
46122         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
46123         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
46124         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
46125         Likewise.
46126         [$(subdir) = elf && $(config-cflags-avx) = yes]
46127         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
46128         [$(subdir) = elf && $(config-cflags-avx) = yes]
46129         (CFLAGS-tst-auditmod4a.c): Likewise.
46130         [$(subdir) = elf && $(config-cflags-avx) = yes]
46131         (CFLAGS-tst-auditmod4b.c): Likewise.
46132         [$(subdir) = elf && $(config-cflags-avx) = yes]
46133         (CFLAGS-tst-auditmod6b.c): Likewise.
46134         [$(subdir) = elf && $(config-cflags-avx) = yes]
46135         (CFLAGS-tst-auditmod6c.c): Likewise.
46136         [$(subdir) = elf && $(config-cflags-avx) = yes]
46137         (CFLAGS-tst-auditmod7b.c): Likewise.
46138         * elf/tst-audit3.c: Move to ...
46139         * sysdeps/x86_64/tst-audit3.c: ... here.
46140         * elf/tst-audit4.c: Move to ...
46141         * sysdeps/x86_64/tst-audit4.c: ... here.
46142         * elf/tst-audit5.c: Move to ...
46143         * sysdeps/x86_64/tst-audit5.c: ... here.
46144         * elf/tst-audit6.c: Move to ...
46145         * sysdeps/x86_64/tst-audit6.c: ... here.
46146         * elf/tst-audit7.c: Move to ...
46147         * sysdeps/x86_64/tst-audit7.c: ... here.
46148         * elf/tst-auditmod3a.c: Move to ...
46149         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
46150         * elf/tst-auditmod3b.c: Move to ...
46151         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
46152         * elf/tst-auditmod4a.c: Move to ...
46153         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
46154         * elf/tst-auditmod4b.c: Move to ...
46155         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
46156         * elf/tst-auditmod5a.c: Move to ...
46157         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
46158         * elf/tst-auditmod5b.c: Move to ...
46159         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
46160         * elf/tst-auditmod6a.c: Move to ...
46161         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
46162         * elf/tst-auditmod6b.c: Move to ...
46163         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
46164         * elf/tst-auditmod6c.c: Move to ...
46165         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
46166         * elf/tst-auditmod7a.c: Move to ...
46167         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
46168         * elf/tst-auditmod7b.c: Move to ...
46169         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
46171 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
46173         [BZ #15366]
46174         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
46175         define unconditionally.
46176         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
46177         define unconditionally.
46178         (INT8_C, INT16_C, etc.): Likewise.
46180 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
46182         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
46183         __ehdr_start with hidden visibility.
46185         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
46187 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
46189         * math/libm-test.inc (cos_test): Use accurate hex constants.
46190         (sincost_test): Likewise.
46192 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
46194         * math/libm-test.inc (catan_test): Add more tests.
46195         (catanh_test): Likewise.
46197         * math/s_catanf.c (__catanf): Use suffixed floating-point
46198         constants.
46199         * math/s_catanhf.c (__catanhf): Likewise.
46200         * math/s_catanhl.c (__catanhl): Likewise.
46201         * math/s_catanl.c (__catanl): Likewise.
46203         [BZ #15394]
46204         * math/s_catan.c (__catan): Calculate imaginary part of result
46205         with log1p not log unless computing log of number close to 0.
46206         * math/s_catanf.c (__catanf): Likewise.
46207         * math/s_catanl.c (__catanl): Likewise.
46208         * math/s_catanh.c (__catanh): Calculate real part of result with
46209         log1p not log unless computing log of number close to 0.
46210         * math/s_catanhf.c (__catanhf): Likewise.
46211         * math/s_catanhl.c (__catanhl): Likewise.
46212         * math/libm-test.inc (catan_test): Add more tests.
46213         (catanh_test): Likewise.
46214         * sysdeps/i386/fpu/libm-test-ulps: Update.
46215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46217 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46219         * benchtests/Makefile: Mention files in which fast and slow
46220         paths of math functions are implemented.
46222 2013-04-23  Roland McGrath  <roland@hack.frob.com>
46224         * sysdeps/posix/timespec_get.c: New file.
46226 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46228         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
46229         POWER.
46230         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
46231         for POWER.
46232         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
46233         powerpc/power5/fpu folders.
46234         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
46235         * benchtests/Makefile: Add modf testcase.
46236         * benchtests/bench-modf.c: New file: Benchmark test for mo
46238 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46240         [BZ #14888]
46241         * time/Makefile (tests): Add tst-strptime-whitespace.
46242         * time/strptime_l.c (get_number): Use ISSPACE.
46243         (__strptime_internal): Likewise.
46244         * time/tst-strptime-whitespace.c: New test case.
46246 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
46248         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
46249         member.
46250         (_nss_files_init): Set it here.
46252 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
46254         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
46255         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
46256         unsigned.
46258 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
46260         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
46262 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46264         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
46265         size just once.
46267 2013-04-21  David S. Miller  <davem@davemloft.net>
46269         * po/ru.po: Update Russion translation from translation project.
46271 2013-04-17  Adam Conrad  <adconrad@0c3.net>
46273         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
46274         and setfsgid.
46276 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
46278         * configure.in: Remove i386 configure warning. Remove i386 case.
46279         * configure: Regenerate.
46280         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
46281         Add example to error message.
46282         * sysdeps/i386/configure: Regenerate.
46284 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46286         * benchtests/Makefile (bench): Add cos, tan, slowcos and
46287         slowtan.
46288         * benchtests/cos-inputs: New file.
46289         * benchtests/slowcos-inputs: New file.
46290         * benchtests/slowcos.c: New file.
46291         * benchtests/slowtan-inputs: New file.
46292         * benchtests/slowtan.c: New file.
46293         * benchtests/tan-inputs: New file.
46295 2013-04-16  Roland McGrath  <roland@hack.frob.com>
46297         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
46298         considered kosher.
46300 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46302         * benchtests/Makefile: Include cppflags-iterator.mk to add
46303         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
46305         * Makefile.in (bench-clean): New target.
46306         * benchtests/Makefile (bench-clean): Likewise.
46308 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
46310         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
46312 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
46314         * stdio-common/tstdiomisc.c: Fix coding-style violation.
46316 2013-04-15  Andreas Schwab  <schwab@suse.de>
46318         * nscd/grpcache.c (cache_addgr): Properly check for short write.
46319         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46320         * nscd/pwdcache.c (cache_addpw): Likewise.
46321         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
46322         more than recsize.
46324 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46326         * benchtests/Makefile (bench): Write all output to
46327         bench-out.tmp together.
46329 2013-04-15  Andreas Schwab  <schwab@suse.de>
46331         * nscd/nscd.c (main): Don't fork again after closing files.
46333 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46335         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
46337         * benchtests/Rules (bench-deps): Collect dependencies into a
46338         single variable.  Add Makefile to dependencies.
46339         ($(objpfx)bench-%.c): Depend on bench-deps.
46341 2013-04-12  Roland McGrath  <roland@hack.frob.com>
46342             Xavier Roche  <roche+kml2@exalead.com>
46344         [BZ #15361]
46345         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
46346         just that it's a file descriptor.
46347         * manual/llio.texi (Synchronizing AIO Operations): Update description
46348         for EBADF error from aio_fsync.
46350 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46352         * Rules (bench): Move target definition...
46353         * benchtests/Makefile: ... here.
46355 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
46357         * math/libm-test.inc (cos_test): Fix PI/2 test.
46358         (sincos_test): Likewise.
46359         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
46360         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
46362 2013-04-11  Andreas Schwab  <schwab@suse.de>
46364         [BZ #13988]
46365         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
46366         accept exponent character only when digits were seen.
46367         * stdio-common/Makefile (tests): Add bug26.
46368         * stdio-common/bug26.c: New file.
46370         [BZ #14293]
46371         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
46372         non-freeable.
46374 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46376         * Makeconfig (rtld-prefix): Define built linker prefix.
46377         * Rules (run-bench): Use it.
46378         * math/Makefile (run-regen-ulps): Likewise.
46380         * Rules (bench): Remove eval.
46382 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46383             Roland McGrath  <roland@hack.frob.com>
46384             Ondrej Bilka  <neleai@seznam.cz>
46386         [BZ #15346]
46387         * time/getdate.c: Include ctype.h and alloca.h.
46388         (__getdate_r): Trim leading and trailing spaces of input.
46389         * time/tst-getdate.c (tests): Add tests with leading and
46390         trailing spaces.
46392 2013-04-08  Roland McGrath  <roland@hack.frob.com>
46394         [BZ #14280]
46395         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
46396         when computing value.
46398 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46400         * math/README.libm-test (How can I generate "libm-test-ulps"?):
46401         Use testrun.sh to run libm tests.
46403         [BZ #15309]
46404         * elf/dl-open.c (dl_open_worker): memset all of seen array.
46406 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
46408         [BZ #15264]
46409         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
46411 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46413         * Makefile.in (regen-ulps): New target.
46414         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
46415         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
46416         [ifneq (no,$(PERL)] (regen-ulps): New target.
46417         [ifeq (no,$(PERL)] (regen-ulps): New target.
46418         * math/libm-test.inc (ulps_file_name): Define.
46419         (output_dir): New variable.
46420         (options): Add "output-dir" option.
46421         (parse_opt): Handle 'o' case.
46422         (main): If output_dir is non-NULL use it as a prefix
46423         otherwise use "".
46424         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
46426 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46428         [BZ #10060, #10062]
46429         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
46430         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
46431         fail configure if __sync_val_compare_and_swap is not inlined.
46432         * sysdeps/i386/configure: Regenerate.
46433         * configure.in: Build for i686 when configured for i386.
46434         * configure: Regenerate.
46435         * README: Remove i386 reference.
46437 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46439         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
46440         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46442 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46444         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
46445         (lmsnanval): New variables.
46446         (F): Add conversion tests.
46447         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
46448         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
46450         * stdio-common/tstdiomisc.c (F): Properly collect individual
46451         tests' results.
46453         [BZ #14686, #15336]
46454         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
46455         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
46456         Instead, use input NaN values or generate a qNaN by arithmetic
46457         operation.  Also fix bugs to comply with the standard.
46458         * math/libm-test.inc (remainder_test): Add more tests.
46460         [BZ #15335, #15342]
46461         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
46462         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
46463         input NaN values or generate a qNaN by arithmetic operation.
46465         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
46466         unreachable code.
46468         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
46469         definitions.
46471 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
46473         [BZ #14478]
46474         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
46475         underflowed result.
46476         * math/s_cexpf.c (__cexpf): Likewise.
46477         * math/s_cexpl.c (__cexpl): Likewise.
46478         * math/libm-test.inc (cexp_test): Add more tests.
46480 2013-04-03  Andreas Schwab  <schwab@suse.de>
46482         [BZ #15330]
46483         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
46484         order arrays from heap if bigger than alloca cutoff.
46486 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
46488         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
46489         (SNAN_TESTS_double): Refer to GCC PR56831.
46490         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
46491         GCC PR56828.
46493 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46495         * Rules (bench): Move bench.out after the run is complete.
46497         * Rules (bench): Echo currently running benchmark.
46499         * benchtests/Makefile (bench): Add atan and slowatan.
46500         * benchtests/atan-inputs: New file.
46501         * benchtests/slowatan-inputs: New file.
46502         * benchtests/slowatan.c: New file.
46504         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
46505         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
46506         its value.
46508         [BZ #15305]
46509         * sysdeps/unix/sysv/linux/kernel-features.h
46510         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
46511         __ASSUME_XFS_RESTRICTED_CHOWN.
46512         * sysdeps/unix/sysv/linux/pathconf.c
46513         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46514         Save and restore errno.
46516 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
46518         [BZ #15327]
46519         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
46520         arguments using __kernel_casinh.
46521         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
46522         arguments using __kernel_casinhf.
46523         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
46524         arguments using __kernel_casinhl.
46525         * math/libm-test.inc (cacosh_test): Add more tests.
46526         * sysdeps/i386/fpu/libm-test-ulps: Update.
46527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46529 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46531         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
46532         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
46534         * bench/Makefile (bench): Add sin and slowsin.
46535         * benchtests/sin-inputs: New file.
46536         * benchtests/slowsin-inputs: New file.
46537         * benchtests/slowsin.c: New file.
46539         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
46540         (bench): Add slowexp and slowpow.
46541         (exp-ITER): Increase iterations.
46542         (pow-ITER): Likewise.
46543         * benchtests/exp-inputs: Change input.
46544         * benchtests/pow-inputs: Likewise.
46545         * benchtests/slowexp-inputs: New file.
46546         * benchtests/slowexp.c: New file.
46547         * benchtests/slowpow-inputs: New file.
46548         * benchtests/slowpow.c: New file.
46550 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46552         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
46553         instructions.
46554         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46555         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
46556         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46557         * benchtests/Makefile: Add rint benchtest.
46558         * benchtests/rint-inputs: Input for rint benchtest.
46560 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46562         * Versions.def (libm): Add GLIBC_2.18.
46563         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
46564         hidden libm prototypes.
46565         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
46566         * math/Makefile (libm-calls): Add s_issignaling.
46567         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
46568         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
46569         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
46570         declaration.
46571         * math/math.h [__USE_GNU] (issignaling): New macro.
46572         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
46573         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
46574         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
46575         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
46576         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
46577         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
46578         * manual/arith.texi (issignaling): New section.
46579         * manual/libm-err-tab.pl (@all_functions): Update comment.
46580         * math/gen-libm-test.pl (parse_args): Apply special handling for
46581         issignaling.
46582         * math/libm-test.inc (print_float, issignaling_test): New
46583         functions.
46584         (check_float_internal): Add issignaling checks.
46585         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
46586         default definition.
46587         * sysdeps/powerpc/math-tests.h: New file.
46588         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
46589         tests.
46590         * math/test-snan.c (TEST_FUNC): Likewise.
46592 2013-03-30  David S. Miller  <davem@davemloft.net>
46594         * po/de.po: Update from translation team.
46596 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
46598         [BZ #10357]
46599         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46600         imaginary part less than 1.0 and real part less than 0.5
46601         specially.
46602         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46603         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46604         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
46605         (cacos_test): Add more tests.
46606         (casin_test): Likewise.
46607         (casinh_test): Likewise.
46608         * sysdeps/i386/fpu/libm-test-ulps: Update.
46609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46611 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46613         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
46614         ONE with its value.
46616         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
46617         (__pow_mp): Replace ONE and MONE with their values.
46618         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46619         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
46620         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46621         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
46622         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46623         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46625         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
46627         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
46628         (__pow_mp): Replace ZERO and MZERO with their values.
46629         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46630         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46631         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46632         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
46633         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46634         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
46635         (__sqr): Likewise.
46637         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
46639         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
46641 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46643         * include/stdlib.h [!SHARED] (__call_tls_dtors):
46644         Declare with __attribute__ ((weak)).
46645         * stdlib/exit.c (__libc_atexit) [!SHARED]:
46646         Call __call_tls_dtors only if it's not NULL.
46648 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46650         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
46651         didn't do it already, then set _dl_phdr and _dl_phnum based on the
46652         magic __ehdr_start linker symbol if it's defined.
46653         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
46654         them up here if it was already done.
46656         * elf/dl-support.c (_dl_phdr): Make pointer to const.
46657         (_dl_aux_init): Use const in cast when setting it.
46658         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
46659         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
46660         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
46662         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
46663         Declare them here.
46664         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
46665         * csu/libc-tls.c: Nor here.
46666         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
46668         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
46669         (__libc_message): Never call vsyslog.
46671 2013-03-28  Alan Modra  <amodra@gmail.com>
46673         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
46674         Define as empty.
46675         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
46676         Likewise.
46678 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46680         [BZ #15214]
46681         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
46682         underflow.
46683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46685 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46687         [BZ #15304]
46688         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46689         Don't add gid passed as argument.
46691         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
46693 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
46695         [BZ #15307]
46696         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46697         imaginary part between 1.0 and 1.5 and real part less than 0.5
46698         specially.
46699         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46700         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46701         * math/libm-test.inc (cacos_test): Add more tests.
46702         (casin_test): Likewise.
46703         (casinh_test): Likewise.
46704         * sysdeps/i386/fpu/libm-test-ulps: Update.
46705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46707 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46709         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
46710         constants.
46711         (norm): Likewise.
46712         (denorm): Likewise.
46713         (__dbl_mp): Likewise.
46714         (add_magnitudes): Likewise.
46715         (sub_magnitudes): Likewise.
46716         (__add): Likewise.
46717         (__sub): Likewise.
46718         (__mul): Likewise.
46719         (__sqr): Likewise.
46720         (__inv): Likewise.
46721         (__dvd): Likewise.
46723         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
46724         commented code.
46725         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
46726         (__dubcos): Likewise.
46727         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
46728         (__ieee754_acos): Likewise.
46729         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46730         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
46731         (__exp1): Likewise.
46732         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46733         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46734         (log1): Likewise.
46735         (my_log2): Likewise.
46736         (checkint): Likewise.
46737         * sysdeps/ieee754/dbl-64/e_remainder.c
46738         (__ieee754_remainder): Likewise.
46739         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46740         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
46741         (bsloww): Likewise.
46742         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46744         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46745         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
46746         MANTISSA_STORE_T to store computations on mantissa.  Use
46747         macros for rounding and division.
46748         (denorm): Likewise.
46749         (__dbl_mp): Likewise.
46750         (add_magnitudes): Likewise.
46751         (sub_magnitudes): Likewise.
46752         (__mul): Likewise.
46753         (__sqr): Likewise.
46754         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46755         powers of two in terms of TWOPOW macro.
46756         (mp_no): Make type of mantissa as MANTISSA_T.
46757         [!RADIXI]: Define RADIXI.
46758         [!TWO52]: Define TWO52.
46759         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46761 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46763         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
46764         llroundl symbol when building for PPC32.
46766 2013-03-24  Mark H Weaver  <mhw@netris.org>
46768         * manual/arith.texi (Normalization Functions): Fix prototypes for
46769         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
46771 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46773         [BZ #13889]
46774         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
46775         high value to check if expl overflow.
46776         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
46777         to check for underflow and overflow.
46778         * math/libm-test.inc: Add exp test.
46780 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
46782         [BZ #11120]
46783         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
46784         with NOT_IN_libc.
46786 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46788         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
46789         symbol.
46791 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46793         * math/gen-libm-test.pl (parse_args, special_functions): Properly
46794         wrap blocks consisting of several statements.
46796         * sysdeps/generic/math-tests.h: New file.
46797         * sysdeps/i386/fpu/math-tests.h: Likewise.
46798         * math/test-snan.c: Include it.
46799         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
46801 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46803         [BZ #15285]
46804         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
46805         (__ieee754_j0l): Do not improve calculations using cos of twice
46806         input for inputs above LDBL_MAX / 2.0L.
46807         (__ieee754_y0l): Likewise.
46808         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
46809         (__ieee754_j1l): Do not improve calculations using cos of twice
46810         input for inputs above LDBL_MAX / 2.0L.
46811         (__ieee754_y1l): Likewise.
46812         * math/libm-test.inc (j0_test): Add another test.
46813         (j1_test): Likewise.
46814         (y0_test): Likewise.
46815         (y1_test): Likewise.
46816         * sysdeps/i386/fpu/libm-test-ulps: Update.
46818 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46820         * Rules ($(objpfx)bench-%.c): Include code from a C source
46821         file.
46823 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46825         [BZ #15287]
46826         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46827         imaginary part 1.0 and real part less than 0.5 specially.
46828         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46829         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46830         * math/libm-test.inc (cacos_test): Add more tests.
46831         (casin_test): Likewise.
46832         (casinh_test): Likewise.
46833         * sysdeps/i386/fpu/libm-test-ulps: Update.
46834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46836 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46838         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46839         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46841 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
46843         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46844         * config.make.in (config-cflags-sse4): Remove variable.
46845         (config-cflags-avx): Likewise.
46846         (config-cflags-sse2avx): Likewise.
46847         (config-cflags-novzeroupper): Likewise.
46848         (config-asflags-i686): Likewise.
46849         (have-mfma4): Likewise.
46850         (have-as-vis3): Likewise.
46851         (MIG): Likewise.
46852         * configure.in (MIG): Do not AC_SUBST.
46853         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46854         (libc_cv_cc_sse4): Do not AC_SUBST.
46855         (libc_cv_cc_avx): Likewise.
46856         (libc_cv_cc_sse2avx): Likewise.
46857         (libc_cv_cc_novzeroupper): Likewise.
46858         (libc_cv_cc_fma4): Likewise.
46859         (libc_cv_as_i686): Likewise.
46860         (libc_cv_sparc_as_vis3): Likewise.
46861         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46862         LIBC_CONFIG_VAR.
46863         (config-asflags-i686): Likewise.
46864         (config-cflags-avx): Likewise.
46865         (config-cflags-sse2avx): Likewise.
46866         (have-mfma4): Likewise.
46867         (config-cflags-novzeroupper): Likewise.
46868         * sysdeps/mach/configure.in (MIG): Likewise.
46869         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46870         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
46871         LIBC_CONFIG_VAR.
46872         (config-cflags-avx): Likewise.
46873         (config-cflags-sse2avx): Likewise.
46874         (have-mfma4): Likewise.
46875         (config-cflags-novzeroupper): Likewise.
46876         * configure: Regenerated.
46877         * sysdeps/i386/configure: Likewise.
46878         * sysdeps/mach/configure: Likewise.
46879         * sysdeps/sparc/configure: Likewise.
46880         * sysdeps/x86_64/configure: Likewise.
46882 2013-03-20  Roland McGrath  <roland@hack.frob.com>
46884         [BZ #14812]
46885         * locale/programs/localedef.c (options): Put N_ translation marker
46886         on argument names, not just descriptions.
46888 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46890         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
46892 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
46894         [BZ #14176]
46895         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
46897 2013-03-19  Roland McGrath  <roland@hack.frob.com>
46899         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
46900         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
46901         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
46902         [!BEFORE_ABORT] (before_abort): New function.
46903         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
46904         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
46905         (writev_for_fatal): New function.
46906         (WRITEV_FOR_FATAL): New macro; call that.
46907         (backtrace_and_maps): New function.
46908         (BEFORE_ABORT): New macro; call that.
46909         (struct str_list): Type removed.
46910         (__libc_message, __libc_fatal): Functions removed.
46911         Include <sysdeps/posix/libc_fatal.c> instead.
46913 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
46915         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
46916         constants.
46917         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
46918         double constants.
46920 2013-03-19  Andreas Schwab  <schwab@suse.de>
46922         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
46923         * sysdeps/gnu/configure: Regenerate.
46925         * configure.in: Substitute libc_cv_rtlddir.
46926         * configure: Regenerate.
46927         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
46928         * Makeconfig (rtlddir, inst_rtlddir): New variables.
46929         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
46930         * elf/Makefile (install-others, CFLAGS-interp.c)
46931         (ldso_install, common-ldd-rewrite): Likewise.
46932         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46933         $(inst_slibdir)/$(rtld-installed-name).
46934         * scripts/rellns-sh: Add -p option.
46935         * Makerules (make-shlib-link): Use rellns-sh to get relative name
46936         for source.
46938 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46940         * manual/nptl.texi: Renamed to ...
46941         * manual/threads.texi: ... this.
46942         * manual/Makefile (chapters): Update.
46944 2013-03-18  Roland McGrath  <roland@hack.frob.com>
46946         [BZ #14812]
46947         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
46948         on argument names, not just descriptions.
46949         * malloc/memusagestat.c (options): Likewise.
46950         * nss/getent.c (options): Likewise.
46952 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
46954         [BZ #14812]
46955         * iconv/iconv_prog.c (options): Put N_ translation marker
46956         on argument names, not just descriptions.
46957         * iconv/iconvconfig.c (options): Likewise.
46959 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
46961         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46962         implementation which is faster on all x86_64 architectures.
46963         Tested on AMD, Intel Nehalem, SNB, IVB.
46964         * sysdeps/x86_64/strnlen.S: Likewise.
46966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46967         Remove all multiarch strlen and strnlen versions.
46968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46969         Remove strlen and strnlen related parts.
46971         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
46972         Inline strlen part.
46973         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
46975         * sysdeps/x86_64/multiarch/strlen.S: Remove.
46976         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
46977         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
46978         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
46979         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46980         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
46982 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
46984         * manual/memory.texi (Malloc Tunable Parameters):
46985         Sort parameters alphabetically. Add comments for missing entries.
46987 2013-03-17  David S. Miller  <davem@davemloft.net>
46989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46991 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
46993         [BZ #15283]
46994         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
46995         for arguments at most half maximum finite value.
46996         * math/libm-test.inc (j0_test): Add more tests.
46997         (j1_test): Likewise.
46998         (y0_test): Likewise.
46999         (y1_test): Likewise.
47000         * sysdeps/i386/fpu/libm-test-ulps: Update.
47001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47003         [BZ #14155]
47004         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
47005         1 / x and functions P and Q for arguments above 0x1p256L.
47006         (__ieee754_y0l): Likewise.
47007         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
47008         (__ieee754_y1l): Likewise.
47009         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
47010         (j1_test): Likewise.
47011         (y0_test): Likewise.
47012         (y1_test): Likewise.
47014 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
47016         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
47017         variable.
47019 2013-03-15  Roland McGrath  <roland@hack.frob.com>
47021         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
47022         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
47023         zero since it's initialized to EXEC_PAGESIZE.
47025         * sysdeps/unix/sysv/linux/ldsodefs.h
47026         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
47027         * sysdeps/generic/ldsodefs.h: ... here.
47029 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
47031         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
47033         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
47034         math/test-snan.c.
47035         * math/test-snan.c: Renamed from
47036         sysdeps/powerpc/fpu/test-powerpc-snan.c.
47037         * math/Makefile (tests): Add test-snan.
47038         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
47039         test-powerpc-snan.
47041         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
47042         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
47043         functions.
47044         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
47045         __builtin_nan family of functions.
47046         * math/libm-test.inc (initialize): Initialize qnan_value with
47047         __builtin_nan family of functions.
47048         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
47049         Remove variables.
47050         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
47051         Remove functions.
47052         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
47053         storage class.  Initialize qNaN_var and sNaN_var with
47054         __builtin_nan and __builtin_nans families of functions,
47055         respectively.
47057         * math/libm-test.inc (acosh_test): Also test with qNaN input.
47058         (sqrt_test): Remove duplicate test with qNaN input.
47059         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
47060         (round_test, signbit_test, significand_test): Note missing +/-Inf
47061         as well as qNaN tests.
47063         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
47064         qNaN_var.  Fix a few strings, too.
47065         * math/libm-test.inc (nan_value): Rename to qnan_value.
47066         * math/gen-libm-test.pl (%beautify): Adjust to that.
47067         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
47068         * math/test-misc.c (main): Likewise.
47069         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
47070         to __qnan_bytes, and __qnan_union, respectively.
47071         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
47072         Likewise.
47073         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
47074         and lqnanval, respectively.
47075         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
47076         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
47077         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
47078         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
47080         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
47081         * math/test-misc.c (main) [__x86_64__]: Enable test for long
47082         doubles.
47084         * math/test-misc.c (main): Fix copy'n'pastos.
47085         * misc/tst-efgcvt.c (special): Likewise.
47087         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
47088         Remove declarations.
47090 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47092         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
47093         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
47094         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
47095         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
47097 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47099         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
47100         macro to return vdso values correctly in IFUNC implementations.
47101         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47102         Optimization by using IFUNC.
47104 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47105             Richard Henderson  <rth@redhat.com>
47106             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47108         * Makefile.in (bench): New target.
47109         * NEWS: Mention the benchmark framework.
47110         * Rules (bench): Likewise.
47111         (binaries-bench): Generate binaries for functions to
47112         benchmark.
47113         * benchtests/Makefile: New makefile for benchmark tests.
47114         * benchtests/bench-skeleton.c: New skeleton file for benchmark
47115         programs.
47116         * benchtests/exp-inputs: New input file for EXP function.
47117         * benchtests/pow-inputs: New input file for POW function.
47118         * scripts/bench.pl: New script to generate source files for
47119         benchmark programs.
47121 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47123         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47124         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
47125         computations on mantissa.  Use macros for rounding and
47126         division.
47127         (denorm): Likewise.
47128         (__dbl_mp): Likewise.
47129         (add_magnitudes): Likewise.
47130         (sub_magnitudes): Likewise.
47131         (__mul): Likewise.
47132         (__sqr): Likewise.
47133         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47134         powers of two in terms of TWOPOW macro.
47135         (mp_no): Make type of mantissa as MANTISSA_T.
47136         [!RADIXI]: Define RADIXI.
47137         [!TWO52]: Define TWO52.
47138         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47140         * manual/nptl.texi (cindex): Modify threads to pthreads.
47142 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
47144         * sysdeps/x86_64/preconfigure: Regenerated.
47146 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
47148         [BZ #14155]
47149         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
47150         0x1p28 and above.
47151         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
47152         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
47153         0x1p28 and above.
47154         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
47155         * math/libm-test.inc (j0_test): Do not allow one spurious
47156         underflow exception.
47157         (y1_test): Likewise.
47159 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47161         * manual/Makefile (chapters): Add nptl.
47162         * manual/debug.texi (Debugging Support): Add link to Threads
47163         chapter.
47164         * manual/nptl.texi: New file.
47166         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
47168 2013-03-14  Petr Baudis  <pasky@ucw.cz>
47170         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
47171         for non-NULL pointer before the memory validity test. Pointed
47172         out by Holger Brunck <holger.brunck@keymile.com>.
47174 2013-03-13  Andreas Schwab  <schwab@suse.de>
47176         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
47177         instead of .os.
47179 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
47181         * timezone/zic.c: Update from tzcode 2013b.
47183 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
47185         * manual/install.texi (Configuring and compiling):
47186         Mention i686 and i586.
47187         * INSTALL: Regenerate.
47189 2013-03-12  Roland McGrath  <roland@hack.frob.com>
47191         * sysdeps/init_array/elf-init.c: New file.
47192         * csu/elf-init.c
47193         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
47194         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
47196         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
47197         __gmon_start__ as global, but as static with a .preinit_array pointer.
47198         * sysdeps/init_array/gmon-start.c: New file.  Use that.
47199         * sysdeps/init_array/crti.S: New file, empty except for comments.
47200         * sysdeps/init_array/crtn.S: Likewise.
47202 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
47204         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
47205         definining bcopy.
47206         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47207         Remove Prefer_SSE_for_memop.
47208         * sysdeps/x86_64/multiarch/init-arch.h: Remove
47209         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
47210         HAS_PREFER_SSE_FOR_MEMOP.
47211         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
47212         memset-x86-64.
47213         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47214         Remove bzero, memset ifunc support.
47215         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
47216         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
47217         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47218         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47220 2013-03-11  Andreas Schwab  <schwab@suse.de>
47222         [BZ #15234]
47223         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
47224         by SHLIB_COMPAT.
47225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
47226         (GLIBC_2.16): Remove pthread_atfork.
47228 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
47230         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
47231         (ptestcases.h): Likewise.
47233 2013-03-08  Roland McGrath  <roland@hack.frob.com>
47235         * Makeconfig ($(common-objpfx)config.status): Depend on
47236         sysdeps/*/preconfigure{,.in} too.
47238 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
47240         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
47241         (__free_hook): Use void * instead of __malloc_ptr_t.
47242         (__malloc_hook): Likewise.
47243         (__realloc_hook): Likewise.
47244         (__memalign_hook): Likewise.
47245         (__after_morecore_hook): Likewise.
47246         * malloc/arena.c (save_malloc_hook): Likewise.
47247         (save_free_hook): Likewise.
47248         * malloc/hooks.c (malloc_hook_ini): Likewise.
47249         (realloc_hook_ini): Likewise.
47250         (memalign_hook_ini): Likewise.
47251         * malloc/malloc.c (malloc_hook_ini): Likewise.
47252         (realloc_hook_ini): Likewise.
47253         (memalign_hook_ini): Likewise.
47254         (__free_hook): Likewise.
47255         (__malloc_hook): Likewise.
47256         (__realloc_hook): Likewise.
47257         (__memalign_hook): Likewise.
47258         (__libc_malloc): Likewise.
47259         (__libc_free): Likewise.
47260         (__libc_realloc): Likewise.
47261         (__libc_memalign): Likewise.
47262         (__libc_valloc): Likewise.
47263         (__libc_pvalloc): Likewise.
47264         (__libc_calloc): Likewise.
47265         (__posix_memalign): Likewise.
47266         * malloc/morecore.c (__sbrk): Likewise.
47267         (__default_morecore): Likewise.
47269         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
47271         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
47272         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
47273         __malloc_ptrdiff_t.
47275         * malloc/malloc.h (__malloc_size_t): Remove macro.
47276         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
47277         __malloc_size_t.
47278         (old_memalign_hook): Likewise.
47279         (old_realloc_hook): Likewise.
47280         (struct hdr): Likewise.
47281         (flood): Likewise.
47282         (mallochook): Likewise.
47283         (memalignhook): Likewise.
47284         (reallochook): Likewise.
47285         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
47286         (tr_old_realloc_hook): Likewise.
47287         (tr_old_memalign_hook): Likewise.
47288         (tr_mallochook): Likewise.
47289         (tr_reallochook): Likewise.
47290         (tr_memalignhook): Likewise.
47292 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47294         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
47295         default_ldbl_pack and using as default implementation.
47296         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
47297         implementation.
47298         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
47299         redundant definition.
47300         (ldbl_insert_mantissa): Likewise.
47301         (ldbl_canonicalize): Likewise.
47302         (ldbl_nearbyint): Likewise.
47303         (ldbl_pack): Rename to ldbl_pack_ppc.
47304         (ldbl_unpack): Rename to ldbl_unpack_ppc.
47305         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
47306         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
47308 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47310         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
47311         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
47312         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
47313         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
47314         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
47315         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
47316         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
47317         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
47319 2013-03-07  Andreas Jaeger  <aj@suse.de>
47321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47322         bits/mman-linux.h.
47324 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47326         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
47327         Include mpa.h and declare __MPEXP.
47328         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
47329         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47330         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47331         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
47332         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47333         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47334         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
47336         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
47337         (__slowpow): Use long double EXPL and LOGL functions to
47338         compute POW.
47339         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47340         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47341         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
47342         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47343         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47344         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
47346         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
47347         intermediate variable to calculate exponent.
47348         (__sqr): Likewise.
47349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47350         Likewise.
47351         (__sqr): Likewise.
47353         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
47354         [!NO__SQR]: Define __sqr.
47355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
47356         and NO__SQR.  Remove all code except __mul and __sqr.  Include
47357         sysdeps/ieee754/dbl-64/mpa.c.
47358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47360         [BZ #12723]
47361         * posix/Makefile (tests): Add tst-pathconf.
47362         * posix/tst-pathconf.c: New test case.
47363         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
47364         _PC_PIPE_BUF.
47365         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
47367 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
47369         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
47371 2013-03-06  Andreas Jaeger  <aj@suse.de>
47373         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
47374         definition via __MAP_ANONYMOUS.
47376         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
47377         it's not part of Linux headers.
47379         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
47380         (MAP_HUGE_MASK): Define.
47382         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47383         Define.
47384         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47385         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47386         Define.
47387         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47388         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47389         Define.
47390         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47391         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
47392         Define.
47393         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47395         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
47396         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
47397         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
47398         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
47399         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
47400         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
47402         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47403         Handle f2fs.
47405         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47406         Handle f2fs and efivarfs.
47408         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
47409         f2fs.
47411         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
47412         (EFIVARFS_MAGIC): Add.
47413         (F2FS_LINK_MAX): Add.
47415 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47417         * stdio-common/vfprintf.c: Replace __builtin_expect with
47418         __glibc_unlikely.
47420 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
47422         [BZ #13550]
47423         * sysdeps/generic/bp-sym.h: Remove file.
47424         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
47425         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
47426         <bp-sym.h> and <bp-asm.h>.
47427         (__longjmp): Don't use BP_SYM.
47428         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
47429         and <bp-asm.h>.
47430         (memcpy): Don't use BP_SYM.
47431         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
47432         <bp-sym.h> and <bp-asm.h>.
47433         (memcpy): Don't use BP_SYM.
47434         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
47435         <bp-asm.h>.
47436         (memcpy): Don't use BP_SYM.
47437         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
47438         <bp-asm.h>.
47439         (memset): Don't use BP_SYM.
47440         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47441         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47442         (__bzero): Don't use BP_SYM.
47443         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47444         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47445         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
47446         <bp-sym.h> and <bp-asm.h>.
47447         (memcmp): Don't use BP_SYM.  Remove comment about bounded
47448         pointers.
47449         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
47450         <bp-sym.h> and <bp-asm.h>.
47451         (memcpy): Don't use BP_SYM.
47452         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
47453         <bp-sym.h> and <bp-asm.h>.
47454         (memset): Don't use BP_SYM.
47455         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47456         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47457         (__bzero): Don't use BP_SYM.
47458         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47459         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47460         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
47461         <bp-sym.h> and <bp-asm.h>.
47462         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47463         pointers.
47464         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
47465         <bp-sym.h> and <bp-asm.h>.
47466         (memcpy): Don't use BP_SYM.
47467         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
47468         <bp-sym.h> and <bp-asm.h>.
47469         (memset): Don't use BP_SYM.
47470         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47471         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47472         (__bzero): Don't use BP_SYM.
47473         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47474         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47475         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
47476         <bp-sym.h> and <bp-asm.h>.
47477         (__memchr): Don't use BP_SYM.
47478         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
47479         <bp-sym.h> and <bp-asm.h>.
47480         (memcmp): Don't use BP_SYM.  Remove comment about bounded
47481         pointers.
47482         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
47483         <bp-sym.h> and <bp-asm.h>.
47484         (memcpy): Don't use BP_SYM.
47485         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
47486         <bp-sym.h> and <bp-asm.h>.
47487         (__mempcpy): Don't use BP_SYM.
47488         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
47489         <bp-sym.h> and <bp-asm.h>.
47490         (__memrchr): Don't use BP_SYM.
47491         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
47492         <bp-sym.h> and <bp-asm.h>.
47493         (memset): Don't use BP_SYM.
47494         (__bzero): Likewise.
47495         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
47496         <bp-sym.h> and <bp-asm.h>.
47497         (__rawmemchr): Don't use BP_SYM.
47498         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
47499         <bp-sym.h> and <bp-asm.h>.
47500         (__STRCMP): Don't use BP_SYM.
47501         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
47502         <bp-sym.h> and <bp-asm.h>.
47503         (strchr): Don't use BP_SYM.
47504         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
47505         <bp-sym.h> and <bp-asm.h>.
47506         (__strchrnul): Don't use BP_SYM.
47507         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
47508         <bp-sym.h> and <bp-asm.h>.
47509         (strlen): Don't use BP_SYM.
47510         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
47511         <bp-sym.h> and <bp-asm.h>.
47512         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47513         pointers.
47514         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
47515         <bp-sym.h> and <bp-asm.h>.
47516         (__strnlen): Don't use BP_SYM.
47517         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
47518         <bp-sym.h> and <bp-asm.h>.
47519         (__GI__setjmp): Don't use BP_SYM.
47520         (_setjmp): Likewise.
47521         (__sigsetjmp): Likewise.
47522         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
47523         (L(start_addresses)): Don't use BP_SYM.
47524         (_start): Likewise.
47525         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
47526         <bp-asm.h>.
47527         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
47528         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
47529         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47530         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47531         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
47532         <bp-asm.h>.
47533         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
47534         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
47535         about bounded pointers.
47536         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47537         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47538         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
47539         <bp-asm.h>.
47540         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
47541         about bounded pointers.  Remove GKM FIXME comments.
47542         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47543         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
47544         <bp-asm.h>.
47545         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
47546         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
47547         Remove GKM FIXME comments.
47548         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47549         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47550         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
47551         <bp-asm.h>.
47552         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
47553         about bounded pointers.  Remove GKM FIXME comment.
47554         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
47555         and <bp-asm.h>.
47556         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47557         pointers.
47558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
47559         <bp-sym.h> and <bp-asm.h>.
47560         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
47562         <bp-sym.h> and <bp-asm.h>.
47563         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47564         comment.
47566 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47568         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
47569         call free(NULL).
47571 2013-03-05  David S. Miller  <davem@davemloft.net>
47573         * po/es.po: Update from translation team.
47575 2013-03-05  Andreas Jaeger  <aj@suse.de>
47577         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
47578         <bits/mman-linux.h>.
47579         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47580         is fine.
47581         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
47582         <bits/mman-linux.h> to end of file.
47583         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47584         is fine.
47585         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
47586         <bits/mman-linux.h> to end of file.
47587         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47588         is fine.
47589         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
47590         <bits/mman-linux.h> to end of file.
47592         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
47593         (MCL_CURRENT, MCL_FUTURE): Define here.
47595 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47597         [BZ #15232]
47598         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
47599         attribute_hidden.
47600         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47602 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47604         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
47605         fourth parameter needed for rt_sigprocmask syscall.
47606         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47607         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47608         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
47609         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47610         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47611         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
47613 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
47615         [BZ #13550]
47616         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
47617         comment about bounded pointers.
47618         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
47619         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
47621 2013-03-04  Andreas Jaeger  <aj@suse.de>
47623         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
47624         common definitions.
47626         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
47627         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
47628         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
47629         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47630         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47631         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47633 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47635         [BZ #15055]
47636         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
47637         __ieee754_sqrl instead of __sqrl.
47639 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
47641         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
47642         * sysdeps/powerpc/fpu_control.h: ... here.
47643         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
47644         * sysdeps/powerpc/bits/fenvinline.h: ... here.
47645         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
47646         * sysdeps/powerpc/bits/mathinline.h: ... here.
47648 2013-03-01  Roland McGrath  <roland@hack.frob.com>
47650         * elf/dl-hwcaps.c (_dl_important_hwcaps):
47651         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
47652         to just [NEED_DL_SYSINFO_DSO].
47653         * elf/dl-support.c: Likewise.
47654         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
47655         * elf/rtld.c (dl_main): Likewise.
47656         * elf/setup-vdso.h (setup_vdso): Likewise.
47657         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
47658         * sysdeps/unix/sysv/linux/dl-sysdep.c
47659         (_dl_discover_osversion): Likewise.
47661 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
47663         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
47664         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47666 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47668         * NEWS: Mention libm performance improvements and non-x86 PI
47669         futex support.
47671         * csu/libc-start.c (__pthread_initialize_minimal): Change
47672         function arguments.
47673         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47675 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
47677         [BZ #13550]
47678         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
47679         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
47680         <bp-sym.h> and <bp-asm.h>.
47681         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47682         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
47683         and <bp-asm.h>.
47684         (memcpy): Don't use BP_SYM.
47685         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
47686         <bp-asm.h>.
47687         (__mpn_add_n): Don't use BP_SYM.
47688         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
47689         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
47690         and <bp-asm.h>.
47691         (__mpn_addmul_1): Don't use BP_SYM.
47692         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47693         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
47694         <bp-sym.h>.
47695         (_setjmp): Don't use BP_SYM.
47696         (__novmx_setjmp): Likewise.
47697         (__GI__setjmp): Likewise.
47698         (__vmx_setjmp): Likewise.
47699         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
47700         <bp-sym.h>.
47701         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
47702         (__bzero): Don't use BP_SYM.
47703         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47704         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47705         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
47706         <bp-sym.h> and <bp-asm.h>.
47707         (memcpy): Don't use BP_SYM.
47708         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
47709         <bp-sym.h> and <bp-asm.h>.
47710         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47711         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
47712         <bp-sym.h> and <bp-asm.h>.
47713         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47714         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
47715         <bp-asm.h>.
47716         (__mpn_lshift): Don't use BP_SYM.
47717         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47718         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
47719         <bp-asm.h>.
47720         (memset): Don't use BP_SYM.
47721         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47722         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47723         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
47724         <bp-asm.h>.
47725         (__mpn_mul_1): Don't use BP_SYM.
47726         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47727         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
47728         <bp-sym.h> and <bp-asm.h>.
47729         (memcmp): Don't use BP_SYM.
47730         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
47731         <bp-sym.h> and <bp-asm.h>.
47732         (memcpy): Don't use BP_SYM.
47733         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
47734         <bp-sym.h> and <bp-asm.h>.
47735         (memset): Don't use BP_SYM.
47736         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
47737         <bp-sym.h> and <bp-asm.h>.
47738         (strncmp): Don't use BP_SYM.
47739         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
47740         <bp-sym.h> and <bp-asm.h>.
47741         (memcpy): Don't use BP_SYM.
47742         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
47743         <bp-sym.h> and <bp-asm.h>.
47744         (memset): Don't use BP_SYM.
47745         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
47746         <bp-sym.h> and <bp-asm.h>.
47747         (__memchr): Don't use BP_SYM.
47748         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
47749         <bp-sym.h> and <bp-asm.h>.
47750         (memcmp): Don't use BP_SYM.
47751         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
47752         <bp-sym.h> and <bp-asm.h>.
47753         (memcpy): Don't use BP_SYM.
47754         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
47755         <bp-sym.h> and <bp-asm.h>.
47756         (__mempcpy): Don't use BP_SYM.
47757         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
47758         <bp-sym.h> and <bp-asm.h>.
47759         (__memrchr): Don't use BP_SYM.
47760         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
47761         <bp-sym.h> and <bp-asm.h>.
47762         (memset): Don't use BP_SYM.
47763         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
47764         <bp-sym.h> and <bp-asm.h>.
47765         (__rawmemchr): Don't use BP_SYM.
47766         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
47767         <bp-sym.h> and <bp-asm.h>.
47768         (__STRCMP): Don't use BP_SYM.
47769         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
47770         <bp-sym.h> and <bp-asm.h>.
47771         (strchr): Don't use BP_SYM.
47772         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
47773         <bp-sym.h> and <bp-asm.h>.
47774         (__strchrnul): Don't use BP_SYM.
47775         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
47776         <bp-sym.h> and <bp-asm.h>.
47777         (strlen): Don't use BP_SYM.
47778         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
47779         <bp-sym.h> and <bp-asm.h>.
47780         (strncmp): Don't use BP_SYM.
47781         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
47782         <bp-sym.h> and <bp-asm.h>.
47783         (__strnlen): Don't use BP_SYM.
47784         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
47785         <bp-asm.h>.
47786         (__mpn_rshift): Don't use BP_SYM.
47787         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47788         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
47789         <bp-sym.h> and <bp-asm.h>.
47790         (__sigsetjmp): Don't use BP_SYM.
47791         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
47792         (L(start_addresses)): Don't use BP_SYM.
47793         (_start): Likewise.
47794         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
47795         <bp-asm.h>.
47796         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
47797         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47798         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47799         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
47800         <bp-asm.h>.
47801         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
47802         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47803         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47804         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
47805         <bp-asm.h>.
47806         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47807         comments.
47808         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47809         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
47810         <bp-asm.h>.
47811         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
47812         FIXME comments.
47813         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47814         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47815         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47816         <bp-asm.h>.
47817         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47818         comment.
47819         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47820         and <bp-asm.h>.
47821         (strncmp): Don't use BP_SYM,
47822         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47823         <bp-asm.h>.
47824         (__mpn_sub_n): Don't use BP_SYM.
47825         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47826         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47827         and <bp-asm.h>.
47828         (__mpn_submul_1): Don't use BP_SYM.
47829         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47831         <bp-sym.h> and <bp-asm.h>.
47832         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47834         <bp-sym.h> and <bp-asm.h>.
47835         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47836         comment.
47838 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47840         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47841         Use ZK to minimize writes to Z.
47842         (sub_magnitudes): Simplify code a bit.
47843         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47844         Use ZK to minimize writes to Z.
47845         (sub_magnitudes): Simplify code a bit.
47847 2013-02-27  Roland McGrath  <roland@hack.frob.com>
47849         * csu/gmon-start.c: Add special exception to license text.
47851 2013-02-27  Richard Henderson  <rth@redhat.com>
47853         * scripts/config.guess: Update from config.git.
47854         * scripts/config.sub: Likewise.
47856 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47858         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47860         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47862         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47864         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47866         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47868 2013-02-26  Roland McGrath  <roland@hack.frob.com>
47870         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
47871         [$(build-shared = yes].
47873 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47875         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
47876         (__mul): Reduce iterations for calculating mantissa.
47878         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
47879         MPTWO.
47880         (__mpranred): Likewise.
47882         [BZ #15160]
47883         * malloc/memusagestat.c (main): Draw graphs for heap and stack
47884         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
47886 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
47888         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
47889         Define __attribute__.
47891 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47893         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
47894         unused.
47895         * posix/regex_internal.h (__attribute): Remove.
47896         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47897         (re_string_context_at): Likewise.
47898         (bitset_not): Use __attribute__ and mark function as possibly
47899         unused.
47900         (bitset_merge): Likewise.
47901         (bitset_mask): Likewise.
47902         (re_string_char_size_at): Likewise.
47903         (re_string_wchar_at): Likewise.
47904         (re_string_elem_size_at): Likewise.
47906 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47908         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
47909         code.
47910         (cc32): Likewise.
47912         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
47913         (__acr): Likewise.
47914         (__cpy): Likewise.
47915         (norm): Likewise.
47916         (denorm): Likewise.
47917         (__dbl_mp): Likewise.
47918         (add_magnitudes): Likewise.
47919         (sub_magnitudes): Likewise.
47920         (__mul): Likewise.
47921         (__inv): Likewise.
47923         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
47924         style.
47926         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
47927         style.
47929         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
47930         code.
47932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
47933         up changes with default code.
47934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47935         Likewise.
47937 2013-02-24  Allan McRae  <allan@archlinux.org>
47939         * manual/socket.texi (The Internet Namespace): Order menu items
47940         to match that in the file.
47942         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
47943         node listing of the info page menu.
47945 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
47947         [BZ #13550]
47948         * sysdeps/i386/bp-asm.h: Remove file.
47949         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47950         (PARMS): Do not use macros from bp-asm.h.
47951         (S1): Likewise.
47952         (S2): Likewise.
47953         (SIZE): Likewise.
47954         (__mpn_add_n): Do not use BP_SYM
47955         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47956         "bp-asm.h".
47957         (PARMS): Do not use macros from bp-asm.h.
47958         (S1): Likewise.
47959         (SIZE): Likewise.
47960         (__mpn_addmul_1): Do not use BP_SYM
47961         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47962         "bp-asm.h".
47963         (PARMS): Do not use macros from bp-asm.h.
47964         (SIGMSK): Likewise.
47965         (_setjmp): Likewise.  Do not use BP_SYM.
47966         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47967         "bp-asm.h".
47968         (PARMS): Do not use macros from bp-asm.h.
47969         (SIGMSK): Likewise.
47970         (setjmp): Likewise.  Do not use BP_SYM.
47971         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
47972         "bp-asm.h".
47973         (PARMS): Do not use macros from bp-asm.h.
47974         (__frexp): Do not use BP_SYM.
47975         (frexp): Likewise.
47976         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
47977         "bp-asm.h".
47978         (PARMS): Do not use macros from bp-asm.h.
47979         (__frexpf): Do not use BP_SYM.
47980         (frexpf): Likewise.
47981         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
47982         "bp-asm.h".
47983         (PARMS): Do not use macros from bp-asm.h.
47984         (__frexpl): Do not use BP_SYM.
47985         (frexpl): Likewise.
47986         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
47987         "bp-asm.h".
47988         (PARMS): Do not use macros from bp-asm.h.
47989         (__remquo): Do not use BP_SYM.
47990         (remquo): Likewise.
47991         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
47992         "bp-asm.h".
47993         (PARMS): Do not use macros from bp-asm.h.
47994         (__remquof): Do not use BP_SYM.
47995         (remquof): Likewise.
47996         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
47997         "bp-asm.h".
47998         (PARMS): Do not use macros from bp-asm.h.
47999         (__remquol): Do not use BP_SYM.
48000         (remquol): Likewise.
48001         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
48002         "bp-asm.h".
48003         (PARMS): Do not use macros from bp-asm.h.
48004         (DEST): Likewise.
48005         (SRC): Likewise.
48006         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
48007         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
48008         "bp-asm.h".
48009         (PARMS): Do not use macros from bp-asm.h.
48010         (strlen): Do not use BP_SYM.
48011         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
48012         "bp-asm.h".
48013         (PARMS): Do not use macros from bp-asm.h.
48014         (S1): Likewise.
48015         (S2): Likewise.
48016         (SIZE): Likewise.
48017         (__mpn_add_n): Do not use BP_SYM.
48018         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
48019         "bp-asm.h".
48020         (PARMS): Do not use macros from bp-asm.h.
48021         (S1): Likewise.
48022         (SIZE): Likewise.
48023         (__mpn_addmul_1): Do not use BP_SYM.
48024         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
48025         weak_alias.
48026         (bzero): Likewise.
48027         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
48028         "bp-asm.h".
48029         (PARMS): Do not use macros from bp-asm.h.
48030         (S): Likewise.
48031         (SIZE): Likewise.
48032         (__mpn_lshift): Do not use BP_SYM.
48033         * sysdeps/i386/i586/memcpy.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         (LEN): Likewise.
48039         (memcpy): Likewise.  Do not use BP_SYM.
48040         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
48041         libc_hidden_def and weak_alias.
48042         (mempcpy): Do not use BP_SYM in weak_alias.
48043         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
48044         "bp-asm.h".
48045         (PARMS): Do not use macros from bp-asm.h.
48046         (DEST): Likewise.
48047         (LEN): Likewise.
48048         [!BZERO_P] (CHR): Likewise.
48049         (memset): Likewise.  Do not use BP_SYM.
48050         * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
48056         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
48057         "bp-asm.h".
48058         (PARMS): Do not use macros from bp-asm.h.
48059         (S): Likewise.
48060         (SIZE): Likewise.
48061         (__mpn_rshift): Do not use BP_SYM.
48062         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
48063         "bp-asm.h".
48064         (PARMS): Do not use macros from bp-asm.h.
48065         (STR): Likewise.
48066         (CHR): Likewise.
48067         (strchr): Likewise.  Do not use BP_SYM.
48068         (index): Do not use BP_SYM in weak_alias.
48069         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
48070         "bp-asm.h".
48071         (PARMS): Do not use macros from bp-asm.h.
48072         (DEST): Likewise.
48073         (SRC): Likewise.
48074         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
48075         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
48076         "bp-asm.h".
48077         (PARMS): Do not use macros from bp-asm.h.
48078         (strlen): Do not use BP_SYM.
48079         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
48080         "bp-asm.h".
48081         (PARMS): Do not use macros from bp-asm.h.
48082         (S1): Likewise.
48083         (S2): Likewise.
48084         (SIZE): Likewise.
48085         (__mpn_sub_n): Do not use BP_SYM.
48086         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
48087         "bp-asm.h".
48088         (PARMS): Do not use macros from bp-asm.h.
48089         (S1): Likewise.
48090         (SIZE): Likewise.
48091         (__mpn_submul_1): Do not use BP_SYM.
48092         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
48093         "bp-asm.h".
48094         (PARMS): Do not use macros from bp-asm.h.
48095         (S1): Likewise.
48096         (S2): Likewise.
48097         (SIZE): Likewise.
48098         (__mpn_add_n): Do not use BP_SYM.
48099         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
48100         weak_alias.
48101         (bzero): Likewise.
48102         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
48103         "bp-asm.h".
48104         (PARMS): Do not use macros from bp-asm.h.
48105         (BLK2): Likewise.
48106         (LEN): Likewise.
48107         (memcmp): Do not use BP_SYM.
48108         (bcmp): Do not use BP_SYM in weak_alias.
48109         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
48110         "bp-asm.h".
48111         (PARMS): Do not use macros from bp-asm.h.
48112         (DEST): Likewise.
48113         (SRC): Likewise.
48114         (LEN): Likewise.
48115         (memcpy): Likewise.  Do not use BP_SYM.
48116         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
48117         "bp-asm.h".
48118         (PARMS): Do not use macros from bp-asm.h.
48119         (DEST): Likewise.
48120         (SRC): Likewise.
48121         (LEN): Likewise.
48122         (memmove): Likewise.  Do not use BP_SYM.
48123         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
48124         "bp-asm.h".
48125         (PARMS): Do not use macros from bp-asm.h.
48126         (DEST): Likewise.
48127         (SRC): Likewise.
48128         (LEN): Likewise.
48129         (__mempcpy): Likewise.  Do not use BP_SYM.
48130         (mempcpy): Do not use BP_SYM in weak_alias.
48131         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
48132         "bp-asm.h".
48133         (PARMS): Do not use macros from bp-asm.h.
48134         (DEST): Likewise.
48135         (LEN): Likewise.
48136         [!BZERO_P] (CHR): Likewise.
48137         (memset): Likewise.  Do not use BP_SYM.
48138         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
48139         "bp-asm.h".
48140         (PARMS): Do not use macros from bp-asm.h.
48141         (STR2): Likewise.
48142         (strcmp): Do not use BP_SYM.
48143         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
48144         "bp-asm.h".
48145         (PARMS): Do not use macros from bp-asm.h.
48146         (STR): Likewise.
48147         (DELIM): Likewise.
48148         [USE_AS_STRTOK_R] (SAVE): Likewise.
48149         (FUNCTION): Likewise.  Do not use BP_SYM.
48150         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
48151         aliases.
48152         (strtok_r): Likewise.
48153         (__GI___strtok_r): Likewise.
48154         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48155         (PARMS): Do not use macros from bp-asm.h.
48156         (S): Likewise.
48157         (SIZE): Likewise.
48158         (__mpn_lshift): Do not use BP_SYM.
48159         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48160         (PARMS): Do not use macros from bp-asm.h.
48161         (STR): Likewise.
48162         (CHR): Likewise.
48163         (__memchr): Do not use BP_SYM.
48164         (memchr): Do not use BP_SYM in weak_alias.
48165         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48166         (PARMS): Do not use macros from bp-asm.h.
48167         (BLK2): Likewise.
48168         (LEN): Likewise.
48169         (memcmp): Do not use BP_SYM.
48170         (bcmp): Do not use BP_SYM in weak_alias.
48171         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
48172         (PARMS): Do not use macros from bp-asm.h.
48173         (S1): Likewise.
48174         (SIZE): Likewise.
48175         (__mpn_mul_1): Do not use BP_SYM.
48176         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
48177         "bp-asm.h".
48178         (PARMS): Do not use macros from bp-asm.h.
48179         (STR): Likewise.
48180         (CHR): Likewise.
48181         (__rawmemchr): Do not use BP_SYM.
48182         (rawmemchr): Do not use BP_SYM in weak_alias.
48183         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48184         (PARMS): Do not use macros from bp-asm.h.
48185         (S): Likewise.
48186         (SIZE): Likewise.
48187         (__mpn_rshift): Do not use BP_SYM.
48188         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48189         (PARMS): Do not use macros from bp-asm.h.
48190         (SIGMSK): Likewise.
48191         (__sigsetjmp): Likewise.  Do not use BP_SYM.
48192         * sysdeps/i386/start.S: Do not include "bp-sym.h".
48193         (_start): Do not use BP_SYM.
48194         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
48195         (PARMS): Do not use macros from bp-asm.h.
48196         (DEST): Likewise.
48197         (SRC): Likewise.
48198         (__stpcpy): Likewise.  Do not use BP_SYM.
48199         (stpcpy): Do not use BP_SYM in weak_alias.
48200         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
48201         "bp-asm.h".
48202         (PARMS): Do not use macros from bp-asm.h.
48203         (DEST): Likewise.
48204         (SRC): Likewise.
48205         (LEN): Likewise.
48206         (__stpncpy): Likewise.  Do not use BP_SYM.
48207         (stpncpy): Do not use BP_SYM in weak_alias.
48208         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48209         (PARMS): Do not use macros from bp-asm.h.
48210         (STR): Likewise.
48211         (CHR): Likewise.
48212         (strchr): Likewise.  Do not use BP_SYM.
48213         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
48214         "bp-asm.h".
48215         (PARMS): Do not use macros from bp-asm.h.
48216         (STR): Likewise.
48217         (CHR): Likewise.
48218         (__strchrnul): Likewise.  Do not use BP_SYM.
48219         (strchrnul): Do not use BP_SYM in weak_alias.
48220         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
48221         "bp-asm.h".
48222         (PARMS): Do not use macros from bp-asm.h.
48223         (STOP): Likewise.
48224         (strcspn): Do not use BP_SYM.
48225         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
48226         "bp-asm.h".
48227         (PARMS): Do not use macros from bp-asm.h.
48228         (STR): Likewise.
48229         (STOP): Likewise.
48230         (strpbrk): Likewise.  Do not use BP_SYM.
48231         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
48232         "bp-asm.h".
48233         (PARMS): Do not use macros from bp-asm.h.
48234         (STR): Likewise.
48235         (CHR): Likewise.
48236         (strrchr): Likewise.  Do not use BP_SYM.
48237         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
48238         (PARMS): Do not use macros from bp-asm.h.
48239         (SKIP): Likewise.
48240         (strspn): Do not use BP_SYM.
48241         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
48242         (PARMS): Do not use macros from bp-asm.h.
48243         (STR): Likewise.
48244         (DELIM): Likewise.
48245         (SAVE): Likewise.
48246         (FUNCTION): Likewise.  Do not use BP_SYM.
48247         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
48248         aliases.
48249         (strtok_r): Likewise.
48250         (__GI___strtok_r): Likewise.
48251         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48252         (PARMS): Do not use macros from bp-asm.h.
48253         (S1): Likewise.
48254         (S2): Likewise.
48255         (SIZE): Likewise.
48256         (__mpn_sub_n): Do not use BP_SYM.
48257         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
48258         "bp-asm.h".
48259         (PARMS): Do not use macros from bp-asm.h.
48260         (S1): Likewise.
48261         (SIZE): Likewise.
48262         (__mpn_submul_1): Do not use BP_SYM.
48263         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
48264         <bp-sym.h>.
48265         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
48266         and <bp-asm.h>.
48267         (PARMS): Do not use macros from bp-asm.h.
48268         (FLAGS): Likewise.
48269         (PTID): Likewise.
48270         (TLS): Likewise.
48271         (CTID): Likewise.
48272         (__clone): Do not use BP_SYM.
48273         (clone): Do not use BP_SYM in weak_alias.
48274         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
48275         and <bp-asm.h>.
48276         (PARMS): Do not use macros from bp-asm.h.
48277         (LEN): Likewise.
48278         (__mmap64): Do not use BP_SYM.
48279         (mmap64): Do not use BP_SYM in weak_alias.
48280         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
48281         <bp-sym.h> and <bp-asm.h>.
48282         (PARMS): Do not use macros from bp-asm.h.
48283         (__posix_fadvise64_l64): Do not use BP_SYM.
48284         * sysdeps/unix/sysv/linux/i386/semtimedop.S
48285         (PARMS): Do not use macros from bp-asm.h.
48286         (NSOPS): Likewise.
48287         (semtimedop): Do not use BP_SYM.
48288         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
48289         and <bp-asm.h>.
48291 2013-02-21  Allan McRae  <allan@archlinux.org>
48293         * manual/message.texi (Charset conversion in gettext):
48294         Move @end statement to beginning of line.
48296 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
48299         static.
48300         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48301         Likewise.
48303         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
48304         (denorm): Likewise.
48305         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
48306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
48308 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48310         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
48311         tail-call to the resolved function if pltexit isn't needed.
48313 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
48316         or Y being zero as being unlikely.
48317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48318         Likewise.
48320 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
48322         * manual/nss.texi (System Databases and Name Service Switch):
48323         Remove frobnicate @pxref.
48325 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
48327         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48328         __attribute__ ((unused)) to __attribute__ ((__unused__)).
48330 2013-02-20  Petr Machata  <pmachata@redhat.com>
48332         * elf/elf.h (R_ARM_TARGET1): New macro.
48333         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
48334         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
48335         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
48336         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
48337         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
48338         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
48339         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
48340         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
48341         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
48342         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
48343         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
48344         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
48345         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
48346         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
48347         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
48348         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
48349         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
48350         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
48351         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
48352         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
48353         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
48354         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
48355         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
48356         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
48357         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
48358         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
48359         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
48360         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
48361         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
48362         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
48363         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
48364         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
48365         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
48366         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
48367         (R_ARM_THM_GOT_BREL12): Likewise.
48368         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
48369         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
48370         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
48371         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
48372         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
48373         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
48374         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
48375         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
48376         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
48378 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
48380         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48381         __attribute_used__ to __attribute__ ((unused)).
48383 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48385         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
48386         powerpc mpa.c.
48387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
48388         comment formatting.
48389         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
48391 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
48393         [BZ #13550]
48394         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
48395         Remove macro.
48396         (ENTER): Remove both macro definitions.
48397         (LEAVE): Likewise.
48398         (CHECK_BOUNDS_LOW): Likewise.
48399         (CHECK_BOUNDS_HIGH): Likewise.
48400         (CHECK_BOUNDS_BOTH): Likewise.
48401         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
48402         (RETURN_BOUNDED_POINTER): Likewise.
48403         (RETURN_NULL_BOUNDED_POINTER): Likewise.
48404         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
48405         (POP_ERRNO_LOCATION_RETURN): Likewise.
48406         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
48407         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48408         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
48409         macros.
48410         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48411         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
48412         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
48413         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
48414         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
48415         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
48416         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
48417         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
48418         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
48419         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
48420         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
48421         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
48422         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48423         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
48424         removed macros.
48425         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48426         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
48427         macros.
48428         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48429         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
48430         * sysdeps/i386/i586/memset.S (memset): Likewise.
48431         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
48432         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48433         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
48434         macros.
48435         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48436         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
48437         Change uses of L(2) to L(out).
48438         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
48439         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
48440         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
48441         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48442         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
48443         removed macros.
48444         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48445         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
48446         macros.
48447         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48448         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
48449         (RETURN): Do not use macro LEAVE.
48450         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
48451         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
48452         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
48453         * sysdeps/i386/i686/memset.S (memset): Likewise.
48454         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
48455         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
48456         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48457         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
48458         Likewise.
48459         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48460         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
48461         L(1_2) and L(1_3) into L(1).
48462         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
48463         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
48464         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48465         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
48466         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48467         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
48468         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
48469         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48470         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
48471         macros.
48472         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
48473         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48474         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
48475         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
48476         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
48477         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48478         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
48479         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
48480         * sysdeps/i386/strcspn.S (strcspn): Likewise.
48481         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
48482         * sysdeps/i386/strrchr.S (strrchr): Likewise.
48483         * sysdeps/i386/strspn.S (strspn): Likewise.
48484         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
48485         conditional code.
48486         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48487         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
48488         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
48489         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
48490         L(1_3) into L(1_1).
48491         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
48492         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48493         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
48494         macros.
48495         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48497 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
48499         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
48500         macro.
48502 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48504         * math/atest-exp.c (exp_mpn): Remove ROUND.
48505         * math/atest-exp2.c (exp_mpn): Likewise.
48506         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
48508         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
48509         * stdlib/tst-tls-atexit-lib.c: Likewise.
48510         * stdlib/tst-tls-atexit.c: Likewise.
48512 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48514         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
48515         and __attribute_alloc_size__.
48517 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48519         * include/programs/xmalloc.h: Change __attribute_alloc_size to
48520         __attribute_alloc_size__.
48521         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
48522         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
48524 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48526         * include/programs/xmalloc.h: New file.
48527         * catgets/gencat.c: Include it.
48528         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
48529         * elf/pldd.c: Likewise.
48530         * iconv/iconv_charmap.c: Likewise.
48531         * iconv/iconvconfig.c: Likewise.
48532         * iconv/strtab.c: Likewise.
48533         * locale/programs/locale.c: Likewise.
48534         * locale/programs/localedef.h: Likewise.
48535         * locale/programs/simple-hash.c: Likewise.
48536         * nscd/nscd.h: Likewise.
48537         * nss/makedb.c: Likewise.
48538         * sysdeps/generic/ldconfig.h: Likewise.
48540 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48542         * Versions.def: Add GLIBC_2.18.
48543         * include/link.h (struct link_map): New member l_tls_dtor_count.
48544         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
48545         (__call_tls_dtors): Likewise.
48546         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
48547         __cxa_thread_atexit_impl.
48548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48549         Likewise.
48550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48551         Likewise.
48552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48553         Likewise.
48554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48555         Likewise.
48556         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
48558         Likewise.
48559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
48560         Likewise.
48561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48563         Likewise.
48564         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
48565         (tests): Add test case tst-tls-atexit.
48566         (modules-names): Add shared library for tst-tls-atexit.
48567         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
48568         (GLIBC_PRIVATE): Add __call_tls_dtors.
48569         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
48570         for libstdc++.
48571         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
48572         * stdlib/tst-tls-atexit.c: New test case.
48573         * stdlib/tst-tls-atexit-lib.c: New test case.
48575         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
48577         * elf/Versions (ld): Add _dl_find_dso_for_object.
48578         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
48579         * elf/dl-open.c (_dl_find_dso_for_object): New function.
48580         (dl_open_worker): Use _dl_find_dso_for_object.
48581         * elf/dl-sym.c (do_sym): Likewise.
48582         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
48584 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48586         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
48587         Syntactic changes only.
48588         (_dl_runtime_profile): Do a tail-call to the resolved function.
48590 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
48592         [BZ #13550]
48593         * sysdeps/x86_64/bp-asm.h: Remove file.
48594         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
48595         <bp-sym.h> and <bp-asm.h>.
48596         (__clone): Do not use BP_SYM.
48597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
48598         <bp-sym.h> and <bp-asm.h>.
48599         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48600         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
48601         "bp-asm.h".
48602         (_setjmp): Do not use BP_SYM.
48603         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
48604         "bp-asm.h".
48605         (setjmp): Do not use BP_SYM.
48606         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
48607         libc_hidden_def.
48608         (mempcpy): Do not use BP_SYM in weak_alias.
48609         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
48610         "bp-asm.h".
48611         (strchr): Do not use BP_SYM.
48612         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
48613         "bp-asm.h".
48614         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
48615         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
48616         (_start): Do not use BP_SYM.
48617         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
48618         "bp-asm.h".
48619         (strcat): Do not use BP_SYM.
48620         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
48621         "bp-asm.h".
48622         (STRCMP): Do not use BP_SYM.
48623         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
48624         "bp-asm.h".
48625         (STRCPY): Do not use BP_SYM.
48626         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
48627         "bp-asm.h".
48628         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
48629         "bp-asm.h".
48630         (FUNCTION): Do not use BP_SYM.
48631         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
48632         weak_alias.
48633         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
48635 2013-02-17  Andreas Jaeger  <aj@suse.de>
48637         * time/Versions: Sort entries.
48638         * string/Versions: Likewise.
48639         * resolv/Versions: Likewise.
48640         * posix/Versions: Likewise.
48641         * iconv/Versions: Likewise.
48642         * elf/Versions: Likewise.
48643         * wcsmbs/Versions: Likewise.
48645 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48647         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
48648         loop termination condition.
48650         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
48651         variable to calculate EZ.
48652         (__sqr): Likewise.
48654         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
48655         the lower precision input.
48657 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
48659         [BZ #13550]
48660         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
48661         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
48662         (run-via-rtld-prefix): Do not handle %-bp tests.
48663         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
48664         (all-object-suffixes): Remove .ob.
48665         (bppfx): Remove variable.
48666         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
48667         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
48668         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
48669         [$(build-bounded) = yes] (libtype.ob): Likewise.
48670         * Makerules (elide-routines.ob): Remove variable.
48671         (do-tests-clean): Do not handle *-bp.out.
48672         (common-mostlyclean): Do not handle *-bp and *-bp.out.
48673         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
48674         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
48675         (tests): Do not include $(tests-bp.out).
48676         (xtests): Do not include $(xtests-bp.out).
48677         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
48678         [$(build-bounded) = yes] ($(addprefix
48679         $(objpfx),$(binaries-bounded))): Remove rule.
48680         ($(objpfx)%-bp.out): Remove rule.
48681         * config.make.in (build-bounded): Remove variable.
48682         * crypt/Makefile [$(build-bounded) = yes]
48683         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
48684         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
48685         append to variable.
48686         [$(build-bounded) = yes] (install-lib): Likewise.
48687         [$(build-bounded) = yes] (generated): Likewise.
48688         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
48689         Remove rule.
48690         * intl/Makefile [$(build-bounded) = yes]
48691         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
48692         * math/Makefile [$(build-bounded) = yes]
48693         ($(tests:%=$(objpfx)%-bp): Likewise.
48694         * misc/Makefile [$(build-bounded) = yes]
48695         ($(objpfx)tst-tsearch-bp): Likewise.
48696         * nptl/Makeconfig (bounded-thread-library): Remove variable.
48697         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
48698         Remove dependency.
48699         * string/Makefile (o-objects.ob): Remove variable.
48700         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
48701         (CFLAGS-.ob): Remove variable.
48702         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
48703         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
48704         both definitions of variable.
48705         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
48706         (ASFLAGS-.ob): Remove variable.
48708 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
48710         [BZ #13550]
48711         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
48712         Remove __BOUNDED_POINTERS__ from condition.
48713         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
48714         * string/bits/string2.h [!__NO_STRING_INLINES &&
48715         !__BOUNDED_POINTERS__]: Likewise.
48716         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
48717         Likewise.
48718         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
48719         Remove conditional code.
48720         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
48721         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
48722         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
48723         condition.
48725         [BZ #13550]
48726         * csu/libc-start.c: Do not include <bp-sym.h>.
48727         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
48728         * elf/dl-open.c: Do not include <bp-sym.h>.
48729         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
48730         * math/fegetenv.c: Do not include <bp-sym.h>.
48731         (fegetenv): Do not use BP_SYM in versioned symbols.
48732         * nptl/sysdeps/pthread/bits/libc-lockP.h
48733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
48734         <bp-sym.h>.
48735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48736         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
48737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48738         (__pthread_mutex_destroy): Likewise.
48739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48740         (__pthread_mutex_lock): Likewise.
48741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48742         (__pthread_mutex_trylock): Likewise.
48743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48744         (__pthread_mutex_unlock): Likewise.
48745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48746         (__pthread_mutexattr_init): Likewise.
48747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48748         (__pthread_mutexattr_destroy): Likewise.
48749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48750         (__pthread_mutexattr_settype): Likewise.
48751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48752         (__pthread_rwlock_init): Likewise.
48753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48754         (__pthread_rwlock_destroy): Likewise.
48755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48756         (__pthread_rwlock_rdlock): Likewise.
48757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48758         (__pthread_rwlock_tryrdlock): Likewise.
48759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48760         (__pthread_rwlock_wrlock): Likewise.
48761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48762         (__pthread_rwlock_trywrlock): Likewise.
48763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48764         (__pthread_rwlock_unlock): Likewise.
48765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48766         (__pthread_key_create): Likewise.
48767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48768         (__pthread_setspecific): Likewise.
48769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48770         (__pthread_getspecific): Likewise.
48771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
48772         Likewise.
48773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48774         (_pthread_cleanup_push_defer): Likewise.
48775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48776         (_pthread_cleanup_pop_restore): Likewise.
48777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48778         (pthread_setcancelstate): Likewise.
48779         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
48780         <bp-sym.h>.
48781         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
48782         (memchr): Do not use BP_SYM in weak_alias.
48783         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
48784         (fegetenv): Do not use BP_SYM in versioned symbols.
48785         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
48786         (fesetenv): Do not use BP_SYM in versioned symbols.
48787         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48788         (feupdateenv): Do not use BP_SYM in versioned symbols.
48789         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48790         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48791         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
48792         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
48793         (open64): Do not use BP_SYM in weak_alias.
48794         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
48795         (fegetenv): Do not use BP_SYM in versioned symbols.
48796         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
48797         (fesetenv): Do not use BP_SYM in versioned symbols.
48798         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48799         (feupdateenv): Do not use BP_SYM in versioned symbols.
48800         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
48801         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
48802         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
48803         (feraiseexcept): Do not use BP_SYM in versioned symbols.
48804         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48805         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48806         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
48807         <bp-sym.h>.
48808         (__libc_start_main): Do not use BP_SYM.
48810 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48813         redundant return line.
48814         (norm): Likewise.
48815         (denorm): Likewise.
48816         (dbl_mp): Likewise.
48817         (sub_magnitudes): Likewise.
48818         (__add): Likewise.
48819         (__sub): Likewise.
48820         (__mul): Likewise.
48821         (__inv): Likewise.
48822         (__dvd): Likewise.
48823         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48824         (norm): Likewise.
48825         (denorm): Likewise.
48826         (dbl_mp): Likewise.
48827         (sub_magnitudes): Likewise.
48828         (__add): Likewise.
48829         (__sub): Likewise.
48830         (__mul): Likewise.
48831         (__inv): Likewise.
48832         (__dvd): Likewise.
48834         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48835         instead of __mul.
48836         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48837         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48838         (cc32): Likewise.
48840         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48841         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48842         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48843         of __mul for squares.
48844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48845         function
48846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48847         Likewise.
48848         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48849         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48851 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
48853         [BZ #13550]
48854         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48855         code.
48856         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48857         prototype or function definition.  Rename ubp_* variables and
48858         parameters.  Remove argv definitions conditional on
48859         [__BOUNDED_POINTERS__].
48860         * debug/backtrace.c (__backtrace): Do not use __unbounded.
48861         * elf/dl-runtime.c (_dl_fixup): Likewise.
48862         * include/set-hooks.h (RUN_HOOK): Likewise.
48863         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48864         definition.
48865         * string/strcpy.c (strcpy): Do not use __unbounded.
48866         * sysdeps/generic/frame.h (struct layout): Likewise.
48867         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48868         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48869         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48870         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
48871         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
48872         (__backtrace): Likewise.
48873         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
48874         use __ptrvalue.
48875         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
48876         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48877         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
48878         Likewise.
48879         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
48880         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
48881         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48882         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48883         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
48884         Do not use __unbounded.
48885         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
48886         Rename __unboundedrlimits parameter to rlimits in prototype.
48887         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
48888         Do not use __unbounded.
48889         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
48890         not use __ptrvalue.
48891         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48892         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
48893         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48894         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
48895         __ptrvalue or __unbounded.
48896         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
48897         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48898         use __unbounded.
48899         (__new_msgctl): Do not use __ptrvalue.
48900         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
48901         __unbounded.
48902         (__libc_msgrcv): Do not use __ptrvalue.
48903         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
48904         startup_info): Do not use __unbounded.
48905         (__libc_start_main): Likewise.  Rename ubp_* variables and
48906         parameters.  Remove argv definitions conditional on
48907         [__BOUNDED_POINTERS__].
48908         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
48909         __ptrvalue.
48910         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
48911         use __unbounded.
48912         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
48913         or __ptrvalue.
48914         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
48915         use __unbounded.
48916         (__new_shmctl): Do not use __ptrvalue.
48917         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
48918         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
48919         Likewise.
48920         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
48921         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
48922         (__libc_sigaction): Likewise.
48923         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
48924         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
48925         Likewise.
48926         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48928 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
48930         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
48932         * string/mempcpy.c: Implement by calling memcpy.
48934 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48936         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
48938         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
48939         evaluation.
48941         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
48942         values in the mantissa.
48944         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
48945         minimize writes to Z.
48946         (sub_magnitudes): Simplify code a bit.
48948 2013-02-12  Roland McGrath  <roland@hack.frob.com>
48950         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
48951         from the message.  The linker prefixes all warnings with that already.
48953 2013-02-12  Andreas Schwab  <schwab@suse.de>
48955         [BZ #15078]
48956         * posix/regexec.c (extend_buffers): Add parameter min_len.
48957         (check_matching): Pass minimum needed length.
48958         (clean_state_log_if_needed): Likewise.
48959         (get_subexp): Likewise.
48960         * posix/Makefile (tests): Add bug-regex34.
48961         (bug-regex34-ENV): Define.
48962         * posix/bug-regex34.c: New file.
48964         [BZ #11561]
48965         * posix/regcomp.c (parse_bracket_exp): When looking up collating
48966         elements compare against the byte sequence of it, not its name.
48967         * posix/Makefile (tests): Add bug-regex35.
48968         (bug-regex35-ENV): Define.
48969         * posix/bug-regex35.c: New file.
48971 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48973         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
48974         comment.
48975         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
48976         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48977         (CHECK_EOL): Add undef.
48979 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
48981         * bits/stdlib-bsearch.h: New file.
48982         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
48983         * stdlib/stdlib.h: Likewise.
48985 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48987         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
48988         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
48989         declaration.
48990         * manual/search.texi (Array Search Function): Add missing const in
48991         lfind prototype.
48992         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
48993         declaration to use rlim_t.
48994         (Basic Scheduling Functions): Remove erroneous const from
48995         sched_getparam prototype.  Remove erroneous * from
48996         sched_get_priority_max and sched_get_priority_min prototypes.
48997         (Resource Usage): Fix summary @comment on vtimes to refer to
48998         sys/vtimes.h rather than vtimes.h.
48999         Add missing *s in vtimes prototype.
49000         (Limits on Resources): Fix ulimit prototype to return long int.
49001         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
49002         prototypes to use long int rather than double.
49003         (BSD Random): Fix initstate and setstate to use char *, not void *.
49004         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
49005         prototype to make second argument 'struct aiocb64 *const[]'.
49006         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
49007         (Status of AIO Operations): Remove erroneous const in aio_return and
49008         aio_return64 prototypes.
49009         (Synchronizing I/O): Fix sync prototype to return void.
49010         * manual/startup.texi (Suboptions): Remove an erroneous const in
49011         getsubopt prototype.
49012         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
49013         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
49014         use size_t rather than int.
49015         (Scanning All Users): Likewise for getpwent_r.
49016         (Setting Groups): Add missing const to setgroups prototype.
49017         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
49018         * manual/socket.texi (Host Names): Fix gethostbyaddr and
49019         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
49020         'const void *' rather than 'const char *'.
49021         (Host Address Functions): Likewise for inet_ntop.
49022         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
49023         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
49024         ssize_t for return value.
49025         (Sending Data): Likewise for send, sendto, sendmsg.
49026         (Socket Option Functions): Add a missing const in setsockopt prototype.
49027         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
49028         use wchar_t for the argument.
49029         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
49030         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
49031         take no arguments.
49032         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
49033         double/float/long double for second argument.
49034         Fix return types of significand, significandf, significandl.
49035         * manual/filesys.texi (Setting Permissions): Use mode_t for second
49036         argument in fchmod prototype.
49037         (File Owner): Use uid_t and gid_t in fchown prototype.
49038         (File Times): Add const to utimes, futimes, and lutimes prototypes.
49039         (Making Special Files): Use mode_t and dev_t in mknod prototype.
49040         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
49041         use 'const struct dirent **' as argument types to CMP function pointer
49042         argument.
49043         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
49044         (File Times): Fix summary magic @comment for struct utimbuf and utime
49045         to refer to utime.h, not time.h.
49046         * manual/string.texi (Argz Functions): Add missing const in
49047         argz_extract and argz_next prototypes.
49048         (Finding Tokens in a String): Likewise for basename.
49049         (String/Array Comparison): Fix typo in wcscasecmp prototype.
49050         (Copying and Concatenation): Fix typo in wmemmove prototype.
49051         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
49052         (Signal Stack): Remove erroneous const in sigstack prototype.
49053         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
49054         prototype.
49055         (Simple Calendar Time): Likewise for stime.
49056         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
49057         prototype.
49058         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
49059         say sys/sysctl.h instead.
49060         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
49061         and vsyslog prototypes.
49063 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49065         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
49066         Remove.
49068 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49070         * misc/sys/mman.h: Fix typo in mremap comment.
49072 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49074         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
49075         the '\0' terminator.
49077 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49079         [BZ #13550]
49080         * debug/segfault.c: Don't include <bp-checks.h>.
49081         * sysdeps/generic/bp-checks.h: Remove file.
49082         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
49083         (__GETDENTS): Don't use CHECK_N.
49084         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
49085         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
49086         (__getgroups): Don't use CHECK_N.
49087         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
49088         (setgroups): Don't use CHECK_N.
49089         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
49090         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
49091         (__libc_msgrcv): Don't use CHECK_N.
49092         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
49093         (__libc_msgsnd): Don't use CHECK_N.
49094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
49095         <bp-checks.h>.
49096         (__libc_pread): Don't use CHECK_N.
49097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
49098         include <bp-checks.h>.
49099         (__libc_pread64): Don't use CHECK_N.
49100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
49101         include <bp-checks.h>.
49102         (__libc_pwrite): Don't use CHECK_N.
49103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
49104         include <bp-checks.h>.
49105         (__libc_pwrite64): Don't use CHECK_N.
49106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
49107         <bp-checks.h>.
49108         (__libc_pread): Don't use CHECK_N.
49109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
49110         include <bp-checks.h>.
49111         (__libc_pread64): Don't use CHECK_N.
49112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
49113         include <bp-checks.h>.
49114         (__libc_pwrite): Don't use CHECK_N.
49115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
49116         include <bp-checks.h>.
49117         (__libc_pwrite64): Don't use CHECK_N.
49118         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
49119         (do_pread): Don't use CHECK_N.
49120         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
49121         (do_pread64): Don't use CHECK_N.
49122         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
49123         (do_pwrite): Don't use CHECK_N.
49124         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
49125         (do_pwrite64): Don't use CHECK_N.
49126         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
49127         (__libc_readv): Don't use CHECK_N.
49128         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
49129         (semop): Don't use CHECK_N.
49130         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
49131         <bp-checks.h>.
49132         (semtimedop): Don't use CHECK_N.
49133         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
49134         (__libc_pread): Don't use CHECK_N.
49135         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
49136         <bp-checks.h>.
49137         (__libc_pread64): Don't use CHECK_N.
49138         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
49139         <bp-checks.h>.
49140         (__libc_pwrite): Don't use CHECK_N.
49141         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
49142         <bp-checks.h>.
49143         (__libc_pwrite64): Don't use CHECK_N.
49144         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
49145         <bp-checks.h>.
49146         (__libc_msgrcv): Don't use CHECK_N.
49147         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
49148         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
49149         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
49150         (__libc_writev): Don't use CHECK_N.
49152 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49154         * string/strcpy.c: Removed unused variable.
49156         * Makeconfig (+sysdep-includes): Define with := rather than =.
49157         Use an existing include/ subdir of each sysdeps dir before it.
49159 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49161         * nscd/connection.c (register_traced_file): Comment function.
49162         [HAVE_INOTIFY] (union __inev): Define.
49163         [HAVE_INOTIFY] (inotify_check_files): New function.
49164         [HAVE_INOTIFY] (clear_db_cache): Likewise.
49165         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
49166         clear_db_cache.
49167         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
49169 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49171         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
49172         loaded if not already and that a failure is permanent.
49174 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49176         [BZ #15006]
49177         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
49178         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
49180 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49182         [BZ #13550]
49183         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
49184         (CHECK_1_NULL_OK): Likewise.
49185         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
49186         (__fxstat): Do not use CHECK_1.
49187         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
49188         <bp-checks.h>.
49189         (___fxstat64): Do not use CHECK_1.
49190         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49191         <bp-checks.h>.
49192         (__fxstatat): Do not use CHECK_1.
49193         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49194         <bp-checks.h>.
49195         (__fxstatat64): Do not use CHECK_1.
49196         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
49197         <bp-checks.h>.
49198         (__fxstat): Do not use CHECK_1.
49199         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49200         <bp-checks.h>.
49201         (__fxstatat): Do not use CHECK_1.
49202         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49203         <bp-checks.h>.
49204         (__getresgid): Do not use CHECK_1.
49205         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49206         <bp-checks.h>.
49207         (__getresuid): Do not use CHECK_1.
49208         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
49209         <bp-checks.h>.
49210         (__lxstat): Do not use CHECK_1.
49211         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49212         <bp-checks.h>.
49213         (__old_msgctl): Do not use CHECK_1.
49214         (__new_msgctl): Likewise.
49215         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
49216         <bp-checks.h>.
49217         (__new_setrlimit): Do not use CHECK_1.
49218         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49219         <bp-checks.h>.
49220         (__old_shmctl): Do not use CHECK_1.
49221         (__new_shmctl): Likewise.
49222         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
49223         <bp-checks.h>.
49224         (__xstat): Do not use CHECK_1.
49225         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
49226         (__lxstat): Do not use CHECK_1.
49227         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
49228         <bp-checks.h>.
49229         (___lxstat64): Do not use CHECK_1.
49230         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
49231         (__old_msgctl): Do not use CHECK_1.
49232         (__new_msgctl): Likewise.
49233         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
49234         <bp-checks.h>.
49235         (__gettimeofday): Do not use CHECK_1.
49236         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
49237         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
49238         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
49239         <bp-checks.h>.
49240         (__gettimeofday): Do not use CHECK_1.
49241         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
49242         (__old_shmctl): Do not use CHECK_1_NULL_OK.
49243         (__new_shmctl): Do not use CHECK_1.
49244         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
49245         <bp-checks.h>.
49246         (do_sigtimedwait): Do not use CHECK_1.
49247         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
49248         <bp-checks.h>.
49249         (do_sigwaitinfo): Do not use CHECK_1.
49250         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
49251         <bp-checks.h>.
49252         (msgctl): Do not use CHECK_1.
49253         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
49254         <bp-checks.h>.
49255         (shmctl): Do not use CHECK_1.
49256         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
49257         (ustat): Do not use CHECK_1.
49258         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
49259         <bp-checks.h>.
49260         (__fxstat): Do not use CHECK_1.
49261         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49262         <bp-checks.h>.
49263         (__fxstatat): Do not use CHECK_1.
49264         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
49265         <bp-checks.h>.
49266         (__lxstat): Do not use CHECK_1.
49267         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
49268         <bp-checks.h>.
49269         (__xstat): Do not use CHECK_1.
49270         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
49271         (__xstat): Do not use CHECK_1.
49272         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
49273         (___xstat64): Do not use CHECK_1.
49275         [BZ #13550]
49276         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
49277         definitions.
49278         (CHECK_BOUNDS_HIGH): Likewise.
49279         * string/strcpy.c: Do not include <bp-checks.h>.
49280         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
49282 2013-02-07  Roland McGrath  <roland@hack.frob.com>
49284         * nscd/nscd-client.h (__nscd_drop_map_ref):
49285         Add __attribute__ ((unused)).
49286         * nis/nss-nisplus.h (niserr2nss): Likewise.
49288         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
49289         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
49291         * csu/libc-tls.c (init_static_tls, init_slotinfo):
49292         Remove inline keyword.
49293         * include/rounding-mode.h (round_away): Likewise.
49294         * libio/wfileops.c (adjust_wide_data): Likewise.
49295         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
49296         (__m128i_strloadu_tolower): Likewise.
49297         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
49298         (__m128i_strloadu_tolower): Likewise.
49299         * time/mktime.c (ydhms_diff): Likewise.
49300         * locale/elem-hash.h (elem_hash): Likewise.
49301         * locale/setlocale.c (setdata): Likewise.
49302         * posix/regex_internal.h (re_string_char_size_at): Likewise.
49303         (re_string_wchar_at): Likewise.
49304         (bitset_not, bitset_merge, bitset_mask): Likewise.
49305         [!(__GNUC__ > 3)] (inline): Remove macro.
49306         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
49307         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
49308         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
49309         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
49310         * string/memcmp.c (memcmp_bytes): Likewise.
49311         * locale/programs/locarchive.c (compute_hashval): Likewise.
49312         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
49313         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
49314         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
49315         * nss/getent.c (print_rpc, print_protocols): Likewise.
49316         (print_passwd, print_group, print_aliases): Likewise.
49317         * nis/nss-nisplus.h (niserr2nss): Likewise.
49318         * nscd/connections.c (restart_p): Likewise.
49319         Change return type to bool.
49321 2013-02-05  Roland McGrath  <roland@hack.frob.com>
49323         * Makeconfig (all-Depend-files): Add existing
49324         $(sorted-subdirs:=/Depend) files.
49325         (all-subdirs): Remove nss.
49326         * sysdeps/unix/inet/Subdirs: Add it here instead.
49327         * hesiod/Depend: New file.
49329         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
49330         instead of calling alloca.
49332         * io/lseek.c (__lseek): Rename to __libc_lseek.
49333         Define __lseek as an alias.
49335         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
49337 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
49339         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
49340         else clause and remove check for non-standard endianness.
49342 2013-02-04  David S. Miller  <davem@davemloft.net>
49344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49346 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
49348         [BZ #13550]
49349         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
49350         (__ubp_memchr): Remove prototype.
49351         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
49352         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49353         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
49354         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49355         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
49356         Remove alias.
49357         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
49358         (__ubp_memchr): Likewise.
49359         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
49360         (__ubp_memchr): Likewise.
49361         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
49362         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
49363         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
49364         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
49365         CHECK_STRING.
49366         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49367         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
49368         (__getcwd): Do not use CHECK_STRING.
49369         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49370         <bp-checks.h>.
49371         (__real_chown): Do not use CHECK_STRING.
49372         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
49373         <bp-checks.h>.
49374         (fchownat): Do not use CHECK_STRING.
49375         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
49376         CHECK_STRING.
49377         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49378         <bp-checks.h>.
49379         (__lchown): Do not use CHECK_STRING.
49380         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49381         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49382         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49383         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
49384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49385         include <bp-checks.h>.
49386         (truncate64): Do not use CHECK_STRING.
49387         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49388         <bp-checks.h>.
49389         (__real_chown): Do not use CHECK_STRING.
49390         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49391         <bp-checks.h>.
49392         (__lchown): Do not use CHECK_STRING.
49393         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49394         <bp-checks.h>.
49395         (__chown): Do not use CHECK_STRING.
49396         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
49397         <bp-checks.h>.
49398         (truncate64): Do not use CHECK_STRING.
49399         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
49400         Likewise.
49401         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
49402         (__xmknod): Do not use CHECK_STRING.
49403         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49404         <bp-checks.h>.
49405         (__xmknodat): Do not use CHECK_STRING.
49406         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49407         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
49409 2013-02-04  Andreas Schwab  <schwab@suse.de>
49411         [BZ #14142]
49412         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
49413         * include/netdb.h: Likewise for h_errno.
49414         * elf/tst-stackguard1.c: Include <tls.h>.
49416 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
49418         * elf/link.h (struct link_map): Extend the l_addr comment.
49419         * include/link.h (struct link_map): Likewise.
49421 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
49423         [BZ #13550]
49424         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
49425         (BOUNDED_1): Remove macro.
49426         * debug/backtrace.c: Don't include <bp-checks.h>.
49427         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
49428         (__backtrace): Likewise.
49429         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
49430         <bp-checks.h>.
49431         (__backtrace): Don't use BOUNDED_1.
49432         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
49433         <bp-checks.h>.
49434         (__backtrace): Don't use BOUNDED_1.
49435         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
49436         (__backtrace): Don't use BOUNDED_1.
49437         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
49438         (shmat): Don't use BOUNDED_N.
49440 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
49442         [BZ #13550]
49443         * sysdeps/generic/bp-start.h: Remove file.
49444         * csu/libc-start.c: Don't include <bp-start.h>.
49445         (LIBC_START_MAIN): Set up __environ directly instead of using
49446         INIT_ARGV_and_ENVIRON.
49447         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
49448         <bp-start.h>.
49450         [BZ #13550]
49451         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
49452         definitions.
49453         (CHECK_FCNTL): Likewise.
49454         (CHECK_N_PAGES): Likewise.
49456         [BZ #13550]
49457         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
49458         definitions.
49459         (CHECK_SIGSET_NULL_OK): Likewise.
49460         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
49461         <bp-checks.h>.
49462         (sigpending): Don't use CHECK_SIGSET.
49463         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
49464         <bp-checks.h>.
49465         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49466         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
49467         <bp-checks.h>.
49468         (do_sigsuspend): Don't use CHECK_SIGSET.
49469         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
49470         use CHECK_SIGSET.
49471         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
49472         (do_sigwait): Don't use CHECK_SIGSET.
49473         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
49474         use CHECK_SIGSET.
49475         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
49476         include <bp-checks.h>.
49477         (sigpending): Don't use CHECK_SIGSET.
49478         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
49479         include <bp-checks.h>.
49480         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49481         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
49482         <bp-checks.h>.
49483         (sigpending): Don't use CHECK_SIGSET.
49484         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
49485         <bp-checks.h>.
49486         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49488         [BZ #13550]
49489         * sysdeps/generic/bp-semctl.h: Remove file.
49490         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
49491         <bp-checks.h> and <bp-semctl.h>.
49492         (__old_semctl): Don't use CHECK_SEMCTL.
49493         (__new_semctl): Likewise.
49494         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
49495         and <bp-semctl.h>.
49496         (__old_semctl): Don't use CHECK_SEMCTL.
49497         (__new_semctl): Likewise.
49498         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
49499         <bp-checks.h> and <bp-semctl.h>.
49500         (__old_semctl): Don't use CHECK_SEMCTL.
49501         (__new_semctl): Likewise.
49502         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
49503         <bp-checks.h> and <bp-semctl.h>.
49504         (semctl): Don't use CHECK_SEMCTL.
49506         [BZ #13550]
49507         * Makerules (elide-bp-thunks): Remove variable.
49508         (elide-routines.oS): Don't use $(elide-bp-thunks).
49509         (elide-routines.os): Likewise.
49510         (elide-routines.o): Likewise.
49511         (elide-routines.op): Likewise.
49512         (elide-routines.og): Likewise.
49513         (objects): Don't use $(bp-thunks).
49514         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
49515         include.
49516         (common-generated): Do not add s-proto-bp.d.
49517         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
49518         (int): Likewise.
49519         (typ): Likewise.
49520         Do not generate makefile rules for bounded-pointer thunks.
49521         * sysdeps/generic/bp-thunks.h: Remove file.
49522         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
49523         * sysdeps/unix/s-proto-bp.S: Likewise.
49525         [BZ #15062]
49526         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
49527         parts of result separately when argument is not close to line from
49528         -i to i and one part of argument is small.
49529         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49530         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49531         * math/libm-test.inc (cacos_test): Add more tests.
49532         (casin_test): Likewise.
49533         (casinh_test): Likewise.
49534         * sysdeps/i386/fpu/libm-test-ulps: Update.
49535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49537 2013-01-31  David S. Miller  <davem@davemloft.net>
49539         * po/de.po: Update from translation team.
49541 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
49543         * time/tzfile.c: Include stdint.h for SIZE_MAX.
49545 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
49547         * configure.in (_AC_PROG_CC_C89): New definition.
49548         * configure: Regenerate.
49550         * configure.in (AC_PROG_CPP): New definition.
49551         * configure: Regenerate.
49553 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
49555         * debug/tst-backtrace.h: New file.
49556         * debug/tst-backtrace2.c: Include tst-backtrace.h.
49557         (ret): Remove variable.
49558         (x): Likewise.
49559         (FAIL): Remove macro.
49560         (NO_INLINE): Likewise.
49561         (fn1): Use match function instead of strstr.
49562         * debug/tst-backtrace3.c: Include tst-backtrace.h.
49563         (ret): Remove variable.
49564         (x): Likewise.
49565         (FAIL): Remove macro.
49566         (NO_INLINE): Likewise.
49567         (fn): Use match function instead of strstr.
49568         * debug/tst-backtrace4.c: Include tst-backtrace.h.
49569         (ret): Remove variable.
49570         (x): Likewise.
49571         (FAIL): Remove macro.
49572         (NO_INLINE): Likewise.
49573         (handle_signal): Use match function instead of strstr.
49574         * debug/tst-backtrace5.c: Include tst-backtrace.h.
49575         (ret): Remove variable.
49576         (x): Likewise.
49577         (FAIL): Remove macro.
49578         (NO_INLINE): Likewise.
49579         (handle_signal): Use match function instead of strstr.
49581 2013-01-23  Roland McGrath  <roland@hack.frob.com>
49583         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
49585 2013-01-23  David S. Miller  <davem@davemloft.net>
49587         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
49588         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
49589         argument of CAS if possible.
49590         * sysdeps/sparc/sparc64/bits/atomic.h
49591         (__arch_compare_and_exchange_val_32_acq): Likewise.
49592         (__arch_compare_and_exchange_val_64_acq): Likewise.
49594 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
49596         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
49597         * sysdeps/posix/ulimit.c: ... this.
49598         Include <limits.h>.
49599         * sysdeps/unix/bsd/ulimit.c: Remove file.
49601 2013-01-23  Adam Conrad  <adconrad@0c3.net>
49603         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
49604         (LDFLAGS-tst-array5): Likewise.
49606 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
49608         [BZ #15036]
49609         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
49610         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
49611         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
49612         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
49614 2013-01-21  David S. Miller  <davem@davemloft.net>
49616         * sysdeps/sparc/backtrace.c: New file.
49617         * sysdeps/sparc/sparc32/backtrace.h: New file.
49618         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
49619         * sysdeps/sparc/sparc64/backtrace.h: New file.
49620         * sysdeps/sparc/sparc64/backtrace.c: Delete.
49621         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
49622         -funwind-tables.
49624 2013-01-21  Andreas Schwab  <schwab@suse.de>
49626         [BZ #15020]
49627         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
49628         closed its stdout.
49630 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
49632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
49633         "mpa2.h".
49634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49636 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
49637             Mark Mitchell  <mark@codesourcery.com>
49638             Tom de Vries  <tom@codesourcery.com>
49639             Paul Pluzhnikov  <ppluzhnikov@google.com>
49641         * debug/tst-backtrace2.c: New file.
49642         * debug/tst-backtrace3.c: Likewise.
49643         * debug/tst-backtrace4.c: Likewise.
49644         * debug/tst-backtrace5.c: Likewise.
49645         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
49646         (CFLAGS-tst-backtrace3.c): Likewise.
49647         (CFLAGS-tst-backtrace4.c): Likewise.
49648         (CFLAGS-tst-backtrace5.c): Likewise.
49649         (LDFLAGS-tst-backtrace2): Likewise.
49650         (LDFLAGS-tst-backtrace3): Likewise.
49651         (LDFLAGS-tst-backtrace4): Likewise.
49652         (LDFLAGS-tst-backtrace5): Likewise.
49653         (tests): Add new tests tst-backtrace2, tst-backtrace3,
49654         tst-backtrace4 and tst-backtrace5.
49656 2013-01-18  Anton Blanchard  <anton@samba.org>
49657             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49659         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
49660         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
49661         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
49662         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
49663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49664         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
49665         "+r" and remove output regs list as redundant.  Add explicit inline
49666         asm to specify register of return val to work around compiler codegen
49667         bug.  Remove (int) cast on return value.  Add return type parameter to
49668         use in macro so that this macro does not truncate return value for
49669         64-bit values.
49670         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
49671         pass to INTERNAL_VSYSCALL_NCS.
49672         (INLINE_VSYSCALL): Add 'long int' as return type to
49673         INTERNAL_VSYSCALL_NCS macro invocation.
49674         (INTERNAL_VSYSCALL): Add 'long int' as return type to
49675         INTERNAL_VSYSCALL_NCS macro invocation.
49676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49678 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49680         [BZ #14496]
49681         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
49682         Fix application of SIMD FP exception mask.
49684         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
49685         mp_no from a power of two.
49686         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
49687         __mpexp_twomm1.  Use __pow_mp.
49689         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
49690         multiplication.
49692 2013-01-17  David S. Miller  <davem@davemloft.net>
49694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49696 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49698         [BZ #15023]
49699         * include/complex.h: Condition contents on [!_COMPLEX_H].
49700         (__kernel_casinhf): New prototype.
49701         (__kernel_casinh): Likewise.
49702         (__kernel_casinhl): Likewise.
49703         * math/Makefile (libm_calls): Add k_casinh.
49704         * math/k_casinh.c: New file.
49705         * math/k_casinhf.c: Likewise.
49706         * math/k_casinhl.c: Likewise.
49707         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
49708         finite nonzero arguments.
49709         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
49710         finite nonzero arguments.
49711         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
49712         finite nonzero arguments.
49713         * math/s_casinh.c: Do not include <float.h>.
49714         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
49715         * math/s_casinhf.c: Do not include <float.h>.
49716         (__casinhf): Move code for finite nonzero arguments to
49717         k_casinhf.c.
49718         * math/s_casinhl.c: Do not include <float.h>.
49719         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
49720         redefine.
49721         (__casinhl): Move code for finite nonzero arguments to
49722         k_casinhl.c.
49723         * math/libm-test.inc (cacos_test): Add more tests.
49724         * sysdeps/i386/fpu/libm-test-ulps: Update.
49725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49727 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
49729         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
49730         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
49731         [!HAVE_MREMAP]: Remove [defined linux] case.
49732         * malloc/arena.c: Do not include <malloc-sysdep.h>.
49734 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49736         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
49738 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
49740         * elf/elf.h (R_386_SIZE32): New relocation.
49741         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
49742         R_386_SIZE32.
49743         (elf_machine_rela): Likewise.
49744         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49745         R_X86_64_SIZE64 and R_X86_64_SIZE32.
49747 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49749         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
49750         (FP_FAST_FMA): Do not define.
49751         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
49752         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
49753         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
49754         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
49755         !_SOFT_FLOAT]: Likewise.
49756         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
49757         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
49758         value.
49759         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
49760         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
49761         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
49762         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
49763         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
49764         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
49765         file.
49767 2013-01-16  Andreas Schwab  <schwab@suse.de>
49769         [BZ #14327]
49770         * include/stdlib.h (__mktemp): Add declaration.
49771         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
49772         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
49774 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49776         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
49777         definitions.
49778         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49779         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
49780         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
49781         definitions here.
49782         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
49783         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
49784         definitions.
49785         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
49786         and ONE.
49787         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
49788         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
49789         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
49790         definitions.
49791         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
49792         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
49793         definitions.
49794         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49796         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
49798 2013-01-15  David S. Miller  <davem@davemloft.net>
49800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49801         trunc{,f} to libm-sysdep_routes.
49802         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
49804         file.
49805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
49806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
49807         file.
49808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
49809         file.
49810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
49811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49812         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49813         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49814         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49815         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49816         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49817         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49820         nearbyint{,f} to libm-sysdep_routes.
49821         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49823         New file.
49824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49825         file.
49826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49827         New file.
49828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49829         file.
49830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49832         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49833         file.
49834         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49835         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49836         file.
49837         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49838         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49839         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49841         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49842         libc_feholdexcept and libc_fesetenv.
49844 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
49846         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49848 2013-01-14  David S. Miller  <davem@davemloft.net>
49850         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49851         (SPARC_ASM_VIS2_IFUNC): Likewise.
49852         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49854         use of 'siam' instruction.
49855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49856         Likewise.
49857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49858         Likewise.
49859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49860         Likewise.
49861         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49862         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49863         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49864         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49866         file.
49867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49868         file.
49869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49870         file.
49871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
49872         file.
49873         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
49874         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
49875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
49876         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
49877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
49878         new VIS2 routines.
49879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49882         Likewise.
49883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49884         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49885         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49886         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
49888         routines to libm-sysdep_routines.
49889         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49892         fdim/fdimf to libm-sysdep_routines.
49893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
49894         file.
49895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
49896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
49897         file.
49898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
49899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
49900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
49901         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
49902         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
49903         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
49904         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
49906 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49908         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
49909         to optimize copies.
49911         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
49912         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
49916         local variable MPTWO.
49917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49918         Likewise.
49920 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49922         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
49923         GLOB_NOESCAPE.
49925 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49927         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
49929 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49931         * manual/pattern.texi (glob_t): Document gl_flags.
49932         (glob64_t): Likewise.
49934 2013-01-11  David S. Miller  <davem@davemloft.net>
49936         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
49937         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
49938         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
49939         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
49940         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
49941         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
49942         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
49943         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
49944         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
49945         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
49946         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
49947         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
49948         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
49950         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49951         sparc V9 rather than using V8 code.
49952         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49953         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49955         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49956         Move to...
49957         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
49958         Here.
49960 2013-01-11  Roland McGrath  <roland@hack.frob.com>
49962         [BZ #14941]
49963         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49964         not in the main loop.
49965         * configure: Regenerated.
49967 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
49969         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
49970         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
49971         to just #else.
49972         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
49973         [!__GLIBC_HAVE_LONG_LONG] case.
49974         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
49975         condition to just #else.
49976         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
49977         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
49978         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
49979         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
49980         unconditional.
49981         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
49982         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49983         #elif condition to just #else.
49984         * sysdeps/unix/sysv/linux/sys/sysmacros.h
49985         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
49986         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49987         #elif condition to just #else.
49989 2013-01-11  Steve Ellcey  <sellcey@mips.com>
49991         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
49992         (EF_MIPS_ARCH_64): Fix value.
49993         (EF_MIPS_ARCH_32R2): New.
49994         (EF_MIPS_ARCH_64R2): New.
49996 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
49998         * Makeconfig (+link-pie-before-libc): New.
49999         (+link-pie-after-libc): Likewise.
50000         (+link-pie-tests): Likewise.
50001         (+link-pie): Rewritten.
50002         (link-before-libc): Remove $(config-LDFLAGS).
50003         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
50004         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
50005         (config-LDFLAGS): Renamed to ...
50006         (rtld-LDFLAGS): This.
50007         (rtld-tests-LDFLAGS): New macro.
50008         (link-libc-rpath-link): Likewise.
50009         (link-libc-tests-rpath-link): Likewise.
50010         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
50011         (link-libc): Prepand $(link-libc-rpath-link).
50012         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
50013         (test-program-prefix): New macro.
50014         (test-via-rtld-prefix): Likewise.
50015         (test-program-cmd): Likewise.
50016         (host-test-program-cmd): Likewise.
50017         * Makefile ($(common-objpfx)testrun.sh): Replace
50018         $(run-program-prefix) with $(test-program-prefix).
50019         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
50020         $(rtld-LDFLAGS).
50021         ($(common-objpfx)shlib.lds): Likewise.
50022         (build-module-helper): Likewise.
50023         ($(common-objpfx)format.lds): Likewise.
50024         * Rules (binaries-pie-tests): New.
50025         (binaries-pie-notests): Likewise.
50026         (binaries-pie): Rewritten.
50027         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
50028         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
50029         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
50030         (make-test-out): Replace $(host-built-program-cmd) with
50031         $(host-test-program-cmd).
50032         * config.make.in (build-hardcoded-path-in-tests): New variable.
50033         * configure.in (--enable-hardcoded-path-in-tests): New configure
50034         option.
50035         (hardcoded_path_in_tests): New AC_SUBST.
50036         * configure: Regenerated.
50037         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
50038         $(built-program-cmd) with $(test-program-cmd).
50039         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
50040         (test_program_cmd): This.
50041         * elf/Makefile ($(objpfx)order.out): Run test with
50042         $(test-program-prefix).
50043         ($(objpfx)order2.out): Likewise.
50044         ($(objpfx)tst-initorder.out): Likewise.
50045         ($(objpfx)tst-initorder2.out): Likewise.
50046         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
50047         $(test-program-cmd).
50048         ($(objpfx)tst-array1-static.out): Likewise.
50049         ($(objpfx)tst-array2.out): Likewise.
50050         ($(objpfx)tst-array3.out): Likewise.
50051         ($(objpfx)tst-array4.out): Likewise.
50052         ($(objpfx)tst-array5.out): Likewise.
50053         ($(objpfx)tst-array5-static.out): Likewise.
50054         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
50055         $(test-program-cmd).
50056         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
50057         $(run-program-prefix) with $(test-program-prefix).
50058         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
50059         (test_program_prefix): This.
50060         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
50061         $(run-program-prefix) with $(test-program-prefix).
50062         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
50063         (test_program_prefix): This.
50064         * iconvdata/tst-tables.sh: Likewise.
50065         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
50066         $(run-program-prefix) with $(test-program-prefix).
50067         ($(objpfx)tst-translit.out): Likewise.
50068         ($(objpfx)tst-gettext2.out): Likewise.
50069         ($(objpfx)tst-gettext4.out): Likewise.
50070         ($(objpfx)tst-gettext6.out): Likewise.
50071         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
50072         (test_program_prefix): This.
50073         * intl/tst-gettext2.sh: Likewise.
50074         * intl/tst-gettext4.sh  Likewise.
50075         * intl/tst-gettext6.sh: Likewise.
50076         * intl/tst-translit.sh: Likewise.
50077         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
50078         with $(test-program-cmd).
50079         * libio/Makefile ($(objpfx)test-freopen.out): Replace
50080         $(run-program-prefix) with $(test-program-prefix).
50081         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
50082         (test_program_prefix): This.
50083         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
50084         $(run-program-prefix) with $(test-program-prefix).
50085         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
50086         (test_program_prefix): This.
50087         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
50088         * posix/Makefile ($(objpfx)globtest.out): Replace
50089         $(run-via-rtld-prefix) and $(test-wrapper) with
50090         $(test-program-prefix) and $(test-via-rtld-prefix).
50091         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
50092         $(test-program-prefix).
50093         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
50094         $(host-test-program-cmd).
50095         (tst-spawn-ARGS): Likewise.
50096         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
50097         $(test-program-prefix).
50098         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
50099         (test_via_rtld_prefix): This.
50100         (test_wrapper): Renamed to ...
50101         (test_program_prefix): This.
50102         (run_program_prefix): Replaced by test_program_prefix.
50103         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
50104         (test_program_prefix): This.
50105         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
50106         with $(host-test-program-cmd).
50107         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
50108         $(run-program-prefix) with $(test-program-prefix).
50109         ($(objpfx)tst-printf.out): Likewise.
50110         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
50111         $(test-program-cmd).
50112         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
50113         (test_program_prefix): This.
50114         * stdio-common/tst-unbputc.sh: Likewise.
50115         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
50116         $(run-program-prefix) with $(test-program-prefix).
50117         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
50118         (test_program_prefix): This.
50119         * string/Makefile ($(objpfx)tst-svc.out):  Replace
50120         $(built-program-cmd) with $(test-program-cmd).
50122 2013-01-11  Andreas Jaeger  <aj@suse.de>
50124         [BZ #15003]
50125         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
50126         value. Sync with Linux 3.7.
50128 2013-01-10  David S. Miller  <davem@davemloft.net>
50130         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
50131         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50132         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50134 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50136         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
50137         never set.
50138         * configure: Regenerated.
50140 2013-01-10  David S. Miller  <davem@davemloft.net>
50142         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50143         sparc V9 rather than using V8 code.
50144         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50145         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50147 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50149         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
50150         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
50151         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
50152         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
50153         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
50154         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
50155         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
50156         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
50157         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
50158         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
50159         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
50160         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
50161         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
50162         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
50163         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
50164         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
50165         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
50166         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
50167         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
50168         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
50169         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
50170         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
50171         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
50172         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
50173         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
50174         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
50175         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
50177 2013-01-10  David S. Miller  <davem@davemloft.net>
50179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50181 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
50183         * posix/Makefile (tests-static): New variable.
50184         (tests): Add $(tests-static).
50185         (tst-exec-static-ARGS): New variable.
50186         (tst-spawn-static-ARGS): Likewise.
50187         * posix/tst-exec-static.c: New file.
50188         * posix/tst-spawn-static.c: Likewise.
50189         * posix/tst-exec.c: Support run directly.
50190         * posix/tst-spawn.c: Likewise.
50192 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
50194         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
50195         long.
50196         * math/bits/mathcalls.h (llrint): Likewise.
50197         (llround): Likewise.
50198         * stdlib/stdlib.h (struct drand48_data): Likewise.
50199         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
50200         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
50201         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
50202         Likewise.
50203         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
50204         Likewise.
50205         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
50206         (elf_greg_t): Likewise.
50207         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
50208         (__jmp_buf): Likewise.
50209         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
50210         definitions.
50211         (llrint): Likewise, for all definitions.
50212         (llrintl): Likewise.
50214         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
50215         Remove [__GNUC__] condition.
50216         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
50217         condition to just [__USE_ISOC99].
50218         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
50220 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
50222         [BZ #14200]
50223         * sysdeps/unix/sysv/linux/x86/bits/environments.h
50224         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
50225         defined.
50226         (_POSIX_V6_ILP32_OFF32): Likewise.
50227         (_XBS5_ILP32_OFF32): Likewise.
50228         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
50229         (__ILP32_OFFBIG_LDFLAGS): Likewise.
50231 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50233         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
50235         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
50236         doubles __mpexp_twomm1.  Adjust usage.
50237         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
50238         Remove.
50240 2013-01-10  Andreas Schwab  <schwab@suse.de>
50242         [BZ #14964]
50243         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
50244         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
50246 2013-01-09  David S. Miller  <davem@davemloft.net>
50248         [BZ #15003]
50249         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
50250         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
50251         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
50252         (TCP_FASTOPEN): Define.
50253         (tcp_repair_opt): New structure.
50254         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
50255         enum values.
50256         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
50257         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
50258         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
50259         (tcp_cookie_transactions): New structure.
50261 2013-01-09  Anton Blanchard  <anton@samba.org>
50263         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
50264         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
50265         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
50266         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
50268 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
50270         * include/features.h (__USE_ANSI): Remove.
50272 2013-01-09  Roland McGrath  <roland@hack.frob.com>
50274         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
50276         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
50278 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
50280         * sysdeps/s390/fpu/libm-test-ulps: Update.
50282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50284         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
50285         (__acr): Likewise.
50286         (__cpy): Likewise.
50287         (norm): Likewise.
50288         (denorm): Likewise.
50289         (__mp_dbl): Likewise.
50290         (__dbl_mp): Likewise.
50291         (add_magnitudes): Likewise.
50292         (sub_magnitudes): Likewise.
50293         (__add): Likewise.
50294         (__sub): Likewise.
50295         (__mul): Likewise.
50296         (__inv): Likewise.
50297         (__dvd): Likewise.
50298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
50299         (__acr): Likewise.
50300         (__cpy): Likewise.
50301         (norm): Likewise.
50302         (denorm): Likewise.
50303         (__mp_dbl): Likewise.
50304         (__dbl_mp): Likewise.
50305         (add_magnitudes): Likewise.
50306         (sub_magnitudes): Likewise.
50307         (__add): Likewise.
50308         (__sub): Likewise.
50309         (__mul): Likewise.
50310         (__inv): Likewise.
50311         (__dvd): Likewise.
50312         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
50313         (__acr): Likewise.
50314         (__cpy): Likewise.
50315         (norm): Likewise.
50316         (denorm): Likewise.
50317         (__mp_dbl): Likewise.
50318         (__dbl_mp): Likewise.
50319         (add_magnitudes): Likewise.
50320         (sub_magnitudes): Likewise.
50321         (__add): Likewise.
50322         (__sub): Likewise.
50323         (__mul): Likewise.
50324         (__inv): Likewise.
50325         (__dvd): Likewise.
50327 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
50329         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
50330         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
50331         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
50332         2 && __USE_EXTERN_INLINES]: Likewise.
50334 2013-01-08  Andreas Jaeger  <aj@suse.de>
50336         [BZ# 14985]
50337         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
50338         Remove.
50339         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50340         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50342 2013-01-07  Anton Blanchard  <anton@samba.org>
50344         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
50345         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50346         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
50347         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50348         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50349         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50350         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
50351         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50352         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50353         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50354         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50355         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50356         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50357         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50358         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
50359         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50360         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50361         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50362         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
50363         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50364         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
50365         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
50366         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50367         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
50368         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
50369         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50370         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50371         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50372         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
50373         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50374         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
50375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50376         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50377         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50378         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50379         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50380         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50381         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50382         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
50383         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50384         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
50385         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50386         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50388 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
50390         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
50391         (__MALLOC_PMT): Likewise.
50392         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
50393         [__GNUC__], only on [_LIBC].
50394         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50395         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
50396         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50397         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
50398         forward declaration.
50399         (realloc_hook_ini): Likewise.
50400         (memalign_hook_ini): Likewise.
50401         (__libc_memalign): Do not use __MALLOC_PMT in variable
50402         declaration.
50403         (__libc_valloc): Likewise.
50404         (__libc_pvalloc): Likewise.
50405         (__libc_calloc): Likewise.
50406         (__posix_memalign): Likewise.
50408         [BZ #14996]
50409         * math/s_casinh.c: Include <float.h>.
50410         (__casinh): Do not do computation with squaring and square root
50411         for large arguments.
50412         * math/s_casinhf.c: Include <float.h>.
50413         (__casinhf): Do not do computation with squaring and square root
50414         for large arguments.
50415         * math/s_casinhl.c: Include <float.h>.
50416         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
50417         (__casinhl): Do not do computation with squaring and square root
50418         for large arguments.
50419         * math/libm-test.inc (casin_test): Add more tests.
50420         (casinh_test): Likewise.
50421         * sysdeps/i386/fpu/libm-test-ulps: Update.
50422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50424 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
50426         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
50427         (__x86_64_raw_data_cache_size): Likewise.
50428         (__x86_64_data_cache_size_half): Likewise.
50429         (__x86_64_raw_data_cache_size_half): Likewise.
50430         (__x86_64_shared_cache_size): Likewise.
50431         (__x86_64_raw_shared_cache_size): Likewise.
50432         (__x86_64_shared_cache_size_half): Likewise.
50433         (__x86_64_raw_shared_cache_size_half): Likewise.
50434         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
50435         to ...
50436         (__x86_data_cache_size): This.
50437         (__x86_64_raw_data_cache_size): Renamed to ...
50438         (__x86_raw_data_cache_size): This.
50439         (__x86_64_data_cache_size_half): Renamed to ...
50440         (__x86_data_cache_size_half): This.
50441         (__x86_64_raw_data_cache_size_half): Renamed to ...
50442         (__x86_raw_data_cache_size_half): This.
50443         (__x86_64_shared_cache_size): Renamed to ...
50444         (__x86_shared_cache_size): This.
50445         (__x86_64_raw_shared_cache_size): Renamed to ...
50446         (__x86_raw_shared_cache_size): This.
50447         (__x86_64_shared_cache_size_half): Renamed to ...
50448         (__x86_shared_cache_size_half): This.
50449         (__x86_64_raw_shared_cache_size_half): Renamed to ...
50450         (__x86_raw_shared_cache_size_half): This.
50451         * sysdeps/x86_64/memcpy.S: Updated.
50452         * sysdeps/x86_64/memset.S: Likewise.
50453         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
50454         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50455         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50457 2013-01-04  David S. Miller  <davem@davemloft.net>
50459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50461 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
50463         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
50464         1 to avoid redefinition warning.
50465         (__USE_GNU): Don't define.
50466         (init_signaling_nan): Protoize.
50468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50470 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50472         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
50473         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
50474         (__cpymn): Likewise.
50475         (norm): Remove commented code.
50476         (denorm): Likewise.
50477         (__mp_dbl): Likewise.
50478         (__inv): Likewise.
50479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
50480         (__cpymn): Likewise.
50481         (norm): Remove commented code.
50482         (denorm): Likewise.
50483         (__mp_dbl): Likewise.
50484         (__inv): Likewise.
50486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
50487         mp_no value for 1.0 and 2.0.
50488         (norm): Use RADIXI instead of radixi.d.
50489         (denorm): Likewise.
50490         (__mul): Use 0.0 instead of zero.d.
50491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
50492         mp_no value for 1.0 and 2.0.
50493         (norm): Use RADIXI instead of radixi.d.
50494         (denorm): Likewise.
50495         (__mul): Use 0.0 instead of zero.d.
50497 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
50499         [BZ #14994]
50500         * math/s_casinh.c (__casinh): Reduce finite argument to first
50501         quadrant then set signs of results at the end.
50502         * math/s_casinhf.c (__casinhf): Likewise.
50503         * math/s_casinhl.c (__casinhl): Likewise.
50504         * math/libm-test.inc (casin_test): Add more tests.
50505         (casinh_test): Likewise.
50506         * sysdeps/i386/fpu/libm-test-ulps: Update.
50507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50509 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50511         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
50513         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
50515         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
50516         declarations.
50517         (denorm): Likewise.
50518         (__mp_dbl): Likewise.
50519         (__inv): Likewise.
50521         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
50522         and adjust the header comment.
50524         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
50525         variable name from declaration.
50527 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
50529         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50530         Initialize COMMON_CPUID_INDEX_7 element.
50531         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
50532         (CPUID_RTM): Likewise.
50533         (HAS_RTM): Likewise.
50534         (COMMON_CPUID_INDEX_7): New enum.
50536 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
50538         [BZ #14981]
50539         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
50540         size is zero, record memory as freed.
50542 2013-01-03  Andreas Jaeger  <aj@suse.de>
50544         * po/ia.po: Add new Interlingua translation.
50546 2012-01-03  Allan McRae  <allan@archlinux.org>
50548         * locale/programs/localedef.c: Fix description of '--posix' flag.
50550 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
50552         * NEWS: Update dates in second copyright notice.
50553         * README: Update copyright dates in example.
50554         * manual/libc.texinfo: Update copyright dates.
50555         * scripts/test-installation.pl: Update copyright date in --version
50556         output.
50558         * hurd/ctty-input.c: Fix copyright notice formatting.
50559         * hurd/ctty-output.c: Likewise.
50560         * hurd/dtable.c: Likewise.
50561         * hurd/hurd-raise.c: Likewise.
50562         * hurd/hurdprio.c: Likewise.
50563         * hurd/msgportdemux.c: Likewise.
50564         * misc/sys/file.h: Likewise.
50565         * misc/sys/ioctl.h: Likewise.
50566         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50567         * sysdeps/mach/hurd/chdir.c: Likewise.
50568         * sysdeps/mach/hurd/fchdir.c: Likewise.
50569         * sysdeps/mach/hurd/rename.c: Likewise.
50570         * sysdeps/mach/hurd/rmdir.c: Likewise.
50571         * sysdeps/mach/hurd/seekdir.c: Likewise.
50572         * sysdeps/mach/hurd/setsid.c: Likewise.
50573         * sysdeps/posix/wait3.c: Likewise.
50575         * All files with FSF copyright notices: Update copyright dates
50576         using scripts/update-copyrights.
50577         * intl/plural.c: Regenerated.
50578         * locale/programs/charmap-kw.h: Likewise.
50579         * locale/programs/locfile-kw.h: Likewise.
50581 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50583         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
50584         four values.
50586         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
50587         calculation loop and add branch prediction.
50589         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
50590         check access beyond bounds of m1np.
50592         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50593         MPTWO.
50594         (__inv): Remove local variable MPTWO to use the global
50595         constant.
50596         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
50597         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50598         variable MPTWO.
50599         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
50600         MP3HALFS static const.
50602 2013-01-01  David S. Miller  <davem@davemloft.net>
50604         * po/ca.po: Update from translation team.
50606 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
50608         * scripts/update-copyrights: New file.
50609         * Makeconfig: Reformat copyright notice.
50610         * ctype/ctype.h: Likewise.
50611         * debug/swprintf_chk.c: Likewise.
50612         * elf/dl-cache.c: Likewise.
50613         * elf/dl-debug.c: Likewise.
50614         * elf/dl-object.c: Likewise.
50615         * grp/initgroups.c: Likewise.
50616         * hurd/Makefile: Likewise.
50617         * hurd/hurd/signal.h: Likewise.
50618         * hurd/hurdfault.c: Likewise.
50619         * hurd/hurdioctl.c: Likewise.
50620         * hurd/hurdlookup.c: Likewise.
50621         * hurd/intr-msg.c: Likewise.
50622         * iconv/gconv_open.c: Likewise.
50623         * libio/swprintf.c: Likewise.
50624         * locale/lc-ctype.c: Likewise.
50625         * locale/nl_langinfo.c: Likewise.
50626         * mach/Machrules: Likewise.
50627         * mach/Makefile: Likewise.
50628         * malloc/obstack.h: Likewise.
50629         * manual/Makefile: Likewise.
50630         * manual/tsort.awk: Likewise.
50631         * misc/bits/stab.def: Likewise.
50632         * nis/nis_print_group_entry.c: Likewise.
50633         * nis/nis_table.c: Likewise.
50634         * nis/nss_compat/compat-pwd.c: Likewise.
50635         * nis/nss_compat/compat-spwd.c: Likewise.
50636         * po/Makefile: Likewise.
50637         * posix/fnmatch.c: Likewise.
50638         * posix/regex.h: Likewise.
50639         * resolv/Makefile: Likewise.
50640         * resolv/nss_dns/dns-network.c: Likewise.
50641         * resolv/res_hconf.c: Likewise.
50642         * scripts/gen-sorted.awk: Likewise.
50643         * soft-fp/soft-fp.h: Likewise.
50644         * stdio-common/printf.h: Likewise.
50645         * stdlib/monetary.h: Likewise.
50646         * stdlib/random.c: Likewise.
50647         * stdlib/random_r.c: Likewise.
50648         * sysdeps/generic/Makefile: Likewise.
50649         * sysdeps/gnu/Makefile: Likewise.
50650         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50651         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50652         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50653         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50654         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50655         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50656         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50657         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50658         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50659         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50660         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50661         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50662         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50663         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50664         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
50665         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50666         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50667         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50668         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50669         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50670         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50671         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50672         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50673         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50674         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
50675         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50676         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50677         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
50678         * sysdeps/mach/hurd/errnos.awk: Likewise.
50679         * sysdeps/mach/hurd/fork.c: Likewise.
50680         * sysdeps/mach/hurd/getcwd.c: Likewise.
50681         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
50682         * sysdeps/mach/hurd/mmap.c: Likewise.
50683         * sysdeps/mach/hurd/utimes.c: Likewise.
50684         * sysdeps/mach/hurd/xmknod.c: Likewise.
50685         * sysdeps/posix/profil.c: Likewise.
50686         * sysdeps/posix/readdir_r.c: Likewise.
50687         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50688         * sysdeps/powerpc/bits/setjmp.h: Likewise.
50689         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
50690         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50692         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50693         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50694         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50696         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50697         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50698         * sysdeps/pthread/lio_listio.c: Likewise.
50699         * sysdeps/sparc/dl-procinfo.h: Likewise.
50700         * sysdeps/unix/i386/sysdep.S: Likewise.
50701         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
50702         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
50703         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
50704         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
50705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50706         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
50707         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
50708         * sysdeps/unix/sysv/linux/speed.c: Likewise.
50709         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
50710         * sysdeps/wordsize-32/divdi3.c: Likewise.
50711         * time/sys/time.h: Likewise.
50712         * wcsmbs/Makefile: Likewise.
50714 2013-01-01  David S. Miller  <davem@davemloft.net>
50716         * po/fr.po: Update from translation team.
50718         * catgets/gencat.c: Update copyright year.
50719         * csu/version.c: Likewise.
50720         * debug/catchsegv.sh: Likewise.
50721         * debug/pcprofiledump.c: Likewise.
50722         * debug/xtrace.sh: Likewise.
50723         * elf/ldconfig.c: Likewise.
50724         * elf/ldd.bash.in: Likewise.
50725         * elf/pldd.c: Likewise.
50726         * elf/sotruss.ksh: Likewise.
50727         * elf/sprof.c: Likewise.
50728         * iconv/iconv_prog.c: Likewise.
50729         * iconv/iconvconfig.c: Likewise.
50730         * locale/programs/locale.c: Likewise.
50731         * locale/programs/localedef.c: Likewise.
50732         * login/programs/pt_chown.c: Likewise.
50733         * malloc/memusage.sh: Likewise.
50734         * malloc/memusagestat.c: Likewise.
50735         * malloc/mtrace.pl: Likewise.
50736         * nscd/nscd.c: Likewise.
50737         * nss/getent.c: Likewise.
50738         * nss/makedb.c: Likewise.
50739         * posix/getconf.c: Likewise.
50741 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50743         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
50744         numbers.
50746 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
50748         * math/bits/mathcalls.h (modf): Use __nonnull.
50750 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50752         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
50753         (split): Use macro CN instead of the bare value.
50754         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
50755         could be used.
50756         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
50757         instead of the bare value.
50758         (power1): Likewise.
50760 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50762         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
50763         __ATAN_TWOM.
50764         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50766         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
50767         their values.
50768         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50769         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50770         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
50771         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50773 2012-12-28  Andreas Jaeger  <aj@suse.de>
50775         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
50776         values are from Linux 3.7.
50778         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
50779         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
50781 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50783         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
50784         TRUE case.
50786         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
50787         (norm): Likewise.
50788         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
50789         variables with preprocessor constants.
50790         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50791         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50792         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50794 2012-12-27  Bruno Haible  <bruno@clisp.org>
50796         [BZ #14317]
50797         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
50798         only if needed.
50800 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50802         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
50803         and use variable directly.
50804         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
50806         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50807         MPONE.
50808         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
50809         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50810         variable MPONE.
50811         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50812         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50813         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50814         include directive.  Remove local variable MPONE.
50815         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50816         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50817         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50819 2012-12-25  David S. Miller  <davem@davemloft.net>
50821         * version.h (RELEASE): Set to "development".
50822         (VERSION): Set to "2.17.90".
50823         * NEWS: Add 2.18 section.
50825 2012-12-21  David S. Miller  <davem@davemloft.net>
50827         * po/hr.po: Update from translation team.
50829 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50831         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50833 2012-12-19  Steve Ellcey  <sellcey@mips.com>
50835         * NEWS:  Mention new memcpy for MIPS.
50837 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50839         * manual/contrib.texi (Contributors): Spelling correction.
50841 2012-12-15  David S. Miller  <davem@davemloft.net>
50843         * po/ru.po: Update from translation team.
50845 2012-12-13  David S. Miller  <davem@davemloft.net>
50847         * NEWS: Mention IFUNC testsuite enhancements.
50849         * po/pl.po: Update from translation team.
50850         * po/bg.po: Likewise.
50852         * manual/contrib.texi (Contributors): Update entries for Hongjiu
50853         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
50855 2012-12-11  David S. Miller  <davem@davemloft.net>
50857         * po/sv.po: Update from translation team.
50859         * po/vi.po: Update from translation team.
50861         * po/cs.po: Update from translation team.
50863         * po/de.po: Update from translation team.
50864         * po/eo.po: Likewise.
50865         * po/nl.po: Likewise.
50867 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50869         [BZ #14246]
50870         * manual/argp.texi (Argp Helper Functions): Move node to follow
50871         Argp Parsing State.
50873         [BZ #14872]
50874         * manual/conf.texi (Limits on File System Capacity): Mention if
50875         terminating null is included in the max size.
50877 2012-12-10  Andreas Jaeger  <aj@suse.de>
50879         * po/cs.po: Update from translation team.
50881 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50883         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
50884         void pointer and cast to uintptr_t.
50885         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50886         path.
50887         * sysdeps/s390/s390-64/memcpy.S: Likewise.
50888         * sysdeps/s390/s390-64/memset.S: Likewise.
50890 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
50892         [BZ #14833]
50893         * menual/message.texi (Message Translation): Fix typos.
50894         (Helper programs for gettext): Likewise.
50896 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
50898         [BZ #14898]
50899         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
50900         Change to -1.
50902 2012-12-07  David S. Miller  <davem@davemloft.net>
50904         * po/libc.pot: Update.
50906 2012-12-07  Richard Henderson  <rth@redhat.com>
50908         [BZ #10114]
50909         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50910         normal/normal case to before the switch.
50911         (_FP_DIV): Likewise.
50913 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
50914             Mike Frysinger  <vapier@gentoo.org>
50916         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
50917         check for __NR_fadvise64_64.
50919 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
50921         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
50922         0, not just to plain "0" as a statement.
50923         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
50924         with cw.
50926 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
50928         * NEWS: Use sourceware.org in Bugzilla URL.
50930 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
50933         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50935         * stdio-common/tst-put-error.c (do_test): Add newline to the
50936         padded test to ensure flush.
50938 2012-12-05  Jeff Law  <law@redhat.com>
50940         * sunrpc/etc.rpc (fedfs_admin): Add entry.
50942 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
50944         * README: Don't refer to ports add-on as distributed separately.
50945         Mention AArch64 in list of systems supported in the ports add-on.
50947         * LICENSES: Add more non-FSF copyright and license notices.
50949         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
50950         ((unused)).
50952         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
50954         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
50955         10000 as width of padded output.
50957 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50959         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50961         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50962         variable LX with __attribute__ ((unused)).
50963         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50964         Likewise.
50965         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50966         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50967         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
50968         with __attribute__ ((unused)).
50970 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
50972         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
50974 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50976         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
50977         (CFLAGS-nldbl-acos.c): New variable.
50978         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50979         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
50980         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
50981         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
50982         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
50983         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
50984         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
50985         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
50986         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50987         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
50988         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
50989         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
50990         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
50991         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
50992         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
50993         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
50994         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
50995         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
50996         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
50997         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50998         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50999         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
51000         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
51001         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
51002         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
51003         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
51004         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
51005         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
51006         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
51007         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
51008         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
51009         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
51010         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
51011         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
51012         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
51013         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
51014         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
51015         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
51016         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
51017         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
51018         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
51019         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
51020         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
51021         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
51022         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
51023         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
51024         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
51025         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
51026         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
51027         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
51028         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
51029         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
51030         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
51031         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
51032         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
51033         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
51034         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
51035         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
51036         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
51037         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
51038         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
51039         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
51040         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
51041         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
51042         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
51043         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
51044         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
51045         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
51046         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
51047         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
51048         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
51049         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
51050         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
51051         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
51052         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
51053         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
51054         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
51055         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
51056         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
51057         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
51058         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
51059         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
51060         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
51061         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
51062         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
51063         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
51064         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
51065         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
51066         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
51067         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
51068         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
51069         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
51070         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
51071         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
51072         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
51073         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
51074         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
51076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51077         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51079         [BZ #14914]
51080         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
51081         whole low double instead of just low 47 bits when splitting values
51082         into two parts.
51084 2012-12-03  Allan McRae  <allan@archlinux.org>
51086         * manual/stdio.texi (Predefined Printf Handlers): Remove
51087         @hsep and @vsep usage.
51089 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
51091         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
51092         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
51094 2012-12-03  Jeff Law  <law@redhat.com>
51096         * time/sys/time.h (settimeofday): Do not mark TV argument
51097         as __nonnull.
51099 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
51101         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
51102         when currently writing and seek to current position when not.
51103         * libio/Makefile (tests): Remove bug-fclose1.
51104         * libio/bug-fclose1.c: Delete.
51106 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
51108         * manual/arith.texi (feenableexcept): Fix typo.
51109         (fedisableexcept): Likewise.
51111 2012-11-30  Roland McGrath  <roland@hack.frob.com>
51113         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
51114         second, differently-typed declaration, rather than a cast.
51116 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51118         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
51119         * include/rpc/svc.h: ... here.
51121 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
51123         [BZ #13013]
51124         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
51125         depending n and resplen2 to catch cases where answer
51126         equals answerp2.
51128 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
51130         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
51131         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
51133 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
51135         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
51137 2012-11-29  Roland McGrath  <roland@hack.frob.com>
51139         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
51141 2012-11-28  Jeff Law  <law@redhat.com>
51143         [BZ #13761]
51144         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
51145         dataset_temporary.  Track alloca usage into alloca_used.
51146         If dataset is large allocate and release it via malloc/free.
51148 2012-06-04  Florian Weimer  <fweimer@redhat.com>
51150         [BZ #14197]
51151         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
51153 2012-11-28  David S. Miller  <davem@davemloft.net>
51155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51157 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
51159         [BZ #14803]
51160         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
51161         of pi/2 rounded to nearest to 64 bits.
51162         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
51163         nearest to 64 bits.
51164         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
51165         bits.
51167 2012-11-28  Jeff Law <law@redhat.com>
51168             Martin Osvald <mosvald@redhat.com>
51170         [BZ #14889]
51171         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
51172         * sunrpc/svc.c: Include time.h.
51173         (__svc_accept_failed): New function.
51174         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
51175         any reason other than EINTR, call __svc_accept_failed.
51176         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
51177         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
51179 2012-11-28  Andreas Schwab  <schwab@suse.de>
51181         * scripts/abilist.awk: Also handle indirect functions in .opd
51182         section.
51184 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
51186         [BZ #13881]
51187         * sysdeps/x86/fpu/powl_helper.c: New file.
51188         * sysdeps/x86/fpu/Makefile: Likewise.
51189         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
51190         (p3): New object.
51191         (__ieee754_powl): Use __powl_helper for finite arguments except
51192         integer exponents below 8.
51193         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
51194         (p3): New object.
51195         (__ieee754_powl): Use __powl_helper for finite arguments except
51196         integer exponents below 8.
51197         * math/libm-test.inc (pow_test): Add more tests and enable some
51198         previously disabled tests.
51199         * sysdeps/i386/fpu/libm-test-ulps: Update.
51200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51202 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51203             Carlos O'Donell  <carlos_odonell@mentor.com>
51205         * nss/makedb.c (is_prime): Assert that input is odd and greater
51206         than 4.  Note that fact in a comment too.
51207         (next_prime): Add 4 to input.
51209 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51211         [BZ #11741]
51212         * libio/Makefile (tests): Add test case tst-fwrite-error.
51213         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
51214         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
51215         * libio/tst-fwrite-error.c: New test case.
51217 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
51219         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
51220         before casting to void *.
51221         * include/libc-internal.h (__pointer_type): New macro.
51222         (__integer_if_pointer_type_sub): Likewise.
51223         (__integer_if_pointer_type): Likewise.
51224         (cast_to_integer): Likewise.
51225         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
51226         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
51227         before casting to atomic64_t.
51228         (atomic_exchange_acq): Likewise.
51229         (__arch_exchange_and_add_body): Likewise.
51230         (__arch_add_body): Likewise.
51231         (atomic_add_negative): Likewise.
51232         (atomic_add_zero): Likewise.
51234 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
51236         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
51237         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
51238         (add_fdes): Likewise.
51239         (linear_search_fdes): Likewise.
51240         (binary_search_unencoded_fdes): Likewise.
51242 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
51244         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
51246 2012-11-24  Adam Conrad  <adconrad@0c3.net>
51248         * configure.in: Autodetect C++ header directories.
51249         * configure: Regenerated.
51251 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
51253         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
51255 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
51257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51259 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
51261         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
51262         LDBL_MANT_DIG == 106]: Disable some tests.
51263         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
51264         Likewise.
51265         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
51266         Likewise.
51268         [BZ #14871]
51269         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
51270         input for small inputs.  Return +/- pi/2 for large inputs.
51271         * math/libm-test.inc (atan_test): Add more tests.
51273         * sysdeps/generic/unwind-dw2-fde-glibc.c
51274         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
51275         __attribute__ ((unused)).
51277         [BZ #14645]
51278         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
51279         x * y if x and y are nonzero and z is zero.
51281         [BZ #14811]
51282         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
51283         nonzero exponents with absolute value below 0x1p-117 to +/-
51284         0x1p-117.
51286         [BZ #14869]
51287         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
51288         up arguments below 2**-450, not just those below 2**-500.
51289         * math/libm-test.inc (hypot_test): Add another test.
51291         [BZ #14868]
51292         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
51293         Return a+b for ratio over 2**120, not 2**60.
51294         * math/libm-test.inc (hypot_test): Add another test.
51296         * math/libm-test.inc (clog_test): Use
51297         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
51298         (clog10_test): Likewise.
51300         [BZ #6778]
51301         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
51303 2012-11-22  Andreas Schwab  <schwab@suse.de>
51305         * sysdeps/i386/fpu/libm-test-ulps: Update.
51307 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
51309         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
51310         printf output with newline.
51312 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
51314         [BZ #14865]
51315         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
51316         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
51317         -z nodlopen, -z initfirst and -z execstack support.
51318         * configure: Regenerated.
51320         * elf/elf.h (DF_1_NODIRECT): New macro.
51321         (DF_1_IGNMULDEF): Likewise.
51322         (DF_1_NOKSYMS): Likewise.
51323         (DF_1_NOHDR): Likewise.
51324         (DF_1_EDITED): Likewise.
51325         (DF_1_NORELOC): Likewise.
51326         (DF_1_SYMINTPOSE): Likewise.
51327         (DF_1_GLOBAUDIT): Likewise.
51328         (DF_1_SINGLETON): Likewise.
51329         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
51330         DT_1_SUPPORTED_MASK bits.
51331         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
51333 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
51335         * sysdeps/unix/make-syscalls.sh: Document prefixes.
51337 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
51339         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
51340         macro.
51342         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
51343         (sendmmsg): Move declarations...
51344         * socket/sys/socket.h: ... here.
51345         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
51346         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
51347         include it from...
51348         * socket/recvmmsg.c: ... this new file.
51349         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
51350         (sendmmsg): Rename to __sendmmsg, create weak alias and make
51351         definition of __sendmmsg hidden.
51352         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
51353         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
51354         Move ENOSYS stub into and include it from...
51355         * socket/sendmmsg.c: ... this new file.
51356         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
51357         (sysdep_routines): Move recvmmsg and sendmmsg...
51358         * socket/Makefile (routines): ... here.
51359         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
51360         (GLIBC_PRIVATE): Add __sendmmsg.
51361         * include/sys/socket.h (__sendmmsg): Add declarations.
51362         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
51363         sendmmsg.
51365 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
51367         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
51368         variable I1 with __attribute__ ((unused)).
51369         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51371 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
51373         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
51374         DUMMY variables with __attribute__ ((unused)).
51376         * bits/byteswap.h: Include <bits/types.h>.
51377         (__bswap_64): Use __uint64_t instead of unsigned long long int.
51379 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
51381         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
51382         string_t.  Do not manually set errno.
51383         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
51384         length with __strnlen.  Make sure to both set errno and return it on
51385         failure.
51387 2012-11-19  David S. Miller  <davem@davemloft.net>
51389         With help from Joseph Myers.
51390         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
51391         very large arguments properly.
51392         * math/libm-test.inc (atan_test): New tests.
51393         (atan2_test): New tests.
51394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51395         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51397 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
51399         [BZ #14856]
51400         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
51401         Define to 3.
51403         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
51404         [POSIX] (EADDRNOTAVAIL): Likewise.
51405         [POSIX] (EAFNOSUPPORT): Likewise.
51406         [POSIX] (EALREADY): Likewise.
51407         [POSIX] (ECONNABORTED): Likewise.
51408         [POSIX] (ECONNREFUSED): Likewise.
51409         [POSIX] (ECONNRESET): Likewise.
51410         [POSIX] (EDESTADDRREQ): Likewise.
51411         [POSIX] (EDQUOT): Likewise.
51412         [POSIX] (EHOSTUNREACH): Likewise.
51413         [POSIX] (EIDRM): Likewise.
51414         [POSIX] (EISCONN): Likewise.
51415         [POSIX] (ELOOP): Likewise.
51416         [POSIX] (EMULTIHOP): Likewise.
51417         [POSIX] (ENETDOWN): Likewise.
51418         [POSIX] (ENETUNREACH): Likewise.
51419         [POSIX] (ENOBUFS): Likewise.
51420         [POSIX] (ENODATA): Likewise.
51421         [POSIX] (ENOLINK): Likewise.
51422         [POSIX] (ENOMSG): Likewise.
51423         [POSIX] (ENOPROTOOPT): Likewise.
51424         [POSIX] (ENOSR): Likewise.
51425         [POSIX] (ENOSTR): Likewise.
51426         [POSIX] (ENOTCONN): Likewise.
51427         [POSIX] (ENOTSOCK): Likewise.
51428         [POSIX] (EOPNOTSUPP): Likewise.
51429         [POSIX] (EOVERFLOW): Likewise.
51430         [POSIX] (EPROTO): Likewise.
51431         [POSIX] (EPROTONOSUPPORT): Likewise.
51432         [POSIX] (EPROTOTYPE): Likewise.
51433         [POSIX] (ESTALE): Likewise.
51434         [POSIX] (ETIME): Likewise.
51435         [POSIX] (ETXTBSY): Likewise.
51436         [POSIX] (EWOULDBLOCK): Likewise.
51437         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
51438         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
51439         [POSIX] (SEEK_CUR): Likewise.
51440         [POSIX] (SEEK_END): Likewise.
51441         [POSIX || UNIX98] (mode_t): Do not require.
51442         [POSIX] (off_t): Likewise.
51443         [POSIX] (pid_t): Likewise.
51444         [POSIX] (sys/stat.h): Do not allow header.
51445         [POSIX] (unistd.h): Likewise.
51446         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
51447         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
51448         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
51449         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
51450         require.
51451         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
51452         sigevent): Specify elements.
51453         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
51454         entry.
51455         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
51456         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
51458         * conform/data/cpio.h-data [POSIX]: Disable whole file.
51459         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
51460         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
51461         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
51462         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
51463         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
51464         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
51465         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
51466         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
51467         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
51468         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
51469         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
51470         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
51471         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
51472         Likewise.
51473         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
51474         Likewise.
51475         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
51476         Likewise.
51477         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
51478         Likewise.
51479         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
51480         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
51481         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
51482         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
51483         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
51484         Specify lower bound on value.
51485         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
51486         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
51487         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
51488         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
51489         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
51490         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
51491         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
51492         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
51493         value.
51494         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
51495         as optional.
51496         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
51497         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
51498         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
51499         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
51500         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
51501         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
51502         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
51503         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
51504         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
51505         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
51506         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
51507         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
51508         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
51509         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
51510         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
51511         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
51512         entry.
51513         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
51514         optional.
51515         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
51516         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
51517         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
51518         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
51519         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
51520         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
51521         Likewise.
51522         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
51523         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
51524         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
51525         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
51526         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
51527         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
51528         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
51529         as optional.
51530         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
51531         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
51532         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
51533         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
51534         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
51535         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
51536         specify as optional.
51537         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
51538         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
51539         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
51540         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
51541         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
51542         [XPG3] (NL_LANGMAX): Likewise.
51543         [POSIX || XPG3] (NL_MSGMAX): Likewise.
51544         [POSIX || XPG3] (NL_NMAX): Likewise.
51545         [POSIX || XPG3] (NL_SETMAX): Likewise.
51546         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
51547         [XPG3] (NZERO): Likewise.
51548         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
51549         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
51550         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
51551         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
51552         (REG_ERANGE): Expect.
51553         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
51554         optional-constant.
51555         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
51556         Use (void) in prototype.
51557         [POSIX] (*_t): Allow.
51558         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
51559         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
51560         (WRDE_BADVAL): Expect.
51562         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
51563         expect.
51564         [XPG3 || XPG4] (O_RSYNC): Likewise.
51565         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
51566         Likewise.
51567         [XPG3 || XPG4] (pthread_sigmask): Likewise.
51568         [XPG3 || XPG4] (sigqueue): Likewise.
51569         [XPG3 || XPG4] (sigtimedwait): Likewise.
51570         [XPG3 || XPG4] (sigwaitinfo): Likewise.
51571         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
51572         [XPG3 || XPG4] (vsnprintf): Likewise.
51573         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
51574         Likewise.
51575         [XPG3 || XPG4] (blksize_t): Likewise.
51576         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
51577         Likewise.
51578         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
51579         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51580         [XPG3 || XPG4] (struct itimerspec): Likewise.
51581         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
51582         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
51583         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
51584         [XPG3 || XPG4] (clockid_t): Likewise.
51585         [XPG3 || XPG4] (timer_t): Likewise.
51586         [XPG3 || XPG4] (clock_getres): Likewise.
51587         [XPG3 || XPG4] (clock_gettime): Likewise.
51588         [XPG3 || XPG4] (clock_settime): Likewise.
51589         [XPG3 || XPG4] (nanosleep): Likewise.
51590         [XPG3 || XPG4] (timer_create): Likewise.
51591         [XPG3 || XPG4] (timer_delete): Likewise.
51592         [XPG3 || XPG4] (timer_gettime): Likewise.
51593         [XPG3 || XPG4] (timer_getoverrun): Likewise.
51594         [XPG3 || XPG4] (timer_settime): Likewise.
51595         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
51596         [XPG3 || XPG4] (getlogin_r): Likewise.
51597         [XPG3 || XPG4] (pread): Likewise.
51598         [XPG3 || XPG4] (pthread_atfork): Likewise.
51599         [XPG3 || XPG4] (pwrite): Likewise.
51601         [BZ #14835]
51602         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
51603         <bits/siginfo.h>.
51605 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
51607         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
51608         finalizing MALLSTREAM.
51610         * sysdeps/mach/hurd/syncfs.c: New file.
51612 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51614         [BZ #14719]
51615         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
51616         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
51617         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
51618         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
51619         (_nss_dns_gethostbyname4_r): Likewise.
51620         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
51621         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
51623 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
51625         [BZ #13763]
51626         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
51628 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
51630         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
51631         * elf/cache.c (print_entry): Print ",AArch64" for
51632         FLAG_AARCH64_LIB64
51634         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
51635         * elf/cache.c (print_entry): Print ",hard-float" for
51636         FLAG_ARM_LIBHF.
51638 2012-11-18  David S. Miller  <davem@davemloft.net>
51640         With help from Joseph Myers.
51641         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
51642         cutoff to 2**-13.
51643         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
51644         cutoff to 2**-25.
51645         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
51646         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
51647         small.
51648         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
51649         * math/libm-test.inc (y0_test): New tests.
51650         (y1_test): New tests.
51651         * sysdeps/i386/fpu/libm-test-ulps: Update.
51652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51655 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
51657         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
51658         64-bit targets.
51659         * configure: Regenerated.
51661 2012-11-17  David S. Miller  <davem@davemloft.net>
51663         [BZ #14811]
51664         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
51665         nonzero exponents with absolute value below 0x1p-128 to +/-
51666         0x1p-128.
51668 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
51670         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
51672         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
51674         * posix/getconf-speclist.c: New file.
51675         * posix/posix-envs.def: Likewise.
51676         * posix/confstr.c (START_ENV_GROUP): New macro.
51677         (END_ENV_GROUP): Likewise.
51678         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51679         (KNOWN_PRESENT_ENV_STRING): Likewise.
51680         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51681         (UNKNOWN_ENVIRONMENT): Likewise.
51682         (confstr): Include posix-envs.def instead of handling
51683         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
51684         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
51685         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
51686         (END_ENV_GROUP): Likewise.
51687         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51688         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51689         (UNKNOWN_ENVIRONMENT): Likewise.
51690         (__sysconf): Include posix-envs.def instead of handling associated
51691         cases directly here.
51692         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
51693         preprocessing getconf-speclist.c rather than running getconf or
51694         generating empty file.
51696 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
51698         * scripts/check-local-headers.sh: Ignore 'mach' headers.
51700 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
51702         [BZ #14672]
51703         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
51705 2012-11-16  David S. Miller  <davem@davemloft.net>
51707         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
51708         smaller than LDBL_EPSILON/2.0L, just return xm1.
51710 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
51712         * elf/tst-array1.c (init): Set constructor priority to 1000.
51713         (fini): Set destructor priority to 1000.
51714         * elf/tst-array2dep.c: Likewise.
51716 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51718         [BZ #11741]
51719         * libio/fileops.c (_IO_new_file_write): Correctly return error.
51720         (_IO_new_file_xsputn): Also return EOF if none of the input
51721         data was written when overflow failed.
51722         * libio/iopadn.c (_IO_padn): Likewise.
51723         * libio/iowpadn.c (_IO_wpadn): Likewise.
51724         * stdio-common/tst-put-error.c: Add copyright notice.
51725         (do_test): Add case for printing padded string.
51726         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
51727         _IO_padn returned error.
51728         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
51729         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
51730         return EOF.
51732 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51734         * libio/libioP.h: Add comment note that the references to C++
51735         bits are now obsolete.
51737 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51739         * math/libm-test.inc (check_complex): Use asprintf.
51741 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
51743         * debug/pcprofiledump.c (print_version): Update copyright year.
51744         * malloc/memusagestat.c (print_version): Likewise.
51746 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
51748         [BZ #14831]
51749         * elf/Makefile (tests): Add tst-audit8.
51750         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
51751         ($(objpfx)tst-audit8.out): New target.
51752         (tst-audit8-ENV): New variable.
51753         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
51754         audit if l_reloc_result is NULL.
51755         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
51756         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
51757         * elf/tst-audit8.c: New file.
51759 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51761         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
51762         * misc/Makefile (CFLAGS-select.c): Define.
51763         * posix/Makefile (CFLAGS-pause.c): Define.
51765 2012-11-13  David S. Miller  <davem@davemloft.net>
51767         * crypt/Makefile: Move test targets after toplevel Rules
51768         inclusion.  Grab any necessary sysdep routines when linking.
51769         * crypt/md5.c (md5_process_block): Remove define, we will always
51770         name it __md5_process_block.
51771         (md5_finish_ctx): Update md5_process_block call.
51772         (md5_stream): Likewise.
51773         (md5_process_bytes): Likewise.
51774         (md5_process_block): Rename to __md5_process_block and move to ...
51775         * crypt/md5-block.c: ... here.
51776         * crypt/sha256.c (sha256_process_block): Move to ...
51777         * crypt/sha256-block.c: ... here.
51778         * crypt/sha512.c (sha512_process_block): Move to ...
51779         * crypt/sha512-block.c: ... here.
51780         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
51781         path.
51782         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
51783         * sysdeps/sparc/sparc64/multiarch/Makefile
51784         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
51785         crypt subdir.
51786         (localedef-aux): Add md5 crypto assembler when in locale subdir.
51787         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
51788         multiarch changes.
51789         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
51790         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
51791         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
51792         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
51793         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
51794         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
51795         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
51796         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
51797         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
51798         file.
51799         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
51800         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
51801         file.
51802         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
51804 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
51806         * timezone/tzselect.ksh: Update from tzcode git revision
51807         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
51808         * timezone/zdump.c: Likewise.
51809         * timezone/zic.c: Likewise.
51810         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
51811         in TZVERSION setting, not $(PKGVERSION).
51812         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
51813         REPORT_BUGS_TO settings.
51815         [BZ #14838]
51816         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51817         macro.
51819 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51821         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51822         detection to immediately after _FP_ROUND().
51823         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51824         bits are 0.
51826 2012-11-11  David S. Miller  <davem@davemloft.net>
51828         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51829         inttypes.h
51830         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51831         __close rather than their public counterparts.
51833 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
51835         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51836         file.
51837         [UNIX98] (sem_timedwait): Do not expect.
51838         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51839         [XPG4 || UNIX98] (sockatmark): Do not expect.
51840         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51841         (clock_getcpuclockid): Do not expect.
51842         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51843         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51844         Do not expect.
51845         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51846         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51847         [UNIX98] (vwscanf): Likewise.
51848         [UNIX98] (vswscanf): Likewise.
51850 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
51852         * timezone/version.h: Remove file.
51853         * timezone/README: Do not refer to version.h.
51854         * timezone/Makefile ($(objpfx)zic.o): New dependency on
51855         $(objpfx)version.h.
51856         ($(objpfx)zdump.o): Likewise.
51857         ($(objpfx)version.h): New target.
51859         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51860         2012i.
51861         * timezone/README: Don't mention modification to tzselect.ksh.
51862         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51863         work on unmodified tzselect.ksh.  Substitute version numbers in
51864         tzselect.ksh.
51866         * Makefile (format-me): Remove.
51867         (INSTALL): Adjust indentation.  Use commands directly instead of
51868         using $(format-me).
51870         * aclocal.m4 (ACX_PKGVERSION): New macro.
51871         (ACX_BUGURL): Likewise.
51872         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
51873         (PKGVERSION): New AC_DEFINE_UNQUOTED.
51874         (REPORT_BUGS_TO): Likewise.
51875         * configure: Regenerated.
51876         * config.h.in (PKGVERSION): New macro.
51877         (REPORT_BUGS_TO): Likewise.
51878         * config.make.in (PKGVERSION): New variable.
51879         (PKGVERSION_TEXI): Likewise.
51880         (REPORT_BUGS_TO): Likewise.
51881         (REPORT_BUGS_TEXI): Likewise.
51882         * Makefile (format-me): Use -I$(common-objpfx)manual.
51883         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
51884         ($(common-objpfx)manual/%): New target.
51885         (manual/%): Remove target.
51886         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
51887         (print_version): Use PKGVERSION.
51888         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
51889         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
51890         and REPORT_BUGS_TO.
51891         ($(objpfx)xtrace): Likewise.
51892         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
51893         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
51894         (print_version): Use PKGVERSION.
51895         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
51896         (do_version): Use PKGVERSION.
51897         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
51898         REPORT_BUGS_TO.
51899         (common-ldd-rewrite): Likewise.
51900         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
51901         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
51902         (print_version): Use PKGVERSION.
51903         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
51904         * elf/pldd.c (argp_program_bug_address): Remove variable.
51905         (more_help): New function.
51906         (argp): Use more_help.
51907         (print_version): Use PKGVERSION.
51908         * elf/sln.c (main): Use PKGVERSION.
51909         (usage): Use REPORT_BUGS_TO.
51910         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
51911         (top level): Use PKGVERSION.
51912         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
51913         (print_version): Use PKGVERSION.
51914         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
51915         (print_version): Use PKGVERSION.
51916         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
51917         (print_version): Use PKGVERSION.
51918         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
51919         (print_version): Use PKGVERSION.
51920         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
51921         (print_version): Use PKGVERSION.
51922         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
51923         (print_version): Use PKGVERSION.
51924         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
51925         and BUGURL.
51926         ($(objpfx)memusage): Likewise.
51927         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
51928         (do_version): Use PKGVERSION.
51929         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
51930         (print_version): Use PKGVERSION.
51931         * malloc/mtrace.pl ($PACKAGE): Remove variable.
51932         ($PKGVERSION): New variable.
51933         ($REPORT_BUGS_TO): Likewise.
51934         (usage): Use $REPORT_BUGS_TO.
51935         (top level): Use $PKGVERSION.
51936         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
51937         ($(objpfx)pkgvers.texi): New rule.
51938         ($(objpfx)stamp-pkgvers): Likewise.
51939         * manual/install.texi: Include pkgvers.texi.
51940         (--with-pkgversion): Document new configure option.
51941         (--with-bugurl): Likewise.
51942         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
51943         than necessarily for this particular distribution.  Use
51944         REPORT_BUGS_TO for where to report bugs.
51945         * INSTALL: Regenerated.
51946         * manual/libc.texinfo: Include pkgvers.texi.
51947         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
51948         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
51949         (print_version): Use PKGVERSION.
51950         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
51951         (print_version): Use PKGVERSION.
51952         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
51953         (print_version): Use PKGVERSION.
51954         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
51955         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
51956         macro.
51957         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
51958         (print_version): Use PKGVERSION.
51959         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51960         (print_version): Use PKGVERSION.
51961         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51962         and PKGVERSION.
51964         * timezone/checktab.awk: Update from tzcode 2012i.
51965         * timezone/ialloc.c: Likewise.
51966         * timezone/private.h: Likewise.
51967         * timezone/scheck.c: Likewise.
51968         * timezone/tzfile.h: Likewise.
51969         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
51970         (TZVERSION): Hardcode tzcode version number.
51971         * timezone/zdump.c: Update from tzcode 2012i.
51972         * timezone/zic.c: Likewise.
51973         * timezone/version.h: New file.
51974         * timezone/README: Describe version.h.  Update upstream location.
51976         [BZ #14824]
51977         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
51978         (mktemp): Enable declaration.
51979         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
51980         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
51981         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
51982         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
51983         Likewise.
51984         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
51985         Likewise.
51986         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
51987         Likewise.
51988         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
51989         Likewise.
51990         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
51991         Likewise.
51992         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
51993         Likewise.
51995         [BZ #14821]
51996         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
51997         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
51998         for copies of such integer values.
51999         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52000         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52002 2012-11-09  Andreas Jaeger  <aj@suse.de>
52004         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
52005         definitions and declarations that are provided by
52006         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52008 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52010         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
52011         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
52012         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
52013         definition.
52015 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52017         * elf/elf.h: Update comment before AArch64 relocations.
52019 2012-11-07  David S. Miller  <davem@davemloft.net>
52021         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
52022         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52023         (__start_context): Declare.
52024         (__makecontext_ret): Delete.
52025         (__makecontext): Hook up __start_context instead of
52026         __makecontext_ret.
52027         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
52028         (sysdep_routines): Add __start_context when in stdlib.
52030 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52032         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
52033         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
52034         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
52035         hardcoded "nm".
52036         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
52037         (READELF): New variable.  Use it instead of hardcoded "readelf".
52039 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52041         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
52042         * sysdeps/x86/Makefile: Here.
52043         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
52044         * sysdeps/x86/tst-xmmymm.sh: This.
52046 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52048         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
52049         expectations.
52050         [UNIX98] (pthread_barrier_t): Do not expect.
52051         [UNIX98] (pthread_barrierattr_t): Likewise.
52052         [UNIX98] (pthread_spinlock_t): Likewise.
52053         [UNIX98] (pthread_barrier_destroy): Likewise.
52054         [UNIX98] (pthread_barrier_init): Likewise.
52055         [UNIX98] (pthread_barrier_wait): Likewise.
52056         [UNIX98] (pthread_barrierattr_destroy): Likewise.
52057         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
52058         [UNIX98] (pthread_barrierattr_init): Likewise.
52059         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
52060         [UNIX98] (pthread_getcpuclockid): Likewise.
52061         [UNIX98] (pthread_mutex_timedlock): Likewise.
52062         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
52063         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
52064         [UNIX98] (pthread_sigmask): Likewise.
52065         [UNIX98] (pthread_spin_destroy): Likewise.
52066         [UNIX98] (pthread_spin_init): Likewise.
52067         [UNIX98] (pthread_spin_lock): Likewise.
52068         [UNIX98] (pthread_spin_trylock): Likewise.
52069         [UNIX98] (pthread_spin_unlock): Likewise.
52070         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
52071         Do not expect.
52072         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
52073         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
52074         [XPG3 || XPG4] (pthread_cond_t): Likewise.
52075         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
52076         [XPG3 || XPG4] (pthread_key_t): Likewise.
52077         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
52078         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
52079         [XPG3 || XPG4] (pthread_once_t): Likewise.
52080         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
52081         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
52082         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
52083         [XPG3 || XPG4] (pthread_t): Likewise.
52085         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
52086         not expect.
52087         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
52089         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
52090         Change function return type to int.
52092         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
52093         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
52094         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
52095         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
52096         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
52097         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
52098         [!POSIX] (posix_madvise): Likewise.
52099         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
52100         && !UNIX98].
52101         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
52102         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
52103         (mode_t): Likewise.
52104         (posix_mem_offset): Likewise.
52105         (posix_typed_mem_get_info): Likewise.
52106         (posix_typed_mem_open): Likewise.
52108         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
52109         Change condition to [XOPEN2K8].
52111         * conform/conformtest.pl: Preprocess allow-header data with -x c
52112         instead of from stdin.
52113         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
52114         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
52115         [C99-based standards] (cerfc): Likewise.
52116         [C99-based standards] (cexp2): Likewise.
52117         [C99-based standards] (cexpm1): Likewise.
52118         [C99-based standards] (clog10): Likewise.
52119         [C99-based standards] (clog1p): Likewise.
52120         [C99-based standards] (clog2): Likewise.
52121         [C99-based standards] (clgamma): Likewise.
52122         [C99-based standards] (ctgamma): Likewise.
52123         [C99-based standards] (cerff): Likewise.
52124         [C99-based standards] (cerfcf): Likewise.
52125         [C99-based standards] (cexp2f): Likewise.
52126         [C99-based standards] (cexpm1f): Likewise.
52127         [C99-based standards] (clog10f): Likewise.
52128         [C99-based standards] (clog1pf): Likewise.
52129         [C99-based standards] (clog2f): Likewise.
52130         [C99-based standards] (clgammaf): Likewise.
52131         [C99-based standards] (ctgammaf): Likewise.
52132         [C99-based standards] (cerfl): Likewise.
52133         [C99-based standards] (cerfcl): Likewise.
52134         [C99-based standards] (cexp2l): Likewise.
52135         [C99-based standards] (cexpm1l): Likewise.
52136         [C99-based standards] (clog10l): Likewise.
52137         [C99-based standards] (clog1pl): Likewise.
52138         [C99-based standards] (clog2l): Likewise.
52139         [C99-based standards] (clgammal): Likewise.
52140         [C99-based standards] (ctgammal): Likewise.
52141         * conform/data/inttypes.h-data [C99-based standards]: Include
52142         stdint.h-data.  Remove all expectations for stdint.h contents.
52143         [C99-based standards] (PRI*): Do not allow.
52144         [C99-based standards] (SCN*): Likewise.
52145         [C99-based standards] (*_t): Likewise.
52146         [C99-based-standards] (PRId8): Expect macro.
52147         [C99-based-standards] (PRIi8): Likewise.
52148         [C99-based-standards] (PRIo8): Likewise.
52149         [C99-based-standards] (PRIu8): Likewise.
52150         [C99-based-standards] (PRIx8): Likewise.
52151         [C99-based-standards] (PRIX8): Likewise.
52152         [C99-based-standards] (SCNd8): Likewise.
52153         [C99-based-standards] (SCNi8): Likewise.
52154         [C99-based-standards] (SCNo8): Likewise.
52155         [C99-based-standards] (SCNu8): Likewise.
52156         [C99-based-standards] (SCNx8): Likewise.
52157         [C99-based-standards] (PRIdLEAST8): Likewise.
52158         [C99-based-standards] (PRIiLEAST8): Likewise.
52159         [C99-based-standards] (PRIoLEAST8): Likewise.
52160         [C99-based-standards] (PRIuLEAST8): Likewise.
52161         [C99-based-standards] (PRIxLEAST8): Likewise.
52162         [C99-based-standards] (PRIXLEAST8): Likewise.
52163         [C99-based-standards] (SCNdLEAST8): Likewise.
52164         [C99-based-standards] (SCNiLEAST8): Likewise.
52165         [C99-based-standards] (SCNoLEAST8): Likewise.
52166         [C99-based-standards] (SCNuLEAST8): Likewise.
52167         [C99-based-standards] (SCNxLEAST8): Likewise.
52168         [C99-based-standards] (PRIdFAST8): Likewise.
52169         [C99-based-standards] (PRIiFAST8): Likewise.
52170         [C99-based-standards] (PRIoFAST8): Likewise.
52171         [C99-based-standards] (PRIuFAST8): Likewise.
52172         [C99-based-standards] (PRIxFAST8): Likewise.
52173         [C99-based-standards] (PRIXFAST8): Likewise.
52174         [C99-based-standards] (SCNdFAST8): Likewise.
52175         [C99-based-standards] (SCNiFAST8): Likewise.
52176         [C99-based-standards] (SCNoFAST8): Likewise.
52177         [C99-based-standards] (SCNuFAST8): Likewise.
52178         [C99-based-standards] (SCNxFAST8): Likewise.
52179         [C99-based-standards] (PRId16): Likewise.
52180         [C99-based-standards] (PRIi16): Likewise.
52181         [C99-based-standards] (PRIo16): Likewise.
52182         [C99-based-standards] (PRIu16): Likewise.
52183         [C99-based-standards] (PRIx16): Likewise.
52184         [C99-based-standards] (PRIX16): Likewise.
52185         [C99-based-standards] (SCNd16): Likewise.
52186         [C99-based-standards] (SCNi16): Likewise.
52187         [C99-based-standards] (SCNo16): Likewise.
52188         [C99-based-standards] (SCNu16): Likewise.
52189         [C99-based-standards] (SCNx16): Likewise.
52190         [C99-based-standards] (PRIdLEAST16): Likewise.
52191         [C99-based-standards] (PRIiLEAST16): Likewise.
52192         [C99-based-standards] (PRIoLEAST16): Likewise.
52193         [C99-based-standards] (PRIuLEAST16): Likewise.
52194         [C99-based-standards] (PRIxLEAST16): Likewise.
52195         [C99-based-standards] (PRIXLEAST16): Likewise.
52196         [C99-based-standards] (SCNdLEAST16): Likewise.
52197         [C99-based-standards] (SCNiLEAST16): Likewise.
52198         [C99-based-standards] (SCNoLEAST16): Likewise.
52199         [C99-based-standards] (SCNuLEAST16): Likewise.
52200         [C99-based-standards] (SCNxLEAST16): Likewise.
52201         [C99-based-standards] (PRIdFAST16): Likewise.
52202         [C99-based-standards] (PRIiFAST16): Likewise.
52203         [C99-based-standards] (PRIoFAST16): Likewise.
52204         [C99-based-standards] (PRIuFAST16): Likewise.
52205         [C99-based-standards] (PRIxFAST16): Likewise.
52206         [C99-based-standards] (PRIXFAST16): Likewise.
52207         [C99-based-standards] (SCNdFAST16): Likewise.
52208         [C99-based-standards] (SCNiFAST16): Likewise.
52209         [C99-based-standards] (SCNoFAST16): Likewise.
52210         [C99-based-standards] (SCNuFAST16): Likewise.
52211         [C99-based-standards] (SCNxFAST16): Likewise.
52212         [C99-based-standards] (PRId32): Likewise.
52213         [C99-based-standards] (PRIi32): Likewise.
52214         [C99-based-standards] (PRIo32): Likewise.
52215         [C99-based-standards] (PRIu32): Likewise.
52216         [C99-based-standards] (PRIx32): Likewise.
52217         [C99-based-standards] (PRIX32): Likewise.
52218         [C99-based-standards] (SCNd32): Likewise.
52219         [C99-based-standards] (SCNi32): Likewise.
52220         [C99-based-standards] (SCNo32): Likewise.
52221         [C99-based-standards] (SCNu32): Likewise.
52222         [C99-based-standards] (SCNx32): Likewise.
52223         [C99-based-standards] (PRIdLEAST32): Likewise.
52224         [C99-based-standards] (PRIiLEAST32): Likewise.
52225         [C99-based-standards] (PRIoLEAST32): Likewise.
52226         [C99-based-standards] (PRIuLEAST32): Likewise.
52227         [C99-based-standards] (PRIxLEAST32): Likewise.
52228         [C99-based-standards] (PRIXLEAST32): Likewise.
52229         [C99-based-standards] (SCNdLEAST32): Likewise.
52230         [C99-based-standards] (SCNiLEAST32): Likewise.
52231         [C99-based-standards] (SCNoLEAST32): Likewise.
52232         [C99-based-standards] (SCNuLEAST32): Likewise.
52233         [C99-based-standards] (SCNxLEAST32): Likewise.
52234         [C99-based-standards] (PRIdFAST32): Likewise.
52235         [C99-based-standards] (PRIiFAST32): Likewise.
52236         [C99-based-standards] (PRIoFAST32): Likewise.
52237         [C99-based-standards] (PRIuFAST32): Likewise.
52238         [C99-based-standards] (PRIxFAST32): Likewise.
52239         [C99-based-standards] (PRIXFAST32): Likewise.
52240         [C99-based-standards] (SCNdFAST32): Likewise.
52241         [C99-based-standards] (SCNiFAST32): Likewise.
52242         [C99-based-standards] (SCNoFAST32): Likewise.
52243         [C99-based-standards] (SCNuFAST32): Likewise.
52244         [C99-based-standards] (SCNxFAST32): Likewise.
52245         [C99-based-standards] (PRId64): Likewise.
52246         [C99-based-standards] (PRIi64): Likewise.
52247         [C99-based-standards] (PRIo64): Likewise.
52248         [C99-based-standards] (PRIu64): Likewise.
52249         [C99-based-standards] (PRIx64): Likewise.
52250         [C99-based-standards] (PRIX64): Likewise.
52251         [C99-based-standards] (SCNd64): Likewise.
52252         [C99-based-standards] (SCNi64): Likewise.
52253         [C99-based-standards] (SCNo64): Likewise.
52254         [C99-based-standards] (SCNu64): Likewise.
52255         [C99-based-standards] (SCNx64): Likewise.
52256         [C99-based-standards] (PRIdLEAST64): Likewise.
52257         [C99-based-standards] (PRIiLEAST64): Likewise.
52258         [C99-based-standards] (PRIoLEAST64): Likewise.
52259         [C99-based-standards] (PRIuLEAST64): Likewise.
52260         [C99-based-standards] (PRIxLEAST64): Likewise.
52261         [C99-based-standards] (PRIXLEAST64): Likewise.
52262         [C99-based-standards] (SCNdLEAST64): Likewise.
52263         [C99-based-standards] (SCNiLEAST64): Likewise.
52264         [C99-based-standards] (SCNoLEAST64): Likewise.
52265         [C99-based-standards] (SCNuLEAST64): Likewise.
52266         [C99-based-standards] (SCNxLEAST64): Likewise.
52267         [C99-based-standards] (PRIdFAST64): Likewise.
52268         [C99-based-standards] (PRIiFAST64): Likewise.
52269         [C99-based-standards] (PRIoFAST64): Likewise.
52270         [C99-based-standards] (PRIuFAST64): Likewise.
52271         [C99-based-standards] (PRIxFAST64): Likewise.
52272         [C99-based-standards] (PRIXFAST64): Likewise.
52273         [C99-based-standards] (SCNdFAST64): Likewise.
52274         [C99-based-standards] (SCNiFAST64): Likewise.
52275         [C99-based-standards] (SCNoFAST64): Likewise.
52276         [C99-based-standards] (SCNuFAST64): Likewise.
52277         [C99-based-standards] (SCNxFAST64): Likewise.
52278         [C99-based-standards] (PRIdMAX): Likewise.
52279         [C99-based-standards] (PRIiMAX): Likewise.
52280         [C99-based-standards] (PRIoMAX): Likewise.
52281         [C99-based-standards] (PRIuMAX): Likewise.
52282         [C99-based-standards] (PRIxMAX): Likewise.
52283         [C99-based-standards] (PRIXMAX): Likewise.
52284         [C99-based-standards] (SCNdMAX): Likewise.
52285         [C99-based-standards] (SCNiMAX): Likewise.
52286         [C99-based-standards] (SCNoMAX): Likewise.
52287         [C99-based-standards] (SCNuMAX): Likewise.
52288         [C99-based-standards] (SCNxMAX): Likewise.
52289         [C99-based-standards] (PRIdPTR): Likewise.
52290         [C99-based-standards] (PRIiPTR): Likewise.
52291         [C99-based-standards] (PRIoPTR): Likewise.
52292         [C99-based-standards] (PRIuPTR): Likewise.
52293         [C99-based-standards] (PRIxPTR): Likewise.
52294         [C99-based-standards] (PRIXPTR): Likewise.
52295         [C99-based-standards] (SCNdPTR): Likewise.
52296         [C99-based-standards] (SCNiPTR): Likewise.
52297         [C99-based-standards] (SCNoPTR): Likewise.
52298         [C99-based-standards] (SCNuPTR): Likewise.
52299         [C99-based-standards] (SCNxPTR): Likewise.
52300         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
52301         allow.
52302         * conform/data/stdint.h-data: Update comments to clarify
52303         requirements.
52304         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
52305         type.
52306         [C99-based standards] (INT8_MAX): Likewise.
52307         [C99-based standards] (INT16_MIN): Likewise.
52308         [C99-based standards] (INT16_MAX): Likewise.
52309         [C99-based standards] (INT32_MIN): Likewise.
52310         [C99-based standards] (INT32_MAX): Likewise.
52311         [C99-based standards] (INT64_MIN): Likewise.
52312         [C99-based standards] (INT64_MAX): Likewise.
52313         [C99-based standards] (UINT8_MAX): Likewise.
52314         [C99-based standards] (UINT16_MAX): Likewise.
52315         [C99-based standards] (UINT32_MAX): Likewise.
52316         [C99-based standards] (UINT64_MAX): Likewise.
52317         [C99-based standards] (INT_LEAST8_MIN): Likewise.
52318         [C99-based standards] (INT_LEAST8_MAX): Likewise.
52319         [C99-based standards] (INT_LEAST16_MIN): Likewise.
52320         [C99-based standards] (INT_LEAST16_MAX): Likewise.
52321         [C99-based standards] (INT_LEAST32_MIN): Likewise.
52322         [C99-based standards] (INT_LEAST32_MAX): Likewise.
52323         [C99-based standards] (INT_LEAST64_MIN): Likewise.
52324         [C99-based standards] (INT_LEAST64_MAX): Likewise.
52325         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
52326         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
52327         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
52328         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
52329         [C99-based standards] (INT_FAST8_MIN): Likewise.
52330         [C99-based standards] (INT_FAST8_MAX): Likewise.
52331         [C99-based standards] (INT_FAST16_MIN): Likewise.
52332         [C99-based standards] (INT_FAST16_MAX): Likewise.
52333         [C99-based standards] (INT_FAST32_MIN): Likewise.
52334         [C99-based standards] (INT_FAST32_MAX): Likewise.
52335         [C99-based standards] (INT_FAST64_MIN): Likewise.
52336         [C99-based standards] (INT_FAST64_MAX): Likewise.
52337         [C99-based standards] (UINT_FAST8_MAX): Likewise.
52338         [C99-based standards] (UINT_FAST16_MAX): Likewise.
52339         [C99-based standards] (UINT_FAST32_MAX): Likewise.
52340         [C99-based standards] (UINT_FAST64_MAX): Likewise.
52341         [C99-based standards] (INTPTR_MIN): Likewise.
52342         [C99-based standards] (INTPTR_MAX): Likewise.
52343         [C99-based standards] (UINTPTR_MAX): Likewise.
52344         [C99-based standards] (INTMAX_MIN): Likewise.
52345         [C99-based standards] (INTMAX_MAX): Likewise.
52346         [C99-based standards] (UINTMAX_MAX): Likewise.
52347         [C99-based standards] (PTRDIFF_MIN): Likewise.
52348         [C99-based standards] (PTRDIFF_MAX): Likewise.
52349         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
52350         [C99-based standards] (SIZE_MAX): Likewise.
52351         [C99-based standards] (WCHAR_MAX): Likewise.
52352         [C99-based standards] (WINT_MAX): Likewise.
52353         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
52354         constraint on value.
52355         [C99-based standards] (WCHAR_MIN): Likewise.
52356         [C99-based standards] (WINT_MIN): Likewise.
52357         [C99-based standards] (*_t): Allow.
52358         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
52359         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
52360         Include math.h-data and complex.h-data.  Remove all expectations
52361         of math.h and complex.h contents.
52362         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
52363         at end of line.
52364         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
52365         (struct tm): Expect tag.
52366         [C99-based-standards] (wcstof): Expect function.
52367         [C99-based-standards] (wcstold): Likewise.
52368         [C99-based-standards] (wcstoll): Likewise.
52369         [C99-based-standards] (wcstoull): Likewise.
52370         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
52371         macro-int-constant.  Specify type.
52372         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
52373         constraint on value.
52374         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52375         Specify type.
52376         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
52377         Specify value.
52378         [ISO C standards]: Do not allow headers.
52379         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
52380         wcs[abcdefghijklmnopqrstuvwxyz]*.
52381         [ISO C standards] (*_t): Do not allow.
52382         * conform/data/wctype.h-data [C99-based standards] (iswblank):
52383         Expect function.
52384         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
52385         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52386         Specify type.
52387         [ISO C standards]: Do not allow headers.
52388         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
52389         is[abcdefghijklmnopqrstuvwxyz]*.
52390         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
52391         to[abcdefghijklmnopqrstuvwxyz]*.
52392         [ISO C standards] (*_t): Do not allow.
52393         * conform/data/stdalign.h-data: New file.
52394         * conform/data/stdbool.h-data: Likewise.
52395         * conform/data/stdnoreturn.h-data: Likewise.
52397 2012-11-07  Roland McGrath  <roland@hack.frob.com>
52399         [BZ #14815]
52400         * manual/filesys.texi (Directory Entries): Typo fix.
52401         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
52403 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52405         * elf/elf.h (EM_AARCH64): New macro.
52406         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
52407         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
52408         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
52409         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
52410         (R_AARCH64_TLSDESC): Likewise.
52411         (NT_ARM_TLS): Likewise.
52412         (NT_ARM_HW_BREAK): Likewise.
52413         (NT_ARM_HW_WATCH): Likewise.
52415 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52417         [BZ #14811]
52418         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
52419         (__ieee754_powl): Saturate nonzero exponents with absolute value
52420         below 0x1p-79 to +/- 0x1p-79.
52421         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
52422         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
52423         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
52424         nonzero exponents with absolute value below 0x1p-32 to +/-
52425         0x1p-32.
52426         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
52427         (__ieee754_powl): Saturate nonzero exponents with absolute value
52428         below 0x1p-79 to +/- 0x1p-79.
52429         * math/libm-test.inc (pow_test): Add more tests.
52431 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52433         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
52434         _dl_s390_cap_flags with kernel. Increase string length.
52435         (_dl_s390_platforms): Add z196 and zEC12.
52437 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52439         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
52440         Change XOPEN21K to XOPEN2K.
52442 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
52444         * string/memmove.c: Use memcpy when possible.
52446 2012-11-06  Andreas Jaeger  <aj@suse.de>
52448         * po/eo.po: Update from translation team.
52450 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
52452         [BZ #14793]
52453         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
52454         exponent and small x and y exponents, scale x or y up.  Increase
52455         by 2 the exponent used in scaling up.
52456         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52457         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52458         * math/libm-test.inc (fma_test): Add more tests.
52459         (fma_test_towardzero): Likewise.
52460         (fma_test_downward): Likewise.
52461         (fma_test_upward): Likewise.
52463 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
52465         [BZ #14805]
52466         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
52467         fenv_t *.
52469         [BZ #14801]
52470         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
52471         namespace for names of struct fields.
52472         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
52473         fenv_t fields.
52474         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
52475         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
52477 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52479         [BZ #3665]
52480         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
52482 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
52484         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
52485         PTR_DEMANGLE.
52487         [BZ #5246]
52488         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
52489         PTR_DEMANGLE.
52491 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
52493         [BZ #14797]
52494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
52495         definitely overflow as x * y not x * y + z.
52496         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52497         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52498         * math/libm-test.inc (fma_test): Add more tests.
52499         (fma_test_towardzero): Likewise.
52500         (fma_test_downward): Likewise.
52501         (fma_test_upward): Likewise.
52503 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
52505         [BZ #157]
52507         * include/stub-tag.h: Remove file.
52508         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
52509         '#include' of it.
52510         * manual/maint.texi (Porting): Don't reference it.
52511         * Makerules ($(objpfx)stubs): Likewise.
52512         * dirent/closedir.c: Don't include <stub-tag.h>.
52513         * dirent/dirfd.c: Likewise.
52514         * dirent/fdopendir.c: Likewise.
52515         * dirent/getdents.c: Likewise.
52516         * dirent/getdents64.c: Likewise.
52517         * dirent/opendir.c: Likewise.
52518         * dirent/readdir.c: Likewise.
52519         * dirent/readdir64.c: Likewise.
52520         * dirent/readdir64_r.c: Likewise.
52521         * dirent/readdir_r.c: Likewise.
52522         * dirent/rewinddir.c: Likewise.
52523         * dirent/seekdir.c: Likewise.
52524         * dirent/telldir.c: Likewise.
52525         * gmon/profil.c: Likewise.
52526         * grp/setgroups.c: Likewise.
52527         * inet/if_index.c: Likewise.
52528         * io/access.c: Likewise.
52529         * io/chdir.c: Likewise.
52530         * io/chmod.c: Likewise.
52531         * io/chown.c: Likewise.
52532         * io/close.c: Likewise.
52533         * io/dup.c: Likewise.
52534         * io/dup2.c: Likewise.
52535         * io/dup3.c: Likewise.
52536         * io/euidaccess.c: Likewise.
52537         * io/faccessat.c: Likewise.
52538         * io/fchdir.c: Likewise.
52539         * io/fchmod.c: Likewise.
52540         * io/fchmodat.c: Likewise.
52541         * io/fchown.c: Likewise.
52542         * io/fchownat.c: Likewise.
52543         * io/fcntl.c: Likewise.
52544         * io/flock.c: Likewise.
52545         * io/fstatfs.c: Likewise.
52546         * io/fstatfs64.c: Likewise.
52547         * io/fstatvfs.c: Likewise.
52548         * io/fstatvfs64.c: Likewise.
52549         * io/futimens.c: Likewise.
52550         * io/fxstat.c: Likewise.
52551         * io/fxstat64.c: Likewise.
52552         * io/fxstatat.c: Likewise.
52553         * io/fxstatat64.c: Likewise.
52554         * io/getcwd.c: Likewise.
52555         * io/isatty.c: Likewise.
52556         * io/lchmod.c: Likewise.
52557         * io/lchown.c: Likewise.
52558         * io/link.c: Likewise.
52559         * io/linkat.c: Likewise.
52560         * io/lseek.c: Likewise.
52561         * io/lseek64.c: Likewise.
52562         * io/lxstat64.c: Likewise.
52563         * io/mkdir.c: Likewise.
52564         * io/mkdirat.c: Likewise.
52565         * io/mkfifo.c: Likewise.
52566         * io/mkfifoat.c: Likewise.
52567         * io/open.c: Likewise.
52568         * io/open64.c: Likewise.
52569         * io/openat.c: Likewise.
52570         * io/openat64.c: Likewise.
52571         * io/pipe.c: Likewise.
52572         * io/pipe2.c: Likewise.
52573         * io/poll.c: Likewise.
52574         * io/posix_fadvise.c: Likewise.
52575         * io/posix_fadvise64.c: Likewise.
52576         * io/posix_fallocate.c: Likewise.
52577         * io/posix_fallocate64.c: Likewise.
52578         * io/read.c: Likewise.
52579         * io/readlink.c: Likewise.
52580         * io/readlinkat.c: Likewise.
52581         * io/rmdir.c: Likewise.
52582         * io/sendfile.c: Likewise.
52583         * io/sendfile64.c: Likewise.
52584         * io/statfs.c: Likewise.
52585         * io/statfs64.c: Likewise.
52586         * io/statvfs.c: Likewise.
52587         * io/statvfs64.c: Likewise.
52588         * io/symlink.c: Likewise.
52589         * io/symlinkat.c: Likewise.
52590         * io/ttyname.c: Likewise.
52591         * io/ttyname_r.c: Likewise.
52592         * io/umask.c: Likewise.
52593         * io/unlink.c: Likewise.
52594         * io/unlinkat.c: Likewise.
52595         * io/utime.c: Likewise.
52596         * io/utimensat.c: Likewise.
52597         * io/write.c: Likewise.
52598         * io/xmknod.c: Likewise.
52599         * io/xmknodat.c: Likewise.
52600         * io/xstat.c: Likewise.
52601         * io/xstat64.c: Likewise.
52602         * login/getpt.c: Likewise.
52603         * login/grantpt.c: Likewise.
52604         * login/unlockpt.c: Likewise.
52605         * math/e_acoshl.c: Likewise.
52606         * math/e_acosl.c: Likewise.
52607         * math/e_asinl.c: Likewise.
52608         * math/e_atan2l.c: Likewise.
52609         * math/e_atanhl.c: Likewise.
52610         * math/e_coshl.c: Likewise.
52611         * math/e_expl.c: Likewise.
52612         * math/e_fmodl.c: Likewise.
52613         * math/e_gammal_r.c: Likewise.
52614         * math/e_hypotl.c: Likewise.
52615         * math/e_j0l.c: Likewise.
52616         * math/e_j1l.c: Likewise.
52617         * math/e_jnl.c: Likewise.
52618         * math/e_lgammal_r.c: Likewise.
52619         * math/e_log10l.c: Likewise.
52620         * math/e_log2l.c: Likewise.
52621         * math/e_logl.c: Likewise.
52622         * math/e_powl.c: Likewise.
52623         * math/e_rem_pio2l.c: Likewise.
52624         * math/e_sinhl.c: Likewise.
52625         * math/e_sqrtl.c: Likewise.
52626         * math/fclrexcpt.c: Likewise.
52627         * math/fedisblxcpt.c: Likewise.
52628         * math/feenablxcpt.c: Likewise.
52629         * math/fegetenv.c: Likewise.
52630         * math/fegetexcept.c: Likewise.
52631         * math/fegetround.c: Likewise.
52632         * math/feholdexcpt.c: Likewise.
52633         * math/fesetenv.c: Likewise.
52634         * math/fesetround.c: Likewise.
52635         * math/feupdateenv.c: Likewise.
52636         * math/fgetexcptflg.c: Likewise.
52637         * math/fraiseexcpt.c: Likewise.
52638         * math/fsetexcptflg.c: Likewise.
52639         * math/ftestexcept.c: Likewise.
52640         * math/k_cosl.c: Likewise.
52641         * math/k_rem_pio2l.c: Likewise.
52642         * math/k_sinl.c: Likewise.
52643         * math/k_tanl.c: Likewise.
52644         * math/s_asinhl.c: Likewise.
52645         * math/s_atanl.c: Likewise.
52646         * math/s_cbrtl.c: Likewise.
52647         * math/s_erfl.c: Likewise.
52648         * math/s_expm1l.c: Likewise.
52649         * math/s_log1pl.c: Likewise.
52650         * math/s_tanhl.c: Likewise.
52651         * misc/acct.c: Likewise.
52652         * misc/brk.c: Likewise.
52653         * misc/chflags.c: Likewise.
52654         * misc/chroot.c: Likewise.
52655         * misc/fchflags.c: Likewise.
52656         * misc/fgetxattr.c: Likewise.
52657         * misc/flistxattr.c: Likewise.
52658         * misc/fremovexattr.c: Likewise.
52659         * misc/fsetxattr.c: Likewise.
52660         * misc/fsync.c: Likewise.
52661         * misc/ftruncate.c: Likewise.
52662         * misc/futimes.c: Likewise.
52663         * misc/futimesat.c: Likewise.
52664         * misc/getdomain.c: Likewise.
52665         * misc/getdtsz.c: Likewise.
52666         * misc/gethostid.c: Likewise.
52667         * misc/gethostname.c: Likewise.
52668         * misc/getloadavg.c: Likewise.
52669         * misc/getpagesize.c: Likewise.
52670         * misc/getsysstats.c: Likewise.
52671         * misc/getxattr.c: Likewise.
52672         * misc/gtty.c: Likewise.
52673         * misc/ioctl.c: Likewise.
52674         * misc/lgetxattr.c: Likewise.
52675         * misc/listxattr.c: Likewise.
52676         * misc/llistxattr.c: Likewise.
52677         * misc/lremovexattr.c: Likewise.
52678         * misc/lsetxattr.c: Likewise.
52679         * misc/lutimes.c: Likewise.
52680         * misc/madvise.c: Likewise.
52681         * misc/mincore.c: Likewise.
52682         * misc/mlock.c: Likewise.
52683         * misc/mlockall.c: Likewise.
52684         * misc/mmap.c: Likewise.
52685         * misc/mprotect.c: Likewise.
52686         * misc/msync.c: Likewise.
52687         * misc/munlock.c: Likewise.
52688         * misc/munlockall.c: Likewise.
52689         * misc/munmap.c: Likewise.
52690         * misc/preadv.c: Likewise.
52691         * misc/preadv64.c: Likewise.
52692         * misc/ptrace.c: Likewise.
52693         * misc/pwritev.c: Likewise.
52694         * misc/pwritev64.c: Likewise.
52695         * misc/readv.c: Likewise.
52696         * misc/reboot.c: Likewise.
52697         * misc/remap_file_pages.c: Likewise.
52698         * misc/removexattr.c: Likewise.
52699         * misc/revoke.c: Likewise.
52700         * misc/select.c: Likewise.
52701         * misc/setdomain.c: Likewise.
52702         * misc/setegid.c: Likewise.
52703         * misc/seteuid.c: Likewise.
52704         * misc/sethostid.c: Likewise.
52705         * misc/sethostname.c: Likewise.
52706         * misc/setregid.c: Likewise.
52707         * misc/setreuid.c: Likewise.
52708         * misc/setxattr.c: Likewise.
52709         * misc/sstk.c: Likewise.
52710         * misc/stty.c: Likewise.
52711         * misc/swapoff.c: Likewise.
52712         * misc/swapon.c: Likewise.
52713         * misc/sync.c: Likewise.
52714         * misc/syncfs.c: Likewise.
52715         * misc/syscall.c: Likewise.
52716         * misc/truncate.c: Likewise.
52717         * misc/ualarm.c: Likewise.
52718         * misc/usleep.c: Likewise.
52719         * misc/ustat.c: Likewise.
52720         * misc/utimes.c: Likewise.
52721         * misc/vhangup.c: Likewise.
52722         * misc/writev.c: Likewise.
52723         * posix/_exit.c: Likewise.
52724         * posix/alarm.c: Likewise.
52725         * posix/execve.c: Likewise.
52726         * posix/fexecve.c: Likewise.
52727         * posix/fork.c: Likewise.
52728         * posix/fpathconf.c: Likewise.
52729         * posix/getaddrinfo.c: Likewise.
52730         * posix/getegid.c: Likewise.
52731         * posix/geteuid.c: Likewise.
52732         * posix/getgid.c: Likewise.
52733         * posix/getgroups.c: Likewise.
52734         * posix/getlogin.c: Likewise.
52735         * posix/getlogin_r.c: Likewise.
52736         * posix/getpgid.c: Likewise.
52737         * posix/getpid.c: Likewise.
52738         * posix/getppid.c: Likewise.
52739         * posix/getresgid.c: Likewise.
52740         * posix/getresuid.c: Likewise.
52741         * posix/getsid.c: Likewise.
52742         * posix/getuid.c: Likewise.
52743         * posix/glob64.c: Likewise.
52744         * posix/nanosleep.c: Likewise.
52745         * posix/pathconf.c: Likewise.
52746         * posix/pause.c: Likewise.
52747         * posix/posix_madvise.c: Likewise.
52748         * posix/pread.c: Likewise.
52749         * posix/pread64.c: Likewise.
52750         * posix/pwrite.c: Likewise.
52751         * posix/pwrite64.c: Likewise.
52752         * posix/sched_getaffinity.c: Likewise.
52753         * posix/sched_getp.c: Likewise.
52754         * posix/sched_gets.c: Likewise.
52755         * posix/sched_primax.c: Likewise.
52756         * posix/sched_primin.c: Likewise.
52757         * posix/sched_rr_gi.c: Likewise.
52758         * posix/sched_setaffinity.c: Likewise.
52759         * posix/sched_setp.c: Likewise.
52760         * posix/sched_sets.c: Likewise.
52761         * posix/sched_yield.c: Likewise.
52762         * posix/setgid.c: Likewise.
52763         * posix/setlogin.c: Likewise.
52764         * posix/setpgid.c: Likewise.
52765         * posix/setresgid.c: Likewise.
52766         * posix/setresuid.c: Likewise.
52767         * posix/setsid.c: Likewise.
52768         * posix/setuid.c: Likewise.
52769         * posix/sleep.c: Likewise.
52770         * posix/spawni.c: Likewise.
52771         * posix/sysconf.c: Likewise.
52772         * posix/times.c: Likewise.
52773         * posix/wait.c: Likewise.
52774         * posix/wait3.c: Likewise.
52775         * posix/wait4.c: Likewise.
52776         * posix/waitpid.c: Likewise.
52777         * resolv/gai_sigqueue.c: Likewise.
52778         * resource/getpriority.c: Likewise.
52779         * resource/getrlimit.c: Likewise.
52780         * resource/getrusage.c: Likewise.
52781         * resource/nice.c: Likewise.
52782         * resource/setpriority.c: Likewise.
52783         * resource/setrlimit.c: Likewise.
52784         * resource/ulimit.c: Likewise.
52785         * rt/aio_cancel.c: Likewise.
52786         * rt/aio_fsync.c: Likewise.
52787         * rt/aio_read.c: Likewise.
52788         * rt/aio_sigqueue.c: Likewise.
52789         * rt/aio_suspend.c: Likewise.
52790         * rt/aio_write.c: Likewise.
52791         * rt/clock_getres.c: Likewise.
52792         * rt/clock_gettime.c: Likewise.
52793         * rt/clock_nanosleep.c: Likewise.
52794         * rt/clock_settime.c: Likewise.
52795         * rt/lio_listio.c: Likewise.
52796         * rt/mq_close.c: Likewise.
52797         * rt/mq_getattr.c: Likewise.
52798         * rt/mq_notify.c: Likewise.
52799         * rt/mq_open.c: Likewise.
52800         * rt/mq_receive.c: Likewise.
52801         * rt/mq_send.c: Likewise.
52802         * rt/mq_setattr.c: Likewise.
52803         * rt/mq_timedreceive.c: Likewise.
52804         * rt/mq_timedsend.c: Likewise.
52805         * rt/mq_unlink.c: Likewise.
52806         * rt/shm_open.c: Likewise.
52807         * rt/shm_unlink.c: Likewise.
52808         * rt/timer_create.c: Likewise.
52809         * rt/timer_delete.c: Likewise.
52810         * rt/timer_getoverr.c: Likewise.
52811         * rt/timer_gettime.c: Likewise.
52812         * rt/timer_settime.c: Likewise.
52813         * setjmp/__longjmp.c: Likewise.
52814         * setjmp/setjmp.c: Likewise.
52815         * signal/kill.c: Likewise.
52816         * signal/killpg.c: Likewise.
52817         * signal/raise.c: Likewise.
52818         * signal/sigaction.c: Likewise.
52819         * signal/sigaltstack.c: Likewise.
52820         * signal/sigblock.c: Likewise.
52821         * signal/sigignore.c: Likewise.
52822         * signal/sigintr.c: Likewise.
52823         * signal/signal.c: Likewise.
52824         * signal/sigpause.c: Likewise.
52825         * signal/sigpending.c: Likewise.
52826         * signal/sigqueue.c: Likewise.
52827         * signal/sigreturn.c: Likewise.
52828         * signal/sigset.c: Likewise.
52829         * signal/sigsetmask.c: Likewise.
52830         * signal/sigstack.c: Likewise.
52831         * signal/sigsuspend.c: Likewise.
52832         * signal/sigtimedwait.c: Likewise.
52833         * signal/sigvec.c: Likewise.
52834         * signal/sigwait.c: Likewise.
52835         * signal/sigwaitinfo.c: Likewise.
52836         * signal/sysv_signal.c: Likewise.
52837         * socket/accept.c: Likewise.
52838         * socket/accept4.c: Likewise.
52839         * socket/bind.c: Likewise.
52840         * socket/connect.c: Likewise.
52841         * socket/getpeername.c: Likewise.
52842         * socket/getsockname.c: Likewise.
52843         * socket/getsockopt.c: Likewise.
52844         * socket/isfdtype.c: Likewise.
52845         * socket/listen.c: Likewise.
52846         * socket/recv.c: Likewise.
52847         * socket/recvfrom.c: Likewise.
52848         * socket/recvmsg.c: Likewise.
52849         * socket/send.c: Likewise.
52850         * socket/sendmsg.c: Likewise.
52851         * socket/sendto.c: Likewise.
52852         * socket/setsockopt.c: Likewise.
52853         * socket/shutdown.c: Likewise.
52854         * socket/sockatmark.c: Likewise.
52855         * socket/socket.c: Likewise.
52856         * socket/socketpair.c: Likewise.
52857         * stdio-common/ctermid.c: Likewise.
52858         * stdio-common/cuserid.c: Likewise.
52859         * stdio-common/remove.c: Likewise.
52860         * stdio-common/rename.c: Likewise.
52861         * stdio-common/renameat.c: Likewise.
52862         * stdio-common/tempname.c: Likewise.
52863         * stdlib/getcontext.c: Likewise.
52864         * stdlib/makecontext.c: Likewise.
52865         * stdlib/setcontext.c: Likewise.
52866         * stdlib/swapcontext.c: Likewise.
52867         * stdlib/system.c: Likewise.
52868         * streams/fattach.c: Likewise.
52869         * streams/fdetach.c: Likewise.
52870         * streams/getmsg.c: Likewise.
52871         * streams/getpmsg.c: Likewise.
52872         * streams/putmsg.c: Likewise.
52873         * streams/putpmsg.c: Likewise.
52874         * sysdeps/unix/bsd/getpt.c: Likewise.
52875         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
52876         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
52877         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52879         Likewise.
52880         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
52881         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52882         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
52883         * sysvipc/msgctl.c: Likewise.
52884         * sysvipc/msgget.c: Likewise.
52885         * sysvipc/msgrcv.c: Likewise.
52886         * sysvipc/msgsnd.c: Likewise.
52887         * sysvipc/semctl.c: Likewise.
52888         * sysvipc/semget.c: Likewise.
52889         * sysvipc/semop.c: Likewise.
52890         * sysvipc/semtimedop.c: Likewise.
52891         * sysvipc/shmat.c: Likewise.
52892         * sysvipc/shmctl.c: Likewise.
52893         * sysvipc/shmdt.c: Likewise.
52894         * sysvipc/shmget.c: Likewise.
52895         * termios/tcdrain.c: Likewise.
52896         * termios/tcflow.c: Likewise.
52897         * termios/tcflush.c: Likewise.
52898         * termios/tcgetattr.c: Likewise.
52899         * termios/tcgetpgrp.c: Likewise.
52900         * termios/tcsendbrk.c: Likewise.
52901         * termios/tcsetattr.c: Likewise.
52902         * termios/tcsetpgrp.c: Likewise.
52903         * time/adjtime.c: Likewise.
52904         * time/clock.c: Likewise.
52905         * time/getitimer.c: Likewise.
52906         * time/gettimeofday.c: Likewise.
52907         * time/setitimer.c: Likewise.
52908         * time/settimeofday.c: Likewise.
52909         * time/stime.c: Likewise.
52910         * time/time.c: Likewise.
52912 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
52914         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
52915         /usr/old/bin.
52917         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
52918         instead of spaces.
52919         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
52921 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
52923         [BZ #14796]
52924         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
52925         FE_TONEAREST before applying Dekker multiplication and Knuth
52926         addition.  Clear inexact exceptions and check for exact zero
52927         results afterwards.
52928         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52929         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52930         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52931         * math/libm-test.inc (fma_test): Add more tests.
52932         (fma_test_towardzero): Likewise.
52933         (fma_test_downward): Likewise.
52934         (fma_test_upward): Likewise.
52935         * sysdeps/generic/math_private.h (default_libc_fesetround): New
52936         function.
52937         (libc_fesetround): New macro.
52938         (libc_fesetroundf): Likewise.
52939         (libc_fesetroundl): Likewise.
52940         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
52941         function.
52942         (libc_fesetround_387): Likewise.
52943         (libc_fesetroundf): New macro.
52944         (libc_fesetround): Likewise.
52945         (libc_fesetroundl): Likewise.
52946         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
52947         function.
52948         (libc_fesetroundf): New macro.
52949         (libc_fesetround): Likewise.
52950         (libc_fesetroundl): Likewise.
52951         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
52952         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
52953         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
52954         libm_hidden_ver.
52955         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
52956         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
52957         libm_hidden_def.
52958         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
52959         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52960         libm_hidden_ver.
52961         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52962         libm_hidden_def.
52964         [BZ #3439]
52965         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52966         integer constant usable in #if and use that to give value to enum
52967         constant.
52968         (FE_DIVBYZERO): Likewise.
52969         (FE_UNDERFLOW): Likewise.
52970         (FE_OVERFLOW): Likewise.
52971         (FE_INVALID): Likewise.
52972         (FE_INVALID_SNAN): Likewise.
52973         (FE_INVALID_ISI): Likewise.
52974         (FE_INVALID_IDI): Likewise.
52975         (FE_INVALID_ZDZ): Likewise.
52976         (FE_INVALID_IMZ): Likewise.
52977         (FE_INVALID_COMPARE): Likewise.
52978         (FE_INVALID_SOFTWARE): Likewise.
52979         (FE_INVALID_SQRT): Likewise.
52980         (FE_INVALID_INTEGER_CONVERSION): Likewise.
52981         (FE_TONEAREST): Likewise.
52982         (FE_TOWARDZERO): Likewise.
52983         (FE_UPWARD): Likewise.
52984         (FE_DOWNWARD): Likewise.
52985         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
52986         (FE_DIVBYZERO): Likewise.
52987         (FE_OVERFLOW): Likewise.
52988         (FE_UNDERFLOW): Likewise.
52989         (FE_INEXACT): Likewise.
52990         (FE_TONEAREST): Likewise.
52991         (FE_DOWNWARD): Likewise.
52992         (FE_UPWARD): Likewise.
52993         (FE_TOWARDZERO): Likewise.
52994         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
52995         (FE_UNDERFLOW): Likewise.
52996         (FE_OVERFLOW): Likewise.
52997         (FE_DIVBYZERO): Likewise.
52998         (FE_INVALID): Likewise.
52999         (FE_TONEAREST): Likewise.
53000         (FE_TOWARDZERO): Likewise.
53001         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
53002         (FE_OVERFLOW): Likewise.
53003         (FE_UNDERFLOW): Likewise.
53004         (FE_DIVBYZERO): Likewise.
53005         (FE_INEXACT): Likewise.
53006         (FE_TONEAREST): Likewise.
53007         (FE_TOWARDZERO): Likewise.
53008         (FE_UPWARD): Likewise.
53009         (FE_DOWNWARD): Likewise.
53010         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
53011         (FE_DIVBYZERO): Likewise.
53012         (FE_OVERFLOW): Likewise.
53013         (FE_UNDERFLOW): Likewise.
53014         (FE_INEXACT): Likewise.
53015         (FE_TONEAREST): Likewise.
53016         (FE_DOWNWARD): Likewise.
53017         (FE_UPWARD): Likewise.
53018         (FE_TOWARDZERO): Likewise.
53020 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
53022         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
53024 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
53026         * scripts/cross-test-ssh.sh (command): Use newlines to separate
53027         commands.  Quote $PWD.
53028         (blacklist_exports): Don't use remove_newlines.  Replace "declare
53029         -x" by "export".
53030         (remove_newlines): Remove.
53032 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
53034         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
53035         * stdlib/stdlib.h (atof): Moved to ...
53036         * include/bits/stdlib-float.h: Here.  New file.
53037         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
53038         * stdlib/bits/stdlib-float.h: New file.
53039         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
53040         -mno-sse -mno-mmx.
53041         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
53042         <xmmintrin.h>.
53044 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53046         * conform/conformtest.pl (@headers): Add fenv.h.
53047         * conform/data/fenv.h-data: New file.
53048         * include/fenv.h [_ISOMAC]: Disable all contents of file except
53049         include of <math/fenv.h>.
53051         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
53052         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
53053         && !UNIX98].  Enables tests for XOPEN2K8.
53054         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
53055         POSIX2008]: Likewise.
53057         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
53058         (struct rusage): Do not expect type or its members.
53060         [BZ #3439]
53061         * math/math.h (FP_NAN): Define macro to integer constant usable in
53062         #if and use that to give value to enum constant.
53063         (FP_INFINITE): Likewise.
53064         (FP_ZERO): Likewise.
53065         (FP_SUBNORMAL): Likewise.
53066         (FP_NORMAL): Likewise.
53068 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
53070         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
53071         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
53072         arguments.
53074 2012-11-02  Roland McGrath  <roland@hack.frob.com>
53076         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
53077         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
53078         autoconf-time if not.
53079         * configure.in: Remove AC_PREREQ.
53081 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53083         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
53084         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
53085         of the internal implementation.
53087 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53089         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
53090         except include of <misc/sys/syslog.h>.
53092 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
53095         function returns with a NULL context exit with zero.
53097 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53099         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
53101 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
53103         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
53104         (run_program_cmd): This.
53105         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
53106         (tst_langinfo): New variable.  Use it.
53108 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
53110         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
53111         floating point opcodes.
53113 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53115         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
53116         variable.
53118         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
53120         * sysdeps/mach/hurd/powerpc: Remove directory.
53121         * sysdeps/mach/powerpc: Likewise.
53123 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53125         * scripts/check-local-headers.sh: Ignore c++ headers.
53127 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53129         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
53130         __libc_cleanup_region_start argument.
53132 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
53134         [BZ #14784]
53135         [BZ #14785]
53136         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
53137         x * y using scaling, not as x * y + z.
53138         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53139         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53140         * math/libm-test.inc (fma_test): Add more tests.
53141         (fma_test_towardzero): Likewise.
53142         (fma_test_downward): Likewise.
53143         (fma_test_upward): Likewise.
53145 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53147         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
53149 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
53151         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
53152         New variable.
53154 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
53156         * rt/tst-shm.c (worker): Correct checking for mmap failure.
53158 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53161         Fix sort order.
53162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53163         Likewise.
53165 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53168         Fix the order of the list for glibc 2.17.
53169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53170         Likewise.
53172 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53176 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
53178         [BZ #14610]
53179         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
53180         for low part of x being zero before using __atanl (y).
53181         * math/libm-test.inc (atan2_test): Add another test.
53183         * manual/install.texi (Configuring and compiling): Document
53184         general use of test-wrapper and test-wrapper-env.
53185         * INSTALL: Regenerated.
53187         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
53188         (__fma): Do not extract and scale down low bits on after-rounding
53189         systems when result rounded to normal precision would have normal
53190         exponent.
53191         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
53192         (__fmal): Do not extract and scale down low bits on after-rounding
53193         systems when result rounded to normal precision would have normal
53194         exponent.
53195         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
53196         (__fmal): Do not extract and scale down low bits on after-rounding
53197         systems when result rounded to normal precision would have normal
53198         exponent.
53199         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
53200         macro.
53201         (fma_test): Add more tests.
53202         (fma_test_towardzero): Likewise.
53203         (fma_test_downward): Likewise.
53204         (fma_test_upward): Likewise.
53206 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
53208         * sysdeps/i386/tininess.h: Renamed to ...
53209         * sysdeps/x86/tininess.h: This.
53210         * sysdeps/x86_64/tininess.h: Removed.
53212 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
53214         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
53215         input.  Use $(build-program-cmd).
53216         ($(objpfx)tst-array1-static.out): Likewise.
53217         ($(objpfx)tst-array2.out): Likewise.
53218         ($(objpfx)tst-array3.out): Likewise.
53219         ($(objpfx)tst-array4.out): Likewise.
53220         ($(objpfx)tst-array5.out): Likewise.
53221         ($(objpfx)tst-array5-static.out): Likewise.
53223 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
53225         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
53226         if defined.
53228         * nss/nsswitch.h (nss_interface_function): Provide new
53229         macro for use with NSS functions.
53230         * grp/initgroups.c: Use new macro.
53231         * nss/getXXbyYY.c: Likewise.
53232         * nss/getXXbyYY_r.c: Likewise.
53233         * nss/getXXent.c: Likewise.
53234         * nss/getXXent_r.c: Likewise.
53235         * sysdeps/posix/getaddrinfo.c: Likewise.
53237 2012-10-30  Andreas Jaeger  <aj@suse.de>
53239         * po/ru.po: Update Russion translation from translation project.
53241 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
53243         [BZ #14152]
53244         [BZ #14783]
53245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
53246         result and shift together with sticky bit instead of replicating
53247         round-to-nearest rounding.
53248         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53249         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53250         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
53251         missing underflow exceptions.
53252         (fma_test_towardzero): Add more tests.
53253         (fma_test_downward): Likewise.
53254         (fma_test_upward): Likewise.
53256         [BZ #14047]
53257         * sysdeps/generic/tininess.h: New file.
53258         * sysdeps/i386/tininess.h: Likewise.
53259         * sysdeps/sh/tininess.h: Likewise.
53260         * sysdeps/x86_64/tininess.h: Likewise.
53261         * stdlib/tst-strtod-underflow.c: Likewise.
53262         * stdlib/tst-tininess.c: Likewise.
53263         * stdlib/strtod_l.c: Include <tininess.h>.
53264         (round_and_return): Do not set errno for exact underflow cases.
53265         Force an underflow exception when setting errno for underflow.
53266         Determine underflow based on rounding to normal precision if
53267         TININESS_AFTER_ROUNDING.
53268         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
53269         ERANGE for exact underflow cases.
53270         * stdlib/Makefile (tests): Add tst-tininess and
53271         tst-strtod-underflow.
53272         ($(objpfx)tst-tininess): Use $(link-libm).
53273         ($(objpfx)tst-strtod-underflow): Likewise.
53275 2012-10-30  Andreas Jaeger  <aj@suse.de>
53277         [BZ#14767]
53278         * elf/Makefile (tests): Remove conditional for have-initfini-array
53279         since this is now always required and the variable does not exist
53280         anymore.
53281         (tests-static): Likewise.
53282         (modules-names): Likewise.
53284         * po/eo.po: Add Esperanto translation from translation project.
53286         * elf/tst-array1.c (fini_array): Make writeable so that it can be
53287         merged with constructor/destructor.
53288         (init_array): Likewise.
53289         * elf/tst-array2dep.c (fini_array): Likewise.
53290         (init_array): Likewise.
53292 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
53294         * manual/message.texi: Delete @cartouche tags.
53296 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
53298         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
53299         EOPNOTSUPP.
53300         * sysdeps/mach/hurd/fsync.c: Likewise.
53302         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
53303         [_POSIX_REALTIME_SIGNALS]: Change condition to
53304         [_POSIX_REALTIME_SIGNALS > 0].
53306 2012-10-27  Andreas Jaeger  <aj@suse.de>
53308         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
53309         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
53310         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
53311         [__WORDSIZE != 64]: Likewise.
53313 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
53315         *  iconvdata/tst-table.sh: Remove ${SHELL}.
53316         *  iconvdata/tst-tables.sh: Likewise.
53318 2012-10-25  David S. Miller  <davem@davemloft.net>
53320         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53321         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
53322         of strtoull.
53324         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
53325         ifunc-impl-list.c
53326         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53327         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
53328         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
53329         file.
53331 2012-10-25  Roland McGrath  <roland@hack.frob.com>
53333         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53334         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
53335         __getdirentries.
53337 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
53338             Jim Blandy  <jimb@codesourcery.com>
53340         * scripts/cross-test-ssh.sh: New file.
53341         * manual/install.texi (Configuring and compiling): Document use of
53342         cross-test-ssh.sh.
53343         * INSTALL: Regenerated.
53345 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
53347         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
53348         EOPNOTSUPP.
53350 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
53352         * Makeconfig (run-program-prefix): Fix comment.
53354 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
53355             Jim Blandy  <jimb@codesourcery.com>
53357         * Makeconfig (test-wrapper): New variable,
53358         (test-wrapper-env): Likewise.
53359         [$(cross-compiling) = yes && $(test-wrapper) != ""]
53360         (run-built-tests): Define to yes.
53361         (run-program-prefix): Use $(test-wrapper).
53362         (built-program-cmd): Likewise.
53363         * Rules (make-test-out): Use $(test-wrapper-env) and
53364         $(host-built-program-cmd).
53365         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
53366         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
53367         tst-pathopt.sh.
53368         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
53369         $(test-wrapper-env) to tst-rtld-load-self.sh.
53370         ($(objpfx)order2.out): Use $(test-wrapper).
53371         ($(objpfx)tst-initorder.out): Likewise.
53372         ($(objpfx)tst-initorder2.out): Likewise.
53373         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
53374         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
53375         (test_wrapper_env): New variable.  Use it to run ld.so.
53376         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
53377         Use it to run ld.so.
53378         (test_wrapper_env): Likewise.
53379         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
53380         $(test-wrapper) to run-iconv-test.sh.
53381         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
53382         (ICONV): Use $test_wrapper.
53383         * posix/Makefile ($(objpfx)globtest.out): Pass
53384         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
53385         globtest.sh, not $(run-program-prefix).
53386         * posix/globtest.sh (run_via_rtld_prefix): New variable.
53387         (test_wrapper): Likewise.
53388         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
53389         set together with run_via_rtld_prefix.
53390         (run_program_prefix): Define in terms of test_wrapper and
53391         run_via_rtld_prefix.
53393 2012-10-24  Roland McGrath  <roland@hack.frob.com>
53395         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
53396         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
53397         Targets removed.
53399         [BZ #14743]
53400         * include/time.h: Remove librt_hidden_proto (clock_gettime).
53401         Declare __clock_getres, __clock_gettime, __clock_settime,
53402         __clock_nanosleep, and __clock_getcpuclockid.
53403         * rt/clock_gettime.c: Define __clock_gettime as an alias.
53404         Remove librt_hidden_def (clock_gettime).
53405         * sysdeps/unix/clock_gettime.c: Likewise.
53406         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
53407         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
53408         * rt/clock_getres.c: Define __clock_getres as an alias.
53409         * sysdeps/posix/clock_getres.c: Likewise.
53410         * rt/clock_settime.c: Define __clock_settime as an alias.
53411         * sysdeps/unix/clock_settime.c: Likewise.
53412         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
53413         * sysdeps/unix/clock_nanosleep.c: Likewise.
53414         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
53415         * rt/clock-compat.c: New file.
53416         * rt/Makefile (librt-routines): Add clock-compat and move
53417         $(clock-routines) to ...
53418         (routines): ... here, new variable.
53419         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
53420         Don't add get_clockfreq here.
53421         * rt/Versions (libc: GLIBC_2.17): New version set.
53422         Add clock_* symbols here.
53423         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
53424         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
53425         (GLIBC_2.17): Add clock_* symbols.
53426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53428         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53430         Likewise.
53431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53432         Likewise.
53433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53437         * NEWS: Mention the move.
53439         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53440         Use __open, __read, __close rather than their public counterparts.
53441         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53442         (__get_clockfreq_via_cpuinfo): Likewise.
53443         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
53444         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
53446         * config.h.in (HAVE_IFUNC): New #undef.
53447         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
53448         was successful.
53449         * configure: Regenerated.
53451 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
53453         * configure.in: Move READELF check to start of file.
53454         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
53455         libc_cv_asm_gnu_indirect_function in the process.
53456         * configure: Regenerated.
53458 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
53460         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
53461         send the output to /dev/null.
53462         (libc_cv_cc_with_libunwind): Likewise.
53463         (libc_cv_as_noexecstack): Likewise.
53464         * configure: Regenerate.
53466 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
53468         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
53470         * posix/globtest.sh (TMPDIR): Do not set.
53471         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
53472         (testout): Likewise.
53474 2012-10-24  Andreas Jaeger  <aj@suse.de>
53476         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
53477         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
53478         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
53479         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
53480         posix_fadvise64, posix_fallocate64.
53482         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
53483         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
53484         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
53485         Likewise.
53486         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
53487         Likewise.
53488         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
53490         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
53491         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
53492         <bits/fcntl-linux.h>.
53493         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
53495         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
53496         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
53497         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
53498         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
53499         [__WORDSIZE != 64]: Likewise.
53501 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
53503         * Makeconfig (run-built-tests): New variable.
53504         * Rules [$(cross-compiling) = yes]: Change condition to
53505         [$(run-built-tests) = no].
53506         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
53507         to [$(run-built-tests) = yes].
53508         * elf/Makefile [$(cross-compiling) = no]: Likewise.
53509         * grp/Makefile [$(cross-compiling) = no]: Likewise.
53510         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
53511         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
53512         * intl/Makefile [$(cross-compiling) = no]: Likewise.
53513         * io/Makefile [$(cross-compiling) = no]: Likewise.
53514         * libio/Makefile [$(cross-compiling) = no]: Likewise.
53515         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
53516         * misc/Makefile [$(cross-compiling) = no]: Likewise.
53517         * posix/Makefile [$(cross-compiling) = no]: Likewise.
53518         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
53519         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
53520         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
53521         * string/Makefile [$(cross-compiling) = no]: Likewise.
53523         * posix/Makefile ($(objpfx)globtest.out): Pass
53524         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
53525         $(rtld-installed-name).
53526         * posix/globtest.sh (elf_objpfx): Remove variable.
53527         (rtld_installed_name): Likewise.
53528         (library_path): Likewise.
53529         (run_program_prefix): New variable.  Use for running globtest
53530         binary.
53532 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
53533             Joseph Myers  <joseph@codesourcery.com>
53535         * Makeconfig (host-built-program-cmd): New variable.
53536         * elf/Makefile (tst-stackguard1-ARGS): Use
53537         $(host-built-program-cmd).
53538         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
53539         (tst-spawn-ARGS): Likewise.
53540         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
53542 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
53543             Jim Blandy  <jimb@codesourcery.com>
53545         * Makeconfig (run-via-rtld-prefix): New variable.
53546         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
53547         (built-program-cmd): Likewise.
53549 2012-10-22  Andreas Jaeger  <aj@suse.de>
53551         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
53552         __O_RSYNC if it exists, otherwise to O_SYNC.
53554 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
53555             Joseph Myers  <joseph@codesourcery.com>
53557         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
53558         /dev/null.
53559         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
53560         from /dev/null
53561         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
53562         /dev/null.
53564 2012-10-22  Andreas Jaeger  <aj@suse.de>
53566         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
53567         Define always.
53568         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
53570         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53571         bits/fcntl-linux.h.
53573         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
53574         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
53576         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
53577         to __O_LARGEFILE.
53578         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
53579         to __O_LARGEFILE.
53581 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
53582             Joseph Myers  <joseph@codesourcery.com>
53584         * config.make.in (NM): New variable.
53586 2012-10-21  Andreas Jaeger  <aj@suse.de>
53588         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
53589         definitions and declarations that are provided by
53590         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53592 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53594         [BZ #14683]
53595         * elf/Makefile (tests-static): Add tst-leaks1-static.
53596         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
53597         ($(objpfx)tst-leaks1-static): New rule.
53598         ($(objpfx)tst-leaks1-static-mem): Likewise.
53599         (tst-leaks1-static-ENV): New macro.
53600         * elf/dl-open.c (dl_open_worker): Check the main application
53601         only if SHARED is defined.
53602         * elf/tst-leaks1-static.c: New file.
53604 2012-10-20  Andreas Jaeger  <aj@suse.de>
53606         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
53607         generic values for Linux.
53608         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
53609         and declarations that are provided by <bits/fcntl-linux.h> and
53610         include <bits/fcntl-linux.h>.
53611         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53612         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53614 2012-10-20  Roland McGrath  <roland@hack.frob.com>
53616         * io/fcntl.h: Move include of <bits/types.h> to the top and
53617         include it unconditionally.
53619 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53621         * wcsmbs/Makefile (tests-ifunc): New variable.
53622         (tests): Add $(tests-ifunc).
53623         * wcsmbs/test-wcschr-ifunc.c: New file.
53624         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
53625         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
53626         * wcsmbs/test-wcslen-ifunc.c: Likewise.
53627         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
53628         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
53630         * string/Makefile (tests-ifunc): New variable.
53631         (tests): Add $(tests-ifunc).
53632         * string/test-memccpy.c (TEST_NAME): New macro.
53633         * string/test-memchr.c (TEST_NAME): Likewise.
53634         * string/test-memcmp.c (TEST_NAME): Likewise.
53635         * string/test-memcpy.c (TEST_NAME): Likewise.
53636         * string/test-memmem.c (TEST_NAME): Likewise.
53637         * string/test-memmove.c (TEST_NAME): Likewise.
53638         * string/test-memset.c (TEST_NAME): Likewise.
53639         * string/test-rawmemchr.c (TEST_NAME): Likewise.
53640         * string/test-stpcpy.c (TEST_NAME): Likewise.
53641         * string/test-stpncpy.c (TEST_NAME): Likewise.
53642         * string/test-strcasecmp.c (TEST_NAME): Likewise.
53643         * string/test-strcasestr.c (TEST_NAME): Likewise.
53644         * string/test-strcat.c (TEST_NAME): Likewise.
53645         * string/test-strchr.c (TEST_NAME): Likewise.
53646         * string/test-strcmp.c(TEST_NAME): Likewise.
53647         * string/test-strcpy.c (TEST_NAME): Likewise.
53648         * string/test-strcspn.c (TEST_NAME): Likewise.
53649         * string/test-strlen.c (TEST_NAME): Likewise.
53650         * string/test-strncasecmp.c (TEST_NAME): Likewise.
53651         * string/test-strncmp.c (TEST_NAME): Likewise.
53652         * string/test-strncpy.c (TEST_NAME): Likewise.
53653         * string/test-strnlen.c (TEST_NAME): Likewise.
53654         * string/test-strpbrk.c (TEST_NAME): Likewise.
53655         * string/test-strrchr.c (TEST_NAME): Likewise.
53656         * string/test-strspn.c (TEST_NAME): Likewise.
53657         * string/test-strstr.c (TEST_NAME): Likewise.
53658         * string/test-bcopy-ifunc.c: New file.
53659         * string/test-bzero-ifunc.c: Likewise.
53660         * string/test-memccpy-ifunc.c: Likewise.
53661         * string/test-memchr-ifunc.c: Likewise.
53662         * string/test-memcmp-ifunc.c: Likewise.
53663         * string/test-memcpy-ifunc.c: Likewise.
53664         * string/test-memmem-ifunc.c: Likewise.
53665         * string/test-memmove-ifunc.c: Likewise.
53666         * string/test-mempcpy-ifunc.c: Likewise.
53667         * string/test-memset-ifunc.c: Likewise.
53668         * string/test-rawmemchr-ifunc.c: Likewise.
53669         * string/test-stpcpy-ifunc.c: Likewise.
53670         * string/test-stpncpy-ifunc.c: Likewise.
53671         * string/test-strcasecmp-ifunc.c: Likewise.
53672         * string/test-strcasestr-ifunc.c: Likewise.
53673         * string/test-strcat-ifunc.c: Likewise.
53674         * string/test-strchr-ifunc.c: Likewise.
53675         * string/test-strchrnul-ifunc.c: Likewise.
53676         * string/test-strcmp-ifunc.c: Likewise.
53677         * string/test-strcpy-ifunc.c: Likewise.
53678         * string/test-strcspn-ifunc.c: Likewise.
53679         * string/test-strlen-ifunc.c: Likewise.
53680         * string/test-strncasecmp-ifunc.c: Likewise.
53681         * string/test-strncat-ifunc.c: Likewise.
53682         * string/test-strncmp-ifunc.c: Likewise.
53683         * string/test-strncpy-ifunc.c: Likewise.
53684         * string/test-strnlen-ifunc.c: Likewise.
53685         * string/test-strpbrk-ifunc.c: Likewise.
53686         * string/test-strrchr-ifunc.c: Likewise.
53687         * string/test-strspn-ifunc.c: Likewise.
53688         * string/test-strstr-ifunc.c: Likewise.
53690         * debug/Makefile (tests-ifunc): New variable.
53691         (tests): Add $(tests-ifunc).
53692         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
53693         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
53694         * debug/test-stpcpy_chk-ifunc.c: New file.
53695         * debug/test-strcpy_chk-ifunc.c: Likewise.
53697 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53699         [BZ #13601]
53700         * elf/dl-load.c (open_verify): Retry read if the entire ELF
53701         header is not read in.
53703 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
53705         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
53706         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
53707         directly.  Pass built executable to script as
53708         $(built-program-cmd).
53709         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
53710         $testprogram without using LD_LIBRARY_PATH and $ldso.
53712         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
53713         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
53714         $(rtld-installed-name).
53715         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
53716         (rtld_installed_name): Likewise.
53717         (library_path): Likewise.
53718         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
53719         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
53720         $(run-program-prefix) to tst-tables.sh.
53721         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
53722         it to run tst-table-from and tst-table-to.
53723         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
53724         Pass it to tst-table.sh.
53725         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
53726         $(run-program-prefix) to tst-gettext.sh.
53727         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
53728         tst-translit.sh.
53729         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
53730         tst-gettext2.sh.
53731         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
53732         to run tst-gettext.
53733         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
53734         to run tst-gettext2.
53735         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
53736         to run tst-translit.
53737         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
53738         $(run-program-prefix) to tst-mtrace.sh.
53739         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
53740         to run tst-mtrace.
53741         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
53742         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
53743         $(rtld-installed-name).
53744         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
53745         (rtld_installed_name): Likewise.
53746         (run_program_prefix): New variable.  Use it to run wordexp-test.
53748         * Makeconfig (ARCH): Remove all definitions.
53749         (machine): Likewise.
53750         [ARCH]: Remove conditional code.
53751         [!objdir]: Give error.
53752         [!objdir] (objpfx): Remove.
53753         [!objdir] (common-objpfx): Likewise.
53754         [!objdir] (common-objdir): Likewise.
53755         * configure.in (config_makefile): Remove.  Hardcode Makefile in
53756         AC_CONFIG_FILES call.
53757         * configure: Regenerated.
53759         [BZ #13888]
53760         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
53761         or TMPDIR.
53762         (testout): Likewise.
53764         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
53765         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
53766         $(rtld-installed-name).
53767         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
53768         (rtld_installed_name): Likwise.
53769         (runit): Remove function.
53770         (run_getconf): New variable,  Use it for running getconf binary.
53772 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
53774         [BZ #14716]
53775         * string/test-memmem.c (check_result): New function.
53776         (do_one_test): Use it.
53777         (check1): New function.
53778         (test_main): Use it.
53780 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
53782         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
53784 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
53786         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
53787         (_G_LSEEK64): Likewise.
53788         (_G_MMAP64): Likewise.
53789         (_G_FSTAT64): Likewise.
53790         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53791         (_G_LSEEK64): Likewise.
53792         (_G_MMAP64): Likewise.
53793         (_G_FSTAT64): Likewise.
53794         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
53795         unconditional.  Call __mmap64 directly.
53796         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
53797         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
53798         __lseek64 directly.
53799         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
53800         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
53801         __mmap64 directly.
53802         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
53803         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53804         __lseek64 directly.
53805         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
53806         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53807         __lseek64 directly.
53808         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
53809         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
53810         __lseek64 directly.
53811         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53812         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
53813         __fxstat64 directly.
53814         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53815         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53816         unconditional.
53817         (freopen64) [!_G_OPEN64]: Remove conditional code.
53818         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53819         unconditional.
53820         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53821         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53822         unconditional.
53823         (ftello64) [!_G_LSEEK64]: Remove conditional code.
53824         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53825         unconditional.
53826         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53827         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53828         unconditional.
53829         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53830         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53831         unconditional.
53832         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53833         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53834         unconditional.
53835         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53836         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53837         unconditional.
53838         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53840 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53842         [BZ #12140]
53843         * manual/memory.texi (Malloc Tunable Parameters): Add note
53844         about free list pointers overwriting some perturb bytes.
53845         Wording suggested by Roland McGrath.
53847 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
53849         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53850         (lgamma_test): Likewise.
53851         (tgamma_test): Likewise.
53853 2012-10-16  Florian Weimer  <fweimer@redhat.com>
53855         [BZ #14700]
53856         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53857         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53859 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
53861         * NEWS: Mention BZ #14716.
53862         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53863         when removing AVAILABLE1_USES_J macro.
53865 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
53867         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53868         (__bswap_64): __uint64_t for unsigned 64-bit int.
53870 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
53872         * include/string.h (memmem): Declare libc hidden alias.
53873         * string/memmem.c (memmem): Define libc hidden alias.
53874         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
53875         __read, __close instead of open, read, close.
53877 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
53879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
53880         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
53881         global and hidden.
53882         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
53883         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
53884         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
53885         Likewise.
53886         (__rawmemchr_sse2): Likewise.
53887         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
53888         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
53889         (__strchr_sse2): Likewise.
53890         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
53891         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
53892         (__strcasecmp_sse2): Likewise.
53893         (__strncasecmp_sse2): Likewise.
53894         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
53895         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
53896         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
53897         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
53898         (__strrchr_sse2): Likewise.
53899         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
53900         ifunc-impl-list.c.
53901         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
53902         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
53903         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
53904         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53905         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
53906         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53907         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53908         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53909         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
53910         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53911         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
53912         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
53913         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
53914         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
53915         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
53916         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53917         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
53918         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
53919         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
53920         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
53921         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
53922         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
53923         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
53924         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53925         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
53926         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53927         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
53928         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53929         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
53930         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
53932         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
53933         global and hidden.
53934         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
53935         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
53936         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
53937         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
53938         Likewise.
53939         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
53940         Likewise.
53941         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
53942         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
53943         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
53944         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
53945         ifunc-impl-list.c.
53946         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53947         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53948         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53949         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53950         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53951         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53952         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53953         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53954         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53955         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53956         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53957         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53958         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53959         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53960         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53961         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53962         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53963         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53964         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53965         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53966         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53967         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53968         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53969         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53970         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53971         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
53972         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
53973         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
53974         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
53975         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53976         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
53977         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53978         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53979         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
53980         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53981         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53982         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53983         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53984         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53985         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53986         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
53988         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
53989         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
53990         * include/ifunc-impl-list.h: New file.
53991         * misc/ifunc-impl-list.c: Likewise.
53992         * misc/Makefile (routines): Add ifunc-impl-list.
53993         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
53994         * string/test-string.h: Include <ifunc-impl-list.h>.
53995         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
53996         TEST_NAME]: New variables.
53997         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53998         are defined.
53999         (test_init): Call __libc_ifunc_impl_list to initialize
54000         func_list if TEST_IFUNC and TEST_NAME are defined.
54002         * string/Makefile (strop-tests): Add bcopy and bzero.
54003         * string/test-bcopy.c: New file.
54004         * string/test-bzero.c: Likewise.
54005         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
54006         defined.
54007         * string/test-memset.c: Support bzero test if TEST_BZERO is
54008         defined.
54009         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
54010         __libc_memmove.
54011         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
54012         __libc_memset.
54013         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
54014         of memset.
54016 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
54018         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
54019         * configure: Regenerated.
54021         * Makeconfig (+link-static-before-libc): Don't include
54022         $(link-static-libc).
54024         * libio/libio.h (_IO_pos_t): Remove.
54026 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54028         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
54029         McGrath.
54031 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54033         * crypt/crypt-entry.c: Include fips-private.h.
54034         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
54035         * crypt/md5c-test.c (main): Tolerate disabled MD5.
54036         * sysdeps/unix/sysv/linux/fips-private.h: New file.
54037         * sysdeps/generic/fips-private.h: New file, dummy fallback.
54039 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54041         * crypt/crypt-private.h: Include stdbool.h.
54042         (_ufc_setup_salt_r): Return bool.
54043         * crypt/crypt-entry.c: Include errno.h.
54044         (__crypt_r): Return NULL with EINVAL for bad salt.
54045         * crypt/crypt_util.c (bad_for_salt): New.
54046         (_ufc_setup_salt_r): Check that salt is long enough and within
54047         the specified alphabet.
54048         * crypt/badsalttest.c: New file.
54049         * crypt/Makefile (tests): Add it.
54050         ($(objpfx)badsalttest): New.
54052 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
54054         * NEWS: Add entry for BZ #14602.
54056 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54058         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
54059         type-generic.
54060         * math/libm-test.inc: Update comment listing what functions and
54061         macros are tested.
54062         (isgreater_test): New function.
54063         (isgreaterequal_test): Likewise.
54064         (isless_test): Likewise.
54065         (islessequal_test): Likewise.
54066         (islessgreater_test): Likewise.
54067         (isunordered_test): Likewise.
54068         (main): Call the new functions.
54070 2012-10-09  Roland McGrath  <roland@hack.frob.com>
54072         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
54073         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
54074         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
54075         * sysdeps/i386/configure: Regenerated.
54076         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
54077         * sysdeps/mach/configure: Regenerated.
54078         * sysdeps/mach/hurd/configure: Regenerated.
54079         * sysdeps/powerpc/configure: Regenerated.
54080         * sysdeps/powerpc/powerpc32/configure: Regenerated.
54081         * sysdeps/powerpc/powerpc64/configure: Regenerated.
54082         * sysdeps/s390/s390-32/configure: Regenerated.
54083         * sysdeps/s390/s390-64/configure: Regenerated.
54084         * sysdeps/sh/configure: Regenerated.
54085         * sysdeps/sparc/configure: Regenerated.
54086         * sysdeps/unix/sysv/linux/configure: Regenerated.
54087         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
54088         * sysdeps/x86_64/configure: Regenerated.
54090         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
54091         defined.  Don't check if MAP is NULL.
54093 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54095         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
54096         (_G_stat64): Likewise.
54097         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
54098         (_G_stat64): Likewise.
54099         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
54100         instead of struct _G_stat64.
54101         * libio/fileops.c (mmap_remap_check): Likewise.
54102         (decide_maybe_mmap): Likewise.
54103         (_IO_new_file_seekoff): Likewise.
54104         (_IO_file_stat): Likewise.
54105         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
54106         _G_off64_t.
54107         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
54108         instead of struct _G_stat64.
54109         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54111 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
54113         [BZ #14602]
54114         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54115         Replace with ...
54116         (CHECK_EOL): New macro.
54117         (two_way_short_needle): Check beginning of haystack for EOL.  Use
54118         CHECK_EOL.
54119         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54120         Replace with CHECK_EOL.
54121         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54122         Replace with CHECK_EOL.
54124 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
54126         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
54127         type-generic.
54128         * math/libm-test.inc: Update comment listing what functions and
54129         macros are tested.
54130         (finite_test): New function.
54131         (isinf_test): Likewise.
54132         (isnan_test): Likewise.
54133         (fpclassify_test): Test subnormal input.
54134         (isfinite_test): Likewise.
54135         (isnormal_test): Likewise.
54136         (main): Call the new functions.
54138 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
54140         [BZ #14660]
54141         * Makerules (%.dynsym): Force C locale when running
54142         $(OBJDUMP) --dynamic-syms.
54144 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
54146         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
54147         <stdint.h>.
54149 2012-10-06  David S. Miller  <davem@davemloft.net>
54151         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
54152         upper 32-bits of the length value in %o2 since we use branch-on-register
54153         tests which consider the entire 64-bit register.
54155 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
54157         * string/test-strstr.c (check2): Add a test for page boundary.
54159 2012-10-05  David S. Miller  <davem@davemloft.net>
54161         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
54162         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
54163         file.
54164         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54165         sysdep_routines.
54166         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54167         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
54168         and bzero when HWCAP_SPARC_CRYPTO is present.
54170 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
54172         [BZ #14602]
54173         * string/test-strstr.c (check2): New function.
54174         (test_main): Call check2.
54176         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
54177         and bug-strchr1.
54178         * string/bug-strcasestr1.c (do_test): Moved to ...
54179         * string/test-strcasestr.c (check1): Here.  New function.
54180         (do_one_test): Break out result checking code into ...
54181         (check_result): This.  New function.
54182         (do_one_test): Call check_result.
54183         (test_main): Call check1.
54184         * string/bug-strchr1.c (do_test): Moved to ...
54185         * string/test-strchr.c (check1): Here.  New function.
54186         (do_one_test): Break out result checking code into ...
54187         (check_result): This.  New function.
54188         (do_one_test): Call check_result.
54189         (test_main): Call check1.
54190         * string/bug-strstr1.c (main): Moved to ...
54191         * string/test-strstr.c (check1): Here.  New function.
54192         (do_one_test): Break out result checking code into ...
54193         (check_result): This.  New function.
54194         (do_one_test): Call check_result.
54195         (test_main): Call check1.
54196         * string/bug-strcasestr1.c: Removed.
54197         * string/bug-strchr1.c: Likewise.
54198         * string/bug-strstr1.c: Likewise.
54200         * elf/Makefile (dl-routines): Add hwcaps.
54201         * elf/dl-support.c (_dl_important_hwcaps): Removed.
54202         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
54203         (_dl_important_hwcaps): Moved to ...
54204         * elf/dl-hwcaps.c: Here.  New file.
54205         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
54207         [BZ #14557]
54208         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
54209         if IS_IN_rtld isn't defined.
54211         * elf/dl-support.c (_dl_sysinfo_map): New.
54212         Include "get-dynamic-info.h" and "setup-vdso.h".
54213         (_dl_non_dynamic_init): Call setup_vdso.
54214         * elf/dynamic-link.h: Don't include <assert.h>.
54215         (elf_get_dynamic_info): Moved to ...
54216         * elf/get-dynamic-info.h: Here.  New file.
54217         * elf/dynamic-link.h: Include "get-dynamic-info.h".
54218         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
54219         * elf/setup-vdso.h: Here.  New file.
54220         * elf/rtld.c: Include "setup-vdso.h".
54221         (dl_main): Call setup_vdso.
54223 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
54225         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
54226         creal in comment listing functions tested.  List finite, isinf,
54227         isnan, isless, islessequal, isgreater, isgreaterequal,
54228         islessgreater, isunordered, lgamma_r and pow10 as functions and
54229         macros not tested.  Mention which functions not tested are aliases
54230         for other functions.  Fix typo.  Note that signs of NaNs are not
54231         tested.
54233         * scripts/config.guess: Update from config.git.
54234         * scripts/config.sub: Likewise.
54236 2012-10-04  Roland McGrath  <roland@hack.frob.com>
54238         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
54239         * misc/madvise.c (madvise): Renamed to __madvise.
54240         Make madvise a weak alias.
54241         * include/sys/mman.h: Declare __madvise.
54242         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
54243         * sysdeps/unix/syscalls.list
54244         (madvise): Make __madvise the strong name, and madvise a weak alias.
54245         * sysdeps/unix/sysv/linux/syscalls.list
54246         (madvise, mmap): Remove redundant entries.
54247         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
54248         * malloc/malloc.c (mtrim): Likewise.
54249         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
54251 2012-10-03  Roland McGrath  <roland@hack.frob.com>
54253         * sysdeps/mach/hurd/dl-cache.c: File removed.
54254         * config.h.in (USE_LDCONFIG): New #undef.
54255         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
54256         * configure: Regenerated.
54257         * elf/Makefile (dl-routines): Add dl-cache only under
54258         [$(use-ldconfig) = yes].
54259         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
54260         cache on [USE_LDCONFIG].
54261         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
54262         [USE_LDCONFIG].
54263         * elf/rtld.c (dl_main): Likewise.
54265 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
54267         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
54268         _SC_LEVEL4_CACHE_LINESIZE.
54270 2012-10-03  Roland McGrath  <roland@hack.frob.com>
54272         * sysdeps/unix/bsd/confstr.h: File removed.
54274 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
54276         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
54277         sys/sdt-config.h.
54279 2012-10-02  Roland McGrath  <roland@hack.frob.com>
54281         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
54282         Make 'mapoff' field ElfW(Off) rather than off_t.
54284 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
54286         * nscd/Makefile: Remove nscd-cflags and all its users.
54287         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
54288         (CFLAGS-nonlib): Add compiler flags for nscd modules.
54290         [BZ #10631]
54291         * malloc.c (malloc_printerr): Clarify error message.
54293 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
54295         [BZ #14648]
54296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54297         Set bit_FMA_Usable if FMA is supported.
54298         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
54299         macro.
54300         (bit_FMA4_Usable): Updated.
54301         (index_FMA_Usable): New macro.
54302         (CPUID_FMA): Likewise.
54303         (HAS_FMA): Defined with bit_FMA_Usable.
54305 2012-10-01  Roland McGrath  <roland@hack.frob.com>
54307         * bits/types.h (__swblk_t): Type removed.
54308         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
54309         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
54310         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54311         (__SWBLK_T_TYPE): Likewise.
54312         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54313         (__SWBLK_T_TYPE): Likewise.
54314         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54315         (__SWBLK_T_TYPE): Likewise.
54316         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54317         (__SWBLK_T_TYPE): Likewise.
54319 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
54320             Honza Horak <hhorak@redhat.com>
54322         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
54323         (xdr_mapname): Use YPMAXMAP as maxsize.
54324         (xdr_peername): Use YPMAXPEER as maxsize.
54325         (xdr_keydat): Use YPAXRECORD as maxsize.
54326         (xdr_valdat): Use YPMAXRECORD as maxsize.
54328 2012-10-01  Roland McGrath  <roland@hack.frob.com>
54330         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
54332         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
54333         * csu/init-first.c: ... here.
54334         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
54335         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
54336         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
54337         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
54338         * sysdeps/i386/init-first.c: File removed.
54339         * sysdeps/sh/init-first.c: File removed.
54341 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
54343         [BZ #14645]
54344         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
54345         if x * y might underflow to zero and z is zero.
54346         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54347         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54348         * math/libm-test.inc (min_subnorm_value): New variable.
54349         (fma_test): Add more tests.
54350         (fma_test_towardzero): Likewise.
54351         (fma_test_downward): Likewise.
54352         (fma_test_upward): Likewise.
54353         (initialize): Set min_subnorm_value.
54355 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
54357         [BZ #14638]
54358         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
54359         0 + 0.
54360         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
54361         mode for addition resulting in exact zero.
54362         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
54363         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
54364         exact 0 + 0.
54365         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54366         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54367         * math/libm-test.inc (fma_test): Add more tests.
54368         (fma_test_towardzero): New function.
54369         (fma_test_downward): Likewise.
54370         (fma_test_upward): Likewise.
54371         (main): Call the new functions.
54373 2012-09-28  David S. Miller  <davem@davemloft.net>
54375         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
54377 2012-09-28  Roland McGrath  <roland@hack.frob.com>
54379         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
54380         instead of SIGALRM.
54382         * sysdeps/gnu/_G_config.h: Moved to ...
54383         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
54384         * sysdeps/mach/hurd/_G_config.h: Moved to ...
54385         * sysdeps/generic/_G_config.h: ... here.
54387         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
54389         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
54391         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
54392         Conditionalize target on [libnss_test1.so-version].
54394         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
54396         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
54397         (elfobjdir): Move out of conditionals.
54399         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
54400         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
54401         (__nss_lookup_function): Conditionalize label remove_from_tree on
54402         [!DO_STATIC_NSS || SHARED], matching its only use.
54404 2012-09-28  David S. Miller  <davem@davemloft.net>
54406         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
54407         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
54408         file.
54409         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54410         sysdep_routines.
54411         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54412         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
54413         when HWCAP_SPARC_CRYPTO is present.
54415 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54417         * io/tst-mknodat.c: Create a FIFO instead of a socket.
54419 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
54421         [BZ #6530]
54422         * stdio-common/vfprintf.c (process_string_arg): Revert
54423         2000-07-22 change.
54425 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
54427         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
54428         for testcase.
54429         * stdio-common/tst-sprintf.c: Include <locale.h>
54430         (main): Test sprintf's handling of incomplete multibyte
54431         characters.
54433 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
54435         * elf/dl-runtime.c (VERSYMIDX): Removed.
54436         * elf/dl-version.c (VERSYMIDX): Likewise.
54437         * elf/do-rel.h (VERSYMIDX): Likewise.
54438         (VALIDX): Likewise.
54439         * elf/dynamic-link.h (VERSYMIDX): Likewise.
54440         * elf/rtld.c (VALIDX): Likewise.
54441         (ADDRIDX): Likewise.
54442         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
54443         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
54444         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
54445         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
54446         (VALIDX): Likewise.
54447         (ADDRIDX): Likewise.
54449 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54451         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
54453 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
54455         [BZ #11438]
54456         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
54457         to global scope.
54458         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
54459         addresses are in the same scope as 192.0.2/24.
54460         * posix/gai.conf: Document new scope table defaults.
54462 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54464         [BZ #5298]
54465         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
54466         for ftell.  Compute offsets from write pointers instead.
54467         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54469 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54471         [BZ #14543]
54472         * libio/Makefile (tests): New test case tst-fseek.
54473         * libio/tst-fseek.c: New test case to verify that fseek/ftell
54474         combination works in wide mode.
54475         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
54476         state when the external buffer state changes.
54478 2012-09-27  David S. Miller  <davem@davemloft.net>
54480         [BZ #14376]
54481         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
54482         pass reloc->r_addend in as the 'high' argument to
54483         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
54485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54487 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54489         * rt/tst-aio2.c: Include <pthread.h>.
54490         * rt/tst-aio3.c: Likewise.
54492 2012-09-27  Steve Ellcey  <sellcey@mips.com>
54494         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
54496 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
54498         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
54499         contents on [SHARED].
54501 2012-09-26  Marek Polacek  <polacek@redhat.com>
54503         [BZ #14530]
54504         [BZ #13741]
54505         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
54506         for C++ and GCC <4.3 as well as for non GCC compilers.
54508 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54510         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54512 2012-09-25  Roland McGrath  <roland@hack.frob.com>
54514         * Makefile.in (all, install): Declare with .PHONY.
54515         Reported by Michael Hope <michael.hope@linaro.org>.
54517 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54519         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
54520         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
54521         system header.
54522         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
54523         Likewise.
54524         (sydep_routines): Add the new and the internal functions.
54525         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
54526         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
54527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
54528         (GLIBC_2.17): Add the new function.
54529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54530         (GLIBC_2.17): Likewise.
54531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
54532         (GLIBC_2.17): Likewise.
54533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
54534         (GLIBC_2.17): Likewise.
54535         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
54537 2012-09-25  Alan Modra  <amodra@gmail.com>
54539         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
54540         Add release barrier before setting once_control to say
54541         initialisation is done.  Add hints on lwarx.  Use macro in
54542         place of isync.
54543         (clear_once_control): Add release barrier.
54545 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
54547         [BZ #13629]
54548         * math/s_clog.c (__clog): Handle more values close to |z| = 1
54549         specially.
54550         * math/s_clog10.c (__clog10): Likewise.
54551         * math/s_clog10f.c (__clog10f): Likewise.
54552         * math/s_clog10l.c (__clog10l): Likewise.
54553         * math/s_clogf.c (__clogf): Likewise.
54554         * math/s_clogl.c (__clogl): Likewise.
54555         * math/Makefile (libm-calls): Add x2y2m1.
54556         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
54557         (__x2y2m1): Likewise.
54558         (__x2y2m1l): Likewise.
54559         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
54560         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
54561         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
54562         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54563         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
54564         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
54565         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
54566         * sysdeps/i386/fpu/libm-test-ulps: Update.
54567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54569         [BZ #14621]
54570         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
54571         int as type of variable DEPTH.
54572         (glob): Use size_t instead of int as type of variables NEWCOUNT
54573         and OLD_PATHC.
54575 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54577         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54578         Add s_sincosf-sse2.
54579         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
54580         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
54581         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
54582         macros for using routine as __sincosf_ia32.
54583         Use macro for function declaration and weak_alias.
54584         * sysdeps/i386/fpu/libm-test-ulps: Update.
54586         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
54587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54589         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
54590         subnormal argument.
54591         * math/s_cexpf.c (__cexpf): Likewise.
54592         * math/s_csinf.c (__csinf): Likewise.
54593         * math/s_csinhf.c (__csinhf): Likewise.
54594         * math/s_ctanf.c (__ctanf): Likewise.
54595         * math/s_ctanhf.c (__ctanhf): Likewise.
54596         * math/s_ccosh.c (__ccoshf): Likewise.
54597         * math/s_cexp.c (__cexpl): Likewise.
54598         * math/s_csin.c (__csin): Likewise.
54599         * math/s_csinh.c (__csinh): Likewise.
54600         * math/s_ctan.c (__ctan): Likewise.
54601         * math/s_ctanh.c (ctanh): Likewise.
54602         * math/s_ccoshl.c (__ccoshl): Likewise.
54603         * math/s_cexpl.c (__cexpl): Likewise.
54604         * math/s_csinl.c (__csinl): Likewise.
54605         * math/s_csinhl.c (__csinhl): Likewise.
54606         * math/s_ctanl.c (__ctanl): Likewise.
54607         * math/s_ctanhl.c (__ctanhl): Likewise.
54609 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
54611         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
54612         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
54613         (_IO_off_t): Define to __off_t, not _G_off_t.
54614         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
54615         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
54616         (_IO_wint_t): Define to wint_t, not _G_wint_t.
54617         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
54618         type of __dummy and __dummy2 fields.
54619         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
54620         (_G_ssize_t): Likewise.
54621         (_G_off_t): Likewise.
54622         (_G_pid_t): Likewise.
54623         (_G_uid_t): Likewise.
54624         (_G_wchar_t): Likewise.
54625         (_G_wint_t): Likewise.
54626         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
54627         (_G_ssize_t): Likewise.
54628         (_G_off_t): Likewise.
54629         (_G_pid_t): Likewise.
54630         (_G_uid_t): Likewise.
54631         (_G_wchar_t): Likewise.
54632         (_G_wint_t): Likewise.
54633         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
54634         (_G_ssize_t): Likewise.
54635         (_G_off_t): Likewise.
54636         (_G_pid_t): Likewise.
54637         (_G_uid_t): Likewise.
54638         (_G_wchar_t): Likewise.
54639         (_G_wint_t): Likewise.
54641 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54643         * malloc/arena.c: Include malloc-sysdep.h.
54644         (shrink_heap): Use check_may_shrink_heap to decide if madvise
54645         is sufficient to shrink the heap or an unmap is needed.
54646         * sysdeps/generic/malloc-sysdep.h: New file.  Define
54647         new function check_may_shrink_heap.
54648         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
54649         new function check_may_shrink_heap.
54651 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54653         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
54654         comments.
54656 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
54658         * catgets/test-gencat.sh: Add "set -e".
54659         * elf/tst-pathopt.sh: Likewise.
54660         * grp/tst_fgetgrent.sh: Likewise.
54661         * iconvdata/run-iconv-test.sh: Likewise.
54662         * intl/tst-gettext.sh: Likewise.
54663         * intl/tst-gettext2.sh: Likewise.
54664         * intl/tst-gettext4.sh: Likewise.
54665         * intl/tst-gettext6.sh: Likewise.
54666         * intl/tst-translit.sh: Likewise.
54667         * io/ftwtest-sh: Likewise.
54668         * libio/test-freopen.sh: Likewise.
54669         * malloc/tst-mtrace.sh: Likewise.
54670         * posix/globtest.sh: Likewise.
54671         * posix/tst-getconf.sh: Likewise.
54672         * posix/wordexp-tst.sh: Likewise.
54673         * stdio-common/tst-printf.sh: Likewise.
54674         * stdio-common/tst-unbputc.sh: Likewise.
54675         * stdlib/tst-fmtmsg.sh: Likewise.
54676         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54677         * catgets/Makefile: Do not specify -e option when running
54678         testsuite shell scripts.
54679         * elf/Makefile: Likewise.
54680         * grp/Makefile: Likewise.
54681         * iconvdata/Makefile: Likewise.
54682         * intl/Makefile: Likewise.
54683         * io/Makefile: Likewise.
54684         * libio/Makefile: Likewise.
54685         * malloc/Makefile: Likewise.
54686         * posix/Makefile: Likewise.
54687         * stdio-common/Makefile: Likewise.
54688         * stdlib/Makefile: Likewise.
54689         * sysdeps/x86_64/Makefile: Likewise.
54691         * io/ftwtest-sh: Add copyright header.
54692         * posix/globtest.sh: Likewise.
54693         * posix/tst-getconf.sh: Likewise.
54694         * posix/wordexp-tst.sh: Likewise.
54695         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54697 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
54699         [BZ #13679]
54700         * Makeconfig (+link): Defined as $(+link-static) if
54701         $(build-shared) isn't yes.
54702         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
54703         isn't yes.
54704         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
54706         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
54708         [BZ #14562]
54709         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
54710         new chunk size with MALLOC_ALIGN_MASK.
54712 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
54714         [BZ #5044]
54715         * stdio-common/printf_fphex.c: Include <stdbool.h> and
54716         <rounding-mode.h>.
54717         (__printf_fphex): Determine rounding using get_rounding_mode and
54718         round_away.
54719         * stdio-common/tst-printf-round.c (struct hex_test): New
54720         structure.
54721         (hex_tests): New variable.
54722         (test_hex_in_one_mode): New function.
54723         (do_test): Also run tests for hex float output.
54725 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
54727         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54728         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54729         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
54730         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54731         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54732         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
54733         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54734         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54736 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
54738         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
54739         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
54740         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
54741         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
54743 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
54745         [BZ #14579]
54746         * elf/rtld.c (dl_main): Limit the check for self loading to normal
54747         mode only.
54748         * elf/tst-rtld-load-self.sh: New test.
54749         * elf/Makefile: Run it.
54751 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
54753         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
54754         (tst-writev-ENV): Remove.
54755         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
54757 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
54759         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
54761 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
54763         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
54764         unconditional.
54765         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
54766         Likewise.
54767         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
54768         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
54769         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
54770         Likewise.
54772 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
54774         [BZ #14587]
54775         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
54776         * config.make.in (have-cpp-asm-debuginfo): Removed.
54777         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
54778         * configure: Regenerated.
54780 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
54782         [BZ #5044]
54783         * stdio-common/printf_fp.c: Include <stdbool.h> and
54784         <rounding-mode.h>.
54785         (___printf_fp): Determine rounding using get_rounding_mode and
54786         round_away.
54787         * stdio-common/tst-printf-round.c: New file.
54788         * stdio-common/Makefile (tests): Add tst-printf-round.
54789         (link-libm): New variable.
54790         ($(objpfx)tst-printf-round): Depend in $(link-libm).
54792 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
54794         [BZ #14576]
54795         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54796         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
54797         Likewise.
54798         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
54799         Likewise.
54801 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
54803         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54804         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54805         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54806         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54808 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
54810         [BZ #14518]
54811         * include/rounding-mode.h: New file.
54812         * sysdeps/generic/get-rounding-mode.h: Likewise.
54813         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54814         * stdlib/strtod_l.c: Include <rounding-mode.h>.
54815         (MAX_VALUE): New macro.
54816         (MIN_VALUE): Likewise.
54817         (overflow_value): New function.
54818         (underflow_value): Likewise.
54819         (round_and_return): Use overflow_value and underflow_value to
54820         determine return values in overflow and underflow cases.  Use
54821         round_away to determine rounding depending on rounding mode.
54822         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54823         determine return values in overflow and underflow cases.
54824         * stdlib/tst-strtod-round.c: Include <fenv.h>.
54825         (struct test_results): New structure.
54826         (struct test): Use struct test_results to store expected results
54827         for all rounding modes.
54828         (TEST): Include expected results for all rounding modes.
54829         (test_in_one_mode): New function.
54830         (do_test): Use test_in_one_mode to compute and check results.
54831         Check results for all rounding modes.
54832         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54833         $(link-libm).
54835 2012-12-09  Allan McRae  <allan@archlinux.org>
54837         * sysdeps/i386/fpu/libm-test-ulps: Update
54839 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
54841         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
54842         (_G_int32_t): Likewise.
54843         (_G_uint16_t): Likewise.
54844         (_G_uint32_t): Likewise.
54845         (_G_HAVE_BOOL): Likewise.
54846         (_G_HAVE_ATEXIT): Likewise.
54847         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54848         (_G_HAVE_IO_FILE_OPEN): Likewise.
54849         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54850         (_G_int32_t): Likewise.
54851         (_G_uint16_t): Likewise.
54852         (_G_uint32_t): Likewise.
54853         (_G_HAVE_BOOL): Likewise.
54854         (_G_HAVE_ATEXIT): Likewise.
54855         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54856         (_G_HAVE_IO_FILE_OPEN): Likewise.
54857         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54858         (_G_int32_t): Likewise.
54859         (_G_uint16_t): Likewise.
54860         (_G_uint32_t): Likewise.
54861         (_G_HAVE_BOOL): Likewise.
54862         (_G_HAVE_ATEXIT): Likewise.
54863         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54864         (_G_HAVE_IO_FILE_OPEN): Likewise.
54866 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
54868         * csu/libc-tls.c: Update copyright years.
54870 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
54872         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
54873         [!_G_USING_THUNKS]: Remove conditional code.
54874         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
54875         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
54877         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
54878         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
54879         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54880         (_G_VTABLE_LABEL_PREFIX): Likewise.
54881         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54882         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54883         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54884         (_G_VTABLE_LABEL_PREFIX): Likewise.
54885         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54886         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54887         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54888         (_G_VTABLE_LABEL_PREFIX): Likewise.
54889         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54891 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
54893         * libio/Makefile: Include ../Makeconfig before tests.
54894         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
54895         only if $(build-shared) is yes.
54897         * iconv/gconv_db.c: Update copyright years.
54899 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54901         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
54902         unwind info if defined PIC. Fix special cases description.
54903         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
54905         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
54906         DP_HI_MASK entry.
54907         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
54909 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
54911         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
54913         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
54914         is NULL.
54916         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
54917         (LDLIBS-tst-chk4): This.
54918         (LDFLAGS-tst-chk5): Renamed to ...
54919         (LDLIBS-tst-chk5): This.
54920         (LDFLAGS-tst-chk6): Renamed to ...
54921         (LDLIBS-tst-chk6): This.
54922         (LDFLAGS-tst-lfschk4): Renamed to ...
54923         (LDLIBS-tst-lfschk4): This.
54924         (LDFLAGS-tst-lfschk5): Renamed to ...
54925         (LDLIBS-tst-lfschk5): This.
54926         (LDFLAGS-tst-lfschk6): Renamed to ...
54927         (LDLIBS-tst-lfschk6): This.
54929         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
54930         on $(common-objpfx)soversions.mk.
54932 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
54934         [BZ #10014]
54935         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
54936         example host name.
54938 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54940         * malloc/arena.c (arena_get_retry): New function that gets
54941         another arena for the caller to try its request on.
54942         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
54943         current arena cannot fulfill the request.
54944         (__libc_memalign): Likewise.
54945         (__libc_memalign): Likewise.
54946         (__libc_pvalloc): Likewise.
54947         (__libc_calloc): Likewise.
54949 2012-09-05  John Tobey  <john.tobey@gmail.com>
54951         [BZ #13542]
54952         * manual/arith.texi (Operations on Complex): Fix description
54953         of carg branch cut.
54955 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54957         [BZ #10014]
54958         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
54959         host name.
54961         [BZ #10038]
54962         * manual/memory.texi (Memory): Make order of menu items match
54963         order of sections.
54965 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54967         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
54968         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
54969         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
54971 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54973         * csu/libc-tls.c (static_dtv): Renamed to ...
54974         (_dl_static_dtv): This.  Make it global.
54975         (_dl_initial_dtv): Removed.
54976         (__libc_setup_tls): Updated.
54977         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
54978         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
54979         DL_INITIAL_DTV.
54981 2012-09-06  Petr Machata  <pmachata@redhat.com>
54983         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
54984         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
54985         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
54986         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
54988 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54990         [BZ #14545]
54991         * csu/libc-tls.c (_dl_initial_dtv): New variable.
54992         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
54993         freeing dtv[-1].
54995 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54997         [BZ #14544]
54998         * Makeconfig (link-static-before-libc): Replace $(+prector)
54999         with $(+prectorT).
55000         (link-static-after-libc): Replace $(+postctor) with
55001         $(+postctorT).
55002         (link-bounded): Replace $(+prector)/$(+postctor) with
55003         $(+prectorT)/$(+postctorT).
55004         (+prectorT): New macro.
55005         (+postctorT): Likewise.
55007 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55009         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
55010         (round_str): Handle values above the maximum for IBM long double
55011         as inexact.
55012         * stdlib/tst-strtod-round.c (tests): Regenerated.
55014 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55016         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
55017         assembler flag.
55018         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
55019         zarch_nohighgprs around the zarch optimized routines.
55020         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
55021         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
55022         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
55023         for zarch.
55025 2012-09-05  David S. Miller  <davem@davemloft.net>
55027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55029         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
55030         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
55031         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
55032         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55033         entries.
55035 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55037         * malloc/arena.c: Fold copyright years.
55038         * malloc/mcheck.c, malloc/memusage.c: Likewise.
55040 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55042         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
55044 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55046         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
55048 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55050         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
55051         change internal state upon failure.
55053 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55055         * malloc/mcheck.c (mcheck_check_all): Fix typo.
55056         * malloc/memusage.c (mmap): Likewise.
55057         (mmap64, mremap): Likewise.  Adjust name in comment.
55059 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55061         * libio/fileops.c: Fix typos in comments.
55062         * libio/oldfileops.c: Likewise.
55063         * libio/wfileops.c: Likewise.
55065 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55067         [BZ #1349]
55068         * malloc/Makefile (tests): Add tst-malloc-usable test case.
55069         (tst-malloc-usable-ENV): Set environment for test case.
55070         * malloc/hooks.c (malloc_check_get_size): New function to get
55071         requested size.
55072         * malloc/malloc.c (musable): Use malloc_check_get_size.
55073         * malloc/tst-malloc-usable.c: New test case.
55075 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55077         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
55079 2012-09-05  Allan McRae  <allan@archlinux.org>
55081         [BZ #13966]
55082         * configure.in (CXX_SYSINCLUDES): Use compiler output to
55083         determine header location.
55084         * configure: Regenerated.
55086 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55088         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
55089         float format.
55090         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
55091         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
55092         format.
55093         (test): Regenerate.
55095 2012-09-04  David S. Miller  <davem@davemloft.net>
55097         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
55098         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
55099         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
55101 2012-09-04  Florian Weimer  <fweimer@redhat.com>
55103         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
55104         failures.
55106         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
55108 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
55110         [BZ #9914]
55111         * libio/iogetdelim.c: Include <limits.h>.
55112         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
55113         + len + 1 would overflow.
55115 2012-09-03  Andreas Jaeger  <aj@suse.de>
55117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55118         * sysdeps/i386/fpu/libm-test-ulps: Update.
55120 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55122         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55123         Add s_sinf-sse2, s_conf-sse2.
55125         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
55126         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
55127         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
55128         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
55130         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
55131         for using routine as __sinf_ia32.
55132         Use macro for function declaration and weak_alias.
55133         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
55134         for using routine as __cosf_ia32.
55135         Use macro for function declaration and weak_alias.
55137         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
55138         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
55140         * sysdeps/x86_64/fpu/s_sinf.S: New file.
55141         * sysdeps/x86_64/fpu/s_cosf.S: New file.
55142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55144         * math/libm-test.inc (cos_test): Add more test cases.
55145         (sin_test): Likewise.
55146         (sincos_test): Likewise.
55148 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55150         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
55151         (IFUNC_RESOLVE): Make pointers to the specialized implementations
55152         hidden.
55153         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55155 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
55157         [BZ #14538]
55158         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
55159         first element of the GOT.
55160         (elf_machine_load_address): Return the difference between
55161         the runtime address of _DYNAMIC and elf_machine_dynamic ().
55163 2012-09-01  Allan McRae  <allan@archlinux.org>
55165         [BZ #13412]
55166         * configure.in (AWK): Require gawk version 3.0 or later.
55167         * configure: Regenerated.
55169 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
55171         * sysdeps/unix/sysv/linux/kernel-features.h
55172         (__ASSUME_POSIX_CPU_TIMERS): Remove.
55173         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55174         [__NR_clock_getres]: Make code unconditional.
55175         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
55176         (clock_getcpuclockid): Remove code left unreachable by removal of
55177         conditionals.
55178         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
55179         code unconditional.
55180         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55181         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55182         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
55183         Make code unconditional.
55184         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55185         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55186         * sysdeps/unix/sysv/linux/clock_settime.c
55187         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
55188         conditional code.
55189         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
55190         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55192 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
55194         [BZ #14476]
55195         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
55196         scripts/test-installation.pl.
55198         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
55199         and $ld_so_version if it is set.
55201 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55203         [BZ #14516]
55204         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
55205         failure if reading from procfs failed.
55206         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
55208 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
55210         * sysdeps/unix/sysv/linux/kernel-features.h
55211         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
55212         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
55213         Remove conditional code.
55214         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55215         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
55216         Remove conditional code.
55217         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55218         * sysdeps/unix/sysv/linux/i386/fxstat.c
55219         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55220         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55221         * sysdeps/unix/sysv/linux/i386/fxstatat.c
55222         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55223         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55224         * sysdeps/unix/sysv/linux/i386/lxstat.c
55225         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55226         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55227         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
55228         Remove conditional code.
55229         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55230         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
55231         Remove conditional code.
55232         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55233         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
55234         <kernel-features.h>.
55235         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
55236         Remove.
55237         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
55238         Remove conditional code.
55239         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55240         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
55241         Remove conditional.
55243 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
55245         [BZ #5400]
55246         * NEWS: Add fixed bug number.
55248 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
55250         [BZ #14519]
55251         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
55252         underflowing exponent in case of negative sign.
55253         * stdlib/tst-strtod-round-data: Add more tests.
55254         * stdlib/tst-strtod-round.c (tests): Regenerated.
55256         [BZ #3479]
55257         * stdlib/strtod_l.c (NDIG): Remove.
55258         (HEXNDIG): Likewise.
55259         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
55260         smallest representable value.
55261         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
55262         lie within an exact representation of 1/2 ulp of the result.
55263         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
55264         unconditionally.
55265         (TENS_P9_IDX): Define unconditionally.
55266         (TENS_P9_SIZE): Likewise.
55267         (TENS_P10_IDX): Likewise.
55268         (TENS_P10_SIZE): Likewise.
55269         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
55270         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
55271         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
55272         entries for 10^2^13 and 10^2^14.
55273         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
55274         (TENS_P13_IDX): Define.
55275         (TENS_P13_SIZE): Likewise.
55276         (TENS_P14_IDX): Likewise.
55277         (TENS_P14_SIZE): Likewise.
55278         (_fpioconst_pow10): Change array size to
55279         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
55280         unconditional.
55281         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
55282         1024]: Add entries for 10^2^13 and 10^2^14.
55283         [LAST_POW10 > _LAST_POW10]: Remove #error.
55284         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
55285         (_fpioconst_pow10): Change array size to
55286         FPIOCONST_POW10_ARRAY_SIZE.
55287         * stdlib/gen-fpioconst.c: New file.
55288         * stdlib/gen-tst-strtod-round.c: Likewise.
55289         * stdlib/tst-strtod-round-data: Likewise.
55290         * stdlib/tst-strtod-round.c: Likewise.
55291         * stdlib/Makefile (tests): Add tst-strtod-round.
55293         [BZ #14459]
55294         * stdlib/strtod_l.c: Include <stdint.h>.
55295         (NDEBUG): Do not define.
55296         (round_and_return): Change EXPONENT parameter to type intmax_t.
55297         Rearrange calculations to avoid internal overflow possibilities.
55298         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
55299         Rearrange calculations to avoid internal overflow possibilities.
55300         Assert that number fits inside MPNSIZE limbs.
55301         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
55302         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
55303         calculations and add assertions to avoid internal overflow
55304         possibilities.  Add casts to avoid signed/unsigned operations.
55305         * stdlib/tst-strtod-overflow.c: New file.
55306         * stdlib/Makefile (tests): Add tst-strtod-overflow.
55308 2012-08-25  Marek Polacek  <polacek@redhat.com>
55310         * time/time.h: Fix some typos in comments.
55312 2012-08-23  Roland McGrath  <roland@hack.frob.com>
55314         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
55315         * posix/tst-rfc3484-2.c: Likewise.
55316         * posix/tst-rfc3484-3.c: Likewise.
55318 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
55320         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
55321         (EF_ARM_ABI_FLOAT_HARD): Likewise.
55323 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
55325         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
55326         #include of fxstatat64.c.
55328 2012-08-22  Roland McGrath  <roland@hack.frob.com>
55330         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
55331         * shadow/getspent_r.c: Likewise.
55332         * shadow/getspnam.c: Likewise.
55333         * shadow/getspnam_r.c: Likewise.
55334         * gshadow/getsgent.c: Likewise.
55335         * gshadow/getsgent_r.c: Likewise.
55336         * gshadow/getsgnam.c: Likewise.
55337         * gshadow/getsgnam_r.c: Likewise.
55338         * inet/getnetbyad.c: Likewise.
55339         * inet/getnetbyad_r.c: Likewise.
55340         * inet/getnetbynm.c: Likewise.
55341         * inet/getnetbynm_r.c: Likewise.
55342         * inet/getnetent.c: Likewise.
55343         * inet/getnetent_r.c: Likewise.
55344         * inet/getproto.c: Likewise.
55345         * inet/getproto_r.c: Likewise.
55346         * inet/getprtent.c: Likewise.
55347         * inet/getprtent_r.c: Likewise.
55348         * inet/getprtname.c: Likewise.
55349         * inet/getprtname_r.c: Likewise.
55350         * inet/getrpcbyname.c: Likewise.
55351         * inet/getrpcbyname_r.c: Likewise.
55352         * inet/getrpcbynumber.c: Likewise.
55353         * inet/getrpcbynumber_r.c: Likewise.
55354         * inet/getrpcent.c: Likewise.
55355         * inet/getrpcent_r.c: Likewise.
55356         * inet/getaliasent.c: Likewise.
55357         * inet/getaliasent_r.c: Likewise.
55358         * inet/getaliasname.c: Likewise.
55359         * inet/getaliasname_r.c: Likewise.
55360         * nscd/getgrgid_r.c: Likewise.
55361         * nscd/getgrnam_r.c: Likewise.
55362         * nscd/gethstbyad_r.c: Likewise.
55363         * nscd/gethstbynm3_r.c: Likewise.
55364         * nscd/getpwnam_r.c: Likewise.
55365         * nscd/getpwuid_r.c: Likewise.
55366         * nscd/getsrvbynm_r.c: Likewise.
55367         * nscd/getsrvbypt_r.c: Likewise.
55368         * nscd/gai.c: Likewise.
55370         * configure.in (build_nscd): New substituted variable, set
55371         by --disable-build-nscd and defaults to $use_nscd.
55372         * configure: Regenerated.
55373         * config.make.in (build-nscd): New substituted variable.
55374         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
55375         Change conditional to require [$(build-nscd) = yes] as well.
55376         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
55378         [BZ# 13696]
55379         * configure.in (use_nscd): New substituted variable, set by
55380         --disable-nscd.  If enabled, define USE_NSCD.
55381         * configure: Regenerated.
55382         * config.h.in: Add USE_NSCD.
55383         * config.make.in (use-nscd): New substituted variable.
55384         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
55385         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
55386         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
55387         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
55388         (CFLAGS-getgrnam_r.c): Likewise.
55389         (CFLAGS-initgroups.c): Likewise.
55390         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
55391         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
55392         Variables removed.
55393         * inet/getnetgrent_r.c
55394         (nscd_setnetgrent): New function, broken out of ...
55395         (setnetgrent): ... here.  Call it.
55396         (innetgr): Conditionalize nscd bits on [USE_NSCD].
55397         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
55398         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
55399         * nscd/Makefile (routines, aux): Move definitions after include of
55400         Makeconfig.  Conditionalize on [$(use-nscd) != no].
55401         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
55402         Conditionalize on [USE_NSCD].
55403         (is_nscd, nscd_init_cb): Likewise.
55404         (nss_load_library): Conditionalize init callback on [USE_NSCD].
55405         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
55406         * nss/nss_db/db-init.c: Likewise.
55407         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
55408         [USE_NSCD].
55409         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
55410         (make_request): Use it.
55411         (cache_valid_p): New function.
55412         (__check_pf): Use it.
55413         * NEWS: Add item for --disable-nscd.
55415 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
55417         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
55418         to support sed >= 4.2.1-20-ga9bf076.
55419         * configure: Regenerated.
55421 2012-08-22  Roland McGrath  <roland@hack.frob.com>
55423         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
55424         Conditionalize whole body on [IREL].
55426 2012-08-22  Jeff Law <law@redhat.com>
55428         [BZ #14505]
55429         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
55430         if the family is PF_UNSPEC.
55432 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
55434         * Makerules (lib-version): Rename from V.
55435         (install-lib-nosubdir): Change V to lib-version.
55437 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
55439         [BZ #14252]
55440         * powerpc32/power6/wcschr.c: New file.
55441         * powerpc32/power6/wcscpy.c: New file.
55442         * powerpc32/power6/wcsrchr.c: New file.
55443         * powerpc64/power6/wcschr.c: New file.
55444         * powerpc64/power6/wcscpy.c: New file.
55445         * powerpc64/power6/wcsrchr.c: New file.
55447 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
55449         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
55450         (two_way_short_needle): Use it.
55451         * string/strstr.c (AVAILABLE1_USES_J): Define.
55452         * string/strcasestr.c: Likewise.
55454         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
55455         array references.
55456         * string/strcasestr.c (TOLOWER): Make side-effect safe.
55458         [BZ #11607]
55459         * NEWS: Add an entry.
55460         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
55461         define their defaults.
55462         (two_way_short_needle): Detect end-of-string on-the-fly.
55463         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
55464         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
55465         * string/bug-strcasestr1.c: New test.
55466         * string/Makefile: Run it.
55468 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
55470         [BZ #11607]
55471         * string/str-two-way.h (two_way_short_needle): Optimize matching of
55472         the first character.
55474 2012-08-21  Roland McGrath  <roland@hack.frob.com>
55476         * csu/elf-init.c (__libc_csu_irel): Function removed.
55477         * csu/libc-start.c (apply_irel): New function.
55478         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
55480 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
55482         * sysdeps/unix/sysv/linux/kernel-features.h
55483         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
55484         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55485         <kernel-features.h>.
55486         [__NR_fadvise64_64]: Make code unconditional.
55487         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
55488         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
55489         !__NR_fadvise64_64)]: Likewise.
55490         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
55491         !__NR_fadvise64_64))]: Likewise.
55492         [__NR_fadvise64]: Make code unconditional.
55493         [!__NR_fadvise64]: Remove conditional code.
55494         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
55495         <kernel-features.h>.
55496         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55497         unconditional.
55498         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55499         conditional code.
55500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
55501         not include <kernel-features.h>.
55502         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55503         unconditional.
55504         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55505         conditional code.
55506         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
55507         include <kernel-features.h>.
55508         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55509         unconditional.
55510         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55511         conditional code.
55513 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55515         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
55516         slight instruction rearrangements per scrollpipe analysis.
55517         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55519 2012-08-20  Roland McGrath  <roland@hack.frob.com>
55521         * manual/syslog.texi (syslog; vsyslog, closelog):
55522         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
55523         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
55525         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
55526         DSOCAPS to match condition on defining it.
55528 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
55530         * sysdeps/unix/sysv/linux/kernel-features.h
55531         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
55532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
55533         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55534         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
55536         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55537         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
55539         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55540         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55542         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
55543         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
55545         * sysdeps/unix/sysv/linux/kernel-features.h
55546         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
55547         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
55548         unconditional.
55549         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55550         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
55551         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55552         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55553         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
55554         Make code unconditional.
55555         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55556         (__mmap64) [!__NR_mmap2]: Likewise.
55557         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
55558         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55559         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55560         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
55561         [__NR_mmap2]: Make code unconditional.
55562         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55563         (__mmap64) [!__NR_mmap2]: Likewise.
55565 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55567         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
55569 2012-08-18  Andreas Jaeger  <aj@suse.de>
55571         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
55573 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55575         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
55576         * include/unistd.h (__have_sock_cloexec): Likewise.
55577         (__have_pipe2): Likewise.
55578         (__have_dup3): Likewise.
55580 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55582         [BZ #9685]
55583         * include/unistd.h (__have_pipe2): Change define into an extern int.
55584         (__have_dup3): Likewise.
55585         * socket/have_sock_cloexec.c: Include fcntl.h.
55586         (__have_pipe2): New variable.
55587         (__have_dup3): Likewise.
55589 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
55591         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
55593 2012-08-17  Marek Polacek  <polacek@redhat.com>
55595         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
55596         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
55598 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55600         * configure.in: Add AC_SUBST for sysheaders.
55601         * configure: Regenerated.
55602         * config.make.in (sysheaders): New substituted variable.
55604         * sysdeps/unix/mkfifo.c: Moved ...
55605         * sysdeps/posix/mkfifo.c: ... here.
55606         * sysdeps/unix/mkfifoat.c: Moved ...
55607         * sysdeps/posix/mkfifoat.c: ... here.
55609         * sysdeps/unix/utime.c: Moved ...
55610         * sysdeps/posix/utime.c: ... here.
55612         * sysdeps/unix/time.c: Moved ...
55613         * sysdeps/posix/time.c: ... here.
55614         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
55615         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
55617         * sysdeps/unix/nice.c: Moved ...
55618         * sysdeps/posix/nice.c: ... here.
55620         * sysdeps/unix/alarm.c: Moved ...
55621         * sysdeps/posix/alarm.c: ... here.
55623         * intl/Makefile ($(codeset_mo)): Depend on the input file.
55625 2012-08-17  Jeff Law <law@redhat.com>
55627         * intl/Makefile (codeset_mo): New variable.
55628         ($(codeset_mo)): New target.
55629         (tst-codeset.out): Depend on that.  Remove explicit rule.
55630         (tst-gettext3.out, tst-gettext5.out): Likewise.
55631         (LOCPATH-ENV, tst-codeset-ENV): New variables.
55632         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
55633         * intl/tst-codeset.sh: Remove.
55634         * intl/tst-gettext3.sh: Likewise.
55635         * intl/tst-gettext5.sh: Likewise.
55637 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55639         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
55640         * sysdeps/unix/syscalls.list: ... here.
55642         * sysdeps/posix/getaddrinfo.c
55643         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
55644         (gaiconf_init, gaiconf_reload): Use them.
55645         [!_STATBUF_ST_NSEC]
55646         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
55647         Define using time_t rather than struct timespec.
55649         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
55650         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
55651         Macros removed.
55652         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
55653         [!NO_THREADS].
55654         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
55655         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
55656         Likewise.
55658         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
55659         __libc_cleanup_push argument.
55661         * bits/param.h: New file.
55662         * misc/sys/param.h: New file.
55663         * include/sys/param.h: New file.
55664         * misc/Makefile (headers): Add bits/param.h.
55665         * sysdeps/generic/sys/param.h: File removed.
55666         * sysdeps/unix/sysv/linux/bits/param.h: New file.
55667         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
55668         * sysdeps/mach/hurd/bits/param.h: New file.
55669         * sysdeps/mach/hurd/sys/param.h: File removed.
55671         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
55672         last change.
55674         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
55675         [_IO_MTSAFE_IO].
55676         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
55677         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
55678         New macros.
55680         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
55681         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
55682         rather than -D_IO_MTSAFE_IO conditionally.
55683         * stdio-common/Makefile (CPPFLAGS): Likewise.
55684         * wcsmbs/Makefile (CPPFLAGS): Likewise.
55685         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
55686         Use $(libio-mtsafe).
55687         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
55688         of -D_IO_MTSAFE_IO.
55689         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
55690         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
55691         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
55692         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
55693         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
55694         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
55695         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
55696         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
55697         (CFLAGS-fread_u_chk.c): Likewise.
55698         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
55699         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
55700         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
55701         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
55702         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
55703         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
55704         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
55705         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
55706         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
55708         * libio/Makefile: Test [$(libc-reentrant) = yes]
55709         instead of [$(filter %REENTRANT, $(defines)) nonempty].
55711         * Makeconfig
55712         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
55713         * sysdeps/pthread/configure: File removed.
55714         * sysdeps/pthread/Makeconfig: New file.
55715         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
55716         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
55718 2012-08-16  Gary Benson  <gbenson@redhat.com>
55720         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
55721         unmapping the first object in a namespace.
55723 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55725         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
55726         (__internal_setnetgrent): ... this.  Add internal_function to
55727         definition.  Add libc_hidden_def.
55728         (setnetgrent): Update caller.
55729         (internal_endnetgrent): Renamed to ...
55730         (__internal_endnetgrent): ... this.  Add internal_function to
55731         definition.  Add libc_hidden_def.
55732         (endnetgrent): Update caller.
55733         (internal_getnetgrent_r): Renamed to ...
55734         (__internal_getnetgrent_r): ... this.  Add internal_function to
55735         definition.  Add libc_hidden_def.
55736         (__getnetgrent_r): Update caller.
55737         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
55739 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55741         * stdlib/longlong.h: Update from GCC.
55743 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55745         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
55746         on _QL, which is set by umul_ppmm but never used.
55747         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
55748         variables, which are set by GMP macros but never used.
55749         * stdio-common/_itowa.c (_itowa): Likewise.
55750         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
55751         * stdlib/mod_1.c (mpn_mod_1): Likewise.
55753 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
55755         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
55756         struct La_sh_regs is not constant.
55757         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
55758         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
55759         and struct La_sparc64_regs are not constant.
55761 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55763         * sysdeps/unix/sysv/linux/kernel-features.h
55764         (__ASSUME_POSIX_TIMERS): Remove.
55765         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55766         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55767         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
55768         Make code unconditional.
55769         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55770         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
55771         Make code unconditional.
55772         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55773         * sysdeps/unix/sysv/linux/clock_nanosleep.c
55774         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
55775         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55776         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
55777         Make code unconditional.
55778         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55779         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
55780         (__libc_missing_posix_timers): Remove.
55782 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55784         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
55785         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
55787         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
55789         * elf/dl-sym.c: Include <stdlib.h>.
55791         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
55792         constants, which avoids warnings in 32-bit builds.
55794         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
55795         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
55797         * misc/lseek.c: File moved to ...
55798         * io/lseek.c: ... here.
55800         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
55802         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
55803         shifting LEN more than 31 bits at once.
55805 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55807         [BZ #14195]
55808         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
55809         segmentation fault for a case of two empty input strings.
55810         * string/test-strncasecmp.c (check1): Renamed to...
55811         (bz12205): ...this.
55812         (bz14195): Add new testcase for two empty input strings and N > 0.
55813         (test_main): Call new testcase, adapt for renamed function.
55815 2012-08-15  Andreas Jaeger  <aj@suse.de>
55817         [BZ #14090]
55818         * crypt/md5test2.c: New test, based on test supplied by Serge
55819         Belyshev <belyshev@depni.sinp.msu.ru>.
55820         * crypt/Makefile (xtests): Add md5test-giant..
55821         * crypt/Makefile ($(objpfx)md5test-giant): Add.
55823 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
55825         [BZ #14090]
55826         * crypt/md5.c (md5_process_block): Don't assume the buffer
55827         length is less than 2**32.
55828         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55829         length is less than 2**64.
55831 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55833         * string/str-two-way.h: Include <sys/param.h>.
55834         (MAX): Macro removed.
55836         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55837         Move #define and #undef of memmove to just before and after
55838         including <string.h>.
55840         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55841         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55842         and after including <string.h>.  Move declarations of
55843         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55844         to before #include "string/memmove.c".
55846         * include/dirent.h: Declare __getdirentries.
55848         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55849         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55851 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
55853         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55854         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55855         * sysdeps/i386/configure: Regenerated.
55856         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55857         STABS_CURRENT_FILE, and STABS_FUN.
55858         (END): Remove call to STABS_FUN_END.
55859         (STABS_CURRENT_FILE1): Delete.
55860         (STABS_CURRENT_FILE): Likewise.
55861         (STABS_FUN): Likewise.
55862         (STABS_FUN_END): Likewise.
55863         (STABS_FUN2): Likewise.
55864         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55865         * sysdeps/x86_64/configure: Regenerated.
55867 2012-08-14  Roland McGrath  <roland@hack.frob.com>
55869         * elf/dl-open.c: Include <atomic.h>.
55870         * elf/dl-lookup.c: Likewise.
55872 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
55874         * sysdeps/unix/sysv/linux/kernel-features.h
55875         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
55876         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
55877         unconditionally.
55878         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
55879         unconditionally.
55880         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
55881         condition on __ASSUME_CLONE_THREAD_FLAGS.
55883 2012-08-14  Andreas Jaeger  <aj@suse.de>
55885         * sysdeps/i386/fpu/libm-test-ulps: Update.
55887 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
55889         * include/atomic.h (atomic_exchange_and_add): Split into ...
55890         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
55891         New atomic macros.
55893 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
55895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55897 2012-08-13  Jeff Law <law@redhat.com>
55899         * manual/stdio.texi (snprintf): Clarify handling of the trailing
55900         null byte in the output string.
55902 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
55904         * sysdeps/unix/sysv/linux/kernel-features.h
55905         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
55906         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
55907         (__ASSUME_ARG_MAX_STACK_BASED): Define.
55908         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
55909         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
55910         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
55911         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
55913 2012-08-09  Jeff Law <law@redhat.com>
55915         [BZ #13939]
55916         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
55917         When avoid_arena is set, don't retry in the that arena.  Pick the
55918         next one, whatever it might be.
55919         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
55920         (arena_lock): Pass in new parameter to arena_get2.
55921         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
55922         arena_get2.
55923         (__libc_malloc): Unify retrying after main arena failure with
55924         __libc_memalign version.
55925         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
55927 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
55929         [BZ #14166]
55930         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
55931         to __redirect_strstr.
55932         (__strstr_sse42): Use typeof __redirect_strstr.
55933         (__strstr_ia32): Likewise.
55934         (__libc_strstr): New prototype.
55935         (strstr): Renamed to ...
55936         (__libc_strstr): This.
55937         (strstr): New strong alias of __libc_strstr.
55938         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55939         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
55940         __redirect_time.
55941         Include <time.h>.
55942         (__libc_time): New prototype.
55943         (time_ifunc): Replace time with __libc_time.
55944         (time): New strong alias and hidden definition of __libc_time.
55945         (__GI_time): Remove strong alias.
55946         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
55947         Include <stddef.h>.
55948         (memmove): Redefined to __redirect_memmove.
55949         (__memmove_sse2): Use typeof __redirect_memmove.
55950         (__memmove_ssse3): Likewise.
55951         (__memmove_ssse3_back): Likewise.
55952         (__libc_memmove): New prototype.
55953         (memmove): Renamed to ...
55954         (__libc_memmove): This.
55955         (memmove): New strong alias of __libc_memmove.
55957 2012-08-08  Mark Salter  <msalter@redhat.com>
55959         * elf/elf.h
55960         (R_MN10300_TLS_GD): Define.
55961         (R_MN10300_TLS_LD): Likewise.
55962         (R_MN10300_TLS_LDO): Likewise.
55963         (R_MN10300_TLS_GOTIE): Likewise.
55964         (R_MN10300_TLS_IE): Likewise.
55965         (R_MN10300_TLS_LE): Likewise.
55966         (R_MN10300_TLS_DTPMOD): Likewise.
55967         (R_MN10300_TLS_DTPOFF): Likewise.
55968         (R_MN10300_TLS_TPOFF): Likewise.
55969         (R_MN10300_SYM_DIFF): Likewise.
55970         (R_MN10300_ALIGN): Likewise.
55971         (R_MN10300_NUM): Update.
55973 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
55975         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
55976         Remove.
55978 2012-08-08  Roland McGrath  <roland@hack.frob.com>
55980         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55982         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
55983         sysdeps/unix -> sysdeps/posix move.
55984         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55986 2012-08-07      Allan McRae     <allan@archlinux.org>
55988         [BZ #14303]
55989         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
55990         (SUNOS_CPP): Likewise.
55991         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
55992         not found.
55993         (open_input): Call CPP using execvp.
55995 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55997         * sysdeps/unix/sysv/linux/kernel-features.h
55998         (__ASSUME_PROT_GROWSUPDOWN): Remove.
55999         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56000         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56001         (__ASSUME_WAITID_SYSCALL): Likewise.
56002         * sysdeps/unix/sysv/linux/dl-execstack.c
56003         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
56004         code unconditional.
56005         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
56006         conditional code.
56007         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
56008         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
56009         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
56010         code.
56011         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
56012         unconditional.
56013         [__ASSUME_WAITID_SYSCALL]: Likewise.
56014         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
56016 2012-08-07  Roland McGrath  <roland@hack.frob.com>
56018         * sysdeps/unix/closedir.c: Renamed to ...
56019         * sysdeps/posix/closedir.c: ... here.
56020         * sysdeps/unix/dirfd.c: Renamed to ...
56021         * sysdeps/posix/dirfd.c: ... here.
56022         * sysdeps/unix/dirstream.h: Renamed to ...
56023         * sysdeps/posix/dirstream.h: ... here.
56024         * sysdeps/unix/fdopendir.c: Renamed to ...
56025         * sysdeps/posix/fdopendir.c: ... here.
56026         * sysdeps/unix/opendir.c: Renamed to ...
56027         * sysdeps/posix/opendir.c: ... here.
56028         * sysdeps/unix/readdir.c: Renamed to ...
56029         * sysdeps/posix/readdir.c: ... here.
56030         * sysdeps/unix/readdir_r.c: Renamed to ...
56031         * sysdeps/posix/readdir_r.c: ... here.
56032         * sysdeps/unix/rewinddir.c: Renamed to ...
56033         * sysdeps/posix/rewinddir.c: ... here.
56034         * sysdeps/unix/seekdir.c: Renamed to ...
56035         * sysdeps/posix/seekdir.c: ... here.
56036         * sysdeps/unix/telldir.c: Renamed to ...
56037         * sysdeps/posix/telldir.c: ... here.
56038         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
56039         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
56040         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
56041         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
56043         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
56044         * bits/fcntl.h: ... here.
56046         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
56047         not 0.
56048         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
56049         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
56050         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
56051         (struct flock): Move l_start, l_len to the beginning.
56052         Use __pid_t for l_pid.
56053         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
56054         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
56055         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
56056         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
56057         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
56058         [__USE_LARGEFILE64] (struct flock64): New type.
56059         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
56061         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
56062         * bits/dirent.h: ... here.
56064         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
56065         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
56067 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56069         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56070         Change from 2.6.0 to 2.6.16.
56071         * sysdeps/unix/sysv/linux/configure: Regenerated.
56072         * sysdeps/unix/sysv/linux/kernel-features.h
56073         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
56074         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
56075         version.
56076         (__ASSUME_UTIMES): Likewise.
56077         (__ASSUME_CLONE_STOPPED): Remove.
56078         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
56079         architectures, not kernel version.
56080         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
56081         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56082         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56083         (__ASSUME_WAITID_SYSCALL): Likewise.
56084         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
56085         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
56086         * README: State 2.6.16 as minimum Linux kernel version.  Do not
56087         refer to older versions.
56089 2012-08-06  Roland McGrath  <roland@hack.frob.com>
56091         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
56092         Define alphasort64 as an alias.
56093         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
56094         Define versionsort64 as an alias.
56095         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
56096         Define scandir64 as an alias.
56097         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
56098         Define scandirat64 as an alias.
56099         * dirent/alphasort64.c (alphasort64):
56100         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
56101         * dirent/versionsort64.c: Likewise.
56102         * dirent/scandir64.c: Likewise.
56103         * dirent/scandirat64.c: Likewise.
56104         * sysdeps/wordsize-64/alphasort.c: File removed.
56105         * sysdeps/wordsize-64/alphasort64.c: File removed.
56106         * sysdeps/wordsize-64/scandir.c: File removed.
56107         * sysdeps/wordsize-64/scandir64.c: File removed.
56108         * sysdeps/wordsize-64/scandirat.c: File removed.
56109         * sysdeps/wordsize-64/scandirat64.c: File removed.
56110         * sysdeps/wordsize-64/versionsort.c: File removed.
56111         * sysdeps/wordsize-64/versionsort64.c: File removed.
56112         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
56113         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
56114         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
56115         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
56116         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
56117         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
56118         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
56119         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
56121         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
56122         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56123         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
56124         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56125         [defined __arch64__ || defined __sparcv9]
56126         (__INO_T_MATCHES_INO64_T): New macro.
56127         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56128         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
56129         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
56130         * sysdeps/unix/sysv/linux/bits/dirent.h
56131         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
56132         (_DIRENT_MATCHES_DIRENT64): New macro.
56134         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
56135         Define lockf64 as an alias.
56136         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
56137         Define fseeko64 as an alias.
56138         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
56139         Define ftello64 as an alias.
56140         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
56141         Define _IO_fgetpos64 and fgetpos64 as aliases.
56142         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
56143         Define _IO_fsetpos64 and fsetpos64 as aliases.
56144         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
56145         Conditionalize body on this.
56146         * libio/fseeko64.c: Likewise.
56147         * libio/ftello64.c: Likewise.
56148         * libio/iofgetpos64.c: Likewise.
56149         * libio/iofsetpos64.c: Likewise.
56150         * sysdeps/wordsize-64/lockf.c: File removed.
56151         * sysdeps/wordsize-64/lockf64.c: File removed.
56152         * sysdeps/wordsize-64/fseeko.c: File removed.
56153         * sysdeps/wordsize-64/fseeko64.c: File removed.
56154         * sysdeps/wordsize-64/ftello.c: File removed.
56155         * sysdeps/wordsize-64/ftello64.c: File removed.
56156         * sysdeps/wordsize-64/iofgetpos.c: File removed.
56157         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
56158         * sysdeps/wordsize-64/iofsetpos.c: File removed.
56159         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
56160         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
56161         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
56162         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
56163         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
56164         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
56165         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
56166         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
56167         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
56168         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
56169         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
56171         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56172         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56173         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
56174         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56175         [defined __arch64__ || defined __sparcv9]
56176         (__OFF_T_MATCHES_OFF64_T): New macro.
56177         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56178         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56179         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56180         (__OFF_T_MATCHES_OFF64_T): New macro.
56182 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
56184         * stdlib/secure-getenv.c (__secure_getenv): Replace
56185         GLIBC_2_16 with GLIBC_2_17.
56187 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
56189         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
56190         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56192 2012-08-03  David S. Miller  <davem@davemloft.net>
56194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56196 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
56198         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
56199         Remove.
56200         (__ASSUME_CORRECT_SI_PID): Likewise.
56201         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
56202         (__ASSUME_TMPFS_NAME): Likewise.
56203         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
56204         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
56205         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
56206         (HAVE_AUX_SECURE): Make definition unconditional.
56207         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
56208         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
56210 2012-08-03  Roland McGrath  <roland@hack.frob.com>
56212         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
56213         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
56214         * sysdeps/mach/hurd/eloop-threshold.h: New file.
56215         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56216         __eloop_threshold instead of SYMLOOP_MAX.
56218         * sysdeps/generic/eloop-threshold.h: New file.
56219         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
56220         of MAXSYMLINKS.
56221         * elf/chroot_canon.c (chroot_canon): Likewise.
56223 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
56225         [BZ #13717]
56226         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56227         Change to 2.6.0 everywhere.
56228         * sysdeps/unix/sysv/linux/configure: Regenerated.
56229         * sysdeps/unix/sysv/linux/kernel-features.h
56230         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
56231         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
56232         kernel versions.
56233         (__ASSUME_POSIX_TIMERS): Define unconditionally.
56234         (__ASSUME_FUTEX_REQUEUE): Remove.
56235         (__ASSUME_STATFS64): Define unconditionally.
56236         (__ASSUME_AT_SECURE): Likewise.
56237         (__ASSUME_CORRECT_SI_PID): Likewise.
56238         (__ASSUME_TGKILL): Define without depending on kernel version for
56239         i386.
56240         (__ASSUME_UTIMES): Likewise.
56241         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
56242         kernel version.
56243         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
56244         (__ASSUME_TMPFS_NAME): Likewise.
56245         * README: Update reference to Linux kernel versions.
56247 2012-08-02  Marek Polacek  <polacek@redhat.com>
56249         [BZ# 14150]
56250         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
56251         libc_cv_asm_type_prefix with %.
56252         * configure: Regenerated.
56253         * include/libc-symbols.h: Remove comment about
56254         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
56255         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
56256         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
56257         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
56258         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
56259         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
56260         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
56261         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
56262         * elf/tst-unique2mod1.c: Likewise.
56263         * elf/tst-unique1mod2.c: Likewise.
56264         * elf/tst-unique1mod1.c: Likewise.
56265         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
56266         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
56267         Replace ASM_TYPE_DIRECTIVE with .type.
56268         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56269         * sysdeps/i386/sysdep.h: Likewise.
56270         * sysdeps/x86_64/sysdep.h: Likewise.
56271         * sysdeps/sh/sysdep.h: Likewise.
56272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56273         Do not define ASM_TYPE_DIRECTIVE.
56274         * sysdeps/powerpc/sysdep.h: Likewise.
56275         * sysdeps/powerpc/powerpc32/sysdep.h:
56276         Replace ASM_TYPE_DIRECTIVE with .type.
56277         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56278         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56279         * sysdeps/i386/fpu/e_powf.S: Likewise.
56280         * sysdeps/i386/fpu/e_expl.S: Likewise.
56281         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56282         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56283         * sysdeps/i386/fpu/e_pow.S: Likewise.
56284         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56285         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56286         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56287         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56288         * sysdeps/i386/fpu/e_log2.S: Likewise.
56289         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56290         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56291         * sysdeps/i386/fpu/e_powl.S: Likewise.
56292         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56293         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56294         * sysdeps/i386/fpu/e_logl.S: Likewise.
56295         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56296         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56297         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56298         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56299         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56300         * sysdeps/i386/fpu/e_log.S: Likewise.
56301         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56302         * sysdeps/i386/fpu/e_logf.S: Likewise.
56303         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56304         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56305         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56306         * sysdeps/i386/fpu/e_log10.S: Likewise.
56307         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56308         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56309         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56310         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56311         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56312         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
56313         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56314         * sysdeps/i386/i686/strtok.S: Likewise.
56315         * sysdeps/i386/i386-mcount.S: Likewise.
56316         * sysdeps/i386/strtok.S: Likewise.
56317         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
56318         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56319         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56320         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56321         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56322         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56323         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56324         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56325         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56326         * sysdeps/x86_64/_mcount.S: Likewise.
56327         * sysdeps/x86_64/strtok.S: Likewise.
56328         * sysdeps/sh/_mcount.S: Likewise.
56330 2012-08-01  Roland McGrath  <roland@hack.frob.com>
56332         * libio/iofopen.c: Include <fcntl.h>.
56333         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
56334         (_IO_fopen64, fopen64): Define as aliases.
56335         * libio/iofopen64.c: Include <fcntl.h>.
56336         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
56337         Conditionalize body on this.
56338         * sysdeps/wordsize-64/iofopen.c: File removed.
56339         * sysdeps/wordsize-64/iofopen64.c: File removed.
56341 2012-08-01  Marek Polacek  <polacek@redhat.com>
56343         * libc/Makeconfig: Use elf in place of binfmt-subdir.
56344         Use dlfcn directly instead of a variable.
56345         (binfmt-subdir): Do not define.
56346         (dlfcn): Likewise.
56348 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
56350         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
56351         Remove all definitions.
56352         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
56353         <kernel-features.h>.
56354         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56355         (miss_F_GETOWN_EX): Remove all definitions.
56356         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
56357         macro definition.
56358         [!__ASSUME_FCNTL64]: Remove conditional code.
56359         [__ASSUME_FCNTL64]: Make code unconditional.
56360         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
56361         <kernel-features.h>.
56362         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56363         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
56364         (lockf64) [__NR_fcntl64]: Make code unconditional.
56365         (lockf64) [__ASSUME_FCNTL64]: Likewise.
56367         * sysdeps/unix/sysv/linux/kernel-features.h
56368         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
56369         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
56370         Make code unconditional.
56371         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56372         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
56374         [__NR_vfork]: Make code unconditional.
56375         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56376         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
56378         [__NR_vfork]: Make code unconditional.
56379         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56380         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56382 2012-08-01  Roland McGrath  <roland@hack.frob.com>
56384         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
56385         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
56387         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56388         Define mkstemp64 as an alias.
56389         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56390         Define mkstemps64 as an alias.
56391         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56392         Define mkostemp64 as an alias.
56393         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56394         Define mkostemps64 as an alias.
56395         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
56396         Conditionalize body on this.
56397         * misc/mkostemp64.c: Likewise.
56398         * misc/mkostemps64.c: Likewise.
56399         * misc/mkstemps64.c: Likewise.
56400         * sysdeps/wordsize-64/mkstemp64.c: File removed.
56401         * sysdeps/wordsize-64/mkostemp64.c: File removed.
56402         * sysdeps/wordsize-64/mkostemp.c: File removed.
56403         * sysdeps/wordsize-64/mkstemp.c: File removed.
56404         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
56405         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
56406         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
56407         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
56409         [BZ #14138]
56410         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
56411         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
56412         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
56413         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
56415         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
56416         compat_symbol macros from <shlib-compat.h> rather than the underlying
56417         default_symbol_version and symbol_version macros, so that DEFAULT
56418         lines in shlib-versions are respected.
56419         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
56421 2012-08-01  Florian Weimer  <fweimer@redhat.com>
56423         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
56424         Declare with warn_unused_result.
56425         (setgid, setregid, setegid, setresgid): Likewise.
56426         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
56427         Likewise.
56428         * WUR-REPORT: Remove set*id functions.
56430 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
56432         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
56434 2012-07-31  Roland McGrath  <roland@hack.frob.com>
56436         [BZ #10191]
56437         * include/sys/socket.h (__libc_accept, __libc_accept4):
56438         Add attribute_hidden.
56439         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
56441         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
56442         use of PTR_MANGLE.
56443         * inet/getnetgrent_r.c (setup): Likewise.
56445         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
56447 2012-07-31  David S. Miller  <davem@davemloft.net>
56449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56451 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
56453         [BZ #13629]
56454         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
56455         value between 1.0 and 2.0 and smaller part has absolute value less
56456         than 1.0.
56457         * math/s_clog10.c (__clog10): Likewise.
56458         * math/s_clog10f.c (__clog10f): Likewise.
56459         * math/s_clog10l.c (__clog10l): Likewise.
56460         * math/s_clogf.c (__clogf): Likewise.
56461         * math/s_clogl.c (__clogl): Likewise.
56462         * math/libm-test.inc (clog_test): Add more tests.
56463         (clog10_test): Likewise.
56464         * sysdeps/i386/fpu/libm-test-ulps: Update.
56465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56467 2012-07-31  Florian Weimer  <fweimer@redhat.com>
56469         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
56470         Exit with zero in case no suitable GID is found, and write a
56471         message to standard error.
56473 2012-07-30  Roland McGrath  <roland@hack.frob.com>
56475         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
56476         rather than to 1.
56477         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
56478         (MAXPATHLEN): Removed.
56479         (NOGROUP, NODEV): New macros.
56480         (setbit, clrbit, isset, isclr): New macros.
56481         (howmany, roundup, powerof2): New macros.
56482         (DEV_BSIZE): New macro.
56484         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
56485         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
56487         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
56488         definition on [!__NO_LONG_DOUBLE_MATH].
56490         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
56491         PTR_MANGLE and PTR_DEMANGLE.
56493         * socket/accept4.c (accept4): Rename to __libc_accept4.
56494         Define accept4 as a weak alias.
56496         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
56497         on [_DIRENT_HAVE_D_TYPE].
56498         * io/ftw.c (ftw_dir): Likewise.
56500         * io/xmknod.c (__xmknod): Don't check PATH for being null.
56502         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
56504         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
56505         Use the BSD numbers rather than the arbitrary ones we had.
56506         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
56507         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
56508         (SIGXCPU, SIGXFSZ): New macros.
56509         (_NSIG): Now 32.
56511         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
56512         initializer on [_LIBC_REENTRANT].
56514         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
56515         definitions inside [_POSIX_MAPPED_FILES].
56517         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
56519         * dirent/opendir.c: Include <fcntl.h>.
56521         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
56522         (__libc_getspecific): Likewise.
56523         (__libc_key_create): Likewise.
56525         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
56526         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
56527         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
56528         (tmpfile64): Define as alias.
56529         * sysdeps/wordsize-64/tmpfile.c: File removed.
56530         * sysdeps/wordsize-64/tmpfile64.c: File removed.
56531         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
56532         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
56534         * stdio-common/vfscanf.c: Include <stdbool.h>.
56535         * nss/makedb.c: Likewise.
56536         * stdio-common/_i18n_number.h: Likewise.
56537         * argp/argp-help.c: Likewise.
56538         * posix/wordexp.c: Likewise.
56539         * sysdeps/posix/spawni.c: Likewise.
56540         * nss/nss_files/files-initgroups.c: Likewise.
56541         * stdio-common/reg-modifier.c: Include <stdlib.h>.
56542         * nss/nss_files/files-initgroups.c: Likewise.
56543         * nss/nss_db/db-netgrp.c: Likewise.
56544         * nss/nss_db/db-initgroups.c: Likewise.
56545         * io/fchmodat.c: Include <sys/stat.h>.
56547         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
56548         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
56550         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
56551         [HAVE_MMAP].
56553         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
56554         Add multiple inclusion protection.
56556 2012-07-27  David S. Miller  <davem@davemloft.net>
56558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56560 2012-07-27  Gary Benson  <gbenson@redhat.com>
56562         [BZ #14298]
56563         * elf/rtld.c: Include <stap-probe.h>.
56564         (dl_main): Added static probes "init_start" and "init_complete".
56565         * elf/dl-load.c: Include <stap-probe.h>.
56566         (lose): Take new parameter "nsid".
56567         Added static probe "map_failed".
56568         (_dl_map_object_from_fd): Pass namespace id to lose.
56569         Added static probe "map_start".
56570         (open_verify): Pass namespace id to lose.
56571         * elf/dl-open.c: Include <stap-probe.h>.
56572         (dl_open_worker) Added static probes "map_complete", "reloc_start"
56573         and "reloc_complete".
56574         * elf/dl-close.c: Include <stap-probe.h>.
56575         (_dl_close_worker): Added static probes "unmap_start" and
56576         "unmap_complete".
56577         * elf/rtld-debugger-interface.txt: New file documenting the above.
56579 2012-07-26  Roland McGrath  <roland@hack.frob.com>
56581         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
56582         rather than a string variable.
56583         * sunrpc/rpc_main.c (h_output): Likewise.
56584         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
56586 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
56588         * inet/check_native.c: New file.
56590 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
56592         [BZ #13629]
56593         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
56594         if larger part has absolute value 1.0.
56595         * math/s_clog10.c (__clog10): Likewise.
56596         * math/s_clog10f.c (__clog10f): Likewise.
56597         * math/s_clog10l.c (__clog10l): Likewise.
56598         * math/s_clogf.c (__clogf): Likewise.
56599         * math/s_clogl.c (__clogl): Likewise.
56600         * math/libm-test.inc (clog_test): Add more tests.
56601         (clog10_test): Likewise.
56602         * sysdeps/i386/fpu/libm-test-ulps: Update.
56603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56605         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
56606         (pltexit): Likewise.
56607         (La_regs): Likewise.
56608         (La_retval): Likewise.
56609         (int_retval): Likewise.
56610         Update #error for removed macros to refer only to definitions in
56611         tst-audit.h.
56612         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
56613         macro.
56614         (pltexit): Likewise.
56615         (La_regs): Likewise.
56616         (La_retval): Likewise.
56617         (int_retval): Likewise.
56618         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
56619         macro.
56620         (pltexit): Likewise.
56621         (La_regs): Likewise.
56622         (La_retval): Likewise.
56623         (int_retval): Likewise.
56624         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
56625         macro.
56626         (pltexit): Likewise.
56627         (La_regs): Likewise.
56628         (La_retval): Likewise.
56629         (int_retval): Likewise.
56630         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
56631         macro.
56632         (pltexit): Likewise.
56633         (La_regs): Likewise.
56634         (La_retval): Likewise.
56635         (int_retval): Likewise.
56636         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
56637         macro.
56638         (pltexit): Likewise.
56639         (La_regs): Likewise.
56640         (La_retval): Likewise.
56641         (int_retval): Likewise.
56642         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
56643         macro.
56644         (pltexit): Likewise.
56645         (La_regs): Likewise.
56646         (La_retval): Likewise.
56647         (int_retval): Likewise.
56648         * sysdeps/generic/tst-audit.h: Update comment to refer only to
56649         macro definitions in tst-audit.h.
56650         * sysdeps/i386/tst-audit.h: New file.
56651         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
56652         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
56653         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
56654         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
56655         * sysdeps/sh/tst-audit.h: Likewise.
56656         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
56657         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
56658         * sysdeps/x86_64/tst-audit.h: Likewise.
56660 2012-07-26  Andreas Jaeger  <aj@suse.de>
56662         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
56663         ptrace.
56665         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
56666         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
56667         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
56668         PTRACE_O_MASK.
56669         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
56670         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
56671         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
56673         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
56674         value.
56676         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
56677         _sigsys.
56678         (si_call_addr, si_syscall, si_arch): Define new macro.
56679         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
56680         _sigsys.
56681         (si_call_addr, si_syscall, si_arch): Define new marcro.
56682         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
56683         _sigsys.
56684         (si_call_addr, si_syscall, si_arch): Define new macro.
56685         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
56686         _sigsys.
56687         (si_call_addr, si_syscall, si_arch): Define new macro.
56689 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56691         [BZ #13717]
56692         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56693         Change to 2.4.21 where previously 2.4.1.
56694         * sysdeps/unix/sysv/linux/configure: Regenerated.
56695         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
56696         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
56697         Linux kernel version.
56698         (__ASSUME_STD_AUXV): Remove.
56699         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
56700         kernel version.
56701         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
56702         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
56703         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
56704         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
56705         (__ASSUME_NETLINK_SUPPORT): Likewise.
56706         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
56707         (__no_netlink_support): Remove conditional definition.
56708         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
56709         Remove.
56710         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56711         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
56712         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
56713         (if_nameindex_ioctl): Remove.
56714         (if_nameindex_netlink): Do not handle __no_netlink_support.
56715         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56716         code.
56717         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
56718         Remove conditional code.
56719         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56720         code.
56721         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
56722         unconditional.
56723         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56724         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
56725         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
56726         Remove.
56727         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
56728         [!__ASSUME_STD_AUXV]: Remove conditional code.
56729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
56730         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
56731         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
56732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
56733         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
56734         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56735         code.
56736         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56738         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
56739         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56740         conditional code.
56741         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56743         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56744         code.
56745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56746         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56747         conditional code.
56748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
56749         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56750         code unconditional.
56751         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56752         conditional code.
56753         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56754         unconditional.
56755         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56756         conditional code.
56757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56758         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56759         unconditional.
56760         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56761         conditional code.
56762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
56763         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56764         code unconditional.
56765         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56766         conditional code.
56767         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56768         unconditional.
56769         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56770         conditional code.
56771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
56772         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56773         code unconditional.
56774         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56775         conditional code.
56776         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56777         unconditional.
56778         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56779         conditional code.
56781 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
56783         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
56784         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
56785         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
56786         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
56787         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
56788         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
56789         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
56790         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
56791         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
56792         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
56793         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
56794         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
56795         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
56796         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
56797         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
56798         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
56799         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
56800         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
56801         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
56802         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
56803         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
56804         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
56805         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56807 2012-07-25  Florian Weimer  <fweimer@redhat.com>
56809         * Versions.def: Add GLIBC_2.17.
56810         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
56811         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56812         Introduce __libc_secure_getenv.
56813         * stdlib/Versions (2.17): Add secure_getenv
56814         (GLIBC_PRIVATE): Add __libc_secure_getenv.
56815         * stdlib/secure-getenv.c: Rename __secure_getenv to
56816         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
56817         symbol __secure_getenv for GLIBC_2.0.
56818         * stdlib/tst-secure-getenv.c: New.
56819         * stdlib/Makefile (tests): Add testcase.
56820         * manual/startup.texi (Environment Access): Document
56821         secure_getenv.
56822         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56823         __libc_secure_getenv.
56824         * inet/ruserpass.c (ruserpass): Likewise.
56825         * malloc/mtrace.c (mtrace): Likewise.
56826         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56827         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56828         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56829         * sysdeps/posix/tempname.c: Likewise.  Evaluate
56830         HAVE_SECURE_GETENV.
56831         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56832         __secure_getenv to __libc_secure_getenv.
56833         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56835         Likewise.
56836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56837         Likewise.
56838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56840         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56846 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56848         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56849         (struct La_i86_retval): Likewise.
56850         (struct La_x86_64_regs): Likewise.
56851         (struct La_x86_64_retval): Likewise.
56852         (struct La_x32_regs): Likewise.
56853         (struct La_x32_retval): Likewise.
56854         (struct La_ppc32_regs): Likewise.
56855         (struct La_ppc32_retval): Likewise.
56856         (struct La_ppc64_regs): Likewise.
56857         (struct La_ppc64_retval): Likewise.
56858         (struct La_sh_regs): Likewise.
56859         (struct La_sh_retval): Likewise.
56860         (struct La_s390_32_regs): Likewise.
56861         (struct La_s390_32_retval): Likewise.
56862         (struct La_s390_64_regs): Likewise.
56863         (struct La_s390_64_retval): Likewise.
56864         (struct La_sparc32_regs): Likewise.
56865         (struct La_sparc32_retval): Likewise.
56866         (struct La_sparc64_regs): Likewise.
56867         (struct La_sparc64_retval): Likewise.
56868         (struct audit_ifaces): Remove architecture-specific pltenter and
56869         pltexit members.
56870         * sysdeps/i386/ldsodefs.h: New file.
56871         * sysdeps/powerpc/ldsodefs.h: Likewise.
56872         * sysdeps/s390/ldsodefs.h: Likewise.
56873         * sysdeps/sh/ldsodefs.h: Likewise.
56874         * sysdeps/sparc/ldsodefs.h: Likewise.
56875         * sysdeps/x86_64/ldsodefs.h: Likewise.
56877 2012-07-25  Marek Polacek  <polacek@redhat.com>
56879         [BZ #6808]
56880         * math/libm-test.inc (yn_test): Add another test.
56881         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
56882         to ERANGE when the result is +-Inf.
56883         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56884         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
56885         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
56886         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
56888 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
56890         * conform/data/time.h-data (NULL): Use macro-constant.  Require
56891         equal to 0.
56892         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
56893         clock_t.
56894         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
56896 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
56898         * configure.in <sysdeps resolving>: Correct printing
56899         Implies_before.
56900         * configure: Regenerate.
56902 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
56904         * math/w_ilogb.c: Include <limits.h>.
56905         * math/w_ilogbl.c: Likewise.
56907 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56909         * manual/lang.texi (__va_copy): Document primarily as ISO C99
56910         va_copy.  Document allowing for unavailable va_copy only as
56911         pre-C99 compatibility.
56912         * manual/string.texi (Copying and Concatenation): Use va_copy
56913         instead of __va_copy in concat example.
56915 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
56917         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
56918         (__sendto): Use create_address_port.  Initialize APORT and deallocate
56919         it if not null.
56921         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
56922         with O_NOLINK passed to __file_name_lookup.
56924         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
56925         with O_NOLINK passed to __file_name_lookup.
56927         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
56928         negative N or less than NGIDS.
56930         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
56931         type to string_t.  Set ERANGE as errno and return it if NAME is not big
56932         enough.  Use memcpy instead of strncpy.
56934 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56936         * elf/Makefile (check-data): Remove.
56937         (localplt.data): New vpath directive.
56938         ($(objpfx)check-localplt.out): Use localplt.data from vpath
56939         instead of $(check-data).
56940         * scripts/data/localplt-generic.data: Move to ...
56941         * sysdeps/generic/localplt.data: ... here.
56942         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
56943         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
56944         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
56945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
56946         ... here.
56947         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
56948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
56949         ... here.
56950         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
56952         ... here.
56953         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
56954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
56955         ... here.
56956         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
56957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
56958         ... here.
56959         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56961         ... here.
56963 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56965         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56966         PPC32 and PPC64 files.
56967         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
56968         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
56970 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56972         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
56973         __makecontext_ret to ...
56974         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
56975         ... here and call exit if uc_link is NULL.  New file.
56976         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
56977         __makecontext_ret.S.
56978         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
56979         __makecontext_ret to ...
56980         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
56981         ... here and call exit if uc_link is NULL.  New file.
56982         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
56983         __makecontext_ret.S.
56985 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56987         * elf/elf.h (R_390_IRELATIVE): New definition.
56988         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
56989         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
56990         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
56991         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56992         (elf_machine_lazy_rel): Likewise.
56993         * sysdeps/s390/dl-irel.h: New file.
56994         * sysdeps/s390/s390-64/memcpy.S: New asm code.
56995         * sysdeps/s390/s390-64/memset.S: New asm code.
56996         * sysdeps/s390/s390-64/memcmp.S: New asm code.
56997         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56998         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56999         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
57000         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
57001         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
57002         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
57003         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
57004         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
57005         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
57006         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
57007         * sysdeps/s390/s390-32/memcpy.S: New asm code.
57008         * sysdeps/s390/s390-32/memset.S: New asm code.
57009         * sysdeps/s390/s390-32/memcmp.S: New asm code.
57011 2012-07-17  Marek Polacek  <polacek@redhat.com>
57013         [BZ #14349]
57014         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
57015         * sysdeps/s390/s390-64/configure.in: Likewise.
57016         * sysdeps/sparc/configure.in: Likewise.
57017         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
57018         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
57019         * sysdeps/i386/configure.in: Likewise.
57020         * sysdeps/x86_64/configure.in: Likewise.
57021         * sysdeps/sh/configure.in: Likewise.
57022         * sysdeps/s390/s390-32/configure: Regenerated.
57023         * sysdeps/s390/s390-64/configure: Likewise.
57024         * sysdeps/x86_64/configure: Likewise.
57025         * sysdeps/sh/configure: Likewise.
57026         * sysdeps/powerpc/powerpc64/configure: Likewise.
57027         * sysdeps/powerpc/powerpc32/configure: Likewise.
57028         * sysdeps/sparc/configure: Likwise.
57029         * sysdeps/i386/configure: Likewise.
57031         * elf/dl-open.c: Comment fixes.
57033 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
57035         * Makefile [CXX] (check-data): Remove.
57036         [CXX] (c++-types.data): New vpath directive.
57037         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
57038         vpath.  Do not allow for C++ type data being missing.
57039         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
57040         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
57041         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
57042         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
57043         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
57044         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
57045         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
57046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
57047         ... here.
57048         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
57049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
57050         ... here.
57051         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
57052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
57053         ... here.
57054         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
57055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
57056         ... here.
57057         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
57058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
57059         ... here.
57060         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
57061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
57062         ... here.
57063         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
57064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
57065         ... here.
57066         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
57067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
57069         * elf/tls-macros.h (TLS_LE): Move architecture-specific
57070         definitions to architecture-specific files.
57071         (TLS_IE): Likewise.
57072         (TLS_LD): Likewise.
57073         (TLS_GD): Likewise.
57074         * sysdeps/i386/tls-macros.h: New file.
57075         * sysdeps/powerpc/tls-macros.h: Likewise.
57076         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
57077         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
57078         * sysdeps/sh/tls-macros.h: Likewise.
57079         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
57080         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
57081         * sysdeps/x86_64/tls-macros.h: Likewise.
57083 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57085         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
57086         zero value for regular exit case.
57088         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
57089         (__start_context): Preserve zero value for regular exit case.
57091 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57092             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57094         * manual/setjmp.texi (setcontext): Clarify normal process
57095         termination when uc_link is the null pointer.
57096         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
57097         exit call.
57099 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
57101         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
57102         preprocessor.  Test for each exception mask separately.
57104 2012-07-16  Andreas Jaeger  <aj@suse.de>
57106         * po/ru.po: Update from translation team.
57108 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
57110         * conform/data/string.h-data (NULL): Use macro-constant.  Require
57111         equal to 0.
57112         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57113         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57114         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
57115         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
57116         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57118 2012-07-13  Andreas Jaeger  <aj@suse.de>
57120         * po/fr.po: Update from translation team.
57122 2012-07-12  Marek Polacek  <polacek@redhat.com>
57124         [BZ #14173]
57125         * math/libm-test.inc (yn_test): Add test for BZ #14173.
57126         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
57127         loop condition.
57129 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
57131         [BZ #13717]
57132         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57133         Change to 2.4.1 where previously 2.4.0.
57134         * sysdeps/unix/sysv/linux/configure: Regenerated.
57135         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
57136         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
57137         version.
57138         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
57139         (__ASSUME_AT_CLKTCK): Remove.
57140         (__ASSUME_AT_PAGESIZE): Likewise.
57141         (__ASSUME_AT_XID): Likewise.
57142         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
57143         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
57144         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
57145         unconditionally.
57146         (HAVE_AUX_PAGESIZE): Likewise.
57147         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
57148         [__ASSUME_AT_CLKTCK]: Make code unconditional.
57149         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
57151 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
57153         [BZ #14307]
57154         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
57155         the temporary buffer used to invoke __gethostbyname2_r,
57156         __gethostbyaddr_r and gethostbyname4_r to make room for struct
57157         host_data / struct gaih_addrtuple.
57158         * resolv/nss_dns/dns-host.c (global scope): Move definition of
57159         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
57160         header file nss/nsswitch.h.
57161         * nss/nsswitch.h (global scope): Add definition of implementation
57162         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
57163         resolv/nss_dns/dns-host.c).
57165 2012-07-11  Andreas Jaeger  <aj@suse.de>
57167         * po/fr.po: Update from translation team.
57169         * po/sv.po: Update from translation team
57170         * po/fr.po: Another update from translation team.
57172 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57174         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
57175         for subnormals or multiply small sinh result by itself.
57176         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57179 2012-07-11  David S. Miller  <davem@davemloft.net>
57181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57183 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
57185         [BZ #14347]
57186         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
57187         (INTERNAL_MARK): Shift it here.
57189 2012-07-10  Marek Polacek  <polacek@redhat.com>
57191         [BZ #14151]
57192         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
57193         libc_cv_asm_global_directive with .globl.
57194         * configure: Regenerated.
57195         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
57196         with .globl.
57197         * sysdeps/i386/configure: Regenerated.
57198         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
57199         with .globl.
57200         * sysdeps/x86_64/configure: Regenerated.
57201         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
57202         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
57203         * elf/tst-unique2mod2.c: Likewise.
57204         * elf/tst-unique2mod1.c: Likewise.
57205         * elf/tst-unique1mod2.c: Likewise.
57206         * elf/tst-unique1mod1.c: Likewise.
57207         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57208         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57209         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57210         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57211         * sysdeps/mach/sysdep.h: Likewise.
57212         * sysdeps/i386/sysdep.h: Likewise.
57213         * sysdeps/i386/i386-mcount.S: Likewise.
57214         * sysdeps/x86_64/_mcount.S: Likewise.
57215         * sysdeps/x86_64/sysdep.h: Likewise.
57216         * sysdeps/sh/_mcount.S: Likewise.
57217         * sysdeps/sh/sysdep.h: Likewise.
57218         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
57219         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
57220         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
57221         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57222         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
57223         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
57224         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
57225         * locale/localeinfo.h: Likewise.
57226         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
57227         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
57229 2012-07-09  Roland McGrath  <roland@hack.frob.com>
57231         [BZ #14336]
57232         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
57233         system".
57234         * manual/message.texi (The Uniforum approach): Likewise.
57235         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
57236         (glibc iconv Implementation): Likewise.
57238 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
57240         [BZ #14337]
57241         * math/s_clog.c (__clog): Avoid scaling a value down where that
57242         could result in underflow.
57243         * math/s_clog10.c (__clog10): Likewise.
57244         * math/s_clog10f.c (__clog10f): Likewise.
57245         * math/s_clog10l.c (__clog10l): Likewise.
57246         * math/s_clogf.c (__clogf): Likewise.
57247         * math/s_clogl.c (__clogl): Likewise.
57248         * math/libm-test.inc (clog_test): Add more tests.
57249         (clog10_test): Likewise.
57250         * sysdeps/i386/fpu/libm-test-ulps: Update.
57251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57253 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
57255         [BZ #14283]
57256         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
57257         by 7 not 8 to examine high bit of fractional part.
57259         [BZ #14042]
57260         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
57261         for call to __mcount_internal.
57262         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
57263         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
57264         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
57266 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
57268         [BZ #14154]
57269         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
57270         approximation for values within 0x1p-13f of an odd multiple of
57271         pi/4.
57272         * math/libm-test.inc (tan_test): Do not allow spurious underflow
57273         exception.  Add more tests.
57274         * sysdeps/i386/fpu/libm-test-ulps: Update.
57276         [BZ #6778]
57277         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
57278         inputs and return -1 for them.  Do not check for +Inf in case not
57279         reachable for +Inf.
57280         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57281         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
57282         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57283         and return -1 for them.  Do not check for +Inf in case not
57284         reachable for +Inf.
57285         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
57286         define.
57287         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57288         and return -1 for them.  Do not check for +Inf in case not
57289         reachable for +Inf.
57290         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
57291         spurious underflow.
57292         * sysdeps/i386/fpu/libm-test-ulps: Update.
57293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57295 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
57297         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
57299 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
57301         [BZ #14157]
57302         [BZ #14331]
57303         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
57304         could result in spurious underflow.  Scale down values above
57305         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
57306         * math/s_csqrtf.c (__csqrtf): Likewise.
57307         * math/s_csqrtl.c (__csqrtl): Likewise.
57308         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
57309         spurious underflow.
57310         * sysdeps/i386/fpu/libm-test-ulps: Update.
57311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57313 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
57315         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
57316         xopen-msg.sed.
57317         * catgets/xopen-msg.awk: New file.
57318         * catgets/xopen-msg.sed: Removed.
57320         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
57321         po2text.sed.
57322         * intl/po2test.awk: New file.
57323         * intl/po2test.sed: Removed.
57325 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
57327         [BZ #14328]
57328         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
57329         or multiply small sinh result by itself.
57330         * math/s_ctanf.c (__ctanf): Likewise.
57331         * math/s_ctanh.c (__ctanh): Likewise.
57332         * math/s_ctanhf.c (__ctanhf): Likewise.
57333         * math/s_ctanhl.c (__ctanhl): Likewise.
57334         * math/s_ctanl.c (__ctanl): Likewise.
57335         * math/libm-test.inc (ctan_test_tonearest): New function.
57336         (ctan_test_towardzero): Likewise.
57337         (ctan_test_downward): Likewise.
57338         (ctan_test_upward): Likewise.
57339         (ctanh_test_tonearest): Likewise.
57340         (ctanh_test_towardzero): Likewise.
57341         (ctanh_test_downward): Likewise.
57342         (ctanh_test_upward): Likewise.
57343         (main): Call these new functions.
57344         * sysdeps/i386/fpu/libm-test-ulps: Update.
57345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57347 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
57349         * .gitignore: Delete /ports entry.
57351 2012-07-03  Andreas Jaeger  <aj@suse.de>
57353         * po/bg.po: Update from translation team.
57354         * po/cs.po: Likewise.
57355         * po/de.po: Likewise.
57356         * po/hr.po: Likewise.
57357         * po/nl.pl: Likewise.
57358         * po/pl.po: Likewise.
57359         * po/vi.po: Likewise.
57361 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
57363         * Makeconfig [!+link] (+link-before-libc): New variable.
57364         [!+link] (+link-after-libc): Likewise.
57365         [!+link] (+link-tests): Likewise.
57366         [!+link] (+link): Define in terms of $(+link-before-libc) and
57367         $(+link-after-libc).
57368         [!+link-static] (+link-static-before-libc): New variable.
57369         [!+link-static] (+link-static-after-libc): Likewise.
57370         [!+link-static] (+link-static-tests): Likewise.
57371         [!+link-static] (+link-static): Define in terms of
57372         $(+link-static-before-libc) and $(+link-static-after-libc).
57373         [build-shared] (link-libc-before-gnulib): New variable.
57374         [build-shared] (link-libc-tests): Likewise.
57375         [build-shared] (link-libc): Define in terms of
57376         $(link-libc-before-gnulib).
57377         [!build-shared] (link-libc-tests): New variable.
57378         (link-libc-static-tests): New variable.
57379         [!gnulib] (gnulib-arch): New variable.
57380         [!gnulib] (gnulib-tests): Likewise.
57381         [!gnulib] (static-gnulib-arch): Likewise.
57382         [!gnulib] (static-gnulib-tests): Likewise.
57383         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
57384         Define with "=" instead of ":=".
57385         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
57386         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
57387         * Rules (binaries-all-notests): New variable.
57388         (binaries-all-tests): Likewise.
57389         (binaries-static-notests): Likewise.
57390         (binaries-static-tests): Likewise.
57391         (binaries-all): Define using $(binaries-all-notests) and
57392         $(binaries-all-tests).
57393         (binaries-static): Define using $(binaries-static-notests) and
57394         $(binaries-static-tests).
57395         (binaries-shared-tests): New variable.
57396         (binaries-shared-notests): Likewise.
57397         (binaries-shared): Remove variable.
57398         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
57399         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
57400         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
57401         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
57402         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
57403         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
57404         * elf/Makefile (sln-modules): New variable.
57405         (extra-objs): Add $(sln-modules:=.o).
57406         (ldconfig-modules): Add static-stubs.
57407         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
57408         * elf/static-stubs.c: New file.
57410         [BZ #14283]
57411         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
57412         by 7 not 8 to examine high bit of fractional part.  Use volatile
57413         variables when splitting into final array of floats if
57414         __FLT_EVAL_METHOD__ != 0.
57415         * math/libm-test.inc (cos_test): Add another test.
57416         (sin_test): Likewise.
57417         * sysdeps/i386/fpu/libm-test-ulps: Update.
57419         [BZ #14273]
57420         * math/libm-test.inc (cosh_test): Add more tests.
57422         * version.h (RELEASE): Set to "development".
57423         (VERSION): Set to "2.16.90".
57425 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
57427         * NEWS: Update copyright. Remove last-updated date.
57428         Mention math library bug fixes and timezone data changes.
57429         * README: Mention GNU/Hurd, x32, and HPPA support status.
57431 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
57433         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
57435 2012-06-27  Andreas Jaeger  <aj@suse.de>
57437         * manual/contrib.texi (Contributors): Add Samuel Thibault.
57439 2012-06-25  Andreas Jaeger  <aj@suse.de>
57441         * sysdeps/s390/fpu/libm-test-ulps: Update.
57443 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
57444             Thomas Schwinge  <thomas@codesourcery.com>
57446         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
57447         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
57448         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
57449         fanotify_mark.
57451 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
57453         * sysdeps/mach/start.c: Remove file.
57454         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
57455         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
57456         * sysdeps/sh/init-first.c: Likewise.
57458         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
57459         registers for frame unwinding purposes, add CFI directives.
57460         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57461         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
57462         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
57463         Likewise.
57465         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
57466         __fortify_fail returning.
57467         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57469         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
57470         sysdeps/sh/____longjmp_chk.S.
57471         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
57472         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
57473         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
57474         (gen-as-const-headers): Append sigaltstack-offsets.sym.
57476         * sysdeps/sh/abort-instr.h: New file.
57477         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
57478         process in case exit returns.
57480         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
57481         initialize the GOT register before use.
57483         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
57484         calculation of ARGC > 4.
57486         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
57487         meaningful names to some local labels.
57489 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57490             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57492         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
57493         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
57494         (__arch_compare_and_exchange_val_16_acq): Likewise.
57495         (__arch_compare_and_exchange_val_32_acq): Likewise.
57496         (atomic_exchange_and_add): Fix gUSA sequence.
57497         (atomic_add): Likewise.
57498         (atomic_add_negative): Likewise.
57499         (atomic_add_zero): Likewise.
57500         (atomic_bit_test_set): Likewise.
57502 2012-06-22  Andreas Schwab  <schwab@redhat.com>
57504         [BZ #13579]
57505         * include/link.h (struct link_map): Add l_free_initfini.
57506         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
57507         l_initfini.
57508         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
57509         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
57510         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
57511         set.
57513 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
57515         * configure.in: Use AC_LANG_SOURCE.
57516         * configure: Regenerate.
57518 2012-06-22  Roland McGrath  <roland@hack.frob.com>
57520         * configure.in (libc_cv_localstatedir): New substituted variable.
57521         * configure: Regenerated.
57522         * config.make.in (localstatedir): New variable, substituted from
57523         libc_cv_localstatedir.
57524         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
57525         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
57526         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
57527         * sysdeps/gnu/configure: Regenerated.
57529 2012-06-21  Jeff Law  <law@redhat.com>
57531         [BZ #14277]
57532         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
57533         free.  Simplify list management for _LIBC case.
57535 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
57537         [BZ #14273]
57538         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
57539         Clear sign bit of 64-bit integer value before comparing against
57540         overflow value.
57542         * sysdeps/mach/configure: Regenerated.
57544 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
57546         [BZ #14278]
57547         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
57549 2012-06-21  Jeff Law  <law@redhat.com>
57551         [BZ #13882]
57552         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
57553         uint16_t for elements in the "seen" array to avoid char overflows.
57554         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57555         * elf/dl-open.c (dl_open_worker): Likewise.
57557 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
57559         * scripts/list-sources.sh: Scan PORTS for translations.
57560         * po/libc.pot: Regenerated.
57562 2012-06-21  Andreas Jaeger  <aj@suse.de>
57564         [BZ #12194]
57565         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
57566         warning.
57567         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
57568         * bits/byteswap-16.h (__bswap_16): Likewise.
57569         * bits/byteswap.h (__bswap_constant_16): Likewise.
57571 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
57573         [BZ #14117]
57574         * sysdeps/i386/fpu_control.h: Removed.
57575         * sysdeps/x86_64/fpu_control.h: Moved to ...
57576         * sysdeps/x86/fpu_control.h: Here.
57578         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
57579         (_FPU_SETCW): Likewise.
57581 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
57583         [BZ #14117]
57584         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
57585         * sysdeps/x86/fpu/bits/mathinline.h: This.
57586         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
57588         [BZ #14050]
57589         [BZ #14117]
57590         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
57591         functions if __x86_64__ is defined.
57593 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
57595         * string/endian.h: Add !__ASSEMBLER__ condition for including
57596         conversion interfaces.
57598 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
57600         [BZ #14241]
57601         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
57602         of ABS(x) in calculating zero to negative powers other than odd
57603         integers.
57604         * math/libm-test.inc (pow_test): Add more tests.
57606 2012-06-15  Andreas Jaeger  <aj@suse.de>
57608         * manual/contrib.texi (Contributors): Update entry of Liubov
57609         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
57610         Machado Filho.
57612 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
57614         * string/string.h: Add __wur to GNU version of strerror_r.
57616 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
57618         [BZ #14229]
57619         * string/Makefile (tests): Add tst-strtok_r.
57620         * string/tst-strtok_r.c: New file.
57621         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
57622         RAX_LP/RDX_LP on SAVE_PTR.
57624 2012-06-14  Roland McGrath  <roland@hack.frob.com>
57626         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
57628 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
57630         * libm_test.inc (csqrt_test): Allow more spurious underflow
57631         exceptions.
57632         (j0_test): Likewise.
57633         (j1_test): Likewise.
57634         (y0_test): Likewise.
57635         (y1_test): Likewise.
57637 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
57639         * po/Makefile (libc.pot): Use UTF-8 charset.
57641 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
57643         [BZ #14210]
57644         Suppress sign-conversion warning from FD_SET.
57645         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
57646         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
57647         not unsigned long int.
57648         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
57650 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
57652         [BZ #14050]
57653         [BZ #14117]
57654         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
57655         __extern_always_inline instead of __extern_inline.
57656         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
57657         (__signbit): Likewise.
57658         (__signbitl): Support C++ namespace.
57659         (lrintf): New inline function.
57660         (lrint): Likewise.
57661         (llrintf): Likewise.
57662         (llrint): Likewise.
57663         (fmaxf): Likewise.
57664         (fmax): Likewise.
57665         (fminf): Likewise.
57666         (fmin): Likewise.
57667         (rint): Likewise.
57668         (rintf): Likewise.
57669         (ceil): Likewise.
57670         (ceilf): Likewise.
57671         (floor): Likewise.
57672         (floorf): Likewise.
57673         (nearbyint): Likewise.
57674         (nearbyintf): Likewise.
57676 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
57678         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
57679         non-default versions.
57681 2012-06-11  Roland McGrath  <roland@hack.frob.com>
57683         [BZ #14218]
57684         * manual/argp.texi (Argp): Reword argp_parse description slightly.
57686 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
57688         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
57689         (FE_UPWARD, FE_DOWNWARD): Don't define.
57690         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
57691         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57693         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
57694         reading it.
57695         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57696         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57698 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57700         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57701         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
57702         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
57703         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
57705 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
57707         [BZ #14117]
57708         * sysdeps/i386/fpu/bits/fenv.h: Removed.
57709         * sysdeps/i386/fpu/Implies: New file.
57710         * sysdeps/x86_64/fpu/Implies: Likewise.
57711         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
57712         * sysdeps/x86/fpu/bits/fenv.h: This.
57714         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
57715         __SSE_MATH__.
57717 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57719         [BZ #14134]
57720         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
57721         character 0xffff that matches the last element of the
57722         conversion table.
57724 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57726         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
57727         fmodl commit.
57729 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57731         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
57732         values higher than 25.6283.
57734 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57736         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
57737         subnormal exponent extraction and add some __builtin_expect.
57738         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
57739         Fix for subnormal mantissa calculation.
57741 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
57743         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
57744         cpu2 is -1 and errno is not ENOSYS.
57746 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
57748         [BZ #14117]
57749         * sysdeps/i386/i486/bits/string.h: Renamed to ...
57750         * sysdeps/x86/bits/string.h: This.
57751         * sysdeps/x86_64/bits/string.h: Removed.
57753         * sysdeps/i386/i486/bits/string.h: Define inline functions only
57754         if not compiling for x86-64, but compiling for >= i486.
57756         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
57757         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
57759         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
57760         New macro from Linux kernel 3.4.0.
57761         (FP_XSTATE_MAGIC2): Likewise.
57762         (FP_XSTATE_MAGIC2_SIZE): Likewise.
57763         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
57764         (struct _fpx_sw_bytes): New struct.
57765         (struct _xsave_hdr): Likewise.
57766         (struct _ymmh_state): Likewise.
57767         (struct _xstate): Likewise.
57769         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
57770         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
57771         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
57772         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
57773         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
57774         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
57776         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
57777         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
57778         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
57779         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
57780         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
57781         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
57783 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57785         [BZ #13743]
57786         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
57787         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
57788         (sysdep_headers): Include sys/platform/ppc.h.
57789         * sysdeps/powerpc/test-gettimebase.c: Test for
57790         __ppc_get_timebase() to catch future ISA opcode/insn changes.
57791         * manual/Makefile (appendices): Include platform.texi.
57792         * manual/contrib.texi (Contributors): Update @node pointers.
57793         * manual/maint.texi (Maintenance): Likewise.
57794         (Platform): New node.
57795         * manual/platform.texi: New file.  Document the new features.
57797 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57798             Jakub Jelinek  <jakub@redhat.com>
57800         [BZ #14188]
57801         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
57802         where __builtin_expect is unavailable.
57804 2012-06-03  David S. Miller  <davem@davemloft.net>
57806         * stdlib/longlong.h: Updated from GCC.
57808 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
57810         [BZ #14042]
57811         * sysdeps/powerpc/powerpc32/mcount.c: New file.
57812         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57813         __mcount_internal.
57814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57815         (GLIBC_2.16): Likewise.
57817 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57819         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57821 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57824         (default-abi): New variable.
57825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57826         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57827         variable.
57828         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57829         Likewise.
57830         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57831         Likewise.
57832         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57833         Likewise.
57835         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57836         definition.  Document in comment.
57838 2012-06-01  David S. Miller  <davem@davemloft.net>
57840         * stdlib/longlong.h: Updated from GCC.
57842 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57844         [BZ #14117]
57845         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57846         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57847         sys/debugreg.h sys/io.h here.
57848         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57849         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57850         sys/io.h.
57851         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57852         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57853         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57854         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57855         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57856         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57858         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57859         Define only if __x86_64__ is defined.
57861 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57863         [BZ #14048]
57864         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57865         Use int64_t for variable i.
57866         * math/libm-test.inc (fmod_test): Add more tests.
57868         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57869         z computation is not scheduled after fetestexcept.
57870         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
57871         Use math_force_eval instead of asm to ensure calculation scheduled
57872         before exception test.
57873         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
57874         Ensure a1 + u.d computation is not scheduled after fetestexcept.
57876 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
57878         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
57879         computation is not scheduled after fetestexcept.
57881 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57883         [BZ #14117]
57884         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
57885         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
57887 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57889         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
57890         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57892 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57894         [BZ #14117]
57895         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
57896         <bits/wordsize.h>.
57897         (__WCHAR_MIN): Support __WORDSIZE == 64.
57898         (__WCHAR_MAX): Likewise.
57900         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
57901         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
57903         [BZ #14183]
57904         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
57905         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
57907         [BZ #14117]
57908         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
57909         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
57911         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
57912         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
57914         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
57915         Defined to 1 if __x86_64__ isn't defined.
57916         (_STAT_VER_LINUX_OLD): New.
57917         (st_atime): Remove duplicate.
57918         (st_mtime): Likewise.
57919         (st_ctime): Likewise.
57921 2012-05-31  David S. Miller  <davem@davemloft.net>
57923         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
57924         entries.
57926 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
57928         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
57929         gen-libm-test.pl.
57931         [BZ #14132]
57932         * elf/dl-reloc.c: Include <_itoa.h>.
57933         (_dl_reloc_bad_type): Remove use of INTUSE.
57934         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
57935         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
57936         * stdio-common/psiginfo.c (psiginfo): Likewise.
57937         * stdio-common/psignal.c (psignal): Likewise.
57938         * string/strsignal.c (strsignal): Likewise.
57939         * include/signal.h (_sys_siglist): Declare hidden proto.
57940         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
57941         INTVARDEF with libc_hidden_data_def.
57942         * stdio-common/itoa-udigits.c: Likewise.
57943         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
57944         (_itoa_lower_digits_internal): Remove declaration.
57945         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
57946         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
57947         (_sys_sigabbrev_internal): Remove aliases.
57948         (_sys_siglist): Define hidden alias.
57950 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
57952         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57953         bits/sysctl.h.
57955 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57957         [BZ #14117]
57958         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
57959         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57961         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57962         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57963         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57964         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57965         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57966         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57968         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
57969         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
57970         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
57972         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
57973         with __addr.
57974         (insw): Likewise.
57975         (insl): Likewise.
57976         (outsb): Likewise.
57977         (outsw): Likewise.
57978         (outsl): Likewise.
57980         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
57981         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57982         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
57984         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
57985         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
57986         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
57987         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
57988         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
57989         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
57991         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
57992         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
57994         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
57995         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
57997         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57998         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57999         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
58001         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
58002         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
58003         to ...
58004         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
58006         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
58007         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
58008         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
58010         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
58011         for x86-64.
58012         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
58014 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
58016         * math/math.h (M_El): Use two more decimal places.
58017         (M_LOG2El): Likewise.
58018         (M_LOG10El): Likewise.
58019         (M_LN2l): Likewise.
58020         (M_LN10l): Likewise.
58021         (M_PIl): Likewise.
58022         (M_PI_2l): Likewise.
58023         (M_PI_4l): Likewise.
58024         (M_1_PIl): Likewise.
58025         (M_2_PIl): Likewise.
58026         (M_2_SQRTPIl): Likewise.
58027         (M_SQRT2l): Likewise.
58028         (M_SQRT1_2l): Likewise.
58030 2012-05-31  David S. Miller  <davem@davemloft.net>
58032         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
58033         values between float registers.
58034         * sysdeps/sparc/sparc64/memset.S: Likewise.
58035         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58037 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
58039         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
58040         -D_FORTIFY_SOURCE=1.
58041         (CPPFLAGS-tst-longjmp_chk.c): Define.
58042         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
58043         (CPPFLAGS-tst-longjmp_chk2.c): Define.
58044         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
58045         CFLAGS-tst-wchar-h.c.
58047 2012-05-31  Marek Polacek  <polacek@redhat.com>
58049         [BZ #14132]
58050         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
58051         __endmntent_internal): Remove declaration.
58052         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
58053         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
58054         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
58056 2012-05-30  David S. Miller  <davem@davemloft.net>
58058         * sysdeps/sparc/sparc32/soft-fp/q_util.c
58059         (___Q_simulate_exceptions): Use real FP ops rather than writing
58060         into the %fsr.
58061         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
58062         Likewise.
58064 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58066         [BZ #14117]
58067         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
58068         * sysdeps/x86/bits/xtitypes.h: This.
58070         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
58071         * sysdeps/x86/bits/wordsize.h: This.
58073         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
58074         * sysdeps/x86/bits/huge_vall.h: This.
58076         * sysdeps/i386/bits/select.h: Removed.
58077         * sysdeps/x86_64/bits/select.h: Renamed to ...
58078         * sysdeps/x86/bits/select.h: This.
58080         * sysdeps/i386/bits/setjmp.h: Removed.
58081         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
58082         * sysdeps/x86/bits/setjmp.h: This.
58084         * sysdeps/i386/bits/mathdef.h: Removed.
58085         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
58086         * sysdeps/x86/bits/mathdef.h: This.
58088 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
58090         [BZ #14132]
58091         * include/sys/socket.h (__connect_internal)
58092         (__libc_sa_len_internal): Remove declaration.
58093         (__connect, __libc_sa_len): Declare hidden_proto.
58094         (SA_LEN): Remove use of INTUSE.
58095         * socket/connect.c: Add libc_hidden_def.
58096         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
58097         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
58098         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
58099         alias.
58100         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
58101         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
58102         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
58103         of adding _internal alias.
58105 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58107         [BZ #14117]
58108         * sysdeps/i386/bits/link.h: Removed.
58109         * sysdeps/i386/bits/linkmap.h: Likewise.
58110         * sysdeps/x86_64/bits/link.h: Renamed to ...
58111         * sysdeps/x86/bits/link.h: This.
58112         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
58113         * sysdeps/x86/bits/linkmap.h: This.
58115         * sysdeps/i386/bits/endian.h: Removed.
58116         * sysdeps/x86_64/bits/endian.h: Renamed to ...
58117         * sysdeps/x86/bits/endian.h: This.
58119         * sysdeps/i386/bits/byteswap.h: Removed.
58120         * sysdeps/i386/bits/byteswap-16.h: Likewise.
58121         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
58122         * sysdeps/x86/bits/byteswap.h: This.
58123         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
58124         * sysdeps/x86/bits/byteswap-16.h: This.
58125         * sysdeps/i386/Implies: Add x86.
58126         * sysdeps/x86_64/Implies: Likewise.
58128 2012-05-30  David S. Miller  <davem@davemloft.net>
58130         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
58131         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
58132         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
58133         (FP_TRAPPING_EXCEPTIONS): Define.
58134         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
58135         (FP_TRAPPING_EXCEPTIONS): Define.
58136         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
58137         subnormals only when inexact has been signalled or underflow
58138         exceptions are enabled.
58139         (_FP_PACK_CANONICAL): Likewise.
58141 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58143         [BZ #14183]
58144         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
58145         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
58147 2012-05-30  Richard Henderson  <rth@twiddle.net>
58149         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
58150         with #ifndef NOT_IN_libc.
58152         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
58153         marked to avoid plt entry.
58155 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58157         [BZ #14112]
58158         * Makeconfig (default-abi): New macro.
58159         (abi-includes): Likewise.
58160         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
58161         $(abi-$(default-abi)-lib-soname) for soname if defined.
58162         ($(common-objpfx)gnu/lib-names.stmp): Generate from
58163         abi-variants.
58164         * Makefile (installed-stubs): Likewise.
58165         * include/stubs-biarch.h: Removed.
58166         * scripts/lib-names.awk: Only handle one library at a time.
58167         * scripts/soversions.awk: Remove WORDSIZE support.
58168         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
58169         entries.
58170         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
58171         Removed.
58172         (syscall-list-default-condition): Likewise.
58173         (syscall-list-default-condition): Likewise.
58174         (syscall-list-includes): Likewise.
58175         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
58176         syscall-list-* with abi-*.  Handle undefined abi-variants.
58177         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
58178         * sysdeps/unix/sysv/linux/i386/Implies: New file.
58179         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
58180         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
58181         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
58182         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
58183         Removed.
58184         (syscall-list-32-options): Likewise.
58185         (syscall-list-32-condition): Likewise.
58186         (syscall-list-64-options): Likewise.
58187         (syscall-list-64-condition): Likewise.
58188         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
58189         macro.
58190         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
58191         Renamed to ...
58192         (abi-*): This.
58193         (abi-64-ld-soname): New macro.
58194         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
58195         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
58196         Renamed to ...
58197         (abi-*): This.
58198         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
58199         * sysdeps/x86_64/x32/shlib-versions: Likewise.
58201 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
58203         * sysdeps/unix/sysv/linux/kernel-features.h
58204         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
58205         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
58206         include <kernel-features.h>.
58207         [!__NR_ftruncate64]: Remove conditional code.
58208         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58209         [__NR_ftruncate64]: Make code unconditional.
58210         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58211         * sysdeps/unix/sysv/linux/truncate64.c: Do not
58212         include <kernel-features.h>.
58213         [!__NR_ftruncate64]: Remove conditional code.
58214         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58215         [__NR_ftruncate64]: Make code unconditional.
58216         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
58218         include <kernel-features.h>.
58219         [!__NR_ftruncate64]: Remove conditional code.
58220         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58221         [__NR_ftruncate64]: Make code unconditional.
58222         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58224         include <kernel-features.h>.
58225         [!__NR_ftruncate64]: Remove conditional code.
58226         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58227         [__NR_ftruncate64]: Make code unconditional.
58228         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58230         * configure.in (libc_cv_fpie): Weaken to a compile test using
58231         LIBC_TRY_CC_OPTION.
58232         * configure: Regenerated.
58234 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
58237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
58238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
58239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58240         Refreshed.
58241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
58242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
58243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
58244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
58245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
58246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58247         Refreshed.
58249 2012-05-27  David S. Miller  <davem@davemloft.net>
58251         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
58252         (___Q_zero): New.
58253         (__Q_simulate_exceptions): Return void.  Change to simulate
58254         exceptions by writing into the %fsr.
58255         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
58256         (__Qp_handle_exceptions): Likewise.
58257         (numbers): Delete.
58258         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
58259         __Qp_handle_exceptions.
58260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
58261         __Qp_handle_exceptions.
58262         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
58263         as unused and give dummy FP_RND_NEAREST initializer.
58264         (FP_INHIBIT_RESULTS): Define.
58265         (___Q_simulate_exceptions): Update declaration.
58266         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
58267         formatting.
58268         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
58269         as unused and give dummy FP_RND_NEAREST initializer.
58270         (__Qp_handle_exceptions): Update declaration.
58271         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
58272         formatting.
58274 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
58276         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
58277         the temporary FPU control word.
58278         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
58279         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
58280         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
58281         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58282         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58283         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
58284         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
58285         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58286         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
58287         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
58288         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58290 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58292         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
58293         fields.
58295 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
58297         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
58298         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
58299         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
58300         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
58301         Likewise.
58302         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
58303         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
58304         Likewise.
58306 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
58308         * po/h.po: Update from translation team.
58310 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
58312         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
58314         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
58315         handling of denormals.
58316         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58317         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
58318         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58319         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58320         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58321         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
58322         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
58323         Likewise.
58325 2012-05-26  Marek Polacek  <polacek@redhat.com>
58327         [BZ #14152]
58328         * math/libm-test.inc (fma_test): Don't always expect underflow
58329         exception.
58331 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58333         [BZ #12416]
58334         * elf/tst-execstack.c: Include stackinfo.h.
58335         (do_test): Adjust test case to ensure that pthread_getattr_np
58336         behaviour remains the same after marking stack executable.
58338 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
58340         * sysdeps/unix/sysv/linux/kernel-features.h
58341         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
58342         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
58343         kernel-features.h.
58344         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58345         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58346         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
58347         kernel-features.h.
58348         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58349         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58351 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
58353         * configure.in: Define the default includes to being none.
58354         * configure: Regenerated.
58356 2012-05-25  Roland McGrath  <roland@hack.frob.com>
58358         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
58359         * sysdeps/x86_64/setjmp.S: Likewise.
58360         * sysdeps/i386/bsd-setjmp.S: Likewise.
58361         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58362         * sysdeps/i386/setjmp.S: Likewise.
58363         * sysdeps/i386/__longjmp.S: Likewise.
58364         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58365         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
58367         * include/stap-probe.h: New file.
58368         * configure.in: Handle --enable-systemtap.
58369         * configure: Regenerated.
58370         * config.h.in (USE_STAP_PROBE): New #undef.
58371         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
58372         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
58373         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
58375 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
58377         [BZ #13717]
58378         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58379         to 2.4.0 where earlier.
58380         * sysdeps/unix/sysv/linux/configure: Regenerated.
58381         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58382         <kernel-features.h>.
58383         [__ASSUME_32BITUIDS]: Make code unconditional.
58384         [!__ASSUME_32BITUIDS]: Remove conditional code.
58385         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
58386         <kernel-features.h>.
58387         [__ASSUME_32BITUIDS]: Make code unconditional.
58388         [!__ASSUME_32BITUIDS]: Remove conditional code.
58389         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
58390         [__ASSUME_32BITUIDS]: Make code unconditional.
58391         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
58392         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
58393         <kernel-features.h>.
58394         [__ASSUME_32BITUIDS]: Make code unconditional.
58395         [!__ASSUME_32BITUIDS]: Remove conditional code.
58396         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
58397         <kernel-features.h>.
58398         [__ASSUME_32BITUIDS]: Make code unconditional.
58399         [!__ASSUME_32BITUIDS]: Remove conditional code.
58400         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
58401         <kernel-features.h>.
58402         [__ASSUME_32BITUIDS]: Make code unconditional.
58403         [!__ASSUME_32BITUIDS]: Remove conditional code.
58404         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
58405         <kernel-features.h>.
58406         [__ASSUME_32BITUIDS]: Make code unconditional.
58407         [!__ASSUME_32BITUIDS]: Remove conditional code.
58408         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58409         <kernel-features.h>.
58410         [__ASSUME_32BITUIDS]: Make code unconditional.
58411         [!__ASSUME_32BITUIDS]: Remove conditional code.
58412         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58413         <kernel-features.h>.
58414         [__ASSUME_32BITUIDS]: Make code unconditional.
58415         [!__ASSUME_32BITUIDS]: Remove conditional code.
58416         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
58417         <kernel-features.h>.
58418         [__ASSUME_32BITUIDS]: Make code unconditional.
58419         [!__ASSUME_32BITUIDS]: Remove conditional code.
58420         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58421         <kernel-features.h>.
58422         [__ASSUME_32BITUIDS]: Make code unconditional.
58423         [!__ASSUME_32BITUIDS]: Remove conditional code.
58424         * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
58433         <kernel-features.h>.
58434         [__NR_setresgid] (__setresgid): Do not declare.
58435         [__ASSUME_32BITUIDS]: Make code unconditional.
58436         [!__ASSUME_32BITUIDS]: Remove conditional code.
58437         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
58438         <kernel-features.h>.
58439         [__NR_setresuid] (__setresuid): Do not declare.
58440         [__ASSUME_32BITUIDS]: Make code unconditional.
58441         [!__ASSUME_32BITUIDS]: Remove conditional code.
58442         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
58443         <kernel-features.h>.
58444         [__ASSUME_32BITUIDS]: Make code unconditional.
58445         [!__ASSUME_32BITUIDS]: Remove conditional code.
58446         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
58447         <kernel-features.h>.
58448         [__ASSUME_32BITUIDS]: Make code unconditional.
58449         [!__ASSUME_32BITUIDS]: Remove conditional code.
58450         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
58451         <kernel-features.h>.
58452         [__ASSUME_32BITUIDS]: Make code unconditional.
58453         [!__ASSUME_32BITUIDS]: Remove conditional code.
58454         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
58455         <kernel-features.h>.
58456         [__ASSUME_32BITUIDS]: Make code unconditional.
58457         [!__ASSUME_32BITUIDS]: Remove conditional code.
58458         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
58459         <kernel-features.h>.
58460         [__ASSUME_32BITUIDS]: Make code unconditional.
58461         [!__ASSUME_32BITUIDS]: Remove conditional code.
58462         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
58463         <kernel-features.h>.
58464         [__ASSUME_32BITUIDS]: Make code unconditional.
58465         [!__ASSUME_32BITUIDS]: Remove conditional code.
58466         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
58467         <kernel-features.h>.
58468         [__ASSUME_32BITUIDS]: Make code unconditional.
58469         [!__ASSUME_32BITUIDS]: Remove conditional code.
58470         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
58471         <kernel-features.h>.
58472         [__ASSUME_32BITUIDS]: Make code unconditional.
58473         [!__ASSUME_32BITUIDS]: Remove conditional code.
58474         * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
58483         (__ASSUME_SETRESUID_SYSCALL): Remove.
58484         (__ASSUME_SETRESGID_SYSCALL): Likewise.
58485         (__ASSUME_32BITUIDS): Likewise.
58486         (__ASSUME_LDT_WORKS): Likewise.
58487         (__ASSUME_O_DIRECTORY): Likewise.
58488         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
58489         architecture but not kernel version.
58490         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
58491         (__ASSUME_MMAP2_SYSCALL): Likewise.
58492         (__ASSUME_STAT64_SYSCALL): Likewise.
58493         (__ASSUME_IPC64): Likewise.
58494         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
58495         <kernel-features.h>.
58496         [__ASSUME_32BITUIDS]: Make code unconditional.
58497         [!__ASSUME_32BITUIDS]: Remove conditional code.
58498         * sysdeps/unix/sysv/linux/opendir.c: Do not include
58499         <kernel-features.h>.
58500         [__ASSUME_O_DIRECTORY]: Make code unconditional.
58501         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
58502         132096]: Remove conditional code.
58503         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
58504         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58505         <kernel-features.h>.
58506         [__ASSUME_32BITUIDS]: Make code unconditional.
58507         [!__ASSUME_32BITUIDS]: Remove conditional code.
58508         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58509         <kernel-features.h>.
58510         [__ASSUME_32BITUIDS]: Make code unconditional.
58511         [!__ASSUME_32BITUIDS]: Remove conditional code.
58512         * sysdeps/unix/sysv/linux/setegid.c: Do not include
58513         <kernel-features.h>.
58514         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
58515         unconditional.
58516         (__setresgid): Do not declare.
58517         [__ASSUME_32BITUIDS]: Make code unconditional.
58518         [!__ASSUME_32BITUIDS]: Remove conditional code.
58519         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
58520         <kernel-features.h>.
58521         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
58522         unconditional.
58523         (__setresuid): Do not declare.
58524         [__ASSUME_32BITUIDS]: Make code unconditional.
58525         [!__ASSUME_32BITUIDS]: Remove conditional code.
58526         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58527         <kernel-features.h>.
58528         [__ASSUME_32BITUIDS]: Make code unconditional.
58529         [!__ASSUME_32BITUIDS]: Remove conditional code.
58530         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
58531         <kernel-features.h>.
58532         [__ASSUME_32BITUIDS]: Make code unconditional.
58533         [!__ASSUME_32BITUIDS]: Remove conditional code.
58535 2012-05-25  Richard Henderson  <rth@twiddle.net>
58537         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
58538         dl_hwcap to ifunc resolver.
58539         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
58540         elf_ifunc_invoke.
58541         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
58542         dl_hwcap to ifunc resolver.
58543         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
58545 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58547         [BZ #14153]
58548         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
58549         for |x| <= 2**-26, not 2**-57.
58550         * math/libm-test.inc (acos_test): Do not allow spurious underflow
58551         exception.
58553 2012-05-24  Jeff Law  <law@redhat.com>
58555         * stdio-common/Makefile (tests): Add bug25.
58556         * stdio-common/bug25.c: New test.
58558 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58560         [BZ #13576]
58561         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
58562         multiple of MALLOC_ALIGNMENT in size.
58563         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
58565 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58567         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
58568         Require >= 256.
58569         (FILENAME_MAX): Use macro-int-constant.
58570         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
58571         (_IOFBF): Use macro-int-constant.
58572         (_IOLBF): Likewise.
58573         (_IONBF): Likewise.
58574         (SEEK_CUR): Likewise.
58575         (SEEK_END): Likewise.
58576         (SEEK_SET): Likewise.
58577         (TMP_MAX): Likewise.
58578         (EOF): Use macro-int-constant.  Require < 0.
58579         (NULL): Use macro-constant.  Require == 0.
58580         (stdin): Require type to be FILE *.
58581         (stdout): Likewise.
58582         (stderr): Likewise.
58583         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
58584         macro-int-constant.
58585         (EXIT_SUCCESS): Likewise.
58586         (NULL): Use macro-constant.  Require == 0.
58587         (RAND_MAX): Use macro-int-constant.
58588         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
58589         [C99-based standards] (strtof): Require function.
58590         [C99-based standards] (strtold): Likewise.
58591         [C99-based standards] (strtoll): Likewise.
58592         [C99-based standards] (strtoull): Likewise.
58593         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58594         [ISO || ISO99 || ISO11] (limits.h): Likewise.
58595         [ISO || ISO99 || ISO11] (math.h): Likewise.
58596         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
58597         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58598         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58600 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
58602         [BZ #14132]
58603         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
58604         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
58605         * intl/dgettext.c (DCGETTEXT): Likewise.
58606         * intl/gettext.c (DCGETTEXT): Likewise.
58607         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
58608         * posix/regex_internal.h (gettext): Likewise.
58609         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
58610         Remove declaration.
58611         * include/argz.h (__argz_count_internal)
58612         (__argz_stringify_internal): Remove declaration.
58613         (__argz_count, __argz_stringify): Declare hidden proto.
58614         * intl/dcgettext.c: Remove use of INTDEF.
58615         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
58616         * string/argz-stringify.c: Likewise.
58617         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58618         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58619         Declare hidden proto.
58620         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58621         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58622         Declare hidden proto.
58623         * include/stdio.h (__asprintf_internal): Don't declare.
58624         (__asprintf): Don't define as macro.  Declare hidden proto.
58625         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
58626         (__fsetlocking): Declare hidden proto.
58627         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
58628         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
58629         hidden proto.
58630         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
58631         (_IO_setlinebuf): Remove use of INTUSE.
58632         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
58633         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
58634         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
58635         Remove declaration.
58636         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
58637         (_IO_do_flush): Remove use of INTUSE.
58638         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
58639         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
58640         (_IO_adjust_column, _IO_least_wmarker)
58641         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
58642         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
58643         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
58644         (_IO_default_doallocate, _IO_wdefault_doallocate)
58645         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
58646         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
58647         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
58648         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
58649         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
58650         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
58651         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
58652         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
58653         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
58654         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
58655         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
58656         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
58657         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
58658         proto.
58659         (_IO_flush_all_internal, _IO_adjust_column_internal)
58660         (_IO_default_uflow_internal, _IO_default_finish_internal)
58661         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
58662         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
58663         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
58664         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
58665         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
58666         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
58667         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
58668         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
58669         (_IO_file_close_internal, _IO_file_close_it_internal)
58670         (_IO_file_underflow_internal, _IO_file_overflow_internal)
58671         (_IO_file_init_internal, _IO_file_attach_internal)
58672         (_IO_file_fopen_internal, _IO_file_read_internal)
58673         (_IO_file_sync_internal, _IO_file_seek_internal)
58674         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
58675         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
58676         (_IO_str_underflow_internal, _IO_str_overflow_internal)
58677         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
58678         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
58679         (_IO_list_all_internal, _IO_link_in_internal)
58680         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
58681         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
58682         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
58683         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
58684         (_IO_do_write_internal, _IO_padn_internal)
58685         (_IO_getline_info_internal, _IO_getline_internal)
58686         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
58687         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
58688         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
58689         (_IO_vfscanf_internal, _IO_vfprintf_internal)
58690         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
58691         (_IO_init_internal, _IO_un_link_internal): Don't declare.
58692         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
58693         with libc_hidden_ver, remove use of INTUSE.
58694         * libio/genops.c: Likewise.
58695         * libio/freopen.c: Likewise.
58696         * libio/freopen64.c: Likewise.
58697         * libio/iofclose.c: Likewise.
58698         * libio/iofdopen.c: Likewise.
58699         * libio/iofflush.c: Likewise.
58700         * libio/iofflush_u.c: Likewise.
58701         * libio/iofgets.c: Likewise.
58702         * libio/iofgets_u.c: Likewise.
58703         * libio/iofopen.c: Likewise.
58704         * libio/iofopncook.c: Likewise.
58705         * libio/iofread.c: Likewise.
58706         * libio/iofread_u.c: Likewise.
58707         * libio/ioftell.c: Likewise.
58708         * libio/iofwrite.c: Likewise.
58709         * libio/iogetline.c: Likewise.
58710         * libio/iogets.c: Likewise.
58711         * libio/iogetwline.c: Likewise.
58712         * libio/iopadn.c: Likewise.
58713         * libio/iopopen.c: Likewise.
58714         * libio/ioseekoff.c: Likewise.
58715         * libio/ioseekpos.c: Likewise.
58716         * libio/iosetbuffer.c: Likewise.
58717         * libio/iosetvbuf.c: Likewise.
58718         * libio/ioungetc.c: Likewise.
58719         * libio/ioungetwc.c: Likewise.
58720         * libio/iovdprintf.c: Likewise.
58721         * libio/iovsprintf.c: Likewise.
58722         * libio/iovsscanf.c: Likewise.
58723         * libio/memstream.c: Likewise.
58724         * libio/obprintf.c: Likewise.
58725         * libio/oldfileops.c: Likewise.
58726         * libio/oldiofclose.c: Likewise.
58727         * libio/oldiofdopen.c: Likewise.
58728         * libio/oldiofopen.c: Likewise.
58729         * libio/oldiopopen.c: Likewise.
58730         * libio/oldstdfiles.c: Likewise.
58731         * libio/putc.c: Likewise.
58732         * libio/setbuf.c: Likewise.
58733         * libio/setlinebuf.c: Likewise.
58734         * libio/stdfiles.c: Likewise.
58735         * libio/strops.c: Likewise.
58736         * libio/vasprintf.c: Likewise.
58737         * libio/vscanf.c: Likewise.
58738         * libio/vsnprintf.c: Likewise.
58739         * libio/vswprintf.c: Likewise.
58740         * libio/wfiledoalloc.c: Likewise.
58741         * libio/wfileops.c: Likewise.
58742         * libio/wgenops.c: Likewise.
58743         * libio/wmemstream.c: Likewise.
58744         * libio/wstrops.c: Likewise.
58745         * libio/__fpurge.c: Likewise.
58746         * libio/__fsetlocking.c: Likewise.
58747         * assert/assert.c: Likewise.
58748         * debug/fgets_chk.c: Likewise.
58749         * debug/fgets_u_chk.c: Likewise.
58750         * debug/fread_chk.c: Likewise.
58751         * debug/fread_u_chk.c: Likewise.
58752         * debug/gets_chk.c: Likewise.
58753         * debug/obprintf_chk.c: Likewise.
58754         * debug/vasprintf_chk.c: Likewise.
58755         * debug/vdprintf_chk.c: Likewise.
58756         * debug/vsnprintf_chk.c: Likewise.
58757         * debug/vsprintf_chk.c: Likewise.
58758         * malloc/mtrace.c: Likewise.
58759         * misc/error.c: Likewise.
58760         * misc/syslog.c: Likewise.
58761         * stdio-common/asprintf.c: Likewise.
58762         * stdio-common/fxprintf.c: Likewise.
58763         * stdio-common/getw.c: Likewise.
58764         * stdio-common/isoc99_fscanf.c: Likewise.
58765         * stdio-common/isoc99_scanf.c: Likewise.
58766         * stdio-common/isoc99_vfscanf.c: Likewise.
58767         * stdio-common/isoc99_vscanf.c: Likewise.
58768         * stdio-common/isoc99_vsscanf.c: Likewise.
58769         * stdio-common/printf-prs.c: Likewise.
58770         * stdio-common/printf_fp.c: Likewise.
58771         * stdio-common/printf_fphex.c: Likewise.
58772         * stdio-common/printf_size.c: Likewise.
58773         * stdio-common/putw.c: Likewise.
58774         * stdio-common/scanf.c: Likewise.
58775         * stdio-common/sprintf.c: Likewise.
58776         * stdio-common/tmpfile.c: Likewise.
58777         * stdio-common/vfprintf.c: Likewise.
58778         * stdio-common/vfscanf.c: Likewise.
58779         * stdlib/strfmon_l.c: Likewise.
58780         * sunrpc/openchild.c: Likewise.
58781         * sunrpc/xdr_stdio.c: Likewise.
58782         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
58783         * sysdeps/mach/hurd/tmpfile.c: Likewise.
58785 2012-05-24  Roland McGrath  <roland@hack.frob.com>
58787         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58789         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
58790         in the third column, to generate for the shared library an IFUNC
58791         that uses _dl_vdso_vsym.
58792         * Makerules (COMPILE.c, compile-stdin.c): New variables.
58793         * Makeconfig (object-suffixes-noshared): New variable.
58795         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
58796         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
58797         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
58798         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
58800         [BZ #14132]
58801         * include/sys/time.h (__gettimeofday): Remove macro.
58802         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
58803         * time/gettimeofday.c (__gettimeofday): Remove #undef.
58804         Remove INTDEF.
58805         (__gettimeofday): Add libc_hidden_def.
58806         (gettimeofday): Add libc_hidden_weak.
58807         * sysdeps/mach/gettimeofday.c: Likewise.
58808         * sysdeps/posix/gettimeofday.c: Likewise.
58809         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
58810         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
58811         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58812         (__gettimeofday_internal): Remove strong_alias.
58813         (__gettimeofday): Add libc_hidden_def.
58814         (gettimeofday): Add libc_hidden_weak.
58815         * sysdeps/unix/syscalls.list (gettimeofday):
58816         Remove __gettimeofday_internal alias.
58818 2012-05-24  Daniel Jacobowitz  <drow@false.org>
58819             H.J. Lu  <hongjiu.lu@intel.com>
58821         [BZ #12495]
58822         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58823         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58824         (largebin_index_32_big): New.
58825         (largebin_index): Use it for 16-byte alignment.
58826         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
58827         correction with front_misalign.
58829 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58833         Likewise.
58834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58835         Likewise.
58836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58837         Likewise.
58838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58839         Likewise.
58840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58841         Likewise.
58842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58843         Likewise.
58844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58845         Likewise.
58846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58847         Likewise.
58848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58849         Likewise.
58850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58851         Likewise.
58852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58853         Likewise.
58854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58855         Likewise.
58857         * scripts/data/c++-types-x32-linux-gnu.data: New file.
58858         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58860 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58862         [BZ #10846]
58863         [BZ #14036]
58864         * math/libm-test.inc (exp_test): Add test from bug 14036.
58865         (pow_test): Add test from bug 10846.
58867         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58868         and other flags.
58869         (special_function): Do not include flags in test name.
58870         (parse_args): Likewise.
58871         * sysdeps/i386/fpu/libm-test-ulps: Update.
58872         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58873         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58874         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58877         * math/gen-libm-test.pl (%beautify): Add entries for underflow
58878         exceptions.
58879         * math/libm-test.inc ("Philosophy"): Update comment about
58880         exception testing.
58881         (UNDERFLOW_EXCEPTION): New macro.
58882         (UNDERFLOW_EXCEPTION_OK): Likewise.
58883         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
58884         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
58885         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
58886         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
58887         (INVALID_EXCEPTION_OK): Update value.
58888         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58889         (OVERFLOW_EXCEPTION_OK): Likewise.
58890         (IGNORE_ZERO_INF_SIGN): Likewise.
58891         (test_exceptions): Handle underflow exceptions.
58892         (acos_test): Update for underflow exception expectations.
58893         (cexp_test): Likewise.
58894         (clog_test): Likewise.
58895         (clog10_test): Likewise.
58896         (csqrt_test): Likewise.
58897         (ctan_test): Likewise.
58898         (ctanh_test): Likewise.
58899         (exp_test): Likewise.
58900         (exp10_test): Likewise.
58901         (exp2_test): Likewise.
58902         (expm1_test): Likewise.
58903         (fma_test): Likewise.
58904         (j0_test): Likewise.
58905         (jn_test): Likewise.
58906         (nexttoward_test): Likewise.
58907         (pow_test): Likewise.
58908         (scalbn_test): Likewise.
58909         (scalbln_test): Likewise.
58910         (tan_test): Likewise.
58911         (y1_test): Likewise.
58912         * sysdeps/i386/fpu/libm-test-ulps: Update.
58913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58915 2012-05-23  David S. Miller  <davem@davemloft.net>
58917         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58918         (__libc_sigaction): Remove unused local variables.
58920 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58922         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
58924 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
58926         mktime: avoid signed integer overflow
58927         * time/mktime.c (__mktime_internal): Do not mishandle the case
58928         where diff == INT_MIN.
58930         mktime: simplify computation of average
58931         * time/mktime.c (ranged_convert): Use new time_t_avg function
58932         instead of rolling our own (probably-slower) code.
58934         mktime: do not assume signed right shift propagates sign bit
58935         * time/mktime.c (isdst_differ): New static function.
58936         (__mktime_internal): No need to normalize tm_isdst now.
58937         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
58938         tm_isdst values.
58940         mktime: merge another wrapv change from gnulib
58941         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
58942         from some compilers.
58944         mktime: remove incorrect attempt at unusual arithmetics
58945         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
58946         The code didn't really work on such machines anyway.
58947         (TYPE_MINIMUM): Assume two's complement.
58948         (twos_complement_arithmetic): Verify that long_int and time_t
58949         are two's complement (or unsigned, in the latter case).
58951         mktime: check signed shifts on long_int and time_t, too
58952         * time/mktime.c (SHR): Check that shifts work as desired
58953         on the types long_int and time_t too, as SHR is used on
58954         such types.
58956         mktime: do not assume 'long' is wide enough
58957         * time/mktime.c (verify): Move decl up.
58958         (long_int): New type.
58959         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58960         to remove assumption in the code that 'long' is wide enough to
58961         store year values.  This assumption is not true on x32 and on
58962         some non-glibc platforms.
58964         mktime: merge wrapv change from gnulib
58965         * time/mktime.c (WRAPV): New macro.
58966         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58967         (guess_time_tm, __mktime_internal): Do not assume that signed
58968         integer overflow wraps around; modern compilers generate code
58969         where this assumption is no longer valid.
58971 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58973         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58974         Replace "jmp L(pseudo_end)" with "ret".
58975         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
58976         Likewise.
58978 2012-05-23  Andreas Jaeger  <aj@suse.de>
58980         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
58981         * sysdeps/unix/sysv/linux/poll.c: Remove file.
58983 2012-05-23  Andreas Jaeger  <aj@suse.de>
58984             Maximilian Attems  <max@stro.at>
58986         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58987         New macros.
58989 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58991         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
58992         code so that pseudo_end is just ret and the stack pointer is
58993         correct also for static library in error case.
58995 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
58997         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58998         move to syscalls.list.
58999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
59000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
59001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
59002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
59004         * manual/install.texi (Running make install): Do not mention Linux
59005         kernel version for which pt_chown is not needed.
59006         (Linux): Do not mention problems with nscd with 2.0 kernels.
59007         * INSTALL: Regenerated.
59009 2012-05-23  Andreas Jaeger  <aj@suse.de>
59011         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
59012         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
59013         macro.
59014         * sysdeps/unix/sysv/linux/s390/bits/mman.h
59015         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59016         * sysdeps/unix/sysv/linux/sh/bits/mman.h
59017         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59018         * sysdeps/unix/sysv/linux/i386/bits/mman.h
59019         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59020         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
59021         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59022         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
59023         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59024         * sysdeps/unix/sysv/linux/bits/in.h
59025         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
59027 2012-05-22  Roland McGrath  <roland@hack.frob.com>
59029         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
59030         (PREPARE_VERSION): Just use assert instead, it will be elided
59031         under [NDEBUG] anyway.
59033 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59035         * sysdeps/unix/sysv/linux/Makefile: Include
59036         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
59037         (sysdep_routines): Remove sysctl.
59038         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
59039         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
59040         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
59041         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
59042         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
59044 2012-05-22  Andreas Jaeger  <aj@suse.de>
59046         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
59047         that pseudo_end is just ret and the stack pointer is correct also
59048         for static library in error case.
59050 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
59052         [BZ #14122]
59053         * nss/nsswitch.c (defconfig_entries): New variable.
59054         (__nss_database_lookup): Don't leak defconfig entries.
59055         (nss_parse_service_list): Don't leak on error paths.
59056         (free_database_entries): New function.
59057         (free_defconfig): New function.
59058         (free_mem): Move common code to free_database_entries.
59060 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59062         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
59063         Add arch_prctl.
59064         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
59066         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
59067         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
59068         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
59069         New macro.
59070         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
59071         (INTERNAL_SYSCALL_TYPES): Likewise.
59072         (LOAD_ARGS_TYPES_[1-6]): Likewise.
59073         (LOAD_REGS_TYPES_[1-6]): Likewise.
59074         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
59075         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
59077 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59079         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
59080         copysignl for GLIBC_2_0.
59081         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
59082         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
59083         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
59084         logbl for GLIBC_2_0.
59085         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
59086         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
59088 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59090         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
59091         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59093         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59094         Use "neg %eax".
59096         * time/mktime.c: Update copyright years.
59098 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
59100         mktime: merge comment-quoting-style change from gnulib
59101         * time/mktime.c: Quote 'like this' in comments.
59102         The GNU coding standards suggest that we no longer quote `like this',
59103         as "`" and "'" are typically rendered asymmetrically nowadays.
59104         The typical gnulib style is to quote 'like this' when quoting
59105         code, and "like this" when quoting English.
59107         * time/mktime.c (compile-command): Add "-I.".
59109         mktime: merge mktime-internal.h change from gnulib
59110         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
59112         mktime: merge time_r change from gnulib
59113         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
59115         mktime: merge DEBUG change from gnulib
59116         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
59117         case system <time.h> has a #define.
59119         mktime: merge <sys/types.h> change from gnulib
59120         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
59121         since <time.t> is now guaranteed to define time_t.
59123         mktime: merge HAVE_CONFIG_H change from gnulib
59124         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
59126 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59129         Use "neg %eax".
59131         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
59132         __rlim_t cast.
59133         (struct rusage): Use anonymous union to pad each field to
59134         __syscall_slong_t.
59136 2012-05-21  David S. Miller  <davem@davemloft.net>
59138         * Makefules (o-iterator): Remove .s cases.
59139         (compile-command.s): Delete.
59140         (COMPILE.s): Delete.
59141         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
59143 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
59145         * configure.in (libc_cv_predef_stack_protector): Only consider
59146         "foobar" and "__stack_chk_fail" lines in libc_undefs.
59147         * configure: Regenerated.
59149 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59151         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59152         New macro.  Use R*LP on int and pointer.
59153         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
59154         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
59155         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
59156         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
59158         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
59159         [__WORDSIZE_TIME64_COMPAT32] instead of
59160         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
59161         (struct utmp): Likewise.
59162         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
59163         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
59164         Renamed to ...
59165         (__WORDSIZE_TIME64_COMPAT32): This.
59166         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
59167         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
59168         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
59169         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
59170         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
59171         (__WORDSIZE_TIME64_COMPAT32): New macro.
59173 2012-05-21  Andreas Jaeger  <aj@suse.de>
59175         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
59176         only if [SHARED]. Add prototype for __wcschr_ia32.
59178 2012-05-21  Roland McGrath  <roland@hack.frob.com>
59180         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
59181         of %rbp unmolested in the jmp_buf while mangling the low bits.
59182         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
59183         unmolested high bits of %rbp while demangling the low bits.
59184         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59186 2012-05-21  Andreas Jaeger  <aj@suse.de>
59188         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
59189         * sunrpc/svc_simple.c: Use it for registerrpc.
59190         * sunrpc/xcrypt.c: Use it for passwd2des.
59192         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
59194 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59196         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
59197         Don't define if [__SYSCALL_WORDSIZE != 32].
59198         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
59199         New macro.
59201 2012-05-21  Bruno Haible  <bruno@clisp.org>
59202             Andreas Jaeger  <aj@suse.de>
59204         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
59205         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
59206         inptr and inend for must_buffer_ch.
59207         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
59208         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
59209         * stdio-common/Makefile (tests): Remove bug15.
59210         (bug15-ENV): Remove macro.
59211         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
59212         anymore.
59214 2012-05-19  Andreas Jaeger  <aj@suse.de>
59215             Roland McGrath  <roland@hack.frob.com>
59217         * manual/contrib.texi: Completely rewritten. It contains now an
59218         alphabetical list of contributors and their contributions.
59220 2012-05-21  Richard Henderson  <rth@twiddle.net>
59222         * misc/getauxval.c (__getauxval): Use unsigned long int.
59223         * misc/sys/auxv.h: Include <sys/cdefs.h>.
59224         (getauxval): Use unsigned long int.
59226 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59228         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59230 2012-05-21  Roland McGrath  <roland@hack.frob.com>
59232         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
59233         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
59234         __alignof__ (long double).
59236 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59240 2012-05-20  Richard Henderson  <rth@twiddle.net>
59242         * misc/getauxval.c: New file.
59243         * misc/sys/auxv.h: New file.
59244         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
59245         (routines): Add getauxval.
59246         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
59247         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
59248         * elf/dl-sysdep.c (_dl_auxv): Remove.
59249         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
59250         * elf/dl-support.c (_dl_auxv): New variable.
59251         (_dl_aux_init): Initialize it.
59252         * manual/startup.texi (Auxiliary Vector): New node.
59253         * sysdeps/generic/bits/hwcap.h: New file.
59254         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
59255         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
59256         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
59257         * sysdeps/sparc/sysdep.h: ... here.  Include it.
59258         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
59259         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
59260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59261         Update.
59262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
59263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
59264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
59265         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
59266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
59269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
59271 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59275 2012-05-19  David S. Miller  <davem@davemloft.net>
59277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59279 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
59281         [BZ #14123]
59282         * math/s_ccosh.c: Include <float.h>
59283         (__ccosh): Avoid internal overflow calculating sinh and cosh
59284         values before multiplying by sin and cos values.
59285         * math/s_ccoshf.c: Likewise.
59286         * math/s_ccoshl.c: Likewise.
59287         * math/s_csin.c: Likewise.
59288         * math/s_csinf.c: Likewise.
59289         * math/s_csinl.c: Likewise.
59290         * math/s_csinh.c: Likewise.
59291         * math/s_csinhf.c: Likewise.
59292         * math/s_csinhl.c: Likewise.
59293         * math/libm-test.inc (ccos_test): Add more tests.
59294         (ccosh_test): Likewise.
59295         (csin_test): Likewise.
59296         (csinh_test): Likewise.
59297         * sysdeps/i386/fpu/libm-test-ulps: Update.
59298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59300 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
59302         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
59303         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
59305         * sysdeps/x86_64/x32/_itoa.h: Add comment.
59307 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
59309         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
59310         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
59311         * sysdeps/powerpc/soft-fp/Versions: Likewise.
59312         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
59313         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
59314         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
59315         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
59316         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
59317         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
59318         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
59319         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
59320         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
59321         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
59322         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
59323         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
59324         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
59325         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
59326         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
59327         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
59328         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
59329         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
59330         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
59331         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
59332         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
59333         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
59334         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
59335         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
59336         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
59337         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
59338         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
59339         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
59341 2012-05-18  Andreas Jaeger  <aj@suse.de>
59343         * csu/.gitignore: Delete.
59345 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59347         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
59348         (timex): Use __syscall_slong_t.
59350 2012-05-18  Andreas Jaeger  <aj@suse.de>
59351             Carlos O'Donell  <carlos_odonell@mentor.com>
59353         * manual/install.texi (Configuring and compiling): Update
59354         description about files modified in the source directory.
59355         * INSTALL: Regenerated.
59357 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59359         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
59360         value.  Use "or" to set return value to -1.
59361         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
59362         negate return value.
59364 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59366         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
59367         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
59368         failure if the compiler has Graphite support disabled.
59369         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
59370         Likewise.
59371         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
59372         (CFLAGS-memmove.c): Likewise.
59373         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
59374         Likewise.
59376 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59378         * sysdeps/x86_64/x32/_itoa.h: New file.
59380         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
59381         getdents system call only if kernel and user dirents have the
59382         same d_ino and d_off.
59384         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59385         LLONG_MAX != LONG_MAX.
59386         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59387         (_fitoa_word): Likewise.
59389         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
59390         years.
59391         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
59392         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
59393         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
59395         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
59396         include <bits/wordsize.h>.  Check __x86_64__ instead of
59397         __WORDSIZE.
59398         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
59399         if __x86_64__ is defined.  Use anonymous union on fpstate.
59401         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
59402         anonymous union.
59404 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
59406         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
59407         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
59408         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
59409         Refer to _rtld_local_ro instead of _rtld_global_ro.
59410         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
59411         Likewise.
59412         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
59413         Likewise.
59414         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
59415         Likewise.
59416         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
59417         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
59418         of _rtld_global, and rtld_progname instead of _dl_argv[0].
59420         [BZ #10882]
59421         * sysdeps/powerpc/powerpc32/dl-machine.c
59422         (__elf_machine_runtime_setup) [PROF]: Don't reference
59423         _dl_prof_resolve.
59425 2012-05-18  Andreas Jaeger  <aj@suse.de>
59427         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
59428         function only available for GCCs before 3.4 since GCC 3.4
59429         introduced a builtin.
59430         (lrint): Likewise.
59431         (llrintf): Likewise.
59432         (llrint): Likewise.
59433         (fmaxf): Likewise.
59434         (fmax): Likewise.
59435         (fminf): Likewise.
59436         (fmin): Likewise.
59437         (rint): Likewise.
59438         (rintf): Likewise.
59439         (nearbyint): Likewise.
59440         (nearbyintf): Likewise.
59441         (ceil): Likewise.
59442         (ceilf): Likewise.
59443         (floor): Likewise.
59444         (floorf): Likewise.
59446 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59448         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
59449         on both fields and cast pointer to __syscall_ulong_t.
59451         * bits/types.h (__fsword_t): New type.
59452         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
59453         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
59454         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59455         (__FSWORD_T_TYPE): Likewise.
59456         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59457         (__FSWORD_T_TYPE): Likewise.
59458         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59459         (__FSWORD_T_TYPE): Likewise.
59460         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
59461         (__FSWORD_T_TYPE): Likewise.
59462         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
59463         __SWORD_TYPE with __fsword_t.
59464         (statfs64): Likewise.
59466 2012-05-17  David S. Miller  <davem@davemloft.net>
59468         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
59470 2012-05-17  Andreas Jaeger  <aj@suse.de>
59472         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
59473         warning.
59475 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59477         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
59479 2012-05-17  Andreas Jaeger  <aj@suse.de>
59481         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
59482         when it is used.
59484 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
59486         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
59488 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59490         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
59491         * sysdeps/x86_64/tst-mallocalign1.c: New file.
59493 2012-05-17  Andreas Jaeger  <aj@suse.de>
59494             Carlos O'Donell  <carlos_odonell@mentor.com>
59496         [BZ #14059]
59497         * sysdeps/x86_64/multiarch/init-arch.h
59498         (bit_YMM_Usable): Rename to...
59499         (bit_AVX_Usable): ... this.
59500         (bit_FMA4_Usable): New macro.
59501         (bit_XMM_state): New macro.
59502         (bit_YMM_state): New macro.
59503         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
59504         [__ASSEMBLER__] (index_AVX_Usable): ... this.
59505         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
59506         (CPUID_OSXSAVE): New macro.
59507         (CPUID_AVX): New macro.
59508         (CPUID_FMA4): New macro.
59509         (index_YMM_Usable): Rename to...
59510         (index_AVX_Usable): ... this.
59511         (HAS_AVX): Use HAS_ARCH_FEATURE.
59512         (HAS_FMA4): Likewise.
59513         (HAS_YMM_USABLE): Remove.
59514         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59515         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
59516         are present.
59517         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
59518         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
59519         * sysdeps/x86_64/multiarch/Makefile: Likewise.
59520         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
59521         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
59523 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
59525         * math/libm-test.c: Support platforms without multiple rounding modes.
59526         * math/bug-nextafter.c: Support platforms without FP exceptions.
59527         * math/bug-nexttoward.c: Likewise.
59528         * math/test-fenv.c: Likewise.
59529         * math/test-misc.c: Likewise.
59530         * stdlib/bug-getcontext.c: Likewise.
59532 2012-05-17  Andreas Jaeger  <aj@suse.de>
59534         * manual/examples/search.c (critter_cmp): Change signature to
59535         avoid warnings.
59536         * manual/string.texi (Collation Functions): Likewise.
59538 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59540         * bits/types.h: Fold copyright years.
59541         * bits/typesizes.h: Likewise.
59542         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
59543         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59544         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
59545         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
59546         * time/time.h: Likewise.
59548 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
59550         [BZ #208]
59551         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
59552         in instead of returning them.  Return void.
59553         (__libc_mallinfo): Accumulate over all arenas.
59554         (__malloc_stats): Adjust for change in int_mallinfo interface.
59556 2012-05-16  Roland McGrath  <roland@hack.frob.com>
59558         [BZ #10375]
59559         * configure.in (NM): Add AC_CHECK_TOOL for it.
59560         (libc_extra_cflags): New substituted variable.
59561         Check for -fstack-protector being used implicitly.
59562         * configure: Regenerated.
59563         * config.make.in (config-extra-cflags): New variable,
59564         gets @libc_extra_cflags@.
59565         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
59567         [BZ #10375]
59568         * configure.in: Check for _FORTIFY_SOURCE being predefined.
59569         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
59570         * configure: Regenerated.
59571         * config.make.in (CPPUNDEFS): New substituted variable.
59572         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
59573         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
59574         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
59576 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59578         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
59579         (mq_attr): Use __syscall_slong_t.
59581 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59583         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
59584         Check __x86_64__ instead of __WORDSIZE.
59585         (_STAT_VER_LINUX): Likewise.
59586         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
59587         __syscall_ulong_t and __syscall_slong_t.
59588         (stat64): Likewise.
59590 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59592         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
59594 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59596         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
59598 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59600         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
59601         __syscall_ulong_t.
59603         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
59604         include <bits/wordsize.h>.  Check __x86_64__ instead of
59605         __WORDSIZE.
59606         (greg_t): Use "__extension__ long long int" if __x86_64__ is
59607         defined.
59608         (mcontext_t): Replace "unsigned long" with "unsigned long long".
59610         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
59611         include <bits/wordsize.h>.  Check __x86_64__ instead of
59612         __WORDSIZE.
59613         (user_regs_struct): Use "__extension__ unsigned long long"
59614         instead of "unsigned long" if __x86_64__ is defined.
59615         (user): Likewise.  Pad after pointer field if __ILP32__ is
59616         defined.
59618 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
59620         * configure.in (makeinfo): Require version 4.5 or later.  Allow
59621         versions 5 to 9.
59622         * configure: Regenerated.
59623         * manual/install.texi (texinfo): Increase version requirement to
59624         4.5 or later.
59625         * INSTALL: Regenerated.
59627         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
59629 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59631         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
59633         * sysdeps/x86_64/x32/ffs.c: New file.
59635         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
59636         __syscall_ulong_t.
59637         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
59638         defined.  Use __syscall_ulong_t.
59639         (shminfo): Use __syscall_ulong_t.
59640         (shm_info): Likewise.
59642         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
59643         __syscall_ulong_t.
59645         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
59646         <bits/wordsize.h>.
59647         (msgqnum_t): Use __syscall_ulong_t.
59648         (msglen_t): Likewise.
59649         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
59650         __syscall_ulong_t.
59652         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
59653         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59655         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
59657         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
59658         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
59660         * sysvipc/sys/msg.h (msgbuf): Replace long int with
59661         __syscall_slong_t.
59663         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
59664         include <bits/wordsize.h>.  Check __x86_64__ instead of
59665         __WORDSIZE.
59667         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
59668         "unsigned long long int" if __x86_64__ is defined.
59669         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
59671         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
59672         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59673         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
59675         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
59676         <stdint.h>.
59677         (GET_PC): Cast to uintptr_t first.
59678         (GET_FRAME): Likewise.
59679         (GET_STACK): Likewise.
59681         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
59682         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
59683         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
59684         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
59685         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
59686         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
59687         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
59688         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
59689         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
59690         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
59691         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
59692         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
59693         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59694         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
59695         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
59696         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
59697         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
59698         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
59699         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
59700         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
59701         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
59702         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
59703         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
59704         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
59705         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
59706         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
59707         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
59708         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
59709         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
59711 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
59713         * Makerules (+depfiles): Also collect depfiles from .oS in
59714         $(extra-objs).
59715         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
59716         .oS, $(libnldbl-routines)).
59718         * Makerules (native-compile-mkdep-flags): Define.
59719         * sunrpc/Makefile (extra-objs): Add $(addprefix
59720         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
59721         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
59722         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
59723         calling $(make-target-directory).
59725 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59727         * bits/types.h (__snseconds_t): Removed.
59728         * time/time.h (struct timespec): Replace __snseconds_t with
59729         __syscall_slong_t.
59730         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
59731         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
59732         Likewise.
59733         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59734         (__SNSECONDS_T_TYPE): Likewise.
59735         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59736         (__SNSECONDS_T_TYPE): Likewise.
59737         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59738         (__SNSECONDS_T_TYPE): Likewise.
59740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59742         * sysdeps/mach/hurd/bits/typesizes.h
59743         (__SYSCALL_SLONG_TYPE): New macro.
59744         (__SYSCALL_ULONG_TYPE): Likewise.
59746 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59748         * bits/types.h (__syscall_slong_t): New type.
59749         (__syscall_ulong_t): Likewise.
59751         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
59752         (__SYSCALL_ULONG_TYPE): Likewise.
59753         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59754         (__SYSCALL_SLONG_TYPE): Likewise.
59755         (__SYSCALL_ULONG_TYPE): Likewise.
59756         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59757         (__SYSCALL_SLONG_TYPE): Likewise.
59758         (__SYSCALL_ULONG_TYPE): Likewise.
59759         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59760         (__SYSCALL_SLONG_TYPE): Likewise.
59761         (__SYSCALL_ULONG_TYPE): Likewise.
59763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59765         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
59766         Add sigaltstack-offsets.sym.
59767         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
59768         <sigaltstack-offsets.h>.
59769         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
59770         longjmp_msg pointer.
59771         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
59772         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
59773         signal stack.
59774         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
59776 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59778         * elf/stackguard-macros.h: Remove file.
59779         * sysdeps/generic/stackguard-macros.h: New file.
59780         * sysdeps/i386/stackguard-macros.h: Likewise.
59781         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59782         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59783         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59784         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59785         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59786         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59787         * sysdeps/x86_64/stackguard-macros.h: Likewise.
59788         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
59789         <elf/stackguard-macros.h>.
59791         [BZ #14109]
59792         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
59793         __aligned__ in attribute.
59794         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
59795         (gregset_t): Likewise.
59797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59799         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
59800         * sysdeps/x86_64/64/Implies-after: Here.  New file.
59801         * sysdeps/x86_64/x32/Implies-after: New file.
59803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59805         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
59806         and access return value for _dl_profile_fixup.  Use R10_LP to
59807         load frame size.
59809 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59811         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59815         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59816         * sysdeps/x86_64/x32/sysdep.h: New file.
59818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59820         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59821         * sysdeps/x86_64/setjmp.S: Likewise.
59823 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59825         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59826         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59827         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59828         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59829         remove unused global constant.
59831 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
59833         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59834         include of <not-cancel.h>.
59836 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59838         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59840 2012-05-15  Jeff Law  <law@redhat.com>
59841             Andreas Jaeger  <aj@suse.de>
59843         [BZ #13594]
59844         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59845         out from...
59846         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59847         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59848         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59849         code changing __hst_map_handle.map.
59851 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59853         * configure.in (sysnames): Look for Implies-before and Implies-after
59854         files.
59855         * configure: Regenerated.
59857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59859         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59860         8-byte data alignment with LP_SIZE alignment.
59862 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59864         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59865         into R10_LP.
59867 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59869         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
59871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59873         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
59874         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
59875         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
59876         Likewise.
59877         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59881         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
59882         (stackinfo_sub_sp): Likewise.
59884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59886         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
59887         RAX_LP.
59889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59891         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
59892         into R*_LP.
59894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59896         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
59897         sizes into R*_LP.
59899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59901         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
59903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59905         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
59906         into R11_LP and load __x86_64_shared_cache_size_half into
59907         R8_LP.
59909 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59911         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
59912         R8_LP.
59914 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59916         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
59917         logb for POWER7.
59918         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
59919         logbf for POWER7.
59920         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
59921         logbl for POWER7.
59922         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
59923         powerpc32/power7/fpu/s_logb.c via #include.
59924         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
59925         powerpc32/power7/fpu/s_logbf.c via #include.
59926         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
59927         powerpc32/power7/fpu/s_logbl.c via #include.
59929 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59931         * README.libm: Remove file.
59933 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59935         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
59936         count for x32.  Use R*_LP and omit operand-size suffix.
59938 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59940         * shlib-versions: Move x86_64-.*-linux.* entries to ...
59941         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
59942         * sysdeps/x86_64/x32/shlib-versions: New file.
59944 2012-05-14  Roland McGrath  <roland@hack.frob.com>
59946         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
59947         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
59948         Use _dl_fatal_printf instead.
59950 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59952         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
59953         set if not set by the user.  Do not allow for being unset.
59954         * sysdeps/unix/sysv/linux/configure: Regenerated.
59956 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59958         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
59959         the `q' suffix from lea and replace .quad with ASM_ADDR.
59961 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59964         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
59965         instead of $17.
59966         (PTR_DEMANGLE): Likewise.
59968 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59970         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
59971         (LP_OP): Likewise.
59972         (ASM_ADDR): Likewise.
59973         (RAX_LP): Likewise.
59974         (RBP_LP): Likewise.
59975         (RBX_LP): Likewise.
59976         (RCX_LP): Likewise.
59977         (RDI_LP): Likewise.
59978         (RSI_LP): Likewise.
59979         (RSP_LP): Likewise.
59980         (R8_LP): Likewise.
59981         (R9_LP): Likewise.
59982         (R10_LP): Likewise.
59983         (R10_LP): Likewise.
59984         (R11_LP): Likewise.
59985         (R12_LP): Likewise.
59986         (R13_LP): Likewise.
59987         (R14_LP): Likewise.
59988         (R15_LP): Likewise.
59990 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59992         * sysdeps/x86_64/x32/dl-machine.h: New file.
59994 2012-05-14  Andreas Jaeger  <aj@suse.de>
59996         * manual/Makefile (subdir): Remove export of subdir.
59997         (all): Remove target.
59998         (.PHONY): Remove all from list.
59999         (mkinstalldirs): Remove.
60000         (.PHONY): Remove installdirs from list.
60001         ($(inst_infodir)/libc.info): Use make-target-directory.
60002         (installdirs): Remove.
60003         (subdir_%): Remove.
60004         (glibc-targets): Remove.
60005         (lib): Remove.
60006         (stubs): Remove.
60007         ($(objpfx)stubs ../po/manual.pot): Remove.
60008         ($(objpfx)stamp%): Remove.
60009         (make-target-directory): Remove.
60010         (subdir_install): Remove.
60011         (routines): Remove.
60012         (aux): Remove.
60013         (sources): Remove.
60014         (objects): Remove.
60015         (headers): Remove.
60017         [BZ #13750]
60018         * manual/.gitignore: Remove, it's not needed anymore.
60019         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
60020         all files in it.
60021         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
60022         directory.
60023         (texis): Renamed to $(objpfx)texis.
60024         (texis-path): New, contains path to generated files.
60025         (chapters.%): Use texis-path for complete path, add extra argument
60026         libc-texinfo.sh.
60027         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
60028         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
60029         (summary,texi, stamp-summary): Use complete path of
60030         files. Generate files in build dir.
60031         (dir-add.texi): Build in build dir.
60032         (libm-err.texi,stamp-libm-err): Likewise.
60033         (version.texi, stamp-version): Likewise.
60034         (.%c.texi): Likewise.
60035         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
60036         (mostlyclean): Remove target.
60037         (realclean): Remove target.
60038         (generated): Add new variable with contents from mostlyclean and
60039         realclean, remove entries duplicated in common-mostlyclean, add
60040         stamp-libm-err and stamp-version.
60041         (generated-dirs): Add libc directory.
60042         ($(inst_infodir)/libc.info): Install files from build dir.
60044         * manual/install.texi (Configuring and compiling): Adjust since
60045         the info files are not part of the tar ball anymore.
60047 2012-05-14  Andreas Jaeger  <aj@suse.de>
60049         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
60050         variable.
60052 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60054         [BZ #13717]
60055         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60056         to 2.2.0 where earlier.
60057         * sysdeps/unix/sysv/linux/configure: Regenerated.
60058         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
60059         Remove conditional code.
60060         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
60061         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
60062         Remove conditional code.
60063         [!__NR_lchown]: Likewise.
60064         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60065         [__NR_lchown]: Likewise.
60066         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
60067         comment referencing __ASSUME_LCHOWN_SYSCALL.
60068         * sysdeps/unix/sysv/linux/i386/sigaction.c
60069         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60070         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60071         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
60072         Remove conditional code.
60073         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
60074         (__protocol_available): Remove #if 0 code.
60075         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
60076         conditional code.
60077         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
60078         * sysdeps/unix/sysv/linux/kernel-features.h
60079         (__ASSUME_GETCWD_SYSCALL): Don't define.
60080         (__ASSUME_REALTIME_SIGNALS): Likewise.
60081         (__ASSUME_PREAD_SYSCALL): Likewise.
60082         (__ASSUME_PWRITE_SYSCALL): Likewise.
60083         (__ASSUME_POLL_SYSCALL): Likewise.
60084         (__ASSUME_LCHOWN_SYSCALL): Likewise.
60085         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
60086         non-SPARC.
60087         (__ASSUME_SIOCGIFNAME): Don't define.
60088         (__ASSUME_MSG_NOSIGNAL): Likewise.
60089         (__ASSUME_SENDFILE): Define unconditionally.
60090         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
60091         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
60092         conditional code.
60093         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
60094         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
60095         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60096         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60097         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
60098         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60099         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
60101         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60102         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
60104         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60105         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
60107         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60108         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
60110         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60111         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
60113         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60114         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
60116         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60117         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
60119         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60120         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
60122         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60123         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60124         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
60125         Remove conditional code.
60126         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60127         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60128         Remove conditional code.
60129         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60130         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
60131         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
60132         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60133         Remove conditional code.
60134         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60135         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
60136         Remove conditional code.
60137         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60138         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
60139         Remove conditional code.
60140         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60141         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60142         Remove conditional code.
60143         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60144         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60145         Remove conditional code.
60146         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60147         * sysdeps/unix/sysv/linux/sh/pwrite64.c
60148         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60149         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60150         * sysdeps/unix/sysv/linux/sigaction.c
60151         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60152         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60153         * sysdeps/unix/sysv/linux/sigpending.c
60154         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60155         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60156         * sysdeps/unix/sysv/linux/sigprocmask.c
60157         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60158         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60159         * sysdeps/unix/sysv/linux/sigsuspend.c
60160         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60161         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60162         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60163         (__libc_missing_rt_sigs): Remove.
60164         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
60165         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
60166         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
60167         Remove conditional code.
60168         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
60169         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
60170         return 1.
60171         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
60172         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
60173         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
60174         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
60176 2012-05-14  Andreas Jaeger  <aj@suse.de>
60178         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
60179         it's not used in glibc.
60180         (__coshm1): Likewise.
60181         (__acosh1p): Likewise.
60182         (__sgn): Likewise.
60184         * manual/string.texi (Copying and Concatenation): Add missing
60185         variable in concat example.
60186         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
60188 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60190         [BZ #14103]
60191         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
60192         __builtin_clzl with __builtin_clzll.
60194 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60196         [BZ #14104]
60197         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
60198         libc_freeres_ptr.
60200 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60202         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
60203         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
60204         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
60205         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
60207 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
60209         * NEWS: Update ia64 info.
60211 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
60213         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
60214         used as bcopy.
60216 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
60218         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
60219         * sysdeps/unix/syscalls.list (dup3): Likewise.
60220         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
60221         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
60223 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
60225         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
60226         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
60228 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
60230         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
60231         thread pointer.
60232         (TLS_IE): Use mov/add instead of movq/addq to load thread
60233         pointer.
60234         (TLS_GD_PREFIX): New.
60235         (TLS_GD): Use it.
60237 2012-05-11  David S. Miller  <davem@davemloft.net>
60239         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
60240         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
60241         (_FPU_SETCW): Likewise.
60243 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60245         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
60246         is 32-byte aligned.
60248 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
60250         [BZ #11837]
60251         * iconvdata/gb18030.c: Update tables.
60252         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
60253         characters specially.
60254         (BODY for TO_LOOP): Add encoding of missing ranges.
60256 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
60258         [BZ #13673]
60259         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
60260         * sysdeps/mach/hurd/dup3.c: Likewise.
60261         * sysdeps/mach/hurd/readlinkat.c: Likewise.
60262         * sysdeps/powerpc/memmove.c:: Likewise.
60264 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60266         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
60267         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
60269 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60271         * elf/elf.h (R_X86_64_RELATIVE64): New.
60272         (R_X86_64_NUM): Updated.
60273         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60274         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
60275         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
60276         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
60277         tst-quad1pie tst-quad2pie
60278         (modules-names): Add tst-quadmod1 tst-quadmod2.
60279         ($(objpfx)tst-quad1): New dependency.
60280         ($(objpfx)tst-quad2): Likewise.
60281         ($(objpfx)tst-quad1pie): Likewise.
60282         ($(objpfx)tst-quad2pie): Likewise.
60283         * sysdeps/x86_64/tst-quad1.c: New file.
60284         * sysdeps/x86_64/tst-quad1pie.c: New file.
60285         * sysdeps/x86_64/tst-quad2.c: Likewise.
60286         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
60287         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
60288         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
60289         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
60290         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
60292 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60294         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
60295         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
60296         * streams/stropts.h (t_scalar_t): Define type.
60298         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
60299         (_PATH_PRESERVE): Set to "/var/lib".
60300         (_PATH_RWHODIR): Set to "/var/spool/rwho".
60302         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
60303         instead of int.
60305         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
60306         if __dir_mkfile succeeded.
60308         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
60309         checking for _hurd_dtablesize.  Unlock it right after having
60310         finished _hurd_dtable allocation.
60312 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60314         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
60315         * sysdeps/mach/hurd/configure: Regenerated.
60316         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
60317         special-casing to...
60318         * sysdeps/gnu/configure.in: ... this new file.
60319         * sysdeps/unix/sysv/linux/configure: Regenerated.
60320         * sysdeps/gnu/configure: New generated file.
60322         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
60323         for Linux: use nsec instead of usec, as well as:
60324         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
60325         members of type struct timespec.
60326         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
60327         New macros.
60328         (struct stat64): Likewise.
60329         (_STATBUF_ST_NSEC): New macro.
60330         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
60332         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60333         __strtoul_internal rather than strtoul.
60335 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60337         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
60338         and reject them.
60340 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60342         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
60343         which preserves existing values.
60344         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
60346 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60348         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
60349         TIMEOUT values.  Return EINVAL for NFDS values either negative or
60350         greater than FD_SETSIZE.
60352 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60354         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
60355         allocated, call __vm_protect to finish enabling the existing space, and
60356         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
60357         allocate the remainder.
60359 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60361         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
60362         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
60364 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60366         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
60367         sysdeps/mach/hurd/readlink.c.
60369         * posix/tst-sysconf.c (posix_options): Only use
60370         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
60371         _POSIX_SYNCHRONIZED_IO when they are defined
60372         * sysdeps/mach/hurd/bits/posix_opt.h:
60373         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
60374         (_XOPEN_REALTIME): Undefine macro.
60375         (_XOPEN_REALTIME_THREADS): Undefine macro.
60376         (_XOPEN_SHM): Undefine macro.
60377         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
60378         macro to -1.
60379         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
60380         macro to -1.
60381         (_POSIX_ASYNC_IO): Undefine macro.
60382         (_POSIX_PRIORITIZED_IO): Undefine macro.
60383         (_POSIX_SPIN_LOCKS): Define macro to -1.
60385         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
60386         SA_NODEFER, SA_RESETHAND.
60387         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
60388         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
60389         F_DUPFD_CLOEXEC.
60391 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60393         * elf/Makefile (pldd-modules): Define unconditionally.
60395 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60397         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
60399 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60401         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
60402         Return ENOENT when name is empty.
60403         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
60405 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60407         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
60409         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
60411 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60413         Fix mlock in all cases except non-readable pages.
60414         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
60415         instead of VM_PROT_ALL as parameter to __vm_wire function.
60417         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
60418         (__mkdir): When path is `/', just fail with EEXIST.
60419         * sysdeps/mach/hurd/mkdirat.c: Likewise.
60421 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60423         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
60424         <sys/uio.h> (for writev).
60425         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
60426         and <sys/param.h> (for MIN).
60428 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60430         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
60431         REQUESTED_TIME.  Properly set the remaining time and return EINTR
60432         if interrupted.
60434 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60436         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
60437         Depend on against $(link-rpcuserlibs).
60439 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60441         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
60442         (__libc_stack_end): Do not use attribute_relro.
60443         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
60444         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
60445         to libthread-provided value.
60446         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
60447         attribute_relro.
60449 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60451         [BZ #3748]
60452         * bits/libc-lock.h (__libc_once_get): New macro.
60453         * sysdeps/mach/bits/libc-lock.h: Likewise.
60454         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
60455         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
60456         instead of using implementation details.
60458         * libio/fileops.c: Unconditionally include <kernel-features.h>.
60459         * libio/freopen.c: Likewise.
60460         * libio/freopen64.c: Likewise.
60461         * misc/syslog.c: Likewise.
60462         * nscd/connections.c: Likewise.
60463         * nscd/netgroupcache.c: Likewise.
60464         * sysdeps/posix/getcwd.c: Likewise.
60466 2012-05-10  Roland McGrath  <roland@hack.frob.com>
60468         * math/w_ilogbf.c: Add #include <limits.h>.
60470 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60472         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
60473         path instead of returning without unlocking.
60475         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
60476         immediate-write ioctls.
60477         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
60479 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60481         * sysdeps/mach/hurd/i386/init-first.c (init): Use
60482         __builtin_frame_address instead of making assumptions about the
60483         location of the return address relative to DATA.  Force early load of
60484         the return address.
60485         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
60486         __builtin_frame_address.
60488         dup3 for GNU Hurd.
60489         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
60490         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
60491         implement dup3 and do some further code clean-ups.
60492         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
60493         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
60495 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60497         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
60499         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
60500         HURD_CRITICAL_END around holding _hurd_dtable_lock.
60501         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
60502         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
60503         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
60504         d->port.lock.
60506         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
60507         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
60508         when handler == SIG_ERR, not when handler != SIG_ERR.
60510 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60512         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
60513         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
60514         definitions.
60516         accept4 for GNU Hurd.
60517         * include/sys/socket.h (__libc_accept4): New prototype.
60518         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
60519         to implement __libc_accept4.
60520         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
60521         __libc_accept4.
60522         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
60524         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
60525         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
60526         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
60527         signal-defines.sym.
60529 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60531         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
60533 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60535         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
60536         assertion on O_CLOEXEC flag.
60537         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
60538         * hurd/intern-fd.c: Likewise.
60539         * hurd/port2fd.c: Likewise.
60541 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60543         [BZ #3906]
60544         * bits/in.h (IPV6_PKTINFO): Define new macro.
60545         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
60547 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60549         [BZ #13954]
60550         [BZ #13955]
60551         [BZ #13956]
60552         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
60553         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60554         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
60555         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60556         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60557         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60558         * math/libm-test.inc (logb_test) : Additional logb tests.
60560 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
60561             Andreas Jaeger  <aj@suse.de>
60563         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
60564         * configure: Regenerated.
60565         * config.h.in (LINK_OBSOLETE_RPC): New macro.
60566         * config.make.in (link-obsolete-rpc): New substituted variable.
60567         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
60568         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
60569         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60570         (shared-only-routines): Don't set it under [link-obsolete-rpc],
60571         so that libc.a contains the symbols.
60572         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60573         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
60574         * sunrpc/auth_none.c: Likewise.
60575         * sunrpc/auth_unix.c: Likewise.
60576         * sunrpc/authdes_prot.c: Likewise.
60577         * sunrpc/authuxprot.c: Likewise.
60578         * sunrpc/clnt_gen.c: Likewise.
60579         * sunrpc/clnt_perr.c: Likewise.
60580         * sunrpc/clnt_raw.c: Likewise.
60581         * sunrpc/clnt_simp.c: Likewise.
60582         * sunrpc/clnt_tcp.c: Likewise.
60583         * sunrpc/clnt_udp.c: Likewise.
60584         * sunrpc/clnt_unix.c: Likewise.
60585         * sunrpc/des_crypt.c: Likewise.
60586         * sunrpc/des_soft.c: Likewise.
60587         * sunrpc/get_myaddr.c: Likewise.
60588         * sunrpc/key_call.c: Likewise.
60589         * sunrpc/key_prot.c: Likewise.
60590         * sunrpc/netname.c: Likewise.
60591         * sunrpc/pm_getmaps.c: Likewise.
60592         * sunrpc/pm_getport.c: Likewise.
60593         * sunrpc/pmap_clnt.c: Likewise.
60594         * sunrpc/pmap_prot.c: Likewise.
60595         * sunrpc/pmap_prot2.c: Likewise.
60596         * sunrpc/pmap_rmt.c: Likewise.
60597         * sunrpc/publickey.c: Likewise.
60598         * sunrpc/rpc_cmsg.c: Likewise.
60599         * sunrpc/rpc_common.c: Likewise.
60600         * sunrpc/rpc_dtable.c: Likewise.
60601         * sunrpc/rpc_prot.c: Likewise.
60602         * sunrpc/rpc_thread.c: Likewise.
60603         * sunrpc/rtime.c: Likewise.
60604         * sunrpc/svc.c: Likewise.
60605         * sunrpc/svc_auth.c: Likewise.
60606         * sunrpc/svc_raw.c: Likewise.
60607         * sunrpc/svc_run.c: Likewise.
60608         * sunrpc/svc_tcp.c: Likewise.
60609         * sunrpc/svc_udp.c: Likewise.
60610         * sunrpc/svc_unix.c: Likewise.
60611         * sunrpc/svcauth_des.c: Likewise.
60612         * sunrpc/xcrypt.c: Likewise.
60613         * sunrpc/xdr.c: Likewise.
60614         * sunrpc/xdr_array.c: Likewise.
60615         * sunrpc/xdr_float.c: Likewise.
60616         * sunrpc/xdr_intXX_t.c: Likewise.
60617         * sunrpc/xdr_mem.c: Likewise.
60618         * sunrpc/xdr_rec.c: Likewise.
60619         * sunrpc/xdr_ref.c: Likewise.
60620         * sunrpc/xdr_sizeof.c: Likewise.
60621         * sunrpc/xdr_stdio.c: Likewise.
60623 2012-05-10  Roland McGrath  <roland@hack.frob.com>
60625         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
60626         change.  Update copyright years.
60628 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60630         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
60632 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
60633             Joseph Myers  <joseph@codesourcery.com>
60634             Paul Pluzhnikov  <ppluzhnikov@google.com>
60636         [BZ #14012]
60637         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
60638         requiring rpcgen.
60639         [cross-compiling] (extra-libs): Likewise.
60640         [cross-compiling] (extra-libs-others): Likewise.
60641         [cross-compiling] (librpcsvc-routines): Likewise.
60642         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
60643         [cross-compiling] (omit-deps): Likewise.
60644         (sunrpc-CPPFLAGS): New variable.
60645         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
60646         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
60647         (cross-rpcgen-objs): New variable.
60648         (extra-objs): Append $(cross-rpcgen-objs).
60649         ($(cross-rpcgen-objs)): New rule.
60650         ($(objpfx)cross-rpcgen): Likewise.
60651         (rpcgen-cmd): Define to use $(built-program-file).  Expand
60652         comment.
60653         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
60654         ($(objpfx)x%.stmp): Likewise.
60655         * sunrpc/proto.h [IS_IN_build] (_): Define.
60656         [IS_IN_build] (_libc_intl_domainname): Likewise.
60658 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60660         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
60661         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
60662         and R_X86_64_TPOFF64.
60664 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60666         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
60667         sysdeps/unix/sysv/syscalls.list.
60668         (stime): Likewise.
60669         (utime): Likewise.
60670         * sysdeps/unix/sysv/syscalls.list: Remove file.
60672 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
60674         [BZ #3440]
60675         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
60676         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
60677         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
60678         (__LC_IDENTIFICATION): Make these macros useful in #if
60679         expressions, as required by C99.
60681 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
60683         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
60684         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
60685         after this.
60687 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
60689         * stdlib/longlong.h: Updated from GCC.
60691 2012-05-09  Andreas Jaeger  <aj@suse.de>
60693         * nscd/nscd.c (run_modes): Make named enum, reorder so that
60694         default is first entry.
60695         (run_mode): Set type.
60696         (main): Remove informal message about syslog.
60697         (options): Fix typo.
60699         [BZ #14053]
60700         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
60701         to asm.
60702         (lrint): Likewise.
60703         (llrintf): Likewise.
60704         (llrint): Likewise.
60705         (rint): Likewise.
60706         (rintf): Likewise.
60707         (nearbyint): Likewise.
60708         (nearbyintf): Likewise.
60710 2012-05-09  Andreas Jaeger  <aj@suse.de>
60711             Pedro Alves  <palves@redhat.com>
60713         * nscd/nscd.c (run_mode): Use enum.
60714         (main): Cleanup coding style issue.
60716 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
60717             Andreas Jaeger  <aj@suse.de>
60719         * nscd/nscd.c (go_background): Replaced with...
60720         (run_mode): ... this.
60721         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
60722         (options): Add -F --foreground.
60723         (main): Implement it.
60724         (parse_opt): Parse it.
60726 2012-05-09  Andreas Jaeger  <aj@suse.de>
60728         [BZ #14083]
60729         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
60730         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
60731         -Wconversion warning.
60732         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
60733         Likewise.
60735 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
60737         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
60738         == 0.
60739         (LC_ALL): Use macro-int-constant.
60740         (LC_COLLATE): Likewise.
60741         (LC_CTYPE): Likewise.
60742         (LC_MESSAGES): Likewise.
60743         (LC_MONETARY): Likewise.
60744         (LC_NUMERIC): Likewise.
60745         (LC_TIME): Likewise.
60746         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
60747         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60748         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60749         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
60750         Specify type.
60751         [C99-based standards] (float_t): Expect type.
60752         [C99-based standards] (double_t): Expect type.
60753         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
60754         type.
60755         [C99-based standards] (HUGE_VALL): Likewise.
60756         [C99-based standards] (INFINITY): Likewise.
60757         [C99-based standards] (NAN): Likewise.
60758         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
60759         [C99-based standards] (FP_NAN): Likewise.
60760         [C99-based standards] (FP_NORMAL): Likewise.
60761         [C99-based standards] (FP_SUBNORMAL): Likewise.
60762         [C99-based standards] (FP_ZERO): Likewise.
60763         [C99-based standards] (FP_FAST_FMA): Use
60764         optional-macro-int-constant.  Specify type.  Require == 1.
60765         [C99-based standards] (FP_FAST_FMAF): Likewise.
60766         [C99-based standards] (FP_FAST_FMAL): Likewise.
60767         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
60768         [C99-based standards] (FP_ILOGBNAN): Likewise.
60769         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
60770         Specify type.
60771         [C99-based standards] (MATH_ERREXCEPT): Likewise.
60772         [C99-based standards] (math_errhandling): Specify type.
60773         [ISO99 || ISO11] (signgam): Do not allow.
60774         [non-C99-based standards] (copysignf): Do not allow.
60775         [non-C99-based standards] (exp2f): Likewise.
60776         [non-C99-based standards] (log2f): Likewise.
60777         [non-C99-based standards] (modff): Allow.
60778         [non-C99-based standards] (erff): Do not allow.
60779         [non-C99-based standards] (erfcf): Likewise.
60780         [non-C99-based standards] (gammaf): Likewise.
60781         [non-C99-based standards] (hypotf): Likewise.
60782         [non-C99-based standards] (j0f): Likewise.
60783         [non-C99-based standards] (j1f): Likewise.
60784         [non-C99-based standards] (jnf): Likewise.
60785         [non-C99-based standards] (lgammaf): Likewise.
60786         [non-C99-based standards] (tgammaf): Likewise.
60787         [non-C99-based standards] (y0f): Likewise.
60788         [non-C99-based standards] (y1f): Likewise.
60789         [non-C99-based standards] (ynf): Likewise.
60790         [non-C99-based standards] (isnanf): Likewise.
60791         [non-C99-based standards] (acoshf): Likewise.
60792         [non-C99-based standards] (asinhf): Likewise.
60793         [non-C99-based standards] (atanhf): Likewise.
60794         [non-C99-based standards] (cbrtf): Likewise.
60795         [non-C99-based standards] (expm1f): Likewise.
60796         [non-C99-based standards] (ilogbf): Likewise.
60797         [non-C99-based standards] (log1pf): Likewise.
60798         [non-C99-based standards] (logbf): Likewise.
60799         [non-C99-based standards] (nextafterf): Likewise.
60800         [non-C99-based standards] (remainderf): Likewise.
60801         [non-C99-based standards] (rintf): Likewise.
60802         [non-C99-based standards] (scalbf): Likewise.
60803         [non-C99-based standards] (copysignl): Likewise.
60804         [non-C99-based standards] (exp2l): Likewise.
60805         [non-C99-based standards] (log2l): Likewise.
60806         [non-C99-based standards] (modfl): Allow.
60807         [non-C99-based standards] (erfl): Do not allow.
60808         [non-C99-based standards] (erfcl): Likewise.
60809         [non-C99-based standards] (gammal): Likewise.
60810         [non-C99-based standards] (hypotl): Likewise.
60811         [non-C99-based standards] (j0l): Likewise.
60812         [non-C99-based standards] (j1l): Likewise.
60813         [non-C99-based standards] (jnl): Likewise.
60814         [non-C99-based standards] (lgammal): Likewise.
60815         [non-C99-based standards] (tgammal): Likewise.
60816         [non-C99-based standards] (y0l): Likewise.
60817         [non-C99-based standards] (y1l): Likewise.
60818         [non-C99-based standards] (ynl): Likewise.
60819         [non-C99-based standards] (isnanl): Likewise.
60820         [non-C99-based standards] (acoshl): Likewise.
60821         [non-C99-based standards] (asinhl): Likewise.
60822         [non-C99-based standards] (atanhl): Likewise.
60823         [non-C99-based standards] (cbrtl): Likewise.
60824         [non-C99-based standards] (expm1l): Likewise.
60825         [non-C99-based standards] (ilogbl): Likewise.
60826         [non-C99-based standards] (log1pl): Likewise.
60827         [non-C99-based standards] (logbl): Likewise.
60828         [non-C99-based standards] (nextafterl): Likewise.
60829         [non-C99-based standards] (remainderl): Likewise.
60830         [non-C99-based standards] (rintl): Likewise.
60831         [non-C99-based standards] (scalbl): Likewise.
60832         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60833         [non-C99-based standards] (FP_*): Do not allow.
60834         [C99-based standards] (FP_*): Change to
60835         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60836         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60837         allow.
60838         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60839         (SIG_ERR): Likewise.
60840         [X/Open-based standards] (SIG_HOLD): Likewise.
60841         (SIG_IGN): Likewise.
60842         (SIGABRT): Use macro-int-constant.  Specify type.  Require
60843         positive value.
60844         (SIGFPE): Likewise.
60845         (SIGILL): Likewise.
60846         (SIGINT): Likewise.
60847         (SIGSEGV): Likewise.
60848         (SIGTER): Likewise.
60849         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60850         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60851         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60852         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60853         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60854         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60855         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60856         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60857         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60858         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60859         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60860         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60861         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60862         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60863         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60864         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60865         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60866         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60867         [X/Open-based standards] (SIGTRAP): Likewise.
60868         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60869         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60870         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
60871         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
60872         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60873         allow.
60875 2012-05-08  Ian Wienand  <ianw@vmware.com>
60877         [BZ #14080]
60878         * time/tzset.c (__tzset_parse_tz): Update default rules for
60879         daylight time changes in the Energy Policy Act of 2005.
60881 2012-05-09  Andreas Jaeger  <aj@suse.de>
60883         [BZ #13983]
60884         * elf/ldconfig.c (parse_conf): Change string to make clear that
60885         ldconfig only issued a warning if ld.so.conf does not exist.
60887 2012-05-08  David S. Miller  <davem@davemloft.net>
60889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
60890         movxtod instead of popping the value on the stack.
60892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60894 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
60896         * config.h.in: Add HAVE_ARM_PCS_VFP.
60898 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
60900         [BZ #13979]
60901         * include/features.h: Warn if user requests __FORTIFY_SOURCE
60902         checking but the checks are disabled for any reason.
60904 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
60906         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
60907         and ELF64_R_TYPE with ELFW(R_TYPE).
60909 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
60911         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
60912         (ulimit): Likewise.
60914         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
60915         (settimeofday): Likewise.
60917 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
60919         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
60920         a struct th_u2 inside the union, and move tu_block/tu_code into
60921         a new th_u3 union of tu_block/tu_code inside of that.  Move
60922         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
60923         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
60924         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
60925         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
60926         (th_stuff): Change to th_u1.tu_stuff.
60927         (th_data): Define.
60928         (th_msg): Change to th_u1.th_u2.tu_data.
60930 2012-05-07  David S. Miller  <davem@davemloft.net>
60932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60934         [BZ #14074]
60935         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
60936         (SETUP_PIC_REG): Use it.
60937         (SETUP_PIC_REG_LEAF): Use it.
60939 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
60941         [BZ #13885]
60942         [BZ #13923]
60943         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60944         USE_AS_EXPM1L.
60945         (EXPL_FINITE): Likewise.
60946         (FLDLOG): Likewise.
60947         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60948         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60949         e_expl.S.
60950         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60951         USE_AS_EXPM1L.
60952         (EXPL_FINITE): Likewise.
60953         (FLDLOG): Likewise.
60954         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60955         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60956         e_expl.S.
60957         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
60958         test of -max_value argument for long double.
60959         * sysdeps/i386/fpu/libm-test-ulps: Update.
60960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60962 2012-05-06  David S. Miller  <davem@davemloft.net>
60964         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60965         quad soft-float symbols whose references which are compiler
60966         generated.
60967         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60969 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
60971         [BZ #13884]
60972         [BZ #13914]
60973         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60974         USE_AS_EXP10L.
60975         (EXPL_FINITE): Likewise.
60976         (FLDLOG): Likewise.
60977         (c0): Likewise.
60978         (c1): Likewise.
60979         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60980         Adjust comments for base varying.
60981         (__expl_finite): Change alias to EXPL_FINITE.
60982         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
60983         e_expl.S.
60984         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
60985         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
60986         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60987         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
60988         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60989         USE_AS_EXP10L.
60990         (EXPL_FINITE): Likewise.
60991         (FLDLOG): Likewise.
60992         (c0): Likewise.
60993         (c1): Likewise.
60994         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60995         Adjust comments for base varying.
60996         (__expl_finite): Change alias to EXPL_FINITE.
60997         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
60998         tests for bugs.
60999         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61001         [BZ #14064]
61002         * math/libm-test.inc (check_float_internal): Correct ulp
61003         calculation for subnormal expected results.
61005 2012-05-06  Andreas Jaeger  <aj@suse.de>
61007         * Makeconfig (+math-flags): New, set to -frounding-math.
61008         (+cflags): Add +math-flags so that all of glibc gets compiled with
61009         it.
61011         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
61013 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
61015         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
61016         Disable one test.
61018         [BZ #13787]
61019         [BZ #13922]
61020         [BZ #14036]
61021         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
61022         (__ieee754_expl): Allow for and saturate large arguments.
61023         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
61024         (u_threshold): Likewise.
61025         (__exp): Call __ieee754_exp before checking for overflow and
61026         underflow.
61027         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
61028         (u_threshold): Likewise.
61029         (__expf): Call __ieee754_expf before checking for overflow and
61030         underflow.
61031         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
61032         (u_threshold): Likewise.
61033         (__expl): Call __ieee754_expl before checking for overflow and
61034         underflow.
61035         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
61036         (__ieee754_expl): Allow for and saturate large arguments.
61037         * math/libm-test.inc (exp_test): Add another test.  Do not allow
61038         missing overflow exception on overflow.
61039         (expm1_test): Do not allow missing overflow exception on overflow.
61041         * sysdeps/i386/fpu/e_expl.c: Move to ...
61042         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
61043         rather than using inline asm.
61044         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
61045         * sysdeps/x86_64/fpu/e_expl.S: Copy from
61046         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
61048         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
61049         (nice): Likewise.
61050         (poll): Likewise.
61051         (signal): Likewise.
61052         (time): Likewise.
61053         (times): Likewise.
61055 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61057         * sysdeps/unix/syscalls.list (adjtime): Add entry from
61058         sysdeps/unix/common/syscalls.list.
61059         (fchmod): Likewise.
61060         (fchown): Likewise.
61061         (ftruncate): Likewise.
61062         (getrusage): Likewise.
61063         (gettimeofday): Likewise.
61064         (setpgid): Likewise.
61065         (setregid): Likewise.
61066         (setreuid): Likewise.
61067         (sigaction): Likewise.
61068         (truncate): Likewise.
61069         (vhangup): Likewise.
61070         * sysdeps/unix/common/syscalls.list: Remove file.
61071         * sysdeps/unix/bsd/Implies: Don't include unix/common.
61072         * sysdeps/unix/sysv/linux/Implies: Likewise.
61074 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
61076         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
61077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
61078         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
61079         Moved to ...
61080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
61081         Here.
61082         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
61083         to ...
61084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
61085         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
61086         to ...
61087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
61088         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
61089         to ...
61090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
61091         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
61092         to ...
61093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
61094         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
61095         to ...
61096         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
61097         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
61098         to ...
61099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
61100         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
61101         to ...
61102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61103         Here.
61104         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
61105         to ...
61106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
61107         Here.
61108         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
61109         to ...
61110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
61111         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
61112         Moved to ...
61113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
61114         Here.
61115         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
61116         to ...
61117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
61119 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61121         * sysdeps/unix/common/bits/dirent.h: Remove file.
61122         * sysdeps/unix/common/bits/fcntl.h: Likewise.
61124         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
61125         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
61126         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
61127         * sysdeps/unix/bsd/isatty.c: Likewise.
61128         * sysdeps/unix/bsd/tcdrain.c: Likewise.
61129         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
61130         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
61132 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61134         [BZ #13563]
61135         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
61136         long double comparison inaccuracies.
61137         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61140 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
61142         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
61143         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
61145 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61147         [BZ #14049]
61148         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
61149         nonzero digits before rounding a hex value.
61150         * stdlib/tst-strtod.c (tests): Add another test.
61152 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61154         * sysdeps/s390/fpu/libm-test-ulps: Update.
61156 2012-05-03  Andreas Jaeger  <aj@suse.de>
61158         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
61159         does not get optimized out.
61160         (malloc_opt_barrier): New.
61162 2012-05-03  Andreas Jaeger  <aj@suse.de>
61163             Roland McGrath  <roland@hack.frob.com>
61165         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
61166         intermediate file deletion.
61167         (generated): Add .symlist files.
61169 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
61171         [BZ #13775]
61172         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
61173         Redirect under this condition.
61174         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61175         [__USE_GNU] (__dprintf_chk): Not under this condition.
61176         [__USE_GNU] (__vdprintf_chk): Likewise.
61177         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
61178         under this condition.
61179         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61180         [__USE_XOPEN2K8] (dprintf): Define under this condition.
61181         [__USE_XOPEN2K8] (vdprintf): Likewise.
61182         [__USE_GNU] (__dprintf_chk): Not under this condition.
61183         [__USE_GNU] (__vdprintf_chk): Likewise.
61184         [__USE_GNU] (dprintf): Likewise.
61185         [__USE_GNU] (vdprintf): Likewise.
61187 2012-05-03  Roland McGrath  <roland@hack.frob.com>
61189         * elf/Makefile (common-generated): Set this instead of generated for
61190         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
61191         $(all-built-dso)-derived lists.
61193 2012-05-03  Andreas Jaeger  <aj@suse.de>
61195         * sysdeps/i386/fpu/libm-test-ulps: Update.
61197         * FAQ: Removed.
61198         * FAQ.in: Likewise.
61199         * scripts/gen-FAQ.pl: Likewise.
61200         * manual/install.texi (Installation): Point to online location of
61201         FAQ.
61202         * Makefile (files-for-dist): Remove FAQ.
61203         (FAQ): Remove.
61205 2012-05-02  Allan McRae  <allan@archlinux.org>
61207         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
61208         (LDFLAGS-reldepmod5.so): Likewise.
61209         (LDFLAGS-reldep6mod1.so): Likewise.
61210         (LDFLAGS-reldep6mod4.so): Likewise.
61211         (LDFLAGS-reldep8mod3.so): Likewise.
61212         (LDFLAGS-unload4mod1.so): Likewise.
61213         (LDFLAGS-unload4mod2.so): Likewise.
61214         (LDFLAGS-tst-initorder): Likewise.
61215         (LDFLAGS-tst-initordera2.so): Likewise.
61216         (LDFLAGS-tst-initordera3.so): Likewise.
61217         (LDFLAGS-tst-initordera4.so): Likewise.
61218         (LDFLAGS-tst-initorderb2.so): Likewise.
61219         (LDFLAGS-noload): Likewise.
61220         (LDFLAGS-next): Likewise.
61221         (LDFLAGS-order2mod1.so): Likewise.
61222         (LDFLAGS-order2mod2.so): Likewise.
61223         (LDFLAGS-tst-initorder2): Likewise.
61224         (LDFLAGS-tst-initorder2a.so): Likewise.
61225         (LDFLAGS-tst-initorder2b.so): Likewise.
61226         (LDFLAGS-tst-initorder2c.so): Likewise.
61227         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
61229 2012-05-02  David S. Miller  <davem@davemloft.net>
61231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61233 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
61235         [BZ #14055]
61236         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
61238 2012-05-02  Andreas Jaeger  <aj@suse.de>
61240         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
61241         since we manipulate rounding mode.
61242         (CPPFLAGS-test-idouble.c): Likewise.
61243         (CPPFLAGS-test-ifloat.c): Likewise.
61244         (CFLAGS-test-ldouble.c): Likewise.
61245         (CFLAGS-test-double.c): Likewise.
61246         (CFLAGS-test-float.c): Likewise.
61247         (CFLAGS-test-misc.c): Likewise.
61248         (CFLAGS-test-test-fenv.c): Likewise.
61250 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61252         [BZ #2550]
61253         [BZ #2570]
61254         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
61255         comparisons to determine direction to adjust input.
61257 2012-05-01  Roland McGrath  <roland@hack.frob.com>
61259         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
61260         output to the target.
61262         * scripts/localplt.awk: New file.
61263         * elf/Makefile ($(objpfx)check-localplt): Target removed.
61264         (check-localplt-CFLAGS): Variable removed.
61265         ($(all-built-dso:=.jmprel)): New static pattern rule.
61266         (generated): Add those targets.
61267         (localplt-built-dso): New variable.
61268         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
61270         * elf/check-localplt.c: File removed.
61272         * scripts/check-execstack.awk: New file.
61273         * elf/Makefile ($(objpfx)check-execstack): Target removed.
61274         (check-execstack-CFLAGS): Variable removed.
61275         ($(objpfx)check-execstack.h): Target removed.
61276         ($(objpfx)execstack-default): New target.
61277         (generated): Add that instead of check-execstack.h.
61278         ($(all-built-dso:=.phdr)): New static pattern rule.
61279         (generated): Add those targets.
61280         * elf/check-execstack.c: File removed.
61282         * scripts/check-textrel.awk: New file.
61283         * elf/Makefile ($(objpfx)check-textrel): Target removed.
61284         (check-textrel-CFLAGS): Variable removed.
61285         (all-built-dso): Use := to define.o
61286         ($(all-built-dso:=.dyn)): New static pattern rule.
61287         (generated): Add those targets.
61288         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
61289         * config.make.in (READELF): New substituted variable.
61290         * elf/check-textrel.c: File removed.
61292 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61294         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61295         allow.
61296         * conform/data/ctype.h-data [C99-based standards] (isblank):
61297         Expect function.
61298         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
61299         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
61300         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61301         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
61302         Specify type.  Require positive value.
61303         (EILSEQ): Likewise.
61304         (ERANGE): Likewise.
61305         [ISO || POSIX] (EILSEQ): Do not expect.
61306         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
61307         Specify type.  Require positive value.
61308         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
61309         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
61310         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
61311         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
61312         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
61313         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
61314         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
61315         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
61316         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
61317         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
61318         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
61319         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
61320         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
61321         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
61322         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
61323         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
61324         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
61325         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
61326         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
61327         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
61328         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
61329         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
61330         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
61331         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
61332         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
61333         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
61334         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
61335         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
61336         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
61337         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
61338         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
61339         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
61340         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
61341         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
61342         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
61343         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
61344         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
61345         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
61346         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
61347         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
61348         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
61349         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
61350         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
61351         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
61352         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
61353         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
61354         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
61355         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
61356         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
61357         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
61358         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
61359         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
61360         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
61361         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
61362         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
61363         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
61364         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
61365         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
61366         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
61367         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
61368         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
61369         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
61370         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
61371         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
61372         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
61373         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
61374         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
61375         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
61376         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
61377         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
61378         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
61379         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
61380         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
61381         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
61382         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
61383         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
61384         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
61385         Require >= 2.
61386         (FLT_ROUNDS): Expect as macro, not constant.
61387         (FLT_MANT_DIG): Use macro-int-constant.
61388         (DBL_MANT_DIG): Likewise.
61389         (LDBL_MANT_DIG): Likewise.
61390         (FLT_DIG): Likewise.
61391         (DBL_DIG): Likewise.
61392         (LDBL_DIG): Likewise.
61393         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
61394         (DBL_MIN_EXP): Likewise.
61395         (LDBL_MIN_EXP): Likewise.
61396         (FLT_MAX_EXP): Use macro-int-constant.
61397         (DBL_MAX_EXP): Likewise.
61398         (LDBL_MAX_EXP): Likewise.
61399         (FLT_MAX_10_EXP): Likewise.
61400         (DBL_MAX_10_EXP): Likewise.
61401         (LDBL_MAX_10_EXP): Likewise.
61402         (FLT_MAX): Use macro-constant.
61403         (DBL_MAX): Likewise.
61404         (LDBL_MAX): Likewise.
61405         (FLT_EPSILON): Use macro-constant.  Give upper bound.
61406         (DBL_EPSILON): Likewise.
61407         (LDBL_EPSILON): Likewise.
61408         (FLT_MIN): Likewise.
61409         (DBL_MIN): Likewise.
61410         (LDBL_MIN): Likewise.
61411         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
61412         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
61413         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
61414         [ISO11] (FLT_HAS_SUBNORM): Likewise.
61415         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
61416         [ISO11] (DBL_DECIMAL_DIG): Likewise.
61417         [ISO11] (FLT_DECIMAL_DIG): Likewise.
61418         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
61419         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
61420         [ISO11] (FLT_TRUE_MIN): Likewise.
61421         [ISO11] (LDBL_TRUE_MIN): Likewise.
61422         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61423         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
61424         (SCHAR_MIN): Use macro-int-constant.  Specify type.
61425         (SCHAR_MAX): Likewise.
61426         (UCHAR_MAX): Likewise.
61427         (CHAR_MIN): Likewise.
61428         (CHAR_MAX): Likewise.
61429         (MB_LEN_MAX): Use macro-int-constant.
61430         (SHRT_MIN): Use macro-int-constant.  Specify type.
61431         (SHRT_MAX): Likewise.
61432         (USHRT_MAX): Likewise.
61433         (INT_MAX): Likewise.
61434         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
61435         bound negative.
61436         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61437         bound with "U".
61438         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61439         bound with "L".
61440         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
61441         bound negative.  Suffix upper bound with "L".
61442         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61443         bound with "UL".
61444         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
61445         Specify type.
61446         [C99-based standards] (LLONG_MAX): Likewise.
61447         [C99-based standards] (ULLONG_MAX): Likewise.
61448         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
61449         == 0.
61450         [ISO11] (max_align_t): Require type.
61451         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61453         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
61454         from $CFLAGS, without defining away __attribute__ calls.
61455         (checknamespace): Use $CFLAGS_namespace.
61457         * conform/conformtest.pl (@keywords): Only include C99 keywords
61458         for standards based on C99 or C11.
61460         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
61461         Disable tests.
61462         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
61463         UNIX98]: Likewise.
61465         * conform/conformtest.pl: Handle "macro-int-constant" and test for
61466         usability of symbols in #if.
61468         * conform/conformtest.pl: If macro or constant types start
61469         "promoted:", expect the symbol to be of the following type
61470         promoted by the integer promotions.
61472         * conform/conformtest.pl: Parse all "constant" and "macro" lines
61473         in one place.  Also handle "macro-constant".
61475         * conform/conformtest.pl: Only accept expected macro values with
61476         "==".  Parse all "macro" lines in one place.
61477         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
61479         * conform/conformtest.pl: Handle braced types on "constant" lines
61480         instead of handling "typed-constant".
61481         * conform/data/signal.h-data: Use "constant" instead of
61482         "typed-constant".
61484         * conform/conformtest.pl: Handle "optional-" at start of lines in
61485         one place rather than duplicating several cases.  Handle each
61486         format of "macro" line with initial "optional-".
61488         * conform/conformtest.pl: Only accept expected constant or
61489         optional-constant values with "==".  Parse all "constant" lines in
61490         one place.  Parse all "optional-constant" lines in one place.
61491         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
61492         * conform/data/fmtmsg.h-data: Likewise.
61493         * conform/data/netinet/in.h-data: Likewise.
61494         * conform/data/tar.h-data: Likewise.
61495         * conform/data/limits.h-data: Use "==" form on "constant" and
61496         "optional-constant" lines.
61498         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
61499         Use -std=c99 for XOPEN2K.
61500         (@knownproblems): Remove.
61501         (newtoken): Don't check %isknown.
61503         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
61504         Do not expect macro.
61505         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
61506         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
61507         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
61508         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
61509         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
61510         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
61511         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
61512         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
61513         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
61514         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
61515         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
61516         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
61517         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
61518         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
61519         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
61520         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
61521         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
61522         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
61523         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
61524         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
61525         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
61526         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
61527         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
61528         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
61529         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
61530         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
61531         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
61532         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
61533         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
61534         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
61535         [XPG3] (acosh): Likewise.
61536         [XPG3] (asinh): Likewise.
61537         [XPG3] (atanh): Likewise.
61538         [XPG3] (cbrt): Likewise.
61539         [XPG3] (expm1): Likewise.
61540         [XPG3] (ilogb): Likewise.
61541         [XPG3] (log1p): Likewise.
61542         [XPG3] (logb): Likewise.
61543         [XPG3] (nextafter): Likewise.
61544         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
61545         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
61546         [XPG3] (remainder): Likewise.
61547         [XPG3] (rint): Likewise.
61548         [XPG3 || XPG4 || UNIX98] (round): Likewise.
61549         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
61550         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
61551         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
61552         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
61553         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
61554         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
61555         [UNIX98 || XOPEN2K] (scalb): Expect.
61556         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
61557         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
61558         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
61559         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
61560         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
61561         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
61562         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
61563         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
61564         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
61565         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
61566         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
61567         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
61568         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
61569         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
61570         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
61571         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
61572         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
61573         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
61574         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
61575         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
61576         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
61577         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
61578         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
61579         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
61580         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
61581         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
61582         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
61583         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
61584         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
61585         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
61586         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
61587         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
61588         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
61589         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
61590         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
61591         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
61592         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
61593         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
61594         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
61595         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
61596         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
61597         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
61598         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
61599         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
61600         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
61601         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
61602         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
61603         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
61604         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
61605         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
61606         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
61607         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
61608         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
61609         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
61610         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
61611         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
61612         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
61613         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
61614         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
61615         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
61616         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
61617         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
61618         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
61619         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
61620         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
61621         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
61622         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
61623         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
61624         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
61625         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
61626         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
61627         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
61628         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
61629         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
61630         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
61631         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
61632         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
61633         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
61634         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
61635         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
61636         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
61637         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
61638         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
61639         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
61640         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
61641         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
61642         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
61643         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
61644         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
61645         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
61646         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
61647         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
61648         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
61649         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
61650         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
61651         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
61652         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
61653         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
61654         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
61655         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
61656         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
61657         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
61658         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
61659         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
61660         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
61661         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
61662         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
61663         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
61664         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
61665         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
61666         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
61667         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
61668         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
61669         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
61670         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
61671         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
61672         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
61673         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
61674         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
61675         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
61676         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
61677         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
61678         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
61679         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
61680         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
61681         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
61682         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
61683         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
61684         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
61685         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
61686         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
61687         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
61688         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
61689         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
61690         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
61691         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
61692         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
61694         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
61695         _XOPEN_SOURCE_EXTENDED for XPG4.
61697         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
61699         * Makeconfig (localtime): Remove variable.
61700         (inst_localtime-file): Likewise.
61702 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
61705         Update.
61706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61707         Update.
61708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
61709         Update.
61710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61711         Update.
61712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
61713         Update.
61714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
61715         Update.
61716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61717         Update.
61718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
61719         Update.
61720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61721         Update.
61723 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61725         [BZ #2550]
61726         [BZ #2570]
61727         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
61728         comparisons to determine direction to adjust input.
61729         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
61730         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
61731         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
61732         Likewise.
61733         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
61734         Likewise.
61735         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61736         Likewise.
61737         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
61738         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
61739         Likewise.
61740         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
61741         Likewise.
61742         * math/libm-test.inc (nexttoward_test): Add more tests.
61744 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61746         [BZ #14040]
61747         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
61748         in version GLIBC_2.1, not GLIBC_2.0.
61749         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
61750         Likewise.
61752 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
61754         [BZ #13942]
61755         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
61756         (1 - x) * (1 + x).
61757         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61758         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
61759         * math/libm-test.inc (acos_test): Add more tests.
61760         (asin_test): Likewise.
61761         * sysdeps/i386/fpu/libm-test-ulps: Update.
61762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61764         [BZ #14034]
61765         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
61766         of square root.
61767         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
61768         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61769         * math/libm-test.inc (acos_test_tonearest): New function.
61770         (acos_test_towardzero): Likewise.
61771         (acos_test_downward): Likewise.
61772         (acos_test_upward): Likewise.
61773         (asin_test_tonearest): Likewise.
61774         (asin_test_towardzero): Likewise.
61775         (asin_test_downward): Likewise.
61776         (asin_test_upward): Likewise.
61777         (main): Call the new functions.
61778         * sysdeps/i386/fpu/libm-test-ulps: Update.
61779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61781         [BZ #13884]
61782         [BZ #13924]
61783         * math/e_exp10.c: Include <float.h>.
61784         (__ieee754_exp10): Handle underflow here rather than multiplying
61785         large negative argument by M_LN10.
61786         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
61787         of __ieee754_expf.
61788         * math/e_exp10l.c: Include <float.h>.
61789         (__ieee754_exp10l): Handle underflow here rather than multiplying
61790         large negative argument by M_LN10l.
61791         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
61792         spurious overflow exception on underflow.
61794 2012-04-29  Marek Polacek  <polacek@redhat.com>
61796         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
61797         (__fortify_function): New macro.
61798         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
61799         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
61800         __extern_always_inline.
61801         * libio/bits/stdio2.h: Likewise.
61802         * libio/bits/stdio.h: Likewise.
61803         * string/string.h: Likewise.
61804         * string/bits/string3.h: Likewise.
61805         * include/stdio.h: Likewise.
61806         * stdlib/bits/stdlib.h: Likewise.
61807         * stdlib/stdlib.h: Likewise.
61808         * rt/bits/mqueue2.h: Likewise.
61809         * rt/mqueue.h: Likewise.
61810         * posix/bits/unistd.h: Likewise.
61811         * posix/unistd.h: Likewise.
61812         * io/bits/poll2.h: Likewise.
61813         * io/bits/fcntl2.h: Likewise.
61814         * io/fcntl.h: Likewise.
61815         * io/sys/poll.h: Likewise.
61816         * misc/bits/syslog.h: Likewise.
61817         * misc/bits/syslog-ldbl.h: Likewise.
61818         * misc/sys/syslog.h: Likewise.
61819         * socket/bits/socket2.h: Likewise.
61820         * socket/sys/socket.h: Likewise.
61821         * debug/tst-chk1.c: Likewise.
61822         * wcsmbs/bits/wchar2.h: Likewise.
61823         * wcsmbs/bits/wchar-ldbl.h: Likewise.
61824         * wcsmbs/wchar.h: Likewise.
61826 2012-04-29  Andreas Jaeger  <aj@suse.de>
61828         * Makerules (tests): Remove enable-check-abi protection.
61829         (check-abi-warn): Remove.
61830         (check-abi-%): Remove check-abi-warn usage.
61832         * configure.in: Remove check-abi configure option.
61833         * configure: Regenerated.
61834         * config.make.in (enable-check-abi): Remove.
61836 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
61838         [BZ #14033]
61839         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61840         double functions to double *_finite functions.
61842         [BZ #13941]
61843         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61844         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61845         LDBL_MIN_EXP.
61846         * stdio-common/Makefile (tests): Add tst-sprintf3.
61847         * stdio-common/tst-sprintf3.c: New file.
61849         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61850         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61852 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61854         * conform/conformtest.pl: Remove duplicate typed-constant
61855         handling.
61857 2012-04-28  David S. Miller  <davem@davemloft.net>
61859         * Makerules (%.abilist): Add vpath on sysdep_dirs.
61860         (check-abi-%): Remove AWK script prerequisite and explicit
61861         abilist directory.
61862         (check-abi): Rewrite to just diff the symlist with the abilist.
61863         (config-tls, config-abi-config): Delete, no longer used.
61864         (update-abi-%): Remove AWK script and explicit abilist directory.
61865         (update-abi): Rewrite to simply compare and conditionally copy the
61866         symlist and the sysdep abilist file.  Remove update-abi-config
61867         checks.
61868         * abilist/ld.abilist: Remove.
61869         * abilist/libBrokenLocale.abilist: Remove.
61870         * abilist/libanl.abilist: Remove.
61871         * abilist/libcrypt.abilist: Remove.
61872         * abilist/libdl.abilist: Remove.
61873         * abilist/librt.abilist: Remove.
61874         * abilist/libthread_db.abilist: Remove.
61875         * abilist/libutil.abilist: Remove.
61876         * scripts/extract-abilist.awk: Remove.
61877         * scripts/merge-abilist.awk: Remove.
61878         * sysdeps/generic/libcidn.abilist: New file.
61879         * sysdeps/generic/libnss_compat.abilist: New file.
61880         * sysdeps/generic/libnss_db.abilist: New file.
61881         * sysdeps/generic/libnss_dns.abilist: New file.
61882         * sysdeps/generic/libnss_files.abilist: New file.
61883         * sysdeps/generic/libnss_hesiod.abilist: New file.
61884         * sysdeps/generic/libnss_nis.abilist: New file.
61885         * sysdeps/generic/libnss_nisplus.abilist: New file.
61886         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61887         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
61888         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
61889         file.
61890         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
61891         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
61892         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
61893         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
61894         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
61895         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
61896         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61897         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
61898         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
61899         file.
61900         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
61901         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
61902         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
61903         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
61904         file.
61905         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
61906         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
61907         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
61908         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
61909         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
61910         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
61911         file.
61912         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
61913         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
61914         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
61915         file.
61916         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61917         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
61918         New file.
61919         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
61920         New file.
61921         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
61922         New file.
61923         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
61924         New file.
61925         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
61926         New file.
61927         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
61928         New file.
61929         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
61930         New file.
61931         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
61932         New file.
61933         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
61934         New file.
61935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
61936         New file.
61937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
61938         New file.
61939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
61940         New file.
61941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
61942         New file.
61943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
61944         file.
61945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
61946         New file.
61947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
61948         New file.
61949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
61950         file.
61951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
61952         New file.
61953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
61954         New file.
61955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
61956         file.
61957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
61958         New file.
61959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61960         New file.
61961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61962         New file.
61963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61964         New file.
61965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61966         New file.
61967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
61968         New file.
61969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
61970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
61971         file.
61972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
61973         New file.
61974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
61975         file.
61976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
61977         file.
61978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
61979         file.
61980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
61981         file.
61982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
61983         file.
61984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61985         New file.
61986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
61987         file.
61988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
61989         file.
61990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
61991         New file.
61992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
61993         file.
61994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
61995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
61996         file.
61997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61998         New file.
61999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
62000         file.
62001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
62002         file.
62003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
62004         file.
62005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
62006         file.
62007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
62008         file.
62009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62010         New file.
62011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
62012         file.
62013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
62014         file.
62015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
62016         New file.
62017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
62018         file.
62019         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62020         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
62021         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
62022         file.
62023         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
62024         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
62025         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
62026         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
62027         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
62028         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
62029         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
62030         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
62031         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
62032         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
62033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
62034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
62035         file.
62036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
62037         New file.
62038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
62039         file.
62040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
62041         file.
62042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
62043         file.
62044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
62045         file.
62046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
62047         file.
62048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62049         New file.
62050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
62051         New file.
62052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
62053         file.
62054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
62055         New file.
62056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
62057         file.
62058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
62059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
62060         file.
62061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
62062         New file.
62063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
62064         file.
62065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
62066         file.
62067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
62068         file.
62069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
62070         file.
62071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
62072         file.
62073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62074         New file.
62075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
62076         New file.
62077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
62078         file.
62079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
62080         New file.
62081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
62082         file.
62084 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62086         * conform/conformtest.pl: Fix typo in handling typed-constant from
62087         allow-header.
62089 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62091         * README: Cut down references to pre-2.6 Linux kernels and
62092         Linuxthreads.  Update lists of configurations in libc and ports
62093         and sort alphabetically.  Say "or newer" with Linux kernel version
62094         requirements.
62096         * config.h.in [IS_IN_build]: Allow compiling without optimization.
62098 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62100         [BZ #887]
62101         * math/libm-test.inc (logb_test_downward): New test to expose
62102         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
62103         rounding mode.
62105 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62107         [BZ #14027]
62108         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
62109         to be done.
62110         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
62111         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
62113 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
62115         * sysdeps/unix/i386/brk.S: Remove file.
62116         * sysdeps/unix/i386/dl-brk.S: Likewise.
62117         * sysdeps/unix/i386/pipe.S: Likewise.
62118         * sysdeps/unix/i386/sigreturn.S: Likewise.
62119         * sysdeps/unix/i386/syscall.S: Likewise.
62120         * sysdeps/unix/i386/vfork.S: Likewise.
62121         * sysdeps/unix/i386/wait.S: Likewise.
62123         * sysdeps/unix/common/tcsendbrk.c: Move to ...
62124         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
62126         * configure.in (arm*-none*): Do not allow without
62127         --enable-hacker-mode.
62128         (netbsd*): Remove case setting base_os.
62129         (386bsd*): Likewise.
62130         (freebsd*): Likewise.
62131         (bsdi*): Likewise.
62132         (osf*): Likewise.
62133         (sunos*): Likewise.
62134         (ultrix*): Likewise.
62135         (newsos*): Likewise.
62136         (dynix*): Likewise.
62137         (*bsd*): Likewise.
62138         (sysv*): Likewise.
62139         (isc*): Likewise.
62140         (esix*): Likewise.
62141         (sco*): Likewise.
62142         (minix*): Likewise.
62143         (irix4*): Likewise.
62144         (irix6*): Likewise.
62145         (solaris[2-9]*): Likewise.
62146         (none): Likewise.
62147         * configure: Regenerated.
62149 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62151         [BZ #11521]
62152         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
62153         overflow or cancellation in calculating denominator.
62154         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
62155         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
62156         down expression to avoid unexpected rounding in newer GCCs.
62157         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
62159 2012-04-26  David S. Miller  <davem@davemloft.net>
62161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
62162         long-double compat symbols.
62163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
62167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
62169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
62170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
62171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
62172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
62173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
62174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
62175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62177 2012-04-25  David S. Miller  <davem@davemloft.net>
62179         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
62180         HWCAP_* values only after the memory barriers have been defined.
62181         (atomic_full_barrier): Define.
62182         (atomic_read_barrier): Define.
62183         (atomic_write_barrier): Define.
62185 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62187         * shlib-versions: Add libgcc_s version information.
62188         * sysdeps/generic/libgcc_s.h: Remove.
62189         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
62190         libgcc_s.h.
62191         * sysdeps/gnu/unwind-resume.c: Likewise.
62192         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
62194 2012-04-25  David S. Miller  <davem@davemloft.net>
62196         * sysdeps/unix/sparc/brk.S: Delete.
62197         * sysdeps/unix/sparc/dl-brk.S: Delete.
62198         * sysdeps/unix/sparc/pipe.S: Delete.
62199         * sysdeps/unix/sparc/sysdep.S: Delete.
62200         * sysdeps/unix/sparc/sysdep.h: Delete.
62201         * sysdeps/unix/sparc/vfork.S: Delete.
62202         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
62203         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
62204         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
62205         (ret_ERRVAL, r0, r1, MOVE): Define.
62206         (JUMPTARGET): Remove.
62207         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
62208         sysdeps/unix/sparc/sysdep.h
62209         (ENTRY, END): Remove.
62210         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62212 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
62214         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
62215         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
62216         -DIS_IN_build.
62218         * timezone/README: Update upstream location and email address for
62219         tzcode and tzdata.
62220         * timezone/zdump.c: Update from tzcode 2012b.
62221         * timezone/zic.c: Likewise.
62223         * configure.in (libc_cv_as_needed): Remove test.
62224         * configure: Regenerated.
62225         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
62226         conditional definition.
62227         [$(have-as-needed) != yes] (no-as-needed): Likewise.
62228         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
62229         * config.make.in (have-as-needed): Remove variable.
62231 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62232             Paul Pluzhnikov  <ppluzhnikov@google.com>
62234         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
62235         strings correctly.
62237 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
62239         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
62240         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
62241         * sysdeps/sh/strlen.S: Likewise.
62243 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62245         * sysdeps/unix/fork.S: Remove file.
62246         * sysdeps/unix/i386/fork.S: Likewise.
62247         * sysdeps/unix/sparc/fork.S: Likewise.
62249         * sysdeps/unix/system.c: Remove file.
62250         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
62252         * sysdeps/unix/getegid.S: Remove file.
62253         * sysdeps/unix/geteuid.S: Likewise.
62255 2012-04-24  Roland McGrath  <roland@hack.frob.com>
62257         * scripts/check-localplt.awk: New file.
62258         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
62259         of diff.
62260         * scripts/data/localplt-generic.data: Add a comment.
62262         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
62263         NODE when __dir_mkfile failed.
62264         * sysdeps/mach/hurd/symlinkat.c: Likewise.
62265         Reported by Ludovic Courtès <ludo@gnu.org>.
62267 2012-04-24  Andreas Jaeger  <aj@suse.de>
62269         * Makerules (common-clean): Also remove gen-as-const-headers
62270         files.
62272 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62274         * Makerules (native-compile): Do not change working directory for
62275         build.  Use $(OUTPUT_OPTION) in command.
62276         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
62278 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62280         [BZ #13886]
62281         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
62282         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
62283         * math/libm-test.inc (floor_test): Add more tests.
62284         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
62286 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62288         * sysdeps/unix/getdents.c: Remove file.
62289         * sysdeps/unix/sysv/getdents.c: Likewise.
62290         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
62292         * sysdeps/unix/syscalls.list (madvise): Add syscall from
62293         sysdeps/unix/mman/syscalls.list.
62294         (mmap): Likewise.
62295         (mprotect): Likewise.
62296         (msync): Likewise.
62297         (munmap): Likewise.
62298         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
62299         * sysdeps/unix/mman/syscalls.list: Remove.
62300         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
62302         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
62303         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
62304         * configure: Regenerated.
62305         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
62306         $(libgcc_s_suffix).
62307         * config.make.in (libgcc_s_suffix): Remove variable.
62309 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
62311         * sysdeps/unix/sysv/gethostname.c: Move to ...
62312         * sysdeps/posix/gethostname.c: ... here.
62314         * sysdeps/unix/execve.S: Remove file.
62316         * sysdeps/unix/_exit.S: Remove file.
62318 2012-04-23  Andreas Jaeger  <aj@suse.de>
62320         [BZ #13739]
62321         * manual/Makefile: Remove make dist support, there's no
62322         need for a stand-alone documentation tar ball.
62323         (TEXI2DVI): Define always, it's not in Makeconfig.
62324         (dist): Removed.
62325         (tar-it): Removed.
62326         (edition): Removed.
62327         (glibc-doc-$(edition).tar): Removed
62328         (%.Z): Removed.
62329         (%.gz): Removed.
62330         (%.uu): Removed.
62331         (ETAGS): Remove, it's in Makeconfig.
62332         (move-if-change): Remove, it's in Makeconfig.
62334 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
62336         [BZ #13970]
62337         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
62338         (strtod, strtof, strtold, strtol, strtoul, strtoq)
62339         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
62340         (strtod_l, strtof_l, strtold_l): Remove __wur.
62341         It is not necessarily an error to ignore strtol's return value.
62342         One can reliably look at the stored endptr to decide whether
62343         the number had valid syntax.
62345 2012-04-21  Andreas Jaeger  <aj@suse.de>
62347         [BZ #13739]
62348         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
62350 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
62352         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
62353         * sysdeps/unix/sysv/Versions: Remove file.
62355 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
62357         [BZ #13927]
62358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62360 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
62362         [BZ #7064]
62363         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
62364         version from __vm86.
62366 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
62368         * sysdeps/unix/common/lxstat.c: Remove file.
62369         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
62371         * sysdeps/unix/sysv/Makefile: Remove file.
62373         * sysdeps/unix/sysv/direct.h: Remove file.
62375         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
62376         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
62377         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
62378         * sysdeps/unix/sysv/bits/signum.h: Likewise.
62379         * sysdeps/unix/sysv/bits/stat.h: Likewise.
62380         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
62381         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
62383         * sysdeps/unix/sysv/setrlimit.c: Remove file.
62385         * sysdeps/unix/xmknod.c: Remove file.
62386         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
62388         * sysdeps/unix/sysv/settimeofday.c: Remove file.
62390         * sysdeps/unix/sysv/i386/time.S: Remove file.
62392         * sysdeps/unix/fxstat.c: Remove file.
62393         * sysdeps/unix/xstat.c: Likewise.
62394         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
62396         * sysdeps/unix/sysv/sigaction.c: Remove file.
62398         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
62399         (sysdep_headers): Remove variable.
62400         [termio.h not in sysdep_headers] (generated): Likewise.
62401         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
62402         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
62403         * sysdeps/unix/sysv/tcdrain.c: Likewise.
62404         * sysdeps/unix/sysv/tcflow.c: Likewise.
62405         * sysdeps/unix/sysv/tcflush.c: Likewise.
62406         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
62407         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
62408         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
62409         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
62410         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
62412         * sysdeps/unix/siglist.c: Remove file.
62414         * sysdeps/unix/getppid.S: Remove file.
62416         * sysdeps/unix/mkdir.c: Remove file.
62417         * sysdeps/unix/rmdir.c: Likewise.
62419 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
62421         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
62422         ERR_MAX value.
62423         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
62424         errlist-compat value.
62426 2012-04-18  David S. Miller  <davem@davemloft.net>
62428         * sysdeps/generic/memcopy.h (reg_char): Delete.
62429         * debug/strcat_chk.c: Use char, not reg_char.
62430         * debug/strcpy_chk.c: Likewise.
62431         * debug/strncat_chk.c: Likewise.
62432         * debug/strncpy_chk.c: Likewise.
62433         * string/memchr.c: Likewise.
62434         * string/memrchr.c: Likewise.
62435         * string/rawmemchr.c: Likewise.
62436         * string/strcat.c: Likewise.
62437         * string/strchr.c: Likewise.
62438         * string/strchrnul.c: Likewise.
62439         * string/strcmp.c: Likewise.
62440         * string/strcpy.c: Likewise.
62441         * string/strncat.c: Likewise.
62442         * string/strncmp.c: Likewise.
62443         * string/strncpy.c: Likewise.
62445 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62447         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
62448         __builtin_memcopy is called when src and dest ranges are known to not
62449         overlap.
62451 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62453         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
62454         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
62455         fwd_align_merge macro call.
62456         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
62457         bwd_align_merge macro call.
62458         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62460 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62462         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
62463         bwd_align_merge macros.
62464         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
62465         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
62466         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62468 2012-04-18  David S. Miller  <davem@davemloft.net>
62470         * sysdeps/sparc/sparc64/memcopy.h: Delete.
62472 2012-04-18  Andreas Jaeger  <aj@suse.de>
62474         [BZ# 6794]
62475         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
62476         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
62477         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62479         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
62480         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
62481         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62483         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
62484         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
62485         Adjust for changed ldbl-128 files.
62487         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
62488         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
62489         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62491 2012-04-17  David S. Miller  <davem@davemloft.net>
62493         * sysdeps/sparc/sparc32/memcopy.h: Delete.
62495 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
62497         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
62498         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
62499         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
62500         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
62501         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62502         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
62504 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62506         [BZ #6794]
62507         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
62508         * math/libm-test.inc: Add ilogb errno and exception tests.
62509         * math/w_ilogb.c: New file: ilogb wrapper.
62510         * math/w_ilogbf.c: New file: ilogbf wrapper.
62511         * math/w_ilogbl.c: New file: ilogbl wrapper.
62512         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
62513         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
62514         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
62515         exception being thrown with 0.0 as argument.
62516         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
62517         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
62518         exception being thrown with 0.0 as argument.
62519         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
62520         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62521         exception being thrown with 0.0 as argument.
62522         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
62523         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62524         exception being thrown with 0.0 as argument.
62525         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
62526         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
62527         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
62528         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
62529         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
62530         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
62531         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
62532         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
62533         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
62535 2012-04-17  Petr Baudis  <pasky@ucw.cz>
62537         * include/sys/uio.h: Change __vector to __iovec to avoid clash
62538         with altivec.
62540 2012-04-16  Marek Polacek  <polacek@redhat.com>
62542         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
62544 2012-04-16  Marek Polacek  <polacek@redhat.com>
62546         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
62547         operands of fdivp instruction.
62549 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
62551         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
62552         * elf/tst-auditmod3b.c: Likewise.
62553         * elf/tst-auditmod4b.c: Likewise.
62554         * elf/tst-auditmod5b.c: Likewise.
62555         * elf/tst-auditmod6b.c: Likewise.
62556         * elf/tst-auditmod6c.c: Likewise.
62557         * elf/tst-auditmod7b.c: Likewise.
62558         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
62559         * sysdeps/x86_64/preconfigure.in: Likewise.
62560         * sysdeps/x86_64/preconfigure: Regenerated.
62562 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
62564         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
62565         __ILP32__.
62567 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
62569         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62570         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
62572 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
62574         [BZ #13973]
62575         * locale/iso-639.def: Fix gl language name. Spotted by
62576         Yaron Shahrabani.
62578 2012-04-12  Roland McGrath  <roland@hack.frob.com>
62580         [BZ #2074]
62581         * libio/libio.h (__io_write_fn): Update comment.
62583 2012-04-12  Petr Baudis  <pasky@ucw.cz>
62585         [BZ #2074]
62586         * stdio.texi (Hook Functions): The user provided writer function
62587         is not allowed to return -1.
62589 2012-04-11  David S. Miller  <davem@davemloft.net>
62591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62593 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
62595         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
62596         Add a leading slash to rtkaio.
62598 2012-04-11  Jim Meyering  <meyering@redhat.com>
62600         [BZ #11959]
62601         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
62602         It is not necessarily an error to ignore fwrite's return
62603         value.  One can reliably use ferror to test for errors after
62604         the fact.
62606 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62608         * bits/types.h (__snseconds_t): New type.
62609         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
62611         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
62612         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62613         (__SNSECONDS_T_TYPE): Likewise.
62614         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62615         (__SNSECONDS_T_TYPE): Likewise.
62616         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62617         (__SNSECONDS_T_TYPE): Likewise.
62619 2012-04-10  Andreas Jaeger  <aj@suse.de>
62621         [BZ #2636]
62622         * manual/time.texi (Processor Time): Return type of times is
62623         elapsed real time since an arbitrary point in the past.
62624         (CPU Time): Move CLK_TCK from here...
62625         (Processor Time): ...to here.  Correct description.
62626         * manual/conf.texi (Constants for Sysconf): Correct description of
62627         _SC_CLK_TCK.
62629 2012-04-10  David S. Miller  <davem@davemloft.net>
62631         [BZ #13967]
62632         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
62633         where the is a gap between DT_REL(A) and DT_JMPREL.
62635 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62637         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
62638         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62639         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62641 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62643         * elf/dl-support.c (_dl_inhibit_cache): New variable.
62644         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
62645         (dl_main): Handle --inhibit-cache.
62646         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
62647         _dl_inhibit_cache.
62648         * elf/dl-load.c (_dl_map_object): Use it.
62649         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
62651 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62653         [BZ #13872]
62654         * sysdeps/i386/fpu/e_powl.S (p78): New object.
62655         (__ieee754_powl): Saturate large exponents rather than testing for
62656         overflow of y*log2(x).
62657         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62658         * math/libm-test.inc (pow_test): Do not permit spurious overflow
62659         exceptions.
62661         [BZ #11521]
62662         * math/s_ctan.c: Include <float.h>.
62663         (__ctan): Avoid internal overflow or cancellation in calculating
62664         denominator.
62665         * math/s_ctanf.c: Likewise.
62666         * math/s_ctanl.c: Likewise.
62667         * math/s_ctanh.c: Likewise.
62668         * math/s_ctanhf.c: Likewise.
62669         * math/s_ctanhl.c: Likewise.
62670         * math/libm-test.inc (ctan_test): Add more tests.
62671         (ctanh_test): Likewise.
62672         * sysdeps/i386/fpu/libm-test-ulps: Update.
62673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62675 2012-04-09  Andreas Jaeger  <aj@suse.de>
62677         [BZ #6894]
62678         * manual/filesys.texi (Directory Entries): Mention that d_namlen
62679         is an optional BSD extension.
62681         [BZ #10254]
62682         * manual/stdio.texi (Opening Streams): Document additional fopen
62683         parameters.
62685 2012-04-09  Roland McGrath  <roland@hack.frob.com>
62687         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
62688         %eax without telling the compiler.
62690 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
62692         [BZ # 13963]
62693         * manual/install.texi: Use sourceware.org.
62695 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62697         [BZ #13873]
62698         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
62699         (__ieee754_pow): Generate overflow and underflow using huge*huge
62700         and tiny*tiny rather than just returning constant infinity or zero
62701         for large exponents.
62702         * math/libm-test.inc (pow_test): Require overflow exceptions for
62703         applicable cases of large exponents.
62705         [BZ #706]
62706         * sysdeps/i386/fpu/e_pow.S (p10): New object.
62707         (__ieee754_pow): Use iterative multiplication algorithm only for
62708         integer exponents with absolute value below 1024.  Check for odd
62709         integer exponents when using algorithm for real exponents.
62710         * math/libm-test.inc (pow_test): Add more tests.
62711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62713 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
62715         [BZ #13705]
62716         * math/libm-test.inc (exp_test): Do not allow overflow exception
62717         on underflow test.
62719 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
62721         [BZ #13705]
62722         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
62723         instead of __kernel_standard_f.
62725 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
62727         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
62728         * sysdeps/x86_64/memset_chk.S: Likewise.
62730 2012-04-08  Andreas Jaeger  <aj@suse.de>
62732         [BZ #10153]
62733         * manual/startup.texi (Environment Access): Describe return value
62734         for putenv and setenv.
62736         [BZ #6895]
62737         * manual/filesys.texi (Directory Entries): Add description for
62738         DT_LNK.
62740         [BZ #6890]
62741         * manual/filesys.texi (Directory Entries): Clarify that it's file
62742         system not operating system in the description of DT_UNKNOWN.
62744         [BZ #6578]
62745         * manual/syslog.texi (closelog): Fix reference, it's openlog.
62747 2012-04-08  Stephen Compall  <s11@member.fsf.org>
62749         [BZ #6649]
62750         * manual/llio.texi (Opening and Closing Files): Add cross
62751         reference to explain mode argument.
62753 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
62755         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
62756         * sysdeps/x86_64/memset_chk.S: Likewise.
62758 2012-04-07  David S. Miller  <davem@davemloft.net>
62760         * elf/elf.h (R_SPARC_WDISP10): Define.
62761         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
62762         R_SPARC_SIZE32.
62763         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
62764         R_SPARC_SIZE64 and R_SPARC_H34.
62766 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
62768         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
62769         conditions and remove no longer applicable assertion.
62771 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62773         * bits/byteswap.h: Include <features.h>.
62774         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62775         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62777 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62779         * bits/byteswap.h (__bswap_16): Removed.
62780         Include <bits/byteswap-16.h> to get __bswap_16.
62781         * sysdeps/i386/bits/byteswap.h: Likewise.
62782         * sysdeps/s390/bits/byteswap.h: Likewise.
62783         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62784         * bits/byteswap-16.h: New file.
62785         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62786         * sysdeps/s390/bits/byteswap-16.h: Likewise.
62787         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
62788         * string/Makefile (headers): Add bits/byteswap-16.h.
62790 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62792         [BZ #13895]
62793         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
62794         extra indirection.
62795         * nss/Makefile (tests-static, tests): Add tst-nss-static.
62796         * nss/tst-nss-static.c: New.
62798 2012-04-06  Robert Millan  <rmh@gnu.org>
62800         [BZ #6486]
62801         * manual/llio.texi (File Position Primitive): lseek
62802         refers to WHENCE when it really means OFFSET.
62804 2012-04-06  Andreas Jaeger  <aj@suse.de>
62806         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
62807         strncmp declarations.
62809         * abilist/libc.abilist: Add __poll and __ppoll.
62811 2012-04-05  David S. Miller  <davem@davemloft.net>
62813         * scripts/check-local-headers.sh: Accept a host triplet in the
62814         path matched by the exclude regexp.
62816         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62817         definition.
62818         * sysdeps/powerpc/powerpc32/dl-machine.h
62819         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62820         * sysdeps/s390/s390-32/dl-machine.h
62821         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62822         * sysdeps/sparc/sparc32/dl-machine.h
62823         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62824         * sysdeps/sparc/sparc64/dl-machine.h
62825         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62827         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62828         lazy binding.
62829         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62830         undefined symbol errors.
62832         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62833         DT_NEEDED entries.
62835 2012-04-05  Michael Matz  <matz@suse.de>
62837         [BZ #13592]
62838         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62840 2012-04-05  Andreas Jaeger  <aj@suse.de>
62842         [BZ #13908]
62843         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62844         comment.
62846 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62848         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62849         which ROUND is no valid rounding mode.
62851 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62853         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62854         read again.
62855         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62857 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62859         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62860         an exception using FPU order intentionally.
62862 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62864         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62865         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62866         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62867         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62869 2012-04-05  Simon Josefsson  <simon@josefsson.org>
62871         [BZ #12340]
62872         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
62873         EINVAL when BUFLEN is too smal.
62875 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62877         [BZ #13553]
62878         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
62879         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
62881 2012-04-03  Andreas Jaeger  <aj@suse.de>
62883         [BZ #13938]
62884         * manual/setjmp.texi (System V contexts): Fix sentence.
62886         [BZ #13926]
62887         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
62888         New macro for this case.
62889         [!__GNUC__] (__bswap_64): New inline function for this case.
62890         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62891         * bits/byteswap.h: Likewise.
62892         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
62893         ull, guard with __GLIBC_HAVE_LONG_LONG.
62895         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
62896         __GLIBC_HAVE_LONG_LONG.
62898         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
62899         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
62901 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62903         [BZ #13691]
62904         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
62905         inptr and inend, rather than using last_ch.
62907 2012-04-02  David S. Miller  <davem@davemloft.net>
62909         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
62910         * stdio-common/printf-parse.h (read_int): Change return type to
62911         'int', return -1 on INT_MAX overflow.
62912         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
62913         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
62914         overflows INT_MAX.  Check for overflow of in-format-string precision
62915         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
62916         SIZE_MAX not INT_MAX for integer overflow test.
62917         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
62918         skip the construct in the format string but do not record anything.
62919         * stdio-common/bug22.c: Adjust to test both width/prevision
62920         INT_MAX overflow as well as total length INT_MAX overflow.  Check
62921         explicitly for proper errno values.
62923 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62925         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
62926         CHAR_MAX.
62927         * string/test-strcmp.c [! WIDE]: Likewise.
62928         * time/tst-mktime2.c: Likewise for INT_MAX.
62929         * string/test-string.h: #include <sys/param.h> for MIN.
62931         * csu/init-first.c (__libc_init_first): Call __ctype_init.
62932         * sysdeps/i386/init-first.c (init): Likewise.
62933         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
62934         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
62935         * sysdeps/sh/init-first.c (init): Likewise.
62937 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
62939         * po/ru.po: Update from translation team.
62940         * po/vi.po: Likewise.
62942 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62944         * resolv/nss_dns/dns-host.c: Merge copyright years.
62946 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62948         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62949         Optimize memcpy with prefetch if
62950         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
62951         src, dst pointers have unequal 16 byte alignments.
62953 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62955         [BZ #13928]
62956         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
62957         from a CNAME entry and return the minimum ttl for the query.
62958         (gaih_getanswer_slice): Likewise.
62960 2012-03-30  Jeff Law  <law@redhat.com>
62962         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62963         due to long keys.
62964         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62965         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62967         * resolv/nss_dns/dns-host.c: Update copyright year.
62969 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
62971         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
62972         requests to save a system call.  Fix check that all bytes are sent.
62974         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
62975         comments for sendmmsg.
62977 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62979         [BZ #13691]
62980         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
62981         with only 1 character between 0x0041 and 0x01b0.
62982         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
62983         * wcsmbs/tst-mbsnrtowcs.c: New file.
62985 2012-03-29  David S. Miller  <davem@davemloft.net>
62987         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
62988         small copies by hand.
62990 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62992         [BZ #13761]
62993         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
62994         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
62995         group memberships.
62997 2012-03-28  David S. Miller  <davem@davemloft.net>
62999         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
63000         that branches into memcpy.
63001         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63002         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
63003         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63004         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
63005         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
63006         bits.
63007         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
63008         implementation too.
63009         * sysdeps/sparc/mempcpy.S: New file.
63011         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
63012         the IFUNC routine in the libc case.
63013         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63015         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
63016         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
63017         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
63018         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
63019         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
63020         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
63021         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
63022         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
63024         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
63025         loop to 256 bytes instead of 64 bytes and fix test signedness.
63027         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
63028         * sysdeps/sparc/sparc32/Makefile: rather than here...
63029         * sysdeps/sparc/sparc64/Makefile: and here.
63031 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
63033         * malloc/mallocbug.c: Avoid warnings about unused variables.
63035 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63037         [BZ #13760]
63038         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
63039         in the right place. Discard and retry query if response is
63040         larger than input buffer size.
63042 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
63044         [BZ #369]
63045         [BZ #2678]
63046         [BZ #3866]
63047         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
63048         x for large integer exponent.
63049         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
63050         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
63051         sign of result as needed afterwards.
63052         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
63053         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
63054         result for underflowing pow the same as for overflow.
63055         (__kernel_standard_l): Handle powl overflow and underflow here
63056         rather than calling __kernel_standard.
63057         * math/libm-test.inc (pow_test): Add more tests.
63059         [BZ #3868]
63060         [BZ #13879]
63061         [BZ #13910]
63062         [BZ #13911]
63063         [BZ #13912]
63064         [BZ #13913]
63065         [BZ #13915]
63066         [BZ #13916]
63067         [BZ #13917]
63068         [BZ #13918]
63069         [BZ #13919]
63070         [BZ #13920]
63071         [BZ #13921]
63072         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
63073         * sysdeps/ieee754/k_standard.c: Include <float.h>.
63074         (__kernel_standard_l): New function.
63075         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
63076         __kernel_standard.
63077         * math/w_acosl.c (__acosl): Likewise.
63078         * math/w_asinl.c (__asinl): Likewise.
63079         * math/w_atan2l.c (__atan2l): Likewise.
63080         * math/w_atanhl.c (__atanhl): Likewise.
63081         * math/w_coshl.c (__coshl): Likewise.
63082         * math/w_exp10l.c (__exp10l): Likewise.
63083         * math/w_exp2l.c (__exp2l): Likewise.
63084         * math/w_fmodl.c (__fmodl): Likewise.
63085         * math/w_hypotl.c (__hypotl): Likewise.
63086         * math/w_j0l.c (__j0l, __y0l): Likewise.
63087         * math/w_j1l.c (__j1l, __y1l): Likewise.
63088         * math/w_jnl.c (__jnl, __ynl): Likewise.
63089         * math/w_lgammal.c (__lgammal): Likewise.
63090         * math/w_log10l.c (__log10l): Likewise.
63091         * math/w_log2l.c (__log2l): Likewise.
63092         * math/w_logl.c (__logl): Likewise.
63093         * math/w_powl.c (__powl): Likewise.
63094         * math/w_remainderl.c (__remainderl): Likewise.
63095         * math/w_scalbl.c (sysv_scalbl): Likewise.
63096         * math/w_sinhl.c (__sinhl): Likewise.
63097         * math/w_sqrtl.c (__sqrtl): Likewise.
63098         * math/w_tgammal.c (__tgammal): Likewise.
63099         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
63100         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
63101         * math/libm-test.inc (acos_test): Add more tests.
63102         (acosh_test): Likewise.
63103         (asin_test): Likewise.
63104         (atanh_test): Likewise.
63105         (exp_test): Likewise.
63106         (exp10_test): Likewise.
63107         (exp2_test): Likewise.
63108         (expm1_test): Likewise.
63109         (lgamma_test): Likewise.
63110         (log_test): Likewise.
63111         (log10_test): Likewise.
63112         (log1p_test): Likewise.
63113         (log2_test): Likewise.
63114         (pow_test): Do not allow some spurious overflow exceptions.
63115         (sqrt_test): Add more tests.
63116         (tgamma_test): Likewise.
63117         (y0_test): Likewise.
63118         (y1_test): Likewise.
63119         (yn_test): Likewise.
63121 2012-03-27  Anton Blanchard  <anton@samba.org>
63123         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
63124         MAP_HUGETLB.
63125         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63126         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63127         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63129 2012-03-27  David S. Miller  <davem@davemloft.net>
63131         * conform/Makefile: Run run-conformtest.sh using $(BASH).
63133         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
63134         have-as-vis3 check.
63136 2012-03-27  Andreas Jaeger  <aj@suse.de>
63138         * sysdeps/x86_64/elf/configure.in: Moved to ...
63139         * sysdeps/x86_64/configure.in: ... here.
63140         * sysdeps/x86_64/elf/start.S: Moved to ...
63141         * sysdeps/x86_64/start.S: ... here.
63142         * sysdeps/x86_64/elf/configure: Delete.
63144         * sysdeps/x86_64/configure.in: Merge contents from
63145         sysdeps/i386/configure.in (without i686 check).
63147         * sysdeps/i386/elf/Versions: Merge into ...
63148         * sysdeps/i386/Versions: ... this.
63149         * sysdeps/i386/elf/Versions: Delete file.
63150         * sysdeps/i386/elf/start.S: Moved to ...
63151         * sysdeps/i386/start.S: ...here.
63152         * sysdeps/i386/elf/configure.in: Merge into...
63153         * sysdeps/i386/configure.in: ...here.
63154         * sysdeps/i386/elf/configure.in: Delete file.
63155         * sysdeps/i386/elf/configure: Delete file.
63157         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
63158         * debug/backtracesyms.c: ... here.
63159         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
63160         * debug/backtracesymsfd.c: ... here.
63161         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
63162         * sysdeps/generic/ifunc-sel.h: ... here.
63164         * sysdeps/unix/i386/start.c: Delete file.
63165         * sysdeps/unix/sparc/start.c: Delete file.
63166         * sysdeps/unix/start.c: Delete file.
63168         * sysdeps/sh/elf/configure.in: Moved to ...
63169         * sysdeps/sh/configure.in: ... here.
63170         * sysdeps/sh/elf/start.S: Moved to ...
63171         * sysdeps/sh/start.S: ... here.
63172         * sysdeps/sh/elf/configure: Delete file.
63174         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
63175         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
63176         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
63177         * sysdeps/powerpc/powerpc64/entry.h: ... here.
63178         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
63179         * sysdeps/powerpc/powerpc64/start.S: here.
63180         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
63181         * sysdeps/powerpc/powerpc64/Makefile: ... this.
63182         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
63183         * sysdeps/powerpc/powerpc64/configure.in: ... this.
63184         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
63186         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
63187         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
63188         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
63189         * sysdeps/powerpc/powerpc32/start.S: ... here.
63190         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
63191         * sysdeps/powerpc/powerpc32/configure.in: ... this.
63192         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
63194         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
63195         * sysdeps/powerpc/ifunc-sel.h: ... here.
63196         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
63197         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
63199         * sysdeps/sparc/elf/configure.in: Moved to ...
63200         * sysdeps/sparc/configure.in: ... here.
63201         * sysdeps/sparc/elf/configure: Delete file.
63202         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
63203         * sysdeps/sparc/sparc32/start.S: ... here.
63204         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
63205         * sysdeps/sparc/sparc64/start.S: ... here.
63206         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
63207         * sysdeps/sparc/sparc32/Makefile: ... this.
63208         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
63209         * sysdeps/sparc/sparc64/Makefile: ... this.
63211         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
63212         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
63213         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
63214         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
63215         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
63216         * sysdeps/s390/s390-32/setjmp.S: ... here.
63217         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
63218         * sysdeps/s390/s390-32/configure.in: ... here.
63219         * sysdeps/s390/s390-32/elf/configure: Delete file.
63220         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
63221         * sysdeps/s390/s390-32/start.S: ... here.
63223         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
63224         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
63225         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
63226         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
63227         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
63228         * sysdeps/s390/s390-64/setjmp.S: ... here.
63229         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
63230         * sysdeps/s390/s390-64/configure.in: ... here
63231         * sysdeps/s390/s390-64/elf/configure: Delete file.
63232         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
63233         * sysdeps/s390/s390-64/start.S: ... here.
63234         * sysdeps/s390/s390-64/elf/configure: Delete.
63236         * configure.in: Remove support for elf directories in sysdeps.
63238         * configure: Regenerated.
63239         * sysdeps/i386/configure: Regenerated.
63240         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63241         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63242         * sysdeps/s390/s390-32/configure: Regenerated.
63243         * sysdeps/s390/s390-64/configure: Regenerated.
63244         * sysdeps/sh/configure: Regenerated.
63245         * sysdeps/sparc/configure: Regenerated.
63246         * sysdeps/x86_64/configure: Regenerated.
63248 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
63250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63252         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
63253         denormal result into account.
63255 2012-03-25  Roland McGrath  <roland@hack.frob.com>
63257         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
63258         Reported by Allan McRae <allan@archlinux.org>.
63260 2012-03-23  Jeff Law  <law@redhat.com>
63262         * nss/getnssent.c (__nss_getent): Fix typo.
63264 2012-03-23  David S. Miller  <davem@davemloft.net>
63266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63268 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
63270         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
63271         to pad to uint64_t for each field.
63272         (dl_tls_index): Replace unsigned long with uint64_t.
63274 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
63275         Paul Pluzhnikov  <ppluzhnikov@google.com>
63277         [BZ #6528]
63278         * grp/Makefile (otherlibs): Don't set it.
63279         * inet/Makefile (otherlibs): Likewise.
63280         * login/Makefile (otherlibs): Likewise.
63281         * nscd/Makefile (otherlibs): Likewise.
63282         * posix/Makefile (otherlibs): Likewise.
63283         * pwd/Makefile (otherlibs): Likewise.
63284         * rt/Makefile (otherlibs): Likewise.
63285         * sunrpc/Makefile (otherlibs): Likewise.
63286         * nss/Makefile (otherlibs): Likewise.
63287         Add libnss_files to routines and static-only-routines.
63288         ($(objpfx)getent): Remove rule.
63289         * resolv/Makefile: Add libnss_dns and libresolv to routines and
63290         static-only-routines.
63292 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
63294         [BZ #13892]
63295         * math/s_cexp.c: Include <float.h>.
63296         (__cexp): Handle exp result overflowing not necessarily
63297         overflowing both real and imaginary parts of result.
63298         * math/s_cexpf.c: Likewise.
63299         * math/s_cexpl.c: Likewise.
63300         * math/libm-test.inc (cexp_test): Add more tests.
63301         * sysdeps/i386/fpu/libm-test-ulps: Update.
63302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63304 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63306         * include/link.h (ELFW): New macro.
63307         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
63308         Replace ELF64_R_TYPE with ELFW(R_TYPE).
63310 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63312         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
63313         with uint64_t.
63315 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63317         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
63318         declaration.
63319         (struct La_x32_retval): Likewise.
63321 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63323         * sysdeps/x86_64/preconfigure.in: New file.
63324         * sysdeps/x86_64/preconfigure: New generated file.
63326 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
63328         [BZ #13824]
63329         * math/e_exp2l.c: Include <float.h>.
63330         (__ieee754_exp2l): Handle overflow and underflow cases
63331         separately.  Only pass fractional part of argument to
63332         __ieee754_expl.
63333         * math/libm-test.inc (exp2_test): Add more tests.
63335         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
63336         negating x to take absolute value.
63337         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
63338         Likewise.
63339         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63340         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
63341         Likewise.
63342         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
63343         computing low part if x was negated.
63344         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63346 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63348         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
63349         la_x32_gnu_pltexit.
63350         (pltexit): Cast int_retval to ptrdiff_t.
63351         * elf/tst-auditmod3b.c: Likewise.
63352         * elf/tst-auditmod4b.c: Likewise.
63353         * elf/tst-auditmod5b.c: Likewise.
63354         * elf/tst-auditmod6b.c: Likewise.
63355         * elf/tst-auditmod6c.c: Likewise.
63356         * elf/tst-auditmod7b.c: Likewise.
63358         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
63359         and x32_gnu_pltexit.
63361         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
63362         __ELF_NATIVE_CLASS.
63363         (La_x32_regs): New macro.
63364         (La_x32_retval): Likewise.
63365         (la_x32_gnu_pltenter): New function prototype.
63366         (la_x32_gnu_pltexit): Likewise.
63368 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
63370         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
63371         exponent.
63373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63375         * configure.in (libc_cv_cc_nofma): Check for option to disable
63376         generation of FMA instructions.
63377         * configure: Regenerate.
63378         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
63379         * sysdeps/ieee754/dbl-64/Makefile: New file.
63380         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
63381         Remove brandred-fma4.
63382         (CFLAGS-brandred-fma4.c): Remove.
63383         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
63384         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
63385         define.
63386         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
63387         define.
63389 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63391         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63392         LLONG_MAX != LONG_MAX.
63393         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63394         (_fitoa_word): Likewise.
63395         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
63396         LLONG_MAX != LONG_MAX.
63397         * stdio-common/_itowa.h: Include <_itoa.h>.
63398         (_itowa_word): Use _ITOA_WORD_TYPE on value.
63399         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
63400         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
63401         only if not defined.
63402         (_ITOA_WORD_TYPE): Likewise.
63403         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63404         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
63406 2012-03-21  David S. Miller  <davem@davemloft.net>
63408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63410 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63412         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
63413         of x86_64 when setting libc_cv_slibdir, libdir and
63414         libc_cv_localedir.
63415         * sysdeps/unix/sysv/linux/configure: Regenerated.
63417 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63419         * manual/lang.texi (Old Varargs): Remove section.
63420         (How Variadic): Update menu.
63421         (va_start): Do not mention varargs.h.
63423 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63424             Joseph Myers  <joseph@codesourcery.com>
63426         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
63427         link test.
63428         * configure: Regenerated.
63430 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63432         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
63433         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
63434         conformtest.pl
63436 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63438         * NOTES: Remove.
63439         * Makefile (files-for-dist): Remove NOTES.
63440         (NOTES): Remove rule.
63441         * README: Don't refer to NOTES.
63442         * manual/creature.texi: Don't include macros.texi.
63443         * manual/intro.texi (creature.texi): Remove comment referring to
63444         NOTES.
63446         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
63447         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
63448         * configure: Regenerated.
63449         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
63450         LIBC_TRY_CC_OPTION.
63451         (libc_cv_as_i686): Likewise.
63452         (libc_cv_cc_avx): Likewise.
63453         (libc_cv_cc_sse2avx): Likewise.
63454         (libc_cv_cc_fma4): Likewise.
63455         (libc_cv_cc_novzeroupper): Likewise.
63456         * sysdeps/i386/configure: Regenerated.
63458         [BZ #13883]
63459         * sysdeps/i386/fpu/s_cexp.S: Remove.
63460         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63461         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63462         * math/libm-test.inc (cexp_test): Add more tests.
63463         * sysdeps/i386/fpu/libm-test-ulps: Update.
63464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63466 2012-03-21  Allan McRae  <allan@archlinux.org>
63468         * timezone/Makefile: Do not install iso3166.tab and zone.tab
63470 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63472         [BZ #13871]
63473         * math/w_exp2.c: Do not include <float.h>.
63474         (o_threshold, u_threshold): Remove.
63475         (__exp2): Calculate result before checking finiteness and calling
63476         __kernel_standard.
63477         * math/w_exp2f.c: Likewise.
63478         * math/w_exp2l.c: Likewise.
63479         * math/libm-test.inc (exp2_test): Require overflow exception for
63480         1e6 input.
63482         [BZ #3866]
63483         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
63484         range of signed 64-bit integers before using fistpll.  Remove
63485         checks for whether integers fit in mantissa bits.
63486         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
63487         the range of signed 32-bit integers before using fistpl.  Remove
63488         checks for whether integers fit in mantissa bits.
63489         * sysdeps/i386/fpu/e_powl.S (p64): New object.
63490         (__ieee754_powl): Test for y outside the range of signed 64-bit
63491         integers before using fistpll.  Reduce 64-bit values to 63-bit
63492         ones as needed.
63493         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
63494         divide-by-zero is raised for zero to large negative powers.
63495         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
63496         (__ieee754_powl): Test for y outside the range of signed 64-bit
63497         integers before using fistpll.  Reduce 64-bit values to 63-bit
63498         ones as needed.
63499         * math/libm-test.inc (pow_test): Add more tests.
63501 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63503         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
63504         <stdio-common/_itoa.h>.
63505         * debug/segfault.c: Likewise.
63506         * elf/dl-cache.c: Likewise.
63507         * elf/dl-minimal.c: Likewise.
63508         * elf/dl-misc.c: Likewise.
63509         * elf/dl-sysdep.c: Likewise.
63510         * elf/dl-version.c: Likewise.
63511         * elf/rtld.c: Likewise.
63512         * hurd/hurdsock.c: Likewise.
63513         * hurd/lookup-retry.c: Likewise.
63514         * malloc/malloc.c: Likewise.
63515         * malloc/mtrace.c: Likewise.
63516         * nscd/nscd_getgr_r.c: Likewise.
63517         * nscd/nscd_getpw_r.c: Likewise.
63518         * nscd/nscd_getserv_r.c: Likewise.
63519         * posix/getopt_init.c: Likewise.
63520         * posix/wordexp.c: Likewise.
63521         * stdio-common/_itoa.c: Likewise.
63522         * stdio-common/printf_fphex.c: Likewise.
63523         * stdio-common/vfprintf.c: Likewise.
63524         * string/_strerror.c: Likewise.
63525         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
63526         * sysdeps/i386/i686/hp-timing.h: Likewise.
63527         * sysdeps/mach/_strerror.c: Likewise.
63528         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
63529         * sysdeps/mach/hurd/sethostid.c: Likewise.
63530         * sysdeps/mach/hurd/xmknodat.c: Likewise.
63531         * sysdeps/mach/xpg-strerror.c: Likewise.
63532         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63533         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
63534         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
63535         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
63536         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
63537         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
63538         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
63539         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
63540         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
63541         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
63542         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
63543         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63544         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
63545         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
63546         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
63547         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
63548         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
63549         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
63550         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
63551         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
63552         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
63554         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
63556         * stdio-common/_itoa.h: Moved to ...
63557         * sysdeps/generic/_itoa.h: Here.
63559         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
63561         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
63562         instead of "_itoa.h" and "_itowa.h".
63563         * stdio-common/vfprintf.: Likewise.
63565 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63567         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
63568         <bits/wordsize.h>.
63569         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
63570         (__signbit): Likwise.
63571         (llrintf): Likwise.
63572         (llrint): Likwise.
63574 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63576         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
63577         __WORDSIZE != 64.
63579 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
63581         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
63582         OVERFLOW_EXCEPTION_OK.
63583         * math/libm-test.inc ("Philosophy"): Update comment about
63584         exception testing.
63585         (OVERFLOW_EXCEPTION): Define.
63586         (OVERFLOW_EXCEPTION_OK): Likewise.
63587         (INVALID_EXCEPTION_OK): Renumber.
63588         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63589         (IGNORE_ZERO_INF_SIGN): Likewise.
63590         (test_exceptions): Handle FE_OVERFLOW.
63591         (exp10_test): Expect overflow exceptions.
63592         (exp2_test): Likewise.
63593         (expm1_test): Likewise.
63594         (nextafter_test): Likewise.
63595         (pow_test): Likewise.
63596         (scalbn_test): Likewise.
63597         (scalbln_test): Likewise.
63599 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63601         * sysdeps/x86_64/bits/atomic.h
63602         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
63603         64bit integer.
63604         (atomic_exchange_acq): Likewise.
63605         (__arch_exchange_and_add_body): Likewise.
63606         (__arch_add_body): Likewise.
63607         (atomic_add_negative): Likewise.
63608         (atomic_add_zero): Likewise.
63610 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63612         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
63613         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
63615 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63617         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
63618         Check __x86_64__ instead of __WORDSIZE.
63620 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63622         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
63624 2012-03-19  David S. Miller  <davem@davemloft.net>
63626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63628         * sysdeps/sparc/fpu/fenv_private.h: New file.
63629         * sysdeps/sparc/fpu/math_private.h: Use it.
63630         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
63631         Remove.
63632         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
63633         (libc_feholdexcept_setroundl): Remove.
63634         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
63635         Remove.
63636         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
63637         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
63639 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63641         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
63642         int64_t instead of long int.
63643         (INSERT_WORDS64): Likwise.
63645 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63647         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
63648         _Unwind_GetCFA return to _Unwind_Ptr first.
63650 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
63652         [BZ #13629]
63653         * math/s_clog.c: Include <float.h>.
63654         (__clog): Scale large or subnormal inputs.
63655         * math/s_clogf.c: Likewise.
63656         * math/s_clogl.c: Likewise.
63657         * math/s_clog10.c: Include <float.h>.
63658         (M_LOG10_2): Define.
63659         (__clog10): Scale large or subnormal inputs.
63660         * math/s_clog10f.c: Likewise.
63661         * math/s_clog10l.c: Likewise.
63662         * math/libm-test.inc (clog_test): Add more tests.
63663         (clog10_test): Likewise.
63664         * sysdeps/i386/fpu/libm-test-ulps: Update.
63665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63667         [BZ #11451]
63668         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
63669         x and y.
63670         * math/libm-test.inc (atan2_test): Add another test.
63672         * Makerules (common-objdir-compile): Remove.
63673         * sysdeps/unix/Makefile (config-generated): Do not add
63674         $(unix-generated) to variable.
63675         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
63676         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
63677         Remove rule.
63678         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
63679         Likewise.
63680         [generic bits/local_lim.h] (before-compile): Do not append to
63681         variable.
63682         [generic bits/local_lim.h] (common-generated): Likewise.
63683         [generic sys/param.h] (before-compile): Do not append to variable.
63684         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
63685         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
63686         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
63687         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
63688         include.
63689         [generic sys/param.h] (sys/param.h-includes): Remove variable.
63690         [generic sys/param.h] (sys/param.h-includes): Remove rule.
63691         [generic sys/param.h] ($(addprefix
63692         $(common-objpfx),$(sys/param.h-includes))): Likewise.
63693         [generic sys/param.h] (common-generated): Do not append to
63694         variable.
63695         [generic sys/param.h] (sysdep_headers): Likewise.
63696         [generic bits/errno.h] (before-compile): Do not append to
63697         variable.
63698         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
63699         rule.
63700         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
63701         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
63702         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
63703         [generic bits/errno.h] (common-generated): Do not append to
63704         variable.
63705         [generic bits/ioctls.h] (before-compile): Do not append to
63706         variable.
63707         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
63708         rule.
63709         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
63710         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
63711         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
63712         rule.
63713         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
63714         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
63715         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
63716         [generic bits/ioctls.h] (common-generated): Do not append to
63717         variable.
63718         [generic sys/syscall.h] (syscall.h): Remove variable.
63719         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
63720         rule.
63721         [generic sys/syscall.h] (before-compile): Do not append to
63722         variable.
63723         [generic sys/syscall.h] (common-generated): Likewise.
63724         * sysdeps/unix/errnos-tmpl.c: Remove file.
63725         * sysdeps/unix/errnos.awk: Likewise.
63726         * sysdeps/unix/ioctls-tmpl.c: Likewise.
63727         * sysdeps/unix/ioctls.awk: Likewise.
63728         * sysdeps/unix/mk-local_lim.c: Likewise.
63729         * sysdeps/unix/snarf-ioctls: Likewise.
63731 2012-03-19  Richard Henderson  <rth@twiddle.net>
63733         * sysdeps/i386/fpu/fenv_private.h: New file.
63734         * sysdeps/i386/fpu/math_private.h: Use it.
63735         (math_opt_barrier, math_force_eval): Remove.
63736         (libc_feholdexcept_setround_53bit): Remove.
63737         (libc_feupdateenv_53bit): Remove.
63738         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63739         (math_opt_barrier, math_force_eval): Remove.
63740         (libc_feholdexcept): Remove.
63741         (libc_feholdexcept_setround): Remove.
63742         (libc_fetestexcept, libc_fesetenv): Remove.
63743         (libc_feupdateenv_test): Remove.
63744         (libc_feupdateenv, libc_feholdsetround): Remove.
63745         (libc_feresetround): Remove.
63747         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
63748         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
63750         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
63751         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
63752         (libc_feupdateenv_testl): New.
63753         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
63754         (libc_feupdateenv_testf): New.
63755         (libc_feupdateenv): Use libc_feupdateenv_test.
63756         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
63757         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
63759         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
63760         (libc_feholdsetroundf, libc_feholdsetroundl): New.
63761         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
63762         (libc_feresetround_noex): New.
63763         (libc_feresetround_noexf): New.
63764         (libc_feresetround_noexl): New.
63765         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
63766         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
63767         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
63768         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
63769         SET_RESTORE_ROUND.
63770         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63771         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
63772         (__cos): Likewise.
63773         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
63774         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
63775         SET_RESTORE_ROUND_NOEX.
63776         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
63777         SET_RESTORE_ROUND_NOEXF.
63778         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
63779         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
63780         (libc_feholdsetroundf): New.
63781         (libc_feresetround, libc_feresetroundf): New.
63783         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
63784         (libc_feholdexcept_setround_53bit): Convert from macro to function.
63785         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
63787         * sysdeps/generic/math_private.h: Include <fenv.h>.
63788         (default_libc_feholdexcept): New.
63789         (default_libc_feholdexcept_setround): New.
63790         (default_libc_fesetenv, default_libc_feupdateenv): New.
63791         (libc_feholdexcept): Only define if undefined.
63792         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
63793         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
63794         (libc_feholdexcept_setroundl): Likewise.
63795         (libc_feholdexcept_setround_53bit): Likewise.
63796         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
63797         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
63798         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
63799         (libc_feupdateenv_53bit): Likewise.
63800         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
63801         (libc_feholdexcept): Convert from macro to inline function.
63802         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
63803         (libc_fesetenv, libc_feupdateenv): Likewise.
63805         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
63806         not previously defined.
63807         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
63808         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
63809         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63810         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
63811         * sysdeps/ieee754/flt-32/math_private.h: New file.
63812         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63813         math_private.h below SET_FLOAT_WORD.
63814         (__isnan, __isinf_ns, __finite): Remove.
63815         (__isnanf, __isinf_nsf, __finitef): Remove.
63817 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
63819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63821 2012-03-17  David S. Miller  <davem@davemloft.net>
63823         [BZ #6471]
63824         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63825         for 2.16.
63827 2012-03-16  David S. Miller  <davem@davemloft.net>
63829         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63830         warnings.
63832         [BZ #6471]
63833         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63834         properly.
63835         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63836         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63837         sysdep_routines when subdir is sysvipc.
63838         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63839         __getshmlba helper.
63841         * sysdeps/sparc/fpu/libm-test/ulps: Update.
63843 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63845         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63846         [__LP64__].
63848 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63850         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63851         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63852         (__lround): Renamed to ...
63853         (__llround): This.  Replace long int with long long int.
63854         Define lround functions as aliases of llround functions.
63855         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63857 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63859         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63860         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
63861         adresses to uintptr_t.  Replace "long int" and "unsigned long
63862         int" with "greg_t" on va_arg.
63864 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63866         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63867         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63869         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63870         Move e_machine check before EI_CLASS check.  Handle x32
63871         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
63872         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
63873         SKIP_EM_IA_64 and include
63874         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
63876         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
63877         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
63878         (add_system_dir): New macro.
63880         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
63881         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
63883 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63885         [BZ #2551]
63886         [BZ #2552]
63887         [BZ #2553]
63888         [BZ #2554]
63889         [BZ #2562]
63890         [BZ #2563]
63891         [BZ #2565]
63892         [BZ #2566]
63893         [BZ #2576]
63894         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
63895         (y0): Likewise.
63896         * math/w_j0f.c (j0f): Likewise.
63897         (y0f): Likewise.
63898         * math/w_j0l.c (__j0l): Likewise.
63899         (__y0l): Likewise.
63900         * math/w_j1.c (j1): Likewise.
63901         (y1): Likewise.
63902         * math/w_j1f.c (j1f): Likewise.
63903         (y1f): Likewise.
63904         * math/w_j1l.c (__j1l): Likewise.
63905         (__y1l): Likewise.
63906         * math/w_jn.c (jn): Likewise.
63907         (yn): Likewise.
63908         * math/w_jnf.c (jnf): Likewise.
63909         (ynf): Likewise.
63910         * math/w_jnl.c (__jnl): Likewise.
63911         (__ynl): Likewise.
63912         * math/libm-test.inc (j0_test): Add more tests.
63913         (j1_test): Likewise.
63914         (jn_test): Likewise.  Add trailing semicolon to existing test.
63915         (y0_test): Likewise.
63916         (y1_test): Likewise.
63917         * sysdeps/i386/fpu/libm-test-ulps: Update.
63918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63920         [BZ #13851]
63921         [BZ #13854]
63922         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
63923         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
63924         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
63925         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
63926         (__tanl): Set errno for infinite argument.
63927         * sysdeps/i386/fpu/mptan.c: Remove.
63928         * sysdeps/i386/fpu/s_tan.S: Likewise.
63929         * sysdeps/i386/fpu/s_tanl.S: Likewise.
63930         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
63931         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
63932         * math/libm-test.inc (tan_test): Add more tests and enable more
63933         tests for double and long double.
63934         * sysdeps/i386/fpu/libm-test-ulps: Update.
63935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63937 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
63939         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
63940         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
63942 2012-03-16  Roland McGrath  <roland@hack.frob.com>
63944         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
63945         * configure.in: Use it for both main tree and add-ons.
63946         * configure: Regenerated.
63948 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63950         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
63952 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63954         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
63955         in comment.
63957         [BZ #13851]
63958         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
63959         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63960         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63961         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63962         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63963         infinite argument.
63964         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63965         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63966         != 0 for prec == 2.
63967         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
63968         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
63969         * sysdeps/i386/fpu/s_cosl.S: Likewise.
63970         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
63971         * sysdeps/i386/fpu/s_sinl.S: Likewise.
63972         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
63973         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
63974         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
63975         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
63976         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
63977         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
63978         * math/libm-test.inc (cos_test): Add more tests and enable more
63979         tests for long double.
63980         (sin_test): Likewise.
63981         (sincos_test): Likewise.
63982         * sysdeps/i386/fpu/libm-test-ulps: Update.
63983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63985 2012-03-16  David S. Miller  <davem@davemloft.net>
63987         * sysdeps/sparc/fpu/math_private.h: New file.
63989 2012-03-15  David S. Miller  <davem@davemloft.net>
63991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
63992         file.
63993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
63994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
63995         file.
63996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
63997         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63998         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63999         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
64000         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
64001         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
64002         sysdep routines.
64003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64005         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
64006         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
64008         * sysdeps/sparc/sparc-ifunc.h: New file.
64009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
64010         sparc-ifunc.h
64011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
64013         Likewise.
64014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
64015         Likewise.
64016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
64017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
64018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64020         Likewise.
64021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
64023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
64025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
64026         Likewise.
64027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
64028         Likewise.
64029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
64031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
64032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
64033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64035         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
64036         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
64037         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64038         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64039         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
64040         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
64041         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
64042         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
64043         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
64044         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
64045         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
64046         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
64047         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
64048         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
64049         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
64050         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
64051         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
64052         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
64054 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64056         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
64057         scaling.
64058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64060 2012-03-15  Andreas Jaeger  <aj@suse.de>
64062         [BZ #13852]
64063         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
64064         ieee754/flt-32 implementation for sin, cos and sincos.
64065         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
64066         * sysdeps/i386/fpu/s_cosf.S: Likewise.
64067         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
64068         * sysdeps/i386/fpu/s_sinf.S: Likewise.
64069         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
64070         ieee754/flt-32 implementation for tan.
64072         * math/libm-test.inc (cos_test): Enable some large input tests for
64073         float as well
64074         (sin_test): Likewise.
64075         (sincos_test): Likewise.
64076         (tan_test): Add tests for large input.
64078         * sysdeps/i386/fpu/libm-test-ulps: Update.
64080 2012-03-15  Andreas Jaeger  <aj@suse.de>
64082         [BZ #13658]
64083         * math/libm-test.inc (cos_test): Add more test cases.
64084         (sin_test): Likewise.
64085         (sincos_test): Likewise.
64087 2012-03-15  Andreas Jaeger  <aj@suse.de>
64089         [BZ #13837]
64090         * math/libm-test.inc (cos_test): Add a test case for large input
64091         value.
64092         (sin_test): Likewise.
64093         (sincos_test): Likewise.
64095 2012-03-15  Andreas Jaeger  <aj@suse.de>
64096             Joseph Myers  <joseph@codesourcery.com>
64098         [BZ #13658]
64099         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
64100         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
64101         * sysdeps/i386/fpu/branred.c: Likewise.
64102         * sysdeps/i386/fpu/dosincos.c: Likewise.
64103         * sysdeps/i386/fpu/mpa.c: Likewise.
64104         * sysdeps/i386/fpu/s_cos.S: Likewise.
64105         * sysdeps/i386/fpu/s_sin.S: Likewise.
64106         * sysdeps/i386/fpu/s_sincos.S: Likewise.
64107         * sysdeps/i386/fpu/sincos32.c: Likewise.
64109         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
64110         Define.
64111         (libc_feupdateenv_53bit): Define.
64112         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
64113         Define.
64114         (libc_feupdateenv_53bit): Define.
64116         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
64117         53 bit (without extend i386 double precision).
64119         * math/libm-test.inc (sincos_test): Add tests for large input.
64120         (sin): Likewise.
64121         (cos): Likewise.
64123         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
64125 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64129 2012-03-15  David S. Miller  <davem@davemloft.net>
64131         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
64132         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
64133         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
64134         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
64135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
64136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
64137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
64138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
64139         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
64140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
64141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
64142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
64143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
64144         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
64145         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
64146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
64147         file.
64148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
64149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
64150         file.
64151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
64152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
64153         file.
64154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
64155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
64156         file.
64157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
64158         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
64159         fmin/fmax sysdep routines.
64160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64162 2012-03-14  David S. Miller  <davem@davemloft.net>
64164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
64165         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
64166         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
64167         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
64168         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
64169         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
64170         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
64171         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
64172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
64173         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
64174         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
64175         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
64176         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
64177         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
64178         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
64179         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
64180         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
64181         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
64182         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
64183         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
64184         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
64185         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
64186         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
64187         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
64188         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
64189         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
64190         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
64191         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
64192         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
64193         routines.
64194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
64195         file.
64196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
64197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
64198         file.
64199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
64200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
64201         file.
64202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
64203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
64204         file.
64205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
64206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
64207         file.
64208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
64209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
64210         file.
64211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
64212         file.
64213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
64214         file.
64215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
64216         file.
64217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
64218         New file.
64219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
64220         file.
64221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
64222         file.
64223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
64224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
64225         file.
64226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
64227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
64228         file.
64229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
64230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
64231         file.
64232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
64233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
64234         VIS3 routines.
64236         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64237         New file.
64239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64241         * sysdeps/sparc/configure.in: New file.
64242         * sysdeps/sparc/configure: Generate.
64243         * configure.in (libc_cv_sparc_as_vis3): Substitute.
64244         * configure: Regenerate.
64245         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
64246         * config.make.in (have-as-vis3): New.
64247         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
64248         available use -Av9d instead of -Av9a.
64249         * sysdeps/sparc/sparc64/Makefile: Likewise.
64250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
64251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
64252         New file.
64253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
64254         file.
64255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
64256         New file.
64257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
64258         file.
64259         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
64260         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
64261         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
64262         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
64263         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
64265         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
64266         fzeros/fnegs to load 0x80000000 into a float register instead of
64267         using the stack.
64268         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
64270 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
64272         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64273         bits/syscall.h.
64274         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
64275         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
64276         ($(inst_includedir)/bits/syscall.h): Remove rule.
64277         ($(objpfx)bits/syscall.d): Include instead of
64278         $(objpfx)syscall-list.d.
64279         (generated): Change syscall-list.h and syscall-list.d to
64280         bits/syscall.h and bits/syscall.d.
64282 2012-03-14  Roland McGrath  <roland@hack.frob.com>
64284         [BZ #13846]
64285         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
64287 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
64289         [BZ #13841]
64290         * math/s_csqrt.c: Include <float.h>.
64291         (__csqrt): Scale large or subnormal inputs.
64292         * math/s_csqrtf.c: Likewise.
64293         * math/s_csqrtl.c: Likewise.
64294         * math/libm-test.inc (csqrt_test): Add more tests.
64295         * sysdeps/i386/fpu/libm-test-ulps: Update.
64296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64298         [BZ #13840]
64299         * math/libm-test.inc (hypot_test): Add more tests.
64301 2012-03-13  David S. Miller  <davem@davemloft.net>
64303         [BZ #13840]
64304         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
64305         double-precision for the calculation instead of scaling.
64307 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
64309         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
64310         manipulate bits before adding and subtracting TWO52[sx].
64311         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
64312         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
64313         Likewise.
64314         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
64316 2012-03-13  David S. Miller  <davem@davemloft.net>
64318         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
64319         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
64320         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
64321         rtld-global-offsets.h
64322         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64324         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
64325         large parameters.
64327         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
64329         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
64330         'err' in the ifdef scope in which it is actually used.
64332         * nss/nss_db/db-init.c: Include string.h
64334 2012-03-12  David S. Miller  <davem@davemloft.net>
64336         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
64337         masking out of the most significant byte of random value used.
64338         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64339         Fix coding style in previous change.
64341         * sysdeps/unix/sysv/linux/kernel-features.h
64342         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
64343         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
64344         expression.
64345         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
64346         later.
64348 2012-03-11  David S. Miller  <davem@davemloft.net>
64350         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
64351         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
64352         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
64353         for 'resultvar' otherwise things get truncated on 64-bit.
64355         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64356         Fix masking out of the most significant byte of random value used.
64358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64360 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
64362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64364 2012-03-09  David S. Miller  <davem@davemloft.net>
64366         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
64367         variables with appropriate CPP guards.
64368         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
64369         from the frame pointer, not the stack pointer.  Correct layout
64370         comments.  Fix test on resulting framesize and the management of
64371         the outregs buffer for pltexit.  Preserve floating point return
64372         values across _dl_call_pltexit call.
64373         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
64374         framesize and the management of the outregs buffer for pltexit.
64375         Preserve floating point return values across _dl_call_pltexit
64376         call.
64377         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
64378         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
64379         (la_sparc64_gnu_pltexit): New functions.
64380         (print_exit): Fix format string for return register value.
64382 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
64384         * sunrpc/Makefile (others): Add rpcgen.
64385         ($(objpfx)rpcgen): Remove special build rule and dependency on
64386         libc.
64387         * sunrpc/rpcgen.c: New file.
64389 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
64391         [BZ #13673]
64392         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
64393         * stdio-common/bug-vfprintf-nargs.c: Likewise.
64394         * sysdeps/i386/crti.S: Likewise.
64395         * sysdeps/i386/crtn.S: Likewise.
64396         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
64397         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
64398         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
64399         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
64400         * sysdeps/sh/crti.S: Likewise.
64401         * sysdeps/sh/crtn.S: Likewise.
64402         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64404         [BZ #13673]
64405         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
64406         with URL.
64407         * locale/programs/locfile-kw.gperf: Likewise.
64408         * locale/programs/charmap-kw.h: Regenerated.
64409         * locale/programs/locfile-kw.h: Likewise.
64411         [BZ #13673]
64412         * intl/plural.y: Replace FSF snail mail address with URL.
64413         * intl/plural.c: Regenerated.
64415 2012-03-09  Richard Henderson  <rth@twiddle.net>
64417         * include/math_private.h: Remove file.
64418         * math/math_private.h: Move file ...
64419         * sysdeps/generic/math_private.h: ... here.
64421         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
64422         * sysdeps/powerpc/fpu/math_private.h: Likewise.
64423         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64425         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
64426         and <math_private.h>.
64427         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64428         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64429         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64430         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64431         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64432         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
64433         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64434         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64435         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64436         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64437         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64438         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64439         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64440         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64441         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64442         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64443         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64444         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64445         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64446         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64447         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64448         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64449         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64450         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64451         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
64452         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64453         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64454         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64455         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64456         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64457         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64458         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64459         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
64460         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64461         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64462         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64463         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64464         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64465         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64466         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64467         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
64468         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64469         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64470         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
64471         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
64472         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64473         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
64474         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
64475         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64476         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64477         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
64478         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
64479         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
64480         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64481         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
64482         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
64483         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64484         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
64485         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
64486         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
64487         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64488         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
64489         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64490         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64491         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
64492         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64493         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64494         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64495         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
64496         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
64497         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64498         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64499         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64500         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64501         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
64502         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
64503         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
64504         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64505         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
64506         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
64507         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64508         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
64509         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64510         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
64511         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64512         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
64513         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
64514         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
64515         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64516         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64517         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64518         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64519         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64520         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64521         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64522         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64523         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64524         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64525         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64526         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64527         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64528         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64529         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64530         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64531         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64532         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64533         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64534         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64535         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64536         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64537         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64538         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64539         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64540         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64541         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
64542         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64543         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64544         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64545         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64546         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64547         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64548         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64549         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64550         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
64551         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64552         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64553         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64554         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
64555         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64556         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
64557         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
64558         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64559         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64560         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
64561         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
64562         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64563         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64564         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64565         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
64566         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
64567         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64568         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64569         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64570         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
64571         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
64572         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64573         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64574         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64575         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
64576         * sysdeps/ieee754/k_standard.c: Likewise.
64577         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64578         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64579         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64580         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64581         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64582         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64583         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64584         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64585         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64586         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64587         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64588         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64589         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64590         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64591         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64592         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64593         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64594         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64595         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64596         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
64597         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
64598         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
64599         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64600         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64601         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64602         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
64603         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64604         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64605         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64606         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64607         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64608         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64609         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64610         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64611         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64612         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64613         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64614         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
64615         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
64616         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64617         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64618         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64619         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64620         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64621         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64622         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64623         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64624         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64625         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64626         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64627         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64628         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64629         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64630         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
64631         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64632         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64633         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
64634         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
64635         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64636         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64637         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64638         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64639         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64640         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64641         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64642         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64643         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64644         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64645         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64646         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64647         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64648         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64649         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64650         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64651         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64652         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64653         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
64654         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64655         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64656         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64657         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64658         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64659         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64660         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64661         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
64662         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64663         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64664         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
64665         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64666         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64667         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
64668         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64669         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
64670         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64671         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64672         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64673         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
64674         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
64675         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
64676         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
64677         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64678         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64679         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64680         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64681         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
64682         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64683         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64684         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
64685         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
64686         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64687         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64688         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64689         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64690         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64691         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64692         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64693         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64694         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64695         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64696         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64697         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64698         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64699         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64700         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64701         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64702         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
64703         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64704         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64705         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64706         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64707         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64708         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64709         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64710         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
64711         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64712         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64713         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
64714         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
64715         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64716         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
64717         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
64718         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64719         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
64720         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
64721         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64722         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64723         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64724         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64725         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64726         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
64727         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64728         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64729         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64730         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64731         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
64732         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
64733         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64734         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64735         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64736         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
64737         * sysdeps/ieee754/s_lib_version.c: Likewise.
64738         * sysdeps/ieee754/s_matherr.c: Likewise.
64739         * sysdeps/ieee754/s_signgam.c: Likewise.
64740         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64741         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64742         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
64743         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
64744         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
64745         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64746         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
64747         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
64748         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
64749         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
64750         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64751         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
64752         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64753         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64754         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
64755         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64756         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64757         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64758         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64759         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64760         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64762 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64764         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
64765         * sunrpc/rpc_main.c: Likewise.
64766         * sunrpc/rpc_svcout.c: Likewise.
64768 2012-03-09  David S. Miller  <davem@davemloft.net>
64770         * include/math_private.h: New file.
64772 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64774         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
64775         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
64776         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
64777         from <bits/socket_type.h>.
64778         (enum __socket_type): Don't define here.
64779         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
64780         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64781         bits/socket_type.h.
64783         [BZ #13566]
64784         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
64785         checking __USE_GNU.
64787         * Makerules ($(inst_includedir)/%.h): New rule.
64788         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
64789         (install-others): Remove variable setting.
64790         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
64792 2012-03-08  Richard Henderson  <rth@twiddle.net>
64794         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
64795         from macro to inline function; merge with the
64796         !__LIBC_INTERNAL_MATH_INLINES version.
64797         (__ieee754_sqrtf): Likewise.
64799         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
64800         to inline function.
64801         (__rintf, __floor, __floorf): Likewise.
64803         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
64804         macro to inline function.
64805         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
64807         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
64808         not <math/math_private.h>.
64810 2012-03-08  David S. Miller  <davem@davemloft.net>
64812         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64813         copyright year.
64814         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64816 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
64818         * resolv/gai_misc.c (handle_requests): Fix struct timespec
64819         normalization.
64820         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64821         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64823 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
64825         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
64826         be defined individually, they must be defined as a block.  Define
64827         S for printing a string instead of hidint the different by using a
64828         macro for adding the 'l'.
64829         * stdio-common/tst-fphex-wide.c: Adjust.
64831 2012-03-07  Marek Polacek  <polacek@redhat.com>
64833         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64835 2012-03-08  Marek Polacek  <polacek@redhat.com>
64837         [BZ #13806]
64838         * stdio-common/Makefile (tests): Add tst-fphex-wide.
64839         * stdio-common/tst-fphex.c: Define a few macros to make the
64840         test reusable.  Use them.
64841         * stdio-common/tst-fphex-wide.c: New file.
64843 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
64845         [BZ #6911]
64846         * manual/macros.texi (gnusystems): New macro.
64847         (nongnusystems): Likewise.
64848         (gnulinuxhurdsystems): Likewise.
64849         (gnuhurdsystems): Likewise..
64850         (gnulinuxsystems): Likewise.
64851         * manual/charset.texi: Use new macros or @theglibc{} to refer to
64852         variants of the GNU system, not "GNU system".
64853         * manual/conf.texi: Likewise.
64854         * manual/errno.texi: Likewise.  Update example of errno macro
64855         expansion.
64856         * manual/filesys.texi: Likewise.
64857         (getumask): Document as specific to GNU/Hurd.
64858         * manual/install.texi: Likewise.  Reword some references to
64859         GNU/Linux.
64860         * manual/intro.texi: Likewise.
64861         * manual/io.texi: Likewise.
64862         (File Name Portability): Detail which constraints are inapplicable
64863         to all GNU systems and which are only inapplicable to GNU/Hurd.
64864         * manual/job.texi: Likewise.
64865         * manual/llio.texi: Likewise.
64866         (O_NOCTTY): Document as present on GNU/Linux.
64867         * manual/maint.texi: Likewise.
64868         * manual/memory.texi: Likewise.
64869         * manual/pattern.texi: Likewise.
64870         * manual/pipe.texi: Likewise.
64871         * manual/process.texi: Likewise.
64872         * manual/resource.texi: Likewise.
64873         (RUSAGE_CHILDREN): Remove statement about specifying a particular
64874         child on GNU/Hurd.
64875         * manual/setjmp.texi: Likewise.
64876         * manual/signal.texi: Likewise.
64877         * manual/startup.texi: Likewise.
64878         * manual/stdio.texi: Likewise.
64879         * manual/terminal.texi: Likewise.
64880         (ONLCR): Document as POSIX.
64881         (OXTABS): Document availability on GNU/Linux as XTABS.
64882         (ONOEOT): Document availability separately from other bits.
64883         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
64884         * manual/time.texi: Likewise.
64885         * manual/users.texi: Likewise.
64886         * INSTALL: Regenerated.
64887         * sysdeps/gnu/errlist.c: Regenerated.
64889         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
64890         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
64891         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
64892         puts.
64893         * configure: Regenerated.
64895 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
64897         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
64898         default includes instead of AC_HEADER_CHECK.
64899         * sysdeps/i386/configure: Regenerated.
64901         [BZ #10716]
64902         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
64903         * math/s_cacoshf.c (__cacoshf): Likewise.
64904         * math/s_cacoshl.c (__cacoshl): Likewise.
64905         * math/s_casinh.c (__casinh): Set signs of result from argument.
64906         * math/s_casinhf.c (__casinhf): Likewise.
64907         * math/s_casinhl.c (__casinhl): Likewise.
64908         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
64909         (casinh_test): Add more tests.
64910         * sysdeps/i386/fpu/libm-test-ulps: Update.
64911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64913 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
64915         * po/zh_TW.po: Update from translation team.
64917         * login/Makefile (distribute): Remove variable.
64918         * catgets/Makefile: Likewise.
64919         * mach/Makefile: Likewise.
64920         * malloc/Makefile: Likewise.
64921         * misc/Makefile: Likewise.
64922         * iconv/Makefile: Likewise.
64923         * nscd/Makefile: Likewise.
64924         * hurd/Makefile: Likewise.
64925         * manual/Makefile: Likewise.
64926         * locale/Makefile: Likewise.
64927         * intl/Makefile: Likewise.
64928         * conform/Makefile: Likewise.
64929         * nss/Makefile: Likewise.
64930         * time/Makefile: Likewise.
64931         * soft-fp/Makefile: Likewise.
64932         * dirent/Makefile: Likewise.
64933         * gmon/Makefile: Likewise.
64934         * po/Makefile: Likewise.
64935         * rt/Makefile: Likewise.
64936         * socket/Makefile: Likewise.
64937         * math/Makefile: Likewise.
64938         * signal/Makefile: Likewise.
64939         * debug/Makefile: Likewise.
64940         * elf/Makefile: Likewise.
64941         * timezone/Makefile: Likewise.
64942         * stdlib/Makefile: Likewise.
64943         * iconvdata/Makefile: Likewise.
64944         * sunrpc/Makefile: Likewise.
64945         * io/Makefile: Likewise.
64946         * argp/Makefile: Likewise.
64947         * inet/Makefile: Likewise.
64948         * hesiod/Makefile: Likewise.
64949         * grp/Makefile: Likewise.
64950         * csu/Makefile: Likewise.
64951         * wctype/Makefile: Likewise.
64952         * crypt/Makefile: Likewise.
64953         * libio/Makefile: Likewise.
64954         * string/Makefile: Likewise.
64955         * nis/Makefile: Likewise.
64956         * resolv/Makefile: Likewise.
64957         * stdio-common/Makefile: Likewise.
64958         * wcsmbs/Makefile: Likewise.
64959         * dlfcn/Makefile: Likewise.
64960         * posix/Makefile: Likewise.
64962         [BZ #6959]
64963         * timezone/Makefile: Don't install timezone files, just the programs
64964         and scripts.
64966 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
64968         * nss/databases.def: Add missing gshadow entry.
64970         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
64972 2012-03-06  Marek Polacek  <polacek@redhat.com>
64974         [BZ #13726]
64975         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
64976         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
64977         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
64978         * stdio-common/tst-long-dbl-fphex.c: New file.
64980 2012-03-06  David S. Miller  <davem@davemloft.net>
64982         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64983         (set_obp_int): New function.
64984         (get_obp_int): New function.
64985         (__get_clockfreq_via_dev_openprom): Likewise.
64986         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
64987         Avoid unused variable warnings on 'val' and use builtin_expect.
64988         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
64989         __builtin_expect.
64990         (INLINE_CLONE_SYSCALL): Likewise.
64992 2012-03-05  David S. Miller  <davem@davemloft.net>
64994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64996 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
64998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65000         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
65001         only for |x| >= 40.
65002         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65004 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
65006         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
65007         Replace gettimeofday with __vdso_gettimeofday.
65009         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65010         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
65011         __vdso_clock_gettime and __vdso_getcpu.
65013         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
65014         time with __vdso_time.
65016 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65018         * manual/lang.texi (size_t): Note types to which size_t may be
65019         equivalent with the GNU C Library, but do not describe when
65020         differences between them are significant.
65022 2012-03-05  Andreas Jaeger  <aj@suse.de>
65024         * sysdeps/i386/fpu/libm-test-ulps: Update.
65026 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65028         [BZ #3976]
65029         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
65030         (__ieee754_pow): Save and restore rounding mode and use
65031         round-to-nearest for main computations.
65032         * math/libm-test.inc (pow_test_tonearest): New function.
65033         (pow_test_towardzero): Likewise.
65034         (pow_test_downward): Likewise.
65035         (pow_test_upward): Likewise.
65036         (main): Call the new functions.
65037         * sysdeps/i386/fpu/libm-test-ulps: Update.
65038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65040         [BZ #3976]
65041         * math/libm-test.inc (cosh_test_tonearest): New function.
65042         (cosh_test_towardzero): Likewise.
65043         (cosh_test_downward): Likewise.
65044         (cosh_test_upward): Likewise.
65045         (sinh_test_tonearest): Likewise.
65046         (sinh_test_towardzero): Likewise.
65047         (sinh_test_downward): Likewise.
65048         (sinh_test_upward): Likewise.
65049         (main): Call the new functions.
65050         * sysdeps/i386/fpu/libm-test-ulps: Update.
65051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65053 2012-03-05  Tom de Vries  <tom@codesourcery.com>
65055         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
65056         default stack guard is set in last bytes.
65057         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
65059 2012-03-05  Kees Cook  <keescook@chromium.org>
65061         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
65063         [BZ #13656]
65064         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
65065         possibly allocate from heap instead of stack.
65066         * stdio-common/bug-vfprintf-nargs.c: New file.
65067         * stdio-common/Makefile (tests): Add nargs overflow test.
65069 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
65071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65073 2012-03-03  Marek Polacek  <polacek@redhat.com>
65075         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
65076         * math/math_private.h: Likewise.
65077         * stdlib/tst-strtod.c: Likewise.
65078         * sysdeps/i386/i486/bits/atomic.h: Likewise.
65079         * sysdeps/x86_64/bits/atomic.h: Likewise.
65081 2012-03-02  David S. Miller  <davem@davemloft.net>
65083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
65084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
65085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
65086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
65087         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
65088         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
65089         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
65090         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
65092 2012-03-02  Roland McGrath  <roland@hack.frob.com>
65094         [BZ #13792]
65095         * manual/examples/README: New file, says the example source files
65096         can be used under GPL>=2.
65097         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
65098         line containing just "*/".
65099         * manual/examples/add.c: Add copyright header (GPL>=2).
65100         * manual/examples/argp-ex1.c: Likewise.
65101         * manual/examples/argp-ex2.c: Likewise.
65102         * manual/examples/argp-ex3.c: Likewise.
65103         * manual/examples/argp-ex4.c: Likewise.
65104         * manual/examples/atexit.c: Likewise.
65105         * manual/examples/db.c: Likewise.
65106         * manual/examples/dir.c: Likewise.
65107         * manual/examples/dir2.c: Likewise.
65108         * manual/examples/execinfo.c: Likewise.
65109         * manual/examples/filecli.c: Likewise.
65110         * manual/examples/filesrv.c: Likewise.
65111         * manual/examples/fmtmsgexpl.c: Likewise.
65112         * manual/examples/genpass.c: Likewise.
65113         * manual/examples/inetcli.c: Likewise.
65114         * manual/examples/inetsrv.c: Likewise.
65115         * manual/examples/isockad.c: Likewise.
65116         * manual/examples/longopt.c: Likewise.
65117         * manual/examples/memopen.c: Likewise.
65118         * manual/examples/memstrm.c: Likewise.
65119         * manual/examples/mkfsock.c: Likewise.
65120         * manual/examples/mkisock.c: Likewise.
65121         * manual/examples/mygetpass.c: Likewise.
65122         * manual/examples/pipe.c: Likewise.
65123         * manual/examples/popen.c: Likewise.
65124         * manual/examples/rprintf.c: Likewise.
65125         * manual/examples/search.c: Likewise.
65126         * manual/examples/select.c: Likewise.
65127         * manual/examples/setjmp.c: Likewise.
65128         * manual/examples/sigh1.c: Likewise.
65129         * manual/examples/sigusr.c: Likewise.
65130         * manual/examples/stpcpy.c: Likewise.
65131         * manual/examples/strdupa.c: Likewise.
65132         * manual/examples/strftim.c: Likewise.
65133         * manual/examples/strncat.c: Likewise.
65134         * manual/examples/subopt.c: Likewise.
65135         * manual/examples/swapcontext.c: Likewise.
65136         * manual/examples/termios.c: Likewise.
65137         * manual/examples/testopt.c: Likewise.
65138         * manual/examples/testpass.c: Likewise.
65139         * manual/examples/timeval_subtract.c: Likewise.
65141         [BZ #13792]
65142         * manual/time.texi (Elapsed Time): Move timeval_subtract example
65143         function to ...
65144         * manual/timeval_subtract.c.texi: ... here, new file.
65146 2012-03-02  David S. Miller  <davem@davemloft.net>
65148         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
65150 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
65152         [BZ #3976]
65153         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
65154         (__sin): Save and restore rounding mode and use round-to-nearest
65155         for all computations.
65156         (__cos): Save and restore rounding mode and use round-to-nearest
65157         for all computations.
65158         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
65159         <fenv.h>.
65160         (tan): Save and restore rounding mode and use round-to-nearest for
65161         all computations.
65162         * math/libm-test.inc (cos_test_tonearest): New function.
65163         (cos_test_towardzero): Likewise.
65164         (cos_test_downward): Likewise.
65165         (cos_test_upward): Likewise.
65166         (sin_test_tonearest): Likewise.
65167         (sin_test_towardzero): Likewise.
65168         (sin_test_downward): Likewise.
65169         (sin_test_upward): Likewise.
65170         (tan_test_tonearest): Likewise.
65171         (tan_test_towardzero): Likewise.
65172         (tan_test_downward): Likewise.
65173         (tan_test_upward): Likewise.
65174         (main): Call the new functions.
65175         * sysdeps/i386/fpu/libm-test-ulps: Update.
65176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65178         [BZ #10135]
65179         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
65180         small n, then large n, before computing and testing k+n.
65181         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
65182         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
65183         Likewise.
65184         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
65185         Likewise.
65186         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
65187         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
65188         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
65189         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
65190         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
65191         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
65192         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
65193         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
65194         * math/libm-test.inc (scalbn_test): Add more tests.
65195         (scalbln_test): Likewise.
65197         * manual/filesys.texi (mode_t): Describe constraints on size and
65198         signedness, not exact equivalence to a particular type.
65199         (ino_t): Likewise.
65200         (ino64_t): Likewise.
65201         (dev_t): Likewise.
65202         (nlink_t): Likewise.
65203         (blkcnt_t): Likewise.
65204         (blkcnt64_t): Likewise.
65205         * manual/llio.texi (off_t): Likewise.
65207         [BZ #3976]
65208         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
65209         (__ieee754_exp): Save and restore rounding mode and use
65210         round-to-nearest for all computations.
65211         * math/libm-test.inc (exp_test_tonearest): New function.
65212         (exp_test_towardzero): Likewise.
65213         (exp_test_downward): Likewise.
65214         (exp_test_upward): Likewise.
65215         (main): Call the new functions.
65216         * sysdeps/i386/fpu/libm-test-ulps: Update.
65217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65219 2012-03-01  Chris Demetriou  <cgd@google.com>
65221         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
65222         have predictable order.
65224 2012-03-01  David S. Miller  <davem@davemloft.net>
65226         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
65228         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
65229         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
65230         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
65231         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
65233         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
65234         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
65235         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
65236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
65237         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
65238         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
65239         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
65240         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
65241         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
65243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65245         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
65246         * sysdeps/sparc/fpu/libm-test-ulps: to here.
65247         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
65249         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
65250         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
65251         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65252         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
65253         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
65254         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
65255         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
65256         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
65257         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65258         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
65259         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
65260         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65261         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
65262         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65263         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65264         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65265         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
65266         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
65267         * sysdeps/sparc/elf/configure: Regenerated.
65269 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
65271         * configure.in (AS, LD): Require binutils 2.20 or later.
65272         * configure: Regenerated.
65273         * manual/install.texi (Tools for Compilation): Give binutils 2.20
65274         as required minimum version.
65275         * INSTALL: Regenerated.
65277         [BZ #2541]
65278         [BZ #4108]
65279         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
65280         before squaring exponent.
65281         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
65282         bottom long double and 27 bits of top long double before squaring
65283         exponent.
65284         * math/libm-test.inc (erfc_test): Add more tests.
65285         * sysdeps/i386/fpu/libm-test-ulps: Update.
65286         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65289 2012-03-01  Kai Tietz  <ktietz@redhat.com>
65291         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
65292         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
65293         containing bit-fields.
65294         * soft-fp/extended.h (_FP_UNION_E): Likewise.
65295         * soft-fp/single.h (_FP_UNION_S): Likewise.
65296         * soft-fp/double.h (_FP_UNION_D): Likewise.
65298 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
65300         [BZ #13786]
65301         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
65302         not include ../strcmp.S.
65303         [USE_AS_STRNCASECMP_L]: Likewise.
65304         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
65305         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
65306         * sysdeps/i386/i686/multiarch/strncase_l-c.c
65307         (__strncasecmp_l_ia32): Define as alias to
65308         __strncasecmp_l_nonascii.
65310         [BZ #5794]
65311         * math/libm-test.inc (expm1_test): Add test for bug 5794.
65312         * sysdeps/i386/fpu/libm-test-ulps: Update.
65313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65315         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
65316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65318 2012-02-29  Jeff Law  <law@redhat.com>
65320         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
65321         out of bounds read.
65323 2012-02-29  Marek Polacek  <polacek@redhat.com>
65325         [BZ #13706]
65326         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
65327         * elf/Makefile: Add rules to run tst-unused-dep.out.
65329 2012-02-28  David S. Miller  <davem@davemloft.net>
65331         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
65332         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
65333         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
65334         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
65335         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
65336         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
65338 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
65340         * math/libm-test.inc (llround_test): Move one test from
65341         lround_test.  Use TEST_f_L in moved test.
65342         (lround_test): Move misplaced test to llround_test.  Add testcase
65343         from bug 2561.
65345 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
65347         * sysdeps/x86_64/fpu/e_expf.S: New file.
65348         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
65350 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
65352         [BZ #13637]
65353         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
65354         of remain_len that may cause incomplete multi-byte character and
65355         false match.
65356         * posix/bug-regex33.c: New file.
65357         * posix/Makefile (tests): Add bug-regex33.
65359 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
65361         * manual/macros.texi: New file.
65362         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
65363         * manual/libc.texinfo: Include macros.texi.
65364         * manual/creatute.texi: Likewise.
65365         * manual/install.texi: Likewise.
65366         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
65367         @glibcadj{} in references to the GNU C Library.
65368         * manual/charset.texi: Likewise.
65369         * manual/conf.texi: Likewise.
65370         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
65371         when not using those macros.
65372         * manual/creature.texi: Likewise.
65373         * manual/crypt.texi: Likewise.
65374         * manual/errno.texi: Likewise.
65375         * manual/filesys.texi: Likewise.
65376         * manual/header.texi: Likewise.
65377         * manual/install.texi: Likewise.
65378         * manual/intro.texi: Likewise.
65379         * manual/io.texi: Likewise.
65380         * manual/job.texi: Likewise.
65381         * manual/lang.texi: Likewise.
65382         * manual/libc.texiinfo: Likewise.
65383         * manual/llio.texi: Likewise.
65384         * manual/locale.texi: Likewise.
65385         * manual/maint.texi: Likewise.
65386         * manual/math.texi: Likewise.
65387         * manual/memory.texi: Likewise.
65388         * manual/message.texi: Likewise.
65389         * manual/nss.texi: Likewise.
65390         * manual/pattern.texi: Likewise.
65391         * manual/process.texi: Likewise.
65392         * manual/resource.texi: Likewise.
65393         * manual/search.texi: Likewise.
65394         * manual/setjmp.texi: Likewise.
65395         * manual/signal.texi: Likewise.
65396         * manual/socket.texi: Likewise.
65397         * manual/startup.texi: Likewise.
65398         * manual/stdio.texi: Likewise.
65399         * manual/string.texi: Likewise.
65400         * manual/sysinfo.texi: Likewise.
65401         * manual/syslog.texi: Likewise.
65402         * manual/terminal.texi: Likewise.
65403         * manual/time.texi: Likewise.
65404         * manual/users.texi: Likewise.
65405         * INSTALL: Regenerated.
65406         * NOTES: Regenerated.
65407         * sysdeps/gnu/errlist.c: Regenerated.
65409 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
65411         * include/dirent.h: Include <dirstream.h> before
65412         <dirent/dirent.h>.
65414 2012-02-28  David S. Miller  <davem@davemloft.net>
65416         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
65417         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
65418         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
65419         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
65421 2012-02-27  David S. Miller  <davem@davemloft.net>
65423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
65424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
65425         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
65426         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
65428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
65429         frame pointer instead of stack pointer relative arg slot.
65430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65431         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65432         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65434 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
65436         [BZ #3992]
65437         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
65439 2012-02-27  David S. Miller  <davem@davemloft.net>
65441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
65442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
65445         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65446         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65447         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
65448         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
65450 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
65452         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
65453         later.  Allow versions 5-9.
65454         * configure: Regenerated.
65455         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
65456         required minimum version and 4.6 as recommended version.  Do not
65457         mention bugs in GCC 2.7 and 2.8.
65458         * INSTALL: Regenerated.
65460 2012-02-27  David S. Miller  <davem@davemloft.net>
65462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
65463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
65464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
65465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
65466         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
65467         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
65468         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
65469         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
65471         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
65472         manipulate bits before adding and subtracting TWO112[sx].
65473         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65475 2012-02-27  Roland McGrath  <roland@hack.frob.com>
65477         [BZ #13775]
65478         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
65479         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
65480         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
65481         being in POSIX, because they are in 1003.1-2008.
65483         * rt/tst-aio.c: Include <fcntl.h>.
65484         * rt/tst-aio7.c: Likewise.
65485         * rt/tst-aio64.c: Likewise.
65487         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
65489 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
65491         * manual/install.texi (--with-headers): Describe headers as
65492         interface headers, not private headers.
65493         (Specific advice for GNU/Linux systems): Describe use of headers
65494         from "make headers_install", not private headers from older
65495         kernels.
65496         * INSTALL: Regenerated.
65497         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
65498         Change to 2.6.19.
65499         * sysdeps/unix/sysv/linux/configure: Regenerated.
65501         * manual/llio.texi (fclean): Remove documentation.
65503         * manual/Makefile (libc-texi-generated): New variable.  Include
65504         version.texi.
65505         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
65506         $(libc-texi-generated), not duplicated list of files.
65507         (version.texi, stamp-version): New rules.
65508         (realclean): Remove $(libc-texi-generated), not individual files
65509         from that list.  Do not remove dir-add.texinfo.
65510         * manual/libc.texinfo: Comment out uses of edition numbers and
65511         references to printed manual.  Remove last-updated dates.
65512         (EDITION): Comment out.
65513         (ISBN): Likewise.
65514         (VERSION, UPDATED): Remove.
65515         (version.texi): Include.
65517 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
65519         * sysdeps/posix/spawni.c: Include <signal.h>.
65520         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
65521         * sysdeps/pthread/aio_fsync.c: Likewise.
65523 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
65525         * conform/Makefile (tests): Run only when not cross-compiling and
65526         when fast-check is not defined.
65528         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
65529         * conform/data/limits.h-data: Fixes for POSIX2008.
65530         * conform/run-conformtest.sh: Run all tests.
65531         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
65532         headers.
65533         * include/bits/dlfcn.h: Likewise.
65534         * include/langinfo.h: Likewise.
65535         * include/monetary.h: Likewise.
65536         * include/sys/poll.h: Likewise.
65538         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
65539         for __USE_GNU.
65540         * posix/spawn.h: Define __need_sigset_t.
65541         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
65542         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
65543         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
65544         to get sigevent_t only.
65545         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
65546         only for __USE_GNU.
65547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65548         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65549         process_vm_writev only for __USE_GNU.
65550         * termios/termios.h: Declare tcgetsid also for POSIX2008.
65552         * conform/Makefile: For now ignore errors from run-conformtest.
65553         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
65554         POSIX to avoid namespace pollution.  Don't prepend headers.
65555         * conform/data/aio.h-data: Fixes for POSIX testing.
65556         * conform/data/fcntl.h-data: Likewise.
65557         * conform/data/glob.h-data: Likewise.
65558         * conform/data/grp.h-data: Likewise.
65559         * conform/data/pthread.h-data: Likewise.
65560         * conform/data/pwd.h-data: Likewise.
65561         * conform/data/signal.h-data: Likewise.
65562         * conform/data/spawn.h-data: Likewise.
65563         * conform/data/stdio.h-data: Likewise.
65564         * conform/data/stdlib.h-data: Likewise.
65565         * conform/data/stropts.h-data: Likewise.
65566         * conform/data/sys/mman.h-data: Likewise.
65567         * conform/data/sys/stat.h-data: Likewise.
65568         * conform/data/sys/types.h-data: Likewise.
65569         * conform/data/sys/wait.h-data: Likewise.
65570         * conform/data/time.h-data: Likewise.
65571         * conform/data/unistd.h-data: Likewise.
65572         * conform/data/utime.h-data: Likewise.
65574         * io/sys/stat.h: fchmod was always in POSIX.
65575         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
65576         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
65577         * rt/aio.h: Define __need_timespec before including <time.h>.
65578         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
65579         struct.  Add forward declaration of pthread_attr_t and use it in
65580         sigevent.
65581         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
65582         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65583         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
65584         always remove CLK_TCK definition.
65586 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
65588         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
65590 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
65592         * conform/run-conformtest.sh: New file.
65593         * conform/Makefile: Run run-conformtest for tests.
65594         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
65595         support.
65597         * conform/data/uchar.h-data: New file.
65598         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
65599         * conform/data/arpa/inet.h-data: Likewise.
65600         * conform/data/assert.h-data: Likewise.
65601         * conform/data/complex.h-data: Likewise.
65602         * conform/data/cpio.h-data: Likewise.
65603         * conform/data/ctype.h-data: Likewise.
65604         * conform/data/dirent.h-data: Likewise.
65605         * conform/data/dlfcn.h-data: Likewise.
65606         * conform/data/errno.h-data: Likewise.
65607         * conform/data/fcntl.h-data: Likewise.
65608         * conform/data/float.h-data: Likewise.
65609         * conform/data/fmtmsg.h-data: Likewise.
65610         * conform/data/fnmatch.h-data: Likewise.
65611         * conform/data/ftw.h-data: Likewise.
65612         * conform/data/glob.h-data: Likewise.
65613         * conform/data/grp.h-data: Likewise.
65614         * conform/data/iconv.h-data: Likewise.
65615         * conform/data/inttypes.h-data: Likewise.
65616         * conform/data/langinfo.h-data: Likewise.
65617         * conform/data/libgen.h-data: Likewise.
65618         * conform/data/limits.h-data: Likewise.
65619         * conform/data/locale.h-data: Likewise.
65620         * conform/data/math.h-data: Likewise.
65621         * conform/data/monetary.h-data: Likewise.
65622         * conform/data/mqueue.h-data: Likewise.
65623         * conform/data/ndbm.h-data: Likewise.
65624         * conform/data/net/if.h-data: Likewise.
65625         * conform/data/netdb.h-data: Likewise.
65626         * conform/data/netinet/in.h-data: Likewise.
65627         * conform/data/nl_types.h-data: Likewise.
65628         * conform/data/poll.h-data: Likewise.
65629         * conform/data/pthread.h-data: Likewise.
65630         * conform/data/pwd.h-data: Likewise.
65631         * conform/data/regex.h-data: Likewise.
65632         * conform/data/sched.h-data: Likewise.
65633         * conform/data/search.h-data: Likewise.
65634         * conform/data/semaphore.h-data: Likewise.
65635         * conform/data/setjmp.h-data: Likewise.
65636         * conform/data/signal.h-data: Likewise.
65637         * conform/data/spawn.h-data: Likewise.
65638         * conform/data/stdarg.h-data: Likewise.
65639         * conform/data/stdio.h-data: Likewise.
65640         * conform/data/stdlib.h-data: Likewise.
65641         * conform/data/string.h-data: Likewise.
65642         * conform/data/strings.h-data: Likewise.
65643         * conform/data/stropts.h-data: Likewise.
65644         * conform/data/sys/ipc.h-data: Likewise.
65645         * conform/data/sys/mman.h-data: Likewise.
65646         * conform/data/sys/msg.h-data: Likewise.
65647         * conform/data/sys/resource.h-data: Likewise.
65648         * conform/data/sys/select.h-data: Likewise.
65649         * conform/data/sys/sem.h-data: Likewise.
65650         * conform/data/sys/shm.h-data: Likewise.
65651         * conform/data/sys/socket.h-data: Likewise.
65652         * conform/data/sys/stat.h-data: Likewise.
65653         * conform/data/sys/statvfs.h-data: Likewise.
65654         * conform/data/sys/time.h-data: Likewise.
65655         * conform/data/sys/timeb.h-data: Likewise.
65656         * conform/data/sys/times.h-data: Likewise.
65657         * conform/data/sys/types.h-data: Likewise.
65658         * conform/data/sys/uio.h-data: Likewise.
65659         * conform/data/sys/un.h-data: Likewise.
65660         * conform/data/sys/utsname.h-data: Likewise.
65661         * conform/data/sys/wait.h-data: Likewise.
65662         * conform/data/syslog.h-data: Likewise.
65663         * conform/data/tar.h-data: Likewise.
65664         * conform/data/termios.h-data: Likewise.
65665         * conform/data/utime.h-data: Likewise.
65666         * conform/data/utmpx.h-data: Likewise.
65667         * conform/data/varargs.h-data: Likewise.
65668         * conform/data/wchar.h-data: Likewise.
65669         * conform/data/wctype.h-data: Likewise.
65670         * conform/data/wordexp.h-data: Likewise.
65672         * include/stropts.h: New file.
65673         * include/uchar.h: New file.
65674         * include/aio.h: Changes to allow conformtest.pl to use the headers.
65675         * include/assert.h: Likewise.
65676         * include/ctype.h: Likewise.
65677         * include/dirent.h: Likewise.
65678         * include/dlfcn.h: Likewise.
65679         * include/fcntl.h: Likewise.
65680         * include/fnmatch.h: Likewise.
65681         * include/glob.h: Likewise.
65682         * include/grp.h: Likewise.
65683         * include/libio.h: Likewise.
65684         * include/locale.h: Likewise.
65685         * include/math.h: Likewise.
65686         * include/net/if.h: Likewise.
65687         * include/netdb.h: Likewise.
65688         * include/netinet/in.h: Likewise.
65689         * include/pthread.h: Likewise.
65690         * include/pwd.h: Likewise.
65691         * include/regex.h: Likewise.
65692         * include/sched.h: Likewise.
65693         * include/search.h: Likewise.
65694         * include/setjmp.h: Likewise.
65695         * include/signal.h: Likewise.
65696         * include/stdio.h: Likewise.
65697         * include/stdlib.h: Likewise.
65698         * include/string.h: Likewise.
65699         * include/sys/cdefs.h: Likewise.
65700         * include/sys/mman.h: Likewise.
65701         * include/sys/msg.h: Likewise.
65702         * include/sys/resource.h: Likewise.
65703         * include/sys/select.h: Likewise.
65704         * include/sys/socket.h: Likewise.
65705         * include/sys/stat.h: Likewise.
65706         * include/sys/statvfs.h: Likewise.
65707         * include/sys/time.h: Likewise.
65708         * include/sys/times.h: Likewise.
65709         * include/sys/uio.h: Likewise.
65710         * include/sys/utsname.h: Likewise.
65711         * include/sys/wait.h: Likewise.
65712         * include/termios.h: Likewise.
65713         * include/time.h: Likewise.
65714         * include/ulimit.h: Likewise.
65715         * include/unistd.h: Likewise.
65716         * include/utime.h: Likewise.
65717         * include/wchar.h: Likewise.
65718         * include/wctype.h: Likewise.
65719         * include/wordexp.h: Likewise.
65721         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
65723         * time/time.h: TIME_UTC must be a macro.
65724         Make timespec_get available for ISO C11 only as well.
65726 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
65728         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
65729         Reported by Peng Haitao <penght@cn.fujitsu.com>.
65731 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65733         * configure.in: Use -o not -a in test for unsupported multi-arch.
65735 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65737         * manual/texinfo.tex: Update to version 2012-01-19.16.
65739 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65741         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
65743 2012-02-24  Roland McGrath  <roland@hack.frob.com>
65745         [BZ #13738]
65746         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
65747         * manual/fdl-1.3.texi: New file.
65748         * manual/fdl-1.1.texi: File removed.
65750         [BZ #13738]
65751         * manual/libc.texinfo (FDL_VERSION): New @set.
65752         Use it for mention of FDL in cover text.
65753         (Documentation License): Use it in @include file name.
65755 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65756             Roland McGrath  <roland@hack.frob.com>
65758         [BZ #5461]
65759         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
65760         (not LONG_LONG_MAX and LONG_LONG_MIN.
65761         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
65762         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
65763         name.
65764         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
65766 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65768         [BZ #2547]
65769         [BZ #11365]
65770         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
65771         manipulate bits before adding and subtracting TWO23[sx].
65772         * math/libm-test.inc (nearbyint_test): Add more tests.
65774 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65776         [BZ #2548]
65777         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
65778         bits before adding and subtracting TWO23[sx].
65779         * math/libm-test.inc (rint_test): Add more tests.
65780         (rint_test_tonearest): Likewise.
65781         (rint_test_towardzero): Likewise.
65782         (rint_test_downward): Likewise.
65783         (rint_test_upward: Likewise.
65785 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65787         [BZ #10110]
65788         * include/stdc-predef.h: New file.  Extracted from features.h.
65789         * include/features.h: Include stdc-predef.h.
65790         * Makefile (headers): Add stdc-predef.h.
65791         * CONFORMANCE (Compiler limitations): Update.
65793 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65795         * manual/libc.texinfo (VERSION, UPDATED): Revert.
65797 2012-02-21  David S. Miller  <davem@davemloft.net>
65799         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
65800         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65802 2012-02-20  David S. Miller  <davem@davemloft.net>
65804         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
65805         using a normal save/restore sequence, rather than allocating a
65806         dummy stack frame just to store a frame pointer and restore.
65807         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65809 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65811         * manual/install.texi: Fix stray word in line-wrapped comment.
65813 2012-02-20  David S. Miller  <davem@davemloft.net>
65815         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65816         both binutils and gcc support GOTDATA.
65818         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65819         "rd %pc" in the PIC register setup sequences.
65821         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65822         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65823         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65824         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65825         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65826         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65827         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65828         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65829         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65830         (SYSCALL_ERROR_HANDLER): Likewise.
65831         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65832         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65833         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65834         (SYSCALL_ERROR_HANDLER): Likewise.
65836         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65837         (HAVE_GCC_GOTDATA): New.
65838         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65839         relocation support in both binutils and gcc.
65840         * sysdeps/sparc/elf/configure: Regenerate.
65842         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65843         * sysdeps/sparc/sparc32/elf/configure: Delete.
65844         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65845         * sysdeps/sparc/sparc64/elf/configure: Delete.
65846         * sysdeps/sparc/elf/configure.in: New file.
65847         * sysdeps/sparc/elf/configure: Generate.
65849         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65850         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65851         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65852         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65853         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65855 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65857         * manual/install.texi: Do not mention specific glibc version
65858         numbers.
65859         * manual/libc.texinfo (VERSION, UPDATED): Update.
65860         (@copying): Use @copyright{} and range of years.
65862 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65864         [BZ #13695]
65865         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65866         [crti.S not in sysdirs] (generated): Do not append.
65867         [crti.S not in sysdirs] (omit-deps): Likewise.
65868         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65869         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65870         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
65871         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
65872         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
65873         Likewise.
65874         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
65875         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
65876         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
65877         * csu/defs.awk: Remove file.
65878         * sysdeps/generic/initfini.c: Likewise.
65879         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
65880         variable.
65881         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
65882         Likewise.
65884 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65886         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
65887         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
65888         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
65889         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
65890         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65891         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
65892         <bits/epoll.h>.
65893         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
65894         (__EPOLL_PACKED): Define to empty if not defined by
65895         <bits/epoll.h>.
65896         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
65897         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65898         bits/epoll.h.
65900 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65902         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
65903         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
65904         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
65905         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
65906         <bits/timerfd.h>.
65907         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
65908         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65909         bits/timerfd.h.
65911 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65913         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
65914         in C locale.
65915         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65916         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65917         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
65918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65920 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
65922         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65923         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65925 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
65927         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
65928         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
65929         defined.
65930         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
65931         Likewise.
65932         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
65933         entry for 2.16.
65935 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
65937         * math/w_acos.c: Use non-signaling floating-point comparisons.
65938         * math/w_acosf.c: Likewise.
65939         * math/w_acosh.c: Likewise.
65940         * math/w_acoshf.c: Likewise.
65941         * math/w_acoshl.c: Likewise.
65942         * math/w_acosl.c: Likewise.
65943         * math/w_asin.c: Likewise.
65944         * math/w_asinf.c: Likewise.
65945         * math/w_asinl.c: Likewise.
65946         * math/w_atanh.c: Likewise.
65947         * math/w_atanhf.c: Likewise.
65948         * math/w_atanhl.c: Likewise.
65949         * math/w_exp2.c: Likewise.
65950         * math/w_exp2f.c: Likewise.
65951         * math/w_exp2l.c: Likewise.
65952         * math/w_j0.c: Likewise.
65953         * math/w_j0f.c: Likewise.
65954         * math/w_j0l.c: Likewise.
65955         * math/w_j1.c: Likewise.
65956         * math/w_j1f.c: Likewise.
65957         * math/w_j1l.c: Likewise.
65958         * math/w_jn.c: Likewise.
65959         * math/w_jnf.c: Likewise.
65960         * math/w_log.c: Likewise.
65961         * math/w_log10.c: Likewise.
65962         * math/w_log10f.c: Likewise.
65963         * math/w_log10l.c: Likewise.
65964         * math/w_log2.c: Likewise.
65965         * math/w_log2f.c: Likewise.
65966         * math/w_log2l.c: Likewise.
65967         * math/w_logf.c: Likewise.
65968         * math/w_logl.c: Likewise.
65969         * math/w_sqrt.c: Likewise.
65970         * math/w_sqrtf.c: Likewise.
65971         * math/w_sqrtl.c: Likewise.
65972         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65973         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
65974         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65975         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65976         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65978 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65980         [BZ #9739]
65981         * manual/string.texi (strnlen): Use correct parameter name in
65982         equivalent expression.
65984 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65986         [BZ #11174]
65987         * manual/users.texi (seteuid): Consistently use neweuid for
65988         argument name.
65990 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65992         [BZ #13704]
65993         * manual/nss.texi (Services in the NSS configuration): Correct
65994         list of services in example configuration file.
65996 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
65998         [BZ #11322]
65999         * manual/arith.texi: Remove statements about negative zero
66000         behaving identically to zero.
66002 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66004         [BZ #5993]
66005         * manual/install.texi: Do not document upgrading from libc5.
66007 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66009         [BZ #4596]
66010         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
66012 2012-02-18  David S. Miller  <davem@davemloft.net>
66014         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
66015         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
66016         %o7 across the call.
66017         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
66018         instead.
66019         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
66020         SETUP_PIC_REG_LEAF.
66021         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66022         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
66023         * sysdeps/sparc/crtn.S: Likewise.
66025 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
66027         * aout/Makefile: Remove.
66029 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
66031         [BZ #13058]
66032         * manual/examples/argp-ex1.c (main): Format definition in GNU
66033         style.
66034         * manual/examples/argp-ex2.c (main): Likewise.
66035         * manual/examples/argp-ex3.c (main): Likewise.
66036         * manual/examples/argp-ex4.c (main): Likewise.
66037         * manual/examples/longopt.c (main): Use new-style prototype
66038         definition.
66039         * manual/examples/strncat.c (main): Specify return type and use
66040         (void) for arguments.
66041         * manual/examples/subopt.c (main): Use char **argv argument.
66043 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66045         [BZ #5077]
66046         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
66047         rounding modes.
66049 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
66051         [BZ #6907]
66052         * manual/string.texi (strchr): Change when strchrnul is
66053         recommended.
66055 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
66057         [BZ #174]
66058         * manual/locale.texi (setlocale): Document LOCPATH.
66060 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66062         [BZ #10210]
66063         * manual/process.texi (execle): Move @dots{} before last argument.
66065 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
66067         [BZ #12047]
66068         * manual/charset.texi (Generic Charset Conversion): Fix typo
66069         (LC_TYPE -> LC_CTYPE).
66071 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
66073         [BZ #5805]
66074         * manual/arith.texi (scalbn): Use @var{} on parameter names.
66075         (scalbnf): Likewise.
66076         (scalbnl): Likewise.
66077         (scalbln): Likewise.
66078         (scalblnf): Likewise.
66079         (scalblnl): Likewise.
66080         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
66081         (vwarnx): Likewise.
66082         (verr): Likewise.
66083         (verrx): Likewise.
66084         * manual/filesys.texi (telldir): Use braces around return type.
66085         * manual/llio.texi (mmap): Add space after comma.
66086         (mmap64): Likewise.
66087         * manual/math.texi (jn): Use @var{} on parameter names.
66088         (jnf): Likewise.
66089         (jnl): Likewise.
66090         (yn): Likewise.
66091         (ynf): Likewise.
66092         (ynl): Likewise.
66093         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
66094         line.
66095         * manual/resource.texi (ulimit): Use @dots{} instead of literal
66096         "...".
66097         (sched_get_priority_min): Remove semicolon on @deftypefun line.
66098         (sched_get_priority_max): Likewise.
66099         * manual/signal.texi (sigvec): Add space after comma.
66100         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
66101         names.
66102         (if_indextoname): Likewise.
66103         (if_freenameindex): Likewise.
66104         (sendto): Use ',' instead of '.' in prototype.
66105         * manual/startup.texi (syscall): Use @dots{} instead of literal
66106         "...".
66107         * manual/stdio.texi (__fpending): Separate initial words of
66108         paragraph from @deftypefun line.
66109         * manual/syslog.texi (syslog): Use @dots{} instead of literal
66110         "...".
66111         (vsyslog): Use @var{} on parameter names.
66112         * manual/terminal.texi (stty): Use @var{} on parameter names.
66113         * manual/users.texi (getutmp): Use @var{} on parameter names.
66114         (getutmpx): Likewise.
66116 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66118         [BZ #6884]
66119         * manual/stdio.texi (fopen): Fix typos in description of
66120         ",ccs=STRING".
66122 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
66124         [BZ #4026]
66125         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
66126         get clock_id definition.
66128 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
66130         [BZ #4822]
66131         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
66132         (madvise): Cast every argument to void on its own.
66134 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66136         [BZ #9902]
66137         * manual/startup.texi (Exit Status): Fix typo.
66139 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66141         [BZ #10140]
66142         * manual/examples/argp-ex1.c: Include <stdlib.h>.
66143         * manual/examples/argp-ex2.c: Likewise.
66144         * manual/examples/argp-ex3.c: Likewise.
66146 2012-02-16  Richard Henderson  <rth@redhat.com>
66148         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
66149         * sysdeps/s390/s390-32/initfini.c: Remove.
66150         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
66151         * sysdeps/s390/s390-64/initfini.c: Remove.
66153 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66155         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
66156         compiler output for sysdeps/generic/initfini.c.
66157         * sysdeps/sh/elf/initfini.c: Remove file.
66159 2012-02-16  David S. Miller  <davem@davemloft.net>
66161         [BZ #11494]
66162         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
66164         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
66165         * sysdeps/sparc/crti.S: New file.
66166         * sysdeps/sparc/crtn.S: New file.
66167         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
66168         * sysdeps/sparc/sparc64/Makefile: Likewise.
66170 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
66172         [BZ #3335]
66173         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
66175 2012-02-15  Roland McGrath  <roland@hack.frob.com>
66177         [BZ #4822]
66178         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
66180         * mach/devstream.c (cookie_io_functions_t): Macro removed.
66181         (write, read, close): Likewise.
66182         Patch by Aurelien Jarno <aurelien@aurel32.net>.
66184 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
66186         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
66187         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
66188         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
66189         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
66190         <bits/signalfd.h>.
66191         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
66192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66193         bits/signalfd.h.
66195 2012-02-14  Marek Polacek  <polacek@redhat.com>
66197         * sysdeps/x86_64/crti.S: New file.
66198         * sysdeps/x86_64/crtn.S: New file.
66199         * sysdeps/x86_64/elf/initfini.c: Remove file.
66201 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
66203         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
66204         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
66205         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
66206         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
66207         <bits/inotify.h>.
66208         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
66209         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66210         bits/inotify.h.
66212 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
66214         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
66215         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
66216         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
66217         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
66218         <bits/eventfd.h>.
66219         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
66220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66221         bits/eventfd.h.
66223 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
66225         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
66226         __feraiseexcept instead of feraiseexcept.
66228         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
66229         nanosleep invocations.
66230         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
66231         strings, and add error checking for a nanosleep invocations.
66233 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
66235         Replace FSF snail mail address with URLs, as per GNU coding standards.
66236         Most of the snail mail addresses were wrong anyway, and omitting
66237         them makes the source code easier to maintain.  Almost all of the
66238         changes are to license notices and to locale LC_IDENTIFICATION
66239         addresses, except for this one:
66240         * manual/libc.texinfo: In "Published by", give the FSF's URL,
66241         not its snail mail address.
66243 2012-02-09  Richard Henderson  <rth@twiddle.net>
66245         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
66246         of kernel-features.h.
66248         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
66250 2012-02-08  Marek Polacek  <polacek@redhat.com>
66252         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
66253         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
66254         * sysdeps/gnu/_G_config.h: Likewise.
66255         * sysdeps/generic/_G_config.h: Likewise.
66257 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
66259         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
66260         tests.
66261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66263         * sysdeps/powerpc/powerpc32/crti.S: New file.
66264         * sysdeps/powerpc/powerpc32/crtn.S: New file.
66265         * sysdeps/powerpc/powerpc64/crti.S: New file.
66266         * sysdeps/powerpc/powerpc64/crtn.S: New file.
66268         * Makeconfig (have-initfini): Don't set.
66269         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
66270         * configure.in (nopic_initfini): Don't substitute.
66271         * config.h.in (HAVE_INITFINI): Don't #undef.
66272         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
66273         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
66275 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
66277         Support crti.S and crtn.S provided directly by architectures.
66278         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
66279         [crti.S in sysdirs] (omit-deps): Likewise.
66280         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
66281         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
66282         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
66283         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
66284         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
66285         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
66286         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
66287         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
66288         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
66289         compiler output for sysdeps/generic/initfini.c.
66290         * sysdeps/i386/elf/Makefile: Remove file.
66291         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
66293 2012-02-07  Marek Polacek  <polacek@redhat.com>
66295         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
66296         * sysdeps/gnu/_G_config.h: Likewise.
66297         * sysdeps/mach/hurd/_G_config.h: Likewise.
66299 2012-02-07  Marek Polacek  <polacek@redhat.com>
66301         * math/Makefile (tests): Add tst-CMPLX2.
66302         * math/tst-CMPLX2.c: New file.
66304 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
66306         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66308         * math/libm-test.inc (jn_test): Add missing L suffix.
66310 2012-02-06  Marek Polacek  <polacek@redhat.com>
66312         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
66313         * sysdeps/i386/fpu/e_powf.S: Likewise.
66314         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66315         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66316         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66317         * sysdeps/i386/fpu/e_pow.S: Likewise.
66318         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
66319         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66320         * sysdeps/i386/fpu/s_expm1.S: Likewise.
66321         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
66322         * sysdeps/i386/fpu/e_log2.S: Likewise.
66323         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66324         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66325         * sysdeps/i386/fpu/e_powl.S: Likewise.
66326         * sysdeps/i386/fpu/s_log1p.S: Likewise.
66327         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66328         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
66329         * sysdeps/i386/fpu/e_logl.S: Likewise.
66330         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
66331         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
66332         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
66333         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
66334         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66335         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66336         * sysdeps/i386/fpu/e_log.S: Likewise.
66337         * sysdeps/i386/fpu/s_cexp.S: Likewise.
66338         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66339         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
66340         * sysdeps/i386/fpu/e_logf.S: Likewise.
66341         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66342         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66343         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
66344         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
66345         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66346         * sysdeps/i386/fpu/e_log10.S: Likewise.
66347         * sysdeps/i386/fpu/s_frexp.S: Likewise.
66348         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66349         * sysdeps/i386/fpu/s_asinh.S: Likewise.
66350         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
66351         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66352         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
66353         * sysdeps/i386/asm-syntax.h: Likewise.
66354         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66355         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66356         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66357         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
66358         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
66359         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66360         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
66361         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
66362         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66363         * sysdeps/powerpc/sysdep.h: Likewise.
66364         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
66365         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66367 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
66369         [BZ #411]
66370         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
66372 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
66374         * sysdeps/i386/sysdep.h: Include <features.h>.
66375         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
66376         version.
66378 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
66380         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
66381         Define.
66382         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
66383         LOAD_PIC_REG_STR.
66385 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66387         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
66388         (SETUP_PIC_REG): Use GET_PC_THUNK.
66389         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
66390         macro.
66392 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66394         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
66395         for non-PIC compilation.
66396         (SETUP_PIC_REG): Add .p2align directive.
66397         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
66398         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
66399         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
66400         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
66401         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
66402         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
66403         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
66404         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
66405         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
66406         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
66407         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
66408         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
66409         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
66410         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
66411         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
66412         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
66413         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
66414         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
66415         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
66416         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
66417         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
66418         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
66419         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
66420         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
66421         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
66422         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
66423         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66424         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
66425         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
66426         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
66427         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
66428         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66429         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
66430         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
66431         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
66432         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
66433         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
66434         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
66435         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
66436         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
66437         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
66439 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66441         * math/tst-CMPLX.c: Include <stdio.h>.
66443 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
66445         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
66446         float.
66447         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66448         * sysdeps/sparc/bits/mathdef.h: Likewise.
66450 2012-01-31  Marek Polacek  <polacek@redhat.com>
66452         * libio/libio.h: Don't define _PARAMS.
66453         * locale/programs/config.h: Don't define PARAMS.
66454         * stdlib/strtol_l.c: Likewise.
66455         (__strtol_l): Remove PARAMS from the prototype.
66457 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
66459         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
66460         names.  Just use the correct names.  Remove unnecessary wrapper
66461         functions.
66462         * malloc/arena.c: Likewise.
66463         * malloc/hooks.c: Likewise.
66465         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
66466         ARENA_TEST says not to.  Simplify test for creation of a new arena.
66467         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
66469 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
66471         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
66472         into tail calls.
66473         (update_get_addr): New function.
66474         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
66475         GET_ADDR_MODULE parameter.
66477 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
66479         * crypt/cert.c: Remove __STDC__ conditionals.
66480         * crypt/crypt-entry.c: Likewise.
66481         * crypt/crypt_util.c: Likewise.
66482         * libio/filedoalloc.c: Likewise.
66483         * libio/fileops.c: Likewise.
66484         * libio/genops.c: Likewise.
66485         * libio/iofclose.c: Likewise.
66486         * libio/iofdopen.c: Likewise.
66487         * libio/iofopen.c: Likewise.
66488         * libio/iofopen64.c: Likewise.
66489         * libio/iogetdelim.c: Likewise.
66490         * libio/iopopen.c: Likewise.
66491         * libio/obprintf.c: Likewise.
66492         * libio/oldfileops.c: Likewise.
66493         * libio/oldiofclose.c: Likewise.
66494         * libio/oldiofdopen.c: Likewise.
66495         * libio/oldiofopen.c: Likewise.
66496         * libio/oldiopopen.c: Likewise.
66497         * libio/wfiledoalloc.c: Likewise.
66498         * libio/wgenops.c: Likewise.
66499         * locale/programs/xmalloc.c: Likewise.
66500         * misc/syslog.c: Likewise.
66501         * stdio-common/xbug.c: Likewise.
66502         * string/memchr.c: Likewise.
66503         * string/memcmp.c: Likewise.
66504         * string/memrchr.c: Likewise.
66505         * string/rawmemchr.c: Likewise.
66506         * sysdeps/posix/getcwd.c: Likewise.
66507         * time/strftime_l.c: Likewise.
66509 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
66511         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
66512         * config.make.in (config-cflags-sse2avx): Define.
66513         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
66514         Fix typo.
66516 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
66518         * scripts/config.guess: Update from upstream config git repository.
66519         * scripts/config.sub: Likewise.
66521 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
66523         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
66524         (EM_NUM): Update.
66525         (R_TILEPRO_*, R_TILEGX_*): New macros.
66527         * scripts/firstversions.awk: Fix bug in version range handling.
66529         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
66531         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
66533         * include/sys/epoll.h: New file.
66534         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
66535         libc_hidden_def.
66537 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
66539         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
66540         Avoid unnecessary __WORDSIZE == 64 test.
66541         (fmaxf): Use VEX format if possible.
66542         (fmax): Likewise.
66543         (fminf): Likewise.
66544         (fmin): Likewise.
66546         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
66547         * math/math_private.h: Remove libc_fegetround* and
66548         libc_fesetround*.
66549         * sysdeps/i386/configure.in: Check for -msse2avx.
66550         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
66551         also if SSE2AVX is defined.
66552         Remove libc_fegetround* and libc_fesetround*.
66553         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
66554         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
66555         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
66556         of HAS_YMM_USABLE.
66557         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66558         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66559         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66560         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66561         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66563         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
66565 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66567         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
66568         size is not set.
66569         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
66571 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
66573         [BZ #13618]
66574         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
66575         relocation.
66576         * Makeconfig (libm): Define.
66577         * elf/Makefile: Add rules to build and run tst-relsort1.
66578         * elf/tst-relsort1.c: New file.
66579         * elf/tst-relsort1mod1.c: New file.
66580         * elf/tst-relsort1mod2.c: New file.
66582 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
66584         * math/s_ldexp.c: Remove __STDC__ conditionals.
66585         * math/s_ldexpf.c: Likewise.
66586         * math/s_ldexpl.c: Likewise.
66587         * math/s_nextafter.c: Likewise.
66588         * math/s_nexttowardf.c: Likewise.
66589         * math/s_significand.c: Likewise.
66590         * math/s_significandf.c: Likewise.
66591         * math/s_significandl.c: Likewise.
66592         * math/w_jnl.c: Likewise.
66593         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66594         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66595         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66596         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66597         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66598         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66599         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
66600         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66601         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66602         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66603         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66604         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66605         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66606         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66607         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66608         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66609         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66610         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66611         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66612         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66613         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66614         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66615         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66616         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66617         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66618         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66619         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66620         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66621         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66622         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66623         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66624         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66625         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66626         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66627         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66628         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66629         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66630         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66631         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66632         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66633         * sysdeps/ieee754/k_standard.c: Likewise.
66634         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66635         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66636         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66637         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66638         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66639         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66640         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66641         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66642         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66643         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66644         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66645         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66646         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66647         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66648         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66649         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66650         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66651         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66652         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66653         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66654         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66655         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66656         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66657         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66658         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66659         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66660         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66661         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66662         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66663         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66664         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66665         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
66666         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66667         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66668         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66669         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66670         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
66671         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66672         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66673         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
66674         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
66675         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66676         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
66677         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
66678         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66679         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
66680         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
66681         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66682         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66683         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
66684         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
66685         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66686         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66687         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66688         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66689         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66690         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
66691         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66692         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66693         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66694         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66695         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66696         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66697         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66698         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66699         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66700         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66701         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66702         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66703         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66704         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66705         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66706         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66707         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66708         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66709         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66710         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66711         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66712         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66713         * sysdeps/ieee754/s_matherr.c: Likewise.
66714         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66715         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66716         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66717         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66719 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66721         * crypt/md5.h: Remove __STDC__ conditionals.
66722         * libio/libioP.h: Likewise.
66723         * locale/programs/config.h: Likewise.
66724         * sysdeps/generic/sysdep.h: Likewise.
66725         * sysdeps/i386/asm-syntax.h: Likewise.
66726         * sysdeps/s390/asm-syntax.h: Likewise.
66727         * sysdeps/unix/sysdep.h: Likewise.
66728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
66729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66731 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66733         * libio/libio.h: Remove __STDC__ conditionals.
66734         * malloc/obstack.h: Likewise.
66735         * math/complex.h: Likewise.
66736         * math/math.h: Likewise.
66737         * sysdeps/generic/_G_config.h: Likewise.
66738         * sysdeps/gnu/_G_config.h: Likewise.
66739         * sysdeps/mach/hurd/_G_config.h: Likewise.
66740         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66741         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66742         * sysdeps/sparc/bits/mathdef.h: Likewise.
66744 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
66746         [BZ #13583]
66747         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
66748         Clean up HAS_* macros.
66749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
66750         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
66751         possible.
66752         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
66753         HAS_AVX.
66754         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66755         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66756         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66757         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66758         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66760 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
66762         * elf/tst-unique3.cc (gets): Remove declaration.
66763         * elf/tst-unique3lib.cc (gets): Likewise.
66764         * elf/tst-unique3lib2.cc (gets): Likewise.
66765         * elf/tst-unique4.cc (gets): Likewise.
66767 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
66769         * include/stdio.h: Add C++ protection.  Add gets declarations and
66770         definitions.
66771         * debug/tst-chk1.c: Don't declare gets here.
66772         * stdio-common/tst-gets.c: Likewise.
66774 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66776         * posix/glob: Remove directory.
66778 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66780         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
66782 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
66784         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
66785         of the non-standard EPFNOSUPPORT.
66787 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66789         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
66790         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
66791         ANYWHERE set to 1 only on KERN_NO_SPACE error.
66793 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
66795         * wcsmbs/uchar.h: Test __STDC_VERSION__.
66797 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
66799         * nscd/aicache.c (addhstaiX): Do not cache negative results of
66800         transient errors.
66801         * nscd/grpcache.c (cache_addgr): Likewise.
66802         * nscd/hstcache.c (cache_addhst): Likewise.
66803         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66804         * nscd/pwdcache.c (cache_addpw): Likewise.
66805         * nscd/servicescache.c (cache_addserv): Likewise.
66807 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
66809         * malloc/malloc.c: Various cleanups.
66810         * malloc/hooks.c: Likewise.
66812         * stdlib/Makefile (tests): Add bug-fmtmsg1.
66813         * stdlib/bug-fmtmsg1.c: New file.
66815         * stdlib/fmtmsg.c (init): Add missing unlock.
66816         Patch by Peng Haitao <penght@cn.fujitsu.com>.
66818 2012-01-12  Marek Polacek  <polacek@redhat.com>
66820         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66821         and _GNU_SOURCE.
66823 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66825         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66826         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66827         macro to ensure uniqueness of label name.
66828         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66829         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66831 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
66833         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66835         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66836         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66837         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66838         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66840 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
66842         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66844         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66845         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66846         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66848         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66850         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66851         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66852         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66853         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66855         * math/bits/math-finite.h: Add ldexp support.
66857 2012-01-10  Marek Polacek  <polacek@redhat.com>
66859         * locale/programs/localedef.h (show_archive_content): Add noreturn
66860         attribute.
66862 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
66864         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66866 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66868         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66870         * io/Makefile (headers): Add bits/poll2.h.
66872 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
66874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
66875         typo #include statement.
66877 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66879         * include/sys/cdefs.h: Define __attribute_alloc_size.
66880         * catgets/gencat.c: Add alloc_size attribute and apply consistently
66881         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
66882         * elf/pldd.c: Likewise.
66883         * iconv/iconv_charmap.c: Likewise.
66884         * iconv/iconvconfig.c: Likewise.
66885         * iconv/strtab.c: Likewise.
66886         * locale/programs/locale.c: Likewise.
66887         * locale/programs/localedef.h: Likewise.
66888         * locale/programs/simple-hash.c: Likewise.
66889         * nscd/nscd.h: Likewise.
66890         * nss/makedb.c: Likewise.
66891         * sysdeps/generic/ldconfig.h: Likewise.
66892         * locale/programs/localedef.c: Remove xmalloc prototype.
66893         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
66895 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66897         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
66898         appropriate.
66900 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66902         * math/Makefile (tests): Add tst-CMPLX.
66903         * math/tst-CMPLX.c: New file.
66905         * math/complex.h (CMPLXL): Fix typo.
66907         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
66908         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
66909         GLIBC_2.16.
66910         * debug/tst-chk1.c: Add poll and ppoll tests.
66911         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
66912         * include/sys/poll.h: Add hidden proto for ppoll.
66913         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
66914         * sysdeps/mach/hurd/ppoll.c: Likewise.
66915         * io/ppoll.c: Likewise.
66916         * debug/poll_chk.c: New file.
66917         * debug/ppoll_chk.c: New file.
66918         * include/bits/poll2.h: New file.
66919         * io/bits/poll2.h: New file.
66921         [BZ #1350]
66922         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
66924         * configure.in: static is always set to yes.  Remove.
66925         * config.make.in: Don't set build-static.
66926         * Makeconfig: Remove use of build-static.
66927         * dlfcn/Makefile: Likewise.
66928         * elf/Makefile: Likewise.
66929         * math/Makefile: Likewise.
66930         * misc/Makefile: Likewise.
66931         * nptl/Makefile: Likewise.
66932         * sysdeps/mach/hurd/Makefile: Likewise.
66934         * configure.in: PWD_P is not used anymore.
66935         * config.make.in: Remove PWD_P entry.
66937         * configure.in: Remove last remnants of RANLIB.
66938         No need to check for signed size_t anymore.
66939         Don't set libc_commonpagesize and libc_relro_required here for Alpha
66940         and IA-64.
66941         Remove __builtin_expect test because we require at least gcc 3.4.
66942         * aclocal.m4: Likewise.
66944         * wcsmbs/mbrtoc16.c: Implement using towc function.
66945         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
66946         * wcsmbs/wcsmbsload.c: Likewise.
66947         * iconv/gconv_simple.c: Likewise.
66948         * iconv/gconv_int.h: Likewise.
66949         * iconv/gconv_builtin.h: Likewise.
66950         * iconv/iconv_prog.c: Remove CHAR16 handling.
66952         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
66954         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
66956         * configure.in: Remove --with-elf and --enable-bounded options.
66957         Dont set base_machine for ia64.  More non-ELF conditions removed.
66958         Remove testing and setting of leading underscore information.
66959         * config.make.in (build-bounded): Set to no.
66960         * config.h.in: Remove NO_UNDERSCORES entry.
66961         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
66962         them.
66963         * csu/start.c: Remove !NO_UNDERSCORE code.
66964         * locale/localeinfo.h: Likewise.
66965         * sysdeps/generic/machine-gmon.h: Likewise.
66966         * sysdeps/generic/sysdep.h: Likewise.
66967         * sysdeps/i386/sysdep.h: Likewise.
66968         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66969         * sysdeps/mach/sysdep.h: Likewise.
66970         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66971         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66972         * sysdeps/sh/sysdep.h: Likewise.
66973         * sysdeps/sparc/sparc32/alloca.S: Likewise.
66974         * sysdeps/unix/i386/sysdep.S: Likewise.
66975         * sysdeps/unix/sparc/start.c: Likewise.
66976         * sysdeps/unix/sparc/sysdep.S: Likewise.
66977         * sysdeps/unix/sparc/sysdep.h: Likewise.
66978         * sysdeps/unix/start.c: Likewise.
66979         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66980         * sysdeps/x86_64/sysdep.h: Likewise.
66982 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
66984         [BZ #13553]
66985         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
66986         for non-gcc.
66987         * argp/argp-fmtstream.h: Use const instead __const.
66988         * argp/argp.h: Likewise.
66989         * assert/assert.h: Likewise.
66990         * bits/fenv.h: Likewise.
66991         * bits/sched.h: Likewise.
66992         * bits/sigset.h: Likewise.
66993         * bits/sigthread.h: Likewise.
66994         * catgets/nl_types.h: Likewise.
66995         * conform/data/pthread.h-data: Likewise.
66996         * crypt/crypt-private.h: Likewise.
66997         * crypt/crypt.h: Likewise.
66998         * crypt/crypt_util.c: Likewise.
66999         * ctype/ctype.h: Likewise.
67000         * debug/execinfo.h: Likewise.
67001         * debug/mbsnrtowcs_chk.c: Likewise.
67002         * debug/mbsrtowcs_chk.c: Likewise.
67003         * debug/wcsnrtombs_chk.c: Likewise.
67004         * debug/wcsrtombs_chk.c: Likewise.
67005         * debug/wcstombs_chk.c: Likewise.
67006         * dirent/dirent.h: Likewise.
67007         * dlfcn/dlfcn.h: Likewise.
67008         * elf/neededtest4.c: Likewise.
67009         * grp/grp.h: Likewise.
67010         * gshadow/gshadow.h: Likewise.
67011         * iconv/gconv.h: Likewise.
67012         * iconv/gconv_int.h: Likewise.
67013         * iconv/gconv_simple.c: Likewise.
67014         * iconv/iconv.h: Likewise.
67015         * iconv/loop.c: Likewise.
67016         * iconv/skeleton.c: Likewise.
67017         * include/aio.h: Likewise.
67018         * include/aliases.h: Likewise.
67019         * include/argz.h: Likewise.
67020         * include/arpa/inet.h: Likewise.
67021         * include/assert.h: Likewise.
67022         * include/dirent.h: Likewise.
67023         * include/dlfcn.h: Likewise.
67024         * include/execinfo.h: Likewise.
67025         * include/fcntl.h: Likewise.
67026         * include/fenv.h: Likewise.
67027         * include/glob.h: Likewise.
67028         * include/grp.h: Likewise.
67029         * include/libintl.h: Likewise.
67030         * include/mntent.h: Likewise.
67031         * include/netdb.h: Likewise.
67032         * include/pwd.h: Likewise.
67033         * include/rpc/netdb.h: Likewise.
67034         * include/sched.h: Likewise.
67035         * include/search.h: Likewise.
67036         * include/shadow.h: Likewise.
67037         * include/signal.h: Likewise.
67038         * include/stdio.h: Likewise.
67039         * include/stdlib.h: Likewise.
67040         * include/string.h: Likewise.
67041         * include/sys/socket.h: Likewise.
67042         * include/sys/stat.h: Likewise.
67043         * include/sys/statfs.h: Likewise.
67044         * include/sys/statvfs.h: Likewise.
67045         * include/sys/syslog.h: Likewise.
67046         * include/sys/time.h: Likewise.
67047         * include/sys/uio.h: Likewise.
67048         * include/time.h: Likewise.
67049         * include/unistd.h: Likewise.
67050         * include/utmp.h: Likewise.
67051         * include/wchar.h: Likewise.
67052         * include/wctype.h: Likewise.
67053         * inet/aliases.h: Likewise.
67054         * inet/arpa/inet.h: Likewise.
67055         * inet/netinet/ether.h: Likewise.
67056         * inet/netinet/in.h: Likewise.
67057         * intl/libintl.h: Likewise.
67058         * io/bits/fcntl2.h: Likewise.
67059         * io/fcntl.h: Likewise.
67060         * io/ftw.h: Likewise.
67061         * io/sys/poll.h: Likewise.
67062         * io/sys/stat.h: Likewise.
67063         * io/sys/statfs.h: Likewise.
67064         * io/sys/statvfs.h: Likewise.
67065         * io/utime.h: Likewise.
67066         * libio/bits/stdio.h: Likewise.
67067         * libio/bits/stdio2.h: Likewise.
67068         * libio/libio.h: Likewise.
67069         * libio/libioP.h: Likewise.
67070         * libio/stdio.h: Likewise.
67071         * locale/lc-ctype.c: Likewise.
67072         * locale/locale.h: Likewise.
67073         * login/utmp.h: Likewise.
67074         * malloc/arena.c: Likewise.
67075         * malloc/malloc.c: Likewise.
67076         * malloc/malloc.h: Likewise.
67077         * malloc/mcheck.c: Likewise.
67078         * malloc/mtrace.c: Likewise.
67079         * math/bits/mathcalls.h: Likewise.
67080         * math/fenv.h: Likewise.
67081         * math/math_private.h: Likewise.
67082         * misc/bits/error.h: Likewise.
67083         * misc/bits/syslog.h: Likewise.
67084         * misc/err.h: Likewise.
67085         * misc/error.h: Likewise.
67086         * misc/fstab.h: Likewise.
67087         * misc/mntent.h: Likewise.
67088         * misc/regexp.h: Likewise.
67089         * misc/search.h: Likewise.
67090         * misc/sgtty.h: Likewise.
67091         * misc/sys/mman.h: Likewise.
67092         * misc/sys/syslog.h: Likewise.
67093         * misc/sys/uio.h: Likewise.
67094         * misc/sys/xattr.h: Likewise.
67095         * misc/ttyent.h: Likewise.
67096         * nis/rpcsvc/ypclnt.h: Likewise.
67097         * nss/nss.h: Likewise.
67098         * posix/bits/unistd.h: Likewise.
67099         * posix/fnmatch.h: Likewise.
67100         * posix/glob.h: Likewise.
67101         * posix/sched.h: Likewise.
67102         * posix/spawn.h: Likewise.
67103         * posix/sys/wait.h: Likewise.
67104         * posix/unistd.h: Likewise.
67105         * posix/wordexp.h: Likewise.
67106         * pwd/pwd.h: Likewise.
67107         * resolv/netdb.h: Likewise.
67108         * resource/sys/resource.h: Likewise.
67109         * rt/aio.h: Likewise.
67110         * rt/bits/mqueue2.h: Likewise.
67111         * rt/mqueue.h: Likewise.
67112         * shadow/shadow.h: Likewise.
67113         * signal/signal.h: Likewise.
67114         * socket/send.c: Likewise.
67115         * socket/sendto.c: Likewise.
67116         * socket/sys/socket.h: Likewise.
67117         * stdio-common/printf.h: Likewise.
67118         * stdlib/bits/stdlib.h: Likewise.
67119         * stdlib/fmtmsg.h: Likewise.
67120         * stdlib/monetary.h: Likewise.
67121         * stdlib/stdlib.h: Likewise.
67122         * stdlib/ucontext.h: Likewise.
67123         * streams/stropts.h: Likewise.
67124         * string/argz.h: Likewise.
67125         * string/bits/string2.h: Likewise.
67126         * string/string.h: Likewise.
67127         * string/strings.h: Likewise.
67128         * sunrpc/rpc/auth.h: Likewise.
67129         * sunrpc/rpc/auth_des.h: Likewise.
67130         * sunrpc/rpc/clnt.h: Likewise.
67131         * sunrpc/rpc/netdb.h: Likewise.
67132         * sunrpc/rpc/pmap_clnt.h: Likewise.
67133         * sunrpc/rpc/xdr.h: Likewise.
67134         * sysdeps/generic/inttypes.h: Likewise.
67135         * sysdeps/generic/net/if.h: Likewise.
67136         * sysdeps/generic/sys/swap.h: Likewise.
67137         * sysdeps/gnu/net/if.h: Likewise.
67138         * sysdeps/gnu/utmpx.h: Likewise.
67139         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
67140         * sysdeps/i386/i486/bits/string.h: Likewise.
67141         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
67142         * sysdeps/s390/bits/string.h: Likewise.
67143         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
67144         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
67145         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
67146         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
67147         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
67148         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
67149         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
67150         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
67151         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
67152         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
67153         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
67154         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67155         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
67156         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67157         * sysdeps/unix/sysv/linux/readv.c: Likewise.
67158         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
67159         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
67160         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67161         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
67162         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
67163         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67164         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
67165         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
67166         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
67167         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
67168         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
67169         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
67170         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67171         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
67172         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
67173         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
67174         * sysvipc/sys/ipc.h: Likewise.
67175         * sysvipc/sys/msg.h: Likewise.
67176         * sysvipc/sys/sem.h: Likewise.
67177         * sysvipc/sys/shm.h: Likewise.
67178         * termios/termios.h: Likewise.
67179         * time/sys/time.h: Likewise.
67180         * time/time.h: Likewise.
67181         * wcsmbs/bits/wchar2.h: Likewise.
67182         * wcsmbs/uchar.h: Likewise.
67183         * wcsmbs/wchar.h: Likewise.
67184         * wctype/wctype.h: Likewise.
67186         [BZ #13551]
67187         * Makeconfig: Remove all but ELF support including AIX support.
67188         * Makerules: Likewise.
67189         * config.h.in: Likewise.
67190         * config.make.in: Likewise.
67191         * configure: Likewise.
67192         * configure.in: Likewise.
67193         * csu/Makefile: Likewise.
67194         * csu/version.c: Likewise.
67195         * debug/Makefile: Likewise.
67196         * dlfcn/Makefile: Likewise.
67197         * elf/Makefile: Likewise.
67198         * extra-lib.mk: Likewise.
67199         * iconv/Makefile: Likewise.
67200         * include/libc-symbols.h: Likewise.
67201         * include/shlib-compat.h: Likewise.
67202         * resolv/Makefile: Likewise.
67203         * resolv/res_libc.c: Likewise.
67204         * rt/Makefile: Likewise.
67205         * sysdeps/i386/asm-syntax.h: Likewise.
67206         * sysdeps/i386/sysdep.h: Likewise.
67207         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67208         * sysdeps/mach/sysdep.h: Likewise.
67209         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
67210         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
67211         * sysdeps/s390/asm-syntax.h: Likewise.
67212         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67213         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67214         * sysdeps/sh/sysdep.h: Likewise.
67215         * sysdeps/unix/sparc/sysdep.h: Likewise.
67216         * sysdeps/wordsize-32/divdi3.c: Likewise.
67217         * sysdeps/x86_64/sysdep.h: Likewise.
67219         * argp/Versions: Remove _argp_unlock_xxx.
67221         [BZ #13559]
67222         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
67223         * abilist/libBrokenLocale.abilist: Likewise.
67224         * abilist/libanl.abilist: Likewise.
67225         * abilist/libc.abilist: Likewise.
67226         * abilist/libcrypt.abilist: Likewise.
67227         * abilist/libdl.abilist: Likewise.
67228         * abilist/libm.abilist: Likewise.
67229         * abilist/libnsl.abilist: Likewise.
67230         * abilist/libpthread.abilist: Likewise.
67231         * abilist/libresolv.abilist: Likewise.
67232         * abilist/librt.abilist: Likewise.
67233         * abilist/libthread_db.abilist: Likewise.
67234         * abilist/libutil.abilist: Likewise.
67235         * abilist/libnss_db.abilist: New file.
67237         * scripts/abilist.awk: Add support for indirect functions.
67239         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
67241         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
67243         * shlib-versions: Remove entries for ports architectures.
67245         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
67246         files in ports.
67247         * elf/stackguard-macros.h: Remove support for IA-64.
67248         * elf/tst-auditmod1.c: Likewise.
67249         * sysdeps/generic/ldsodefs.h: Likewise.
67251         * sysdeps/unix/sysv/linux/configure.in: Ports should define
67252         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
67253         configure files.
67255         [BZ #13552]
67256         * configure.in: Remove --enable-omitfp support.
67257         * FAQ.in: Adjust.
67258         * config.make.in: Likewise.
67259         * Makeconfig: Likewise.
67260         * manual/install.texi: Likewise.
67262         In case anyone cares, the IA-64 architecture could move to ports.
67263         * sysdeps/ia64/*: Removed.
67264         * sysdeps/unix/sysv/linux/ia64/*: Removed.
67265         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
67267         [BZ #13555]
67268         * configure.in: Remove entries for unsupported architectures.
67270         [BZ #13533]
67271         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
67272         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
67273         routines.
67274         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
67275         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
67276         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
67277         fall back to using wcrtomb.
67278         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
67279         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
67280         renaming.
67281         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
67282         * wcsmbs/tst-c16c32-1.c: New file.
67284         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
67285         local variable.
67287         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
67289         * elf/tst-unique3.cc: Add explicit declaration of gets.
67290         * elf/tst-unique3lib.cc: Likewise.
67291         * elf/tst-unique3lib2.cc: Likewise.
67292         * elf/tst-unique4.cc: Likewise.
67294         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
67296 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
67298         [BZ #13566]
67299         * assert/assert.h (static_assert): Don't define for C++.
67300         * libio/stdio.h (gets): Do declare for C++ <= C++11.
67301         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
67303 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
67305         * iconv/loop.c (single loop): Fix assertion in storing of
67306         remaining bytes.
67308         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
67310 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
67312         * posix/getconf.c: Update copyright year.
67313         * nss/getent.c: Likewise.
67314         * nss/makedb.c: Likewise.
67315         * iconv/iconvconfig.c: Likewise.
67316         * iconv/iconv_prog.c: Likewise.
67317         * elf/ldconfig.c: Likewise.
67318         * elf/pldd.c: Likewise.
67319         * elf/sotruss.ksh: Likewise.
67320         * catgets/gencat.c: Likewise.
67321         * csu/version.c: Likewise.
67322         * elf/ldd.bash.in: Likewise.
67323         * elf/sprof.c (print_version): Likewise.
67324         * locale/programs/locale.c: Likewise.
67325         * locale/programs/localedef.c: Likewise.
67326         * login/programs/pt_chown.c: Likewise.
67327         * nscd/nscd.c (print_version): Likewise.
67328         * debug/xtrace.sh: Likewise.
67329         * malloc/memusage.sh: Likewise.
67330         * malloc/mtrace.pl: Likewise.
67331         * debug/catchsegv.sh: Likewise.
67333 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
67335         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
67336         pure attribute.
67338 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
67340         [BZ #13533]
67341         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
67342         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
67343         transformations.
67344         * iconv/gconv_int.h: Likewise.
67345         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
67346         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
67347         from libc for GLIBC_2.16.
67348         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
67349         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
67350         * wcsmbs/uchar.h: Really define mbstate_t.
67351         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
67352         * wcsmbs/c16rtomb.c: New file.
67353         * wcsmbs/mbrtoc16.c: New file.
67354         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
67355         for C/POSIX locale.
67356         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
67357         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
67359         * wcsmbs/wchar.h: Add missing __restrict.
67361 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
67363         [BZ #13532]
67364         * time/Makefile (routines): Add timespec_get.
67365         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
67366         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
67367         timespec for ISO C11.
67368         * time/timespec_get.c: New file.
67369         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
67370         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
67372         [BZ #13531]
67373         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
67374         * stdlib/stdlib.h: Declare aligned_alloc.
67375         * Versions.def: Add GLIBC_2.16 for libc.
67376         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
67378         [BZ 13527]
67379         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
67380         ISO C11.
67382         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
67383         code.
67385         [BZ #13528]
67386         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
67388         [BZ #13529]
67389         * assert/assert.h (static_assert): Define.
67391         * version.h: Update for 2.16 development version.
67393         [BZ #13526]
67394         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
67395         _ISOC11_SOURCE.
67397         * version.h (RELEASE): Bump for 2.15 release.
67398         * include/features.h (__GLIBC_MINOR__): Bump to 15.
67400         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
67401         Patch by Marek Polacek <mpolacek@redhat.com>.
67403         * bits/byteswap.h: Protect long long constants with __extension__.
67404         * sysdeps/i386/bits/byteswap.h: Likewise.
67405         * sysdeps/ia64/bits/byteswap.h: Likewise.
67406         * sysdeps/s390/bits/byteswap.h: Likewise.
67407         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67409 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67411         [BZ #13540]
67412         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
67413         destination buffer.
67414         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
67416 2011-12-23  Marek Polacek  <polacek@redhat.com>
67418         * elf/dl-addr.c (determine_info): Add inline keyword.
67419         * elf/tst-auditmod4b.c (check_avx): Likewise.
67420         * elf/tst-auditmod6b.c (check_avx): Likewise.
67421         * elf/tst-auditmod6c.c (check_avx): Likewise.
67422         * elf/tst-auditmod7b.c (check_avx): Likewise.
67424 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
67426         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
67427         !__SSE_MATH__.
67429 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67431         [BZ #13540]
67432         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
67433         processing for last bytes.
67435 2011-08-06  Bruno Haible  <bruno@clisp.org>
67437         [BZ #13061]
67438         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
67439         U+0385, not to U+1FEE.
67441         [BZ #13062]
67442         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
67443         entry for U+00A5 U+0301.
67445 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
67447         [BZ #13166]
67448         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
67449         buffer for the output is too small.
67451         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
67452         optimization.
67454         [BZ #13185]
67455         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
67456         SSE flags if possible.
67458 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67460         [BZ #13540]
67461         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
67462         processing for last bytes.
67464 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
67466         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
67467         (syscall-list-default-options, syscall-list-default-condition)
67468         (syscall-list-includes): Define.
67469         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
67470         list of ABIs and options and #if conditions for each ABI.  Do not
67471         handle common syscalls between ABIs specially.
67472         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
67473         Remove.
67474         (syscall-list-variants, syscall-list-32bit-options)
67475         (syscall-list-32bit-condition, syscall-list-64bit-options)
67476         (syscall-list-64bit-condition): Define.
67477         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
67478         (syscall-list-variants, syscall-list-32bit-options)
67479         (syscall-list-32bit-condition, syscall-list-64bit-options)
67480         (syscall-list-64bit-condition): Define.
67481         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
67482         Remove.
67483         (syscall-list-variants, syscall-list-32bit-options)
67484         (syscall-list-32bit-condition, syscall-list-64bit-options)
67485         (syscall-list-64bit-condition): Define.
67486         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
67487         Remove.
67488         (syscall-list-variants, syscall-list-32bit-options)
67489         (syscall-list-32bit-condition, syscall-list-64bit-options)
67490         (syscall-list-64bit-condition): Define.
67492 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
67494         * locale/iso-639.def: Add brx entry.
67496         [BZ #13328]
67497         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
67498         Proposed by Mariusz_Cukr <marcukr@op.pl>.
67500         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
67501         __feraiseexcept_renamed.
67503 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
67505         [BZ #13538]
67506         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
67507         EPOLLET with unsigned values.
67508         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67509         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67511         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
67512         to large cancellation.
67513         * math/s_cacoshf.c: Likewise.
67514         * math/s_cacoshl.c: Likewise.
67516 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
67518         [BZ #13305]
67519         [BZ #12786]
67520         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
67521         * math/s_cacoshf.c: Likewise.
67522         * math/s_cacoshl.c: Likewise.
67524 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
67526         [BZ #13439]
67527         * iconv/gconv.h: Define __GCONV_SWAP.
67528         * iconvdata/unicode.c: The swap bit must be stored in __flags.
67529         * iconvdata/utf-16.c: Likewise.
67530         * iconvdata/utf-32.c: Likewise.
67532 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
67534         [BZ #13524]
67535         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
67536         numerator after shifting it by one limb.
67538 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
67540         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
67541         under [__USE_EXTERN_INLINES].
67543 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
67545         [BZ #13446]
67546         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
67548 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67550         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
67551         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
67552         optimized code.
67553         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
67554         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
67555         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
67556         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
67557         for strncasecmp/strncasecmp_l compilation.
67558         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
67559         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
67561 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
67563         [BZ #13484]
67564         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
67565         of __asm__.
67567 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
67569         [BZ #13506]
67570         * time/tzfile.c (__tzfile_read): Check values from file header.
67572 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67574         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
67575         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
67576         * powerpc/powerpc32/dl-start.S: Likewise.
67577         * powerpc/powerpc32/elf/start.S: Likewise.
67578         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
67579         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
67580         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
67581         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
67582         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
67583         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
67584         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
67585         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67586         * powerpc/powerpc32/fpu/s_round.S: Likewise.
67587         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
67588         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
67589         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
67590         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
67591         * powerpc/powerpc32/memset.S: Likewise.
67592         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
67593         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67594         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67595         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67596         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67597         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
67598         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
67599         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
67600         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
67601         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
67602         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
67603         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67604         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67606 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67608         * math/libm-test.inc: Added more nearbyint tests.
67609         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
67610         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
67611         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
67612         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
67614 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
67616         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
67617         FD_CLOEXEC.
67619 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67621         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
67622         Add wcscpy-ssse3 wcscpy-c.
67623         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
67624         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
67625         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
67626         * sysdeps/x86_64/wcschr.S: New file.
67627         * sysdeps/x86_64/wcsrchr.S: New file.
67628         * string/test-strcmp.c: Remove checking of wcscmp function for
67629         wrong alignments.
67630         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
67631         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
67632         wcsrchr-sse2 wcsrchr-c.
67633         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
67634         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
67635         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
67636         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
67637         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
67638         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
67639         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
67640         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
67641         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
67642         * wcsmbc/wcschr.c (WCSCHR): New macro.
67644 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67646         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
67647         * wcsmbs/test-wcsrchr.c: New file.
67648         * string/test-strrchr.c: Add wcsrchr support.
67649         (WIDE): New macro.
67650         * wcsmbs/test-wcscpy.c: New file.
67651         * string/test-strcpy.c: Add wcscpy support.
67652         (WIDE): New macro.
67654 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
67656         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
67657         the inner loop.
67659 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
67661         [BZ #13472]
67662         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
67664 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
67666         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
67667         Minor optimizations.
67669         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
67670         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
67671         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
67673 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
67675         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
67676         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
67677         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
67678         for gcc to avoid warnings.
67679         * inet/Makefile (tests): Add tst-checks.
67680         * inet/tst-checks.c: New file.
67682         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
67683         warning.
67685         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
67686         __wmemcmp_sse2.
67688         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
67689         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
67691         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
67693 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
67695         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
67696         problem.
67698         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
67700 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
67702         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
67703         conditional on GCC version.
67704         (__arch_compare_and_exchange_val_8_acq)
67705         (__arch_compare_and_exchange_val_16_acq)
67706         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
67707         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
67708         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
67710 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
67712         * sysdeps/sh/backtrace.c: New file.
67714 2011-12-02  Andreas Schwab  <schwab@redhat.com>
67716         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
67717         parenthesis.
67719 2011-12-01  Andreas Schwab  <schwab@redhat.com>
67721         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
67722         falling back to utime.
67724 2011-11-30  Andreas Schwab  <schwab@redhat.com>
67726         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
67727         expectations for float.
67729 2011-11-29  Andreas Schwab  <schwab@redhat.com>
67731         * locale/weight.h (findidx): Add parameter len.
67732         * locale/weightwc.h (findidx): Likewise.
67733         * posix/fnmatch_loop.c (FCT): Adjust caller.
67734         * posix/regcomp.c (build_equiv_class): Likewise.
67735         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
67736         * posix/regexec.c (check_node_accept_bytes): Likewise.
67737         * string/strcoll_l.c (STRCOLL): Likewise.
67738         * string/strxfrm_l.c (STRXFRM): Likewise.
67740 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
67742         * Makefile.in: Remove CVSOPT handling.
67743         * configure.in: Remove use of AC_REVISION.
67744         * iconvdata/Makefile (distribute): No need to filter out CVS.
67745         * scripts/list-sources.sh: Remove CVS, subversion and monotone
67746         handling.
67748 2011-11-16  Andreas Schwab  <schwab@redhat.com>
67750         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
67751         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
67752         [USE_AS_STRNCASECMP_L]: Likewise.
67753         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
67754         NO_TLS_DIRECT_SEG_REFS.
67755         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
67756         Fix argument offsets for non-PIC.
67757         [USE_AS_STRNCASECMP_L]: Likewise.
67758         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
67759         NO_TLS_DIRECT_SEG_REFS.
67761 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67763         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
67764         O_CLOEXEC.
67765         * locale/loadlocale.c (_nl_load_locale): Likewise.
67767 2011-11-15  Andreas Schwab  <schwab@redhat.com>
67769         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
67770         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
67771         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
67772         (SYSCALL_GETTIME): Set errno on error.
67774         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
67775         count references to noai6ai_cached.
67777 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67779         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
67781         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
67782         FD_CLOEXEC for /proc/self/maps.
67784         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
67785         FD_CLOEXEC for /proc/meminfo.
67787         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
67788         gai.conf.
67790         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
67791         FD_CLOEXEC for given file.
67793         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
67795         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
67796         FD_CLOEXEC for /etc/hosts.
67797         (_gethtent): Likewise.
67799         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
67801         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
67802         cancellation and set FD_CLOEXEC for /etc/netgroup.
67804         * nss/nss_files/files-key.c (search): Don't allow cancellation when
67805         reading /etc/publickey.
67807         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
67808         allow cancellation when reading /etc/group.
67810         * nss/nss_files/files-alias.c (internal_setent): Don't allow
67811         cancellation.
67812         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
67814         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67815         when using data file.
67817         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67819         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67820         (write_nis_obj): Use "c" and "e" in fopen.
67822         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67824         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67826         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67828         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67830         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67831         locale.alias.
67833         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67835         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67837         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67839         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67840         file parsing and set FD_CLOEXEC.
67842 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67844         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67846 2011-11-14  Andreas Schwab  <schwab@redhat.com>
67848         * malloc/arena.c (arena_get2): Don't call reused_arena when
67849         _int_new_arena failed.
67851 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67853         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67854         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67855         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67856         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67857         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67858         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67859         to compile strcasecmp and strncasecmp.
67860         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67861         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67863         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67865 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
67867         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67868         locale-defines.sym to gen-as-const-headers.
67869         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67870         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
67871         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
67872         to compile strcasecmp and strncasecmp.
67873         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
67874         strcasecmp_l and strncasecmp_l.
67875         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
67876         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
67877         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
67878         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
67879         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
67880         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
67881         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
67882         * sysdeps/i386/i686/multiarch/strncase.S: New file.
67883         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
67884         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
67885         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
67887 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
67889         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
67890         result of SYSDEP_GETTIME_CPU to retval.
67891         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
67892         parameter list to macro.  Remove trailing semicolon.  Adjust users.
67894         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
67895         variable.
67897         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
67898         mantissa words.
67899         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
67901         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
67902         from unused variable.
67904         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
67905         DWARF definitions.
67906         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
67907         for assembling.
67909         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
67910         over namespaces.
67912         * sunrpc/rpc_prot.c (rejected): Fix case value.
67914         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
67915         unsigned long long int to avoid warnings in shift.
67917         * posix/regex_internal.c (re_string_reconstruct): Actually use result
67918         of use of trans.
67919         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
67920         variable tmp.
67922         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
67923         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
67924         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
67926         * nis/nis_table.c (nis_list): Use variable of correct type for
67927         result of __follow_path call.
67929 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67931         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
67932         of math functions ceil, trunc, floor, round, and sqrt, when
67933         avaliable on the platform.
67934         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
67935         name clash.
67936         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67937         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67938         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67940 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
67942         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
67943         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67945 2011-11-11  Roland McGrath  <roland@hack.frob.com>
67947         * include/unistd.h: Fix __readlink return type.
67948         Reported by Chris Metcalf <cmetcalf@tilera.com>.
67950 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
67952         * stdlib/ucontext.h: Undo last change for makecontext.
67954 2011-11-11  Andreas Schwab  <schwab@redhat.com>
67956         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
67958         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
67959         * setjmp/setjmp.h: Mark functions as non-leaf.
67960         * setjmp/bits/setjmp2.h: Likewise.
67961         * stdlib/ucontext.h: Likewise.
67963 2011-11-10  Andreas Schwab  <schwab@redhat.com>
67965         * malloc/arena.c (_int_new_arena): Don't increment narenas.
67966         (reused_arena): Don't check arena limit.
67967         (arena_get2): Atomically check arena limit.
67969 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
67971         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
67972         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
67974         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
67975         instructions.
67977 2011-11-07  Andreas Schwab  <schwab@redhat.com>
67979         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
67980         handler when locking.
67982         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67983         Fix size of allocated buffer.
67985 2011-11-04  Andreas Schwab  <schwab@redhat.com>
67987         [BZ #10103]
67988         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
67989         declarations for long double functions.
67990         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
67992         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
67994 2011-11-03  Andreas Schwab  <schwab@redhat.com>
67996         * nscd/nscd.c (main): Don't start AVC thread until credentials are
67997         installed.
67999         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
68000         is disabled.
68002 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68004         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
68006 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68008         * include/alloca.h (stackinfo_alloca_round): Define.
68009         (extend_alloca): Use it.
68010         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
68011         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
68012         here.
68014         * scripts/check-local-headers.sh: Ignore libaudit.h.
68016         * nscd/Makefile (extra-objs): Make recursively expanded.
68018 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
68020         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
68021         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
68023         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
68024         * posix/tst-rfc3484-2.c: Likewise.
68025         * posix/tst-rfc3484-3.c: Likewise.
68027         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68028         process_vm_writev.
68029         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
68030         process_vm_writev.
68031         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
68032         process_vm_writev from libc using GLIBC_2.15 version.
68034         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
68036 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
68038         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
68039         stack usage.
68041 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
68043         [BZ #13367]
68044         * nss/getent.c (initgroups_keys): Show error message in case no group
68045         names are given.
68047         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
68048         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
68049         __bump_nl_timestamp.
68050         * nscd/connections (nscd_init): When host database is served open
68051         netlink socket and request notification about configuration changes.
68052         (main_loop_poll): Track netlink file descriptor and bump timestamp
68053         in case data becomes available.
68054         (main_loop_epoll): Likewise.
68055         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
68056         (database_pers_head): Add extra_data fileds.
68057         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
68058         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
68059         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
68060         Adjust caller.
68061         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
68062         in6ai data, call __free_in6ai.
68063         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
68064         Add -DHAVE_NETLINK.
68065         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
68066         interface information.  Reuse previous data if netlink timestamp
68067         is not changed.
68068         (__bump_nl_timestamp): New function.
68069         (__free_in6ai): New function.
68071 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
68073         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
68074         close_not_cancel_no_status here.
68075         (__check_pf): Reorganize code a bit to not call close twice if OOM.
68077 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68079         [BZ #13276]
68080         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
68081         return value.
68083         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
68084         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
68085         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
68087 2011-07-03  Andreas Jaeger  <aj@suse.de>
68089         [BZ #10709]
68090         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
68091         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
68092         * math/libm-test.inc (sin_test): Add test case.
68094 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68096         [BZ #13337]
68097         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
68098         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68100         * elf/chroot_canon.c (chroot_canon): Cleanups.
68102         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
68104         [BZ #13335]
68105         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
68106         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68108         * string/test-strchr.c: Make usable for strchrnul testing.
68109         * string/test-strchrnul.c: New file.
68110         * string/Makefile (strop-tests): Add strchrnul.
68112         * po/it.po: Update from translation team.
68113         * po/es.po: Likewise.
68115 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
68117         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
68118         the three constants needed as parameters.  Drop the others.
68119         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
68120         __m128i_strloadu_tolower.
68121         Create and initialize variable zero and use it in all the places
68122         where _mm_setzero_si128 was used.
68124         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
68125         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
68126         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
68127         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
68128         anymore.
68129         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
68130         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
68131         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
68132         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
68133         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
68134         __mpranred, __mptan.
68135         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
68136         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
68137         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
68138         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
68139         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
68140         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
68141         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
68142         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
68143         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
68145 2011-10-28  Andreas Schwab  <schwab@redhat.com>
68147         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
68148         redefine if SHARED.
68149         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
68151         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
68152         wide char related routines to wcsmbs subdir.
68154 2011-10-27  Andreas Schwab  <schwab@redhat.com>
68156         [BZ #13344]
68157         * misc/sys/cdefs.h (__THROWNL): Define.
68158         * posix/unistd.h: Use __THREADNL instead of __THREAD
68159         for memory synchronization functions.
68161 2011-10-26  Roland McGrath  <roland@hack.frob.com>
68163         [BZ #13349]
68164         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
68165         doesn't exist.
68166         * manual/stdio.texi (Obstack Streams): Node removed.
68168 2011-10-26  Andreas Schwab  <schwab@redhat.com>
68170         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
68171         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68172         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68174         * math/math_private.h (math_force_eval): Allow non-addressable
68175         arguments.
68176         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
68178 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68180         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
68181         file is not needed.
68183         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
68184         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
68185         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68186         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68187         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68188         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68189         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68190         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
68191         Add AVX variants.
68192         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
68193         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
68194         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
68195         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
68196         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
68197         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
68198         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
68199         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
68200         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
68201         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
68202         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
68203         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
68204         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
68205         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
68206         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
68207         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
68208         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
68209         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
68210         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
68212         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
68213         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
68215         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
68216         place.  Use VEX encoding when compiling for AVX.
68218 2011-10-25  Andreas Schwab  <schwab@redhat.com>
68220         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
68221         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
68223         * string/test-strchr.c (do_test): Don't generate NUL bytes.
68225 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68227         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
68228         useless if() expression.
68229         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68230         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68231         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68232         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68233         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68234         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68235         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68236         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68237         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68238         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68239         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68240         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68241         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68242         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68243         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68244         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68245         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68246         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68247         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68249         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
68251 2011-10-25  Andreas Schwab  <schwab@redhat.com>
68253         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
68254         condition.
68255         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68257 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68259         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
68260         .text section.  Avoid duplicate constants.
68261         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68262         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68263         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68264         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68265         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68266         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68267         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68268         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68269         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68270         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
68271         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68272         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68273         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68274         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68275         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
68276         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68277         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
68278         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68279         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68280         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68281         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68282         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68283         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68284         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
68285         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
68286         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
68287         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
68288         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
68289         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
68290         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
68291         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
68292         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
68293         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68294         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
68295         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
68296         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
68297         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
68298         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
68299         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
68300         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
68301         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
68302         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
68303         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
68304         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
68305         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
68307 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
68309         * sysdeps/x86_64/dla.h: Move to ...
68310         * sysdeps/x86_64/fpu/dla.h: ...here.
68311         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
68312         situations.  Use __builtin_fma only for gcc 4.6 and up.
68314         * config.make.in: Add have-mfma4 entry.
68315         * configure.in: Substitute libc_cv_cc_fma4.
68316         * math/Makefile (dbl-only-routines): Add sincostab.
68317         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
68318         Use __sincostab not sincos.
68319         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
68320         name is a macro.
68321         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68322         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68323         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68324         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
68325         using __copysign.
68326         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
68327         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
68328         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
68329         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
68330         and __inv.
68331         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
68332         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
68333         __copysign.
68334         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
68335         define aliases when function name is a macro.
68336         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
68337         sysdeps/ieee754/dbl-64/sincos.tbl.
68338         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
68339         fma4-enabled routines.
68340         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
68341         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
68342         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
68343         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
68344         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
68345         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
68346         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
68347         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
68348         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
68349         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
68350         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
68351         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
68352         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
68353         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
68354         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
68355         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
68356         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
68357         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
68358         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
68359         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
68360         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
68361         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
68362         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
68363         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
68364         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
68365         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
68366         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
68367         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
68368         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
68369         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
68371         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
68372         rename.
68373         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68374         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68375         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68376         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68377         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68378         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68379         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68380         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68382 2011-10-24  Andreas Schwab  <schwab@redhat.com>
68384         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
68386 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68388         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
68390         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
68391         prediction.
68392         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
68394         * string/strnlen.c: Don't define STRNLEN, reverse logic.
68395         Remove unused variable magic_bits.
68396         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
68398         * string/strnlen.c: Define and use STRNLEN macro.
68399         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
68400         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
68401         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
68402         * wcsmbs/wcslen.c: Define and use WCSLEN.
68403         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
68404         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
68405         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
68406         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
68407         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
68408         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
68409         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68411 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68414         strnlen-sse2-no-bsf.
68415         Rename strlen-no-bsf to strlen-sse2-no-bsf.
68416         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
68417         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
68418         Add strnlen support.
68419         (USE_AS_STRNLEN): New macro.
68420         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
68421         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
68422         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
68423         * sysdeps/x86_64/wcslen.S: New file.
68425 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
68427         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68428         XMM-moves are used for copying on small sizes.
68430 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68432         * wcsmbs/Makefile (strop-tests): Add wcschr.
68433         * wcsmbs/test-wcschr.c: New file.
68434         * string/test-strchr.c: Update.
68435         Add wcschr support.
68436         (WIDE): New macro.
68438 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68440         * wcsmbs/Makefile (strop-tests): Add wcslen.
68441         * wcsmbs/test-wcslen.c: New file.
68442         * string/test-strlen.c: Update.
68443         Add wcslen support.
68444         (WIDE): New macro.
68446 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68448         * po/it.po: Update from translation team.
68450 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68452         * sysdeps/x86_64/wcscmp.S: Update.
68453         Fix wrong comparison semantics.
68454         wcscmp shall use signed comparison not unsigned.
68455         Don't use substraction to avoid overflow bug.
68456         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
68457         * wcsmbc/wcscmp.c: Likewise.
68458         * string/test-strcmp.c: Likewise.
68459         Add new tests to check cases with negative values.
68461 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68463         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
68464         * sysdeps/x86_64/dla.h: ...here.  New file.
68465         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
68466         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68467         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68468         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68469         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68470         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68471         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68472         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68473         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68475 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
68477         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
68478         __ynl_finite aliases.
68480 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
68482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68484         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
68485         define DLA_FMA.
68486         [DLA_FMA] (EMULV): Use DLA_FMA.
68487         [DLA_FMA] (MUL12): Use EMULV.
68488         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
68489         that are not needed.
68490         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68491         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68492         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68493         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68494         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68495         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68496         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68498 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
68500         * math/s_nan.c: Undef __nan.
68501         * math/s_nanf.c: Undef __nanf.
68502         * math/s_nanl.c: Undef __nanl.
68503         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
68504         "math_private.h".
68506 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
68508         * math/s_catan.c: Add branch predictions.
68509         * math/s_catanf.c: Likewise.
68510         * math/s_catanh.c: Likewise.
68511         * math/s_catanhf.c: Likewise.
68512         * math/s_catanhl.c: Likewise.
68513         * math/s_catanl.c: Likewise.
68514         * math/s_cexp.c: Likewise.
68515         * math/s_cexpf.c: Likewise.
68516         * math/s_cexpl.c: Likewise.
68517         * math/s_clog.c: Likewise.
68518         * math/s_clog10.c: Likewise.
68519         * math/s_clog10f.c: Likewise.
68520         * math/s_clog10l.c: Likewise.
68521         * math/s_clogf.c: Likewise.
68522         * math/s_clogl.c: Likewise.
68523         * math/s_csqrt.c: Likewise.
68524         * math/s_csqrtf.c: Likewise.
68525         * math/s_csqrtl.c: Likewise.
68526         * math/s_ctanf.c: Likewise.
68527         * math/s_ctanh.c: Likewise.
68528         * math/s_ctanhf.c: Likewise.
68529         * math/s_ctanhl.c: Likewise.
68530         * math/s_ctanl.c: Likewise.
68532         * math/math_private.h: Define __nan, __nanf, __nanl.
68533         * math/s_cacosh.c: Include <math_private.h>.
68534         * math/s_cacoshl.c: Likewise.
68535         * math/s_casinh.c: Likewise.
68536         * math/s_casinhf.c: Likewise.
68537         * math/s_casinhl.c: Likewise.
68538         * math/s_ccos.c: Rely entire on ccosh.
68539         * math/s_ccosf.c: Rely entire on ccoshf.
68540         * math/s_ccosl.c: Rely entirely on ccoshl.
68541         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
68542         Remove tests for FE_INVALID.
68543         * math/s_ccoshf.c: Likewise.
68544         * math/s_ccoshl.c: Likewise.
68545         * math/s_csin.c: Likewise.
68546         * math/s_csinf.c: Likewise.
68547         * math/s_csinh.c Likewise.
68548         * math/s_csinhf.c: Likewise.
68549         * math/s_csinhl.c: Likewise.
68550         * math/s_csinl.c: Likewise.
68551         * math/s_ctan.c: Likewise.
68552         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
68553         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
68554         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
68556 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
68558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
68559         compilation problems.
68561         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
68562         __builtin_expect.
68564 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
68566         * sysdeps/i386/configure.in: Test for -mfma4 option.
68567         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
68568         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
68569         COMMON_CPUID_INDEX_80000001.
68570         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
68571         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
68572         use it if FMA3 is not supported.
68573         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
68575         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
68576         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68578 2011-10-20  Andreas Schwab  <schwab@redhat.com>
68580         [BZ #12892]
68581         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
68582         it would create a cycle with a link time dependency.
68584 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
68586         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
68587         instruction.
68588         * string/Makefile (strop-tests): Add rawmemchr.
68589         * string/test-rawmemchr.c: New file.
68591         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
68592         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
68593         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
68594         when compiling str{,n}casecmp and when AVX is available.  Hook up
68595         new optimized code in initializers.
68597 2011-10-19  Andreas Schwab  <schwab@redhat.com>
68599         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
68600         __feraiseexcept instead of feraiseexcept.
68602 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
68604         * math/math_private.h: Define defaults for libc_fetestexcept and
68605         libc_feupdateenv.
68606         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
68607         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
68608         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68609         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68610         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68611         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68612         libc_fetestexcept and libc_feupdateenv.
68614         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
68615         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
68616         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
68617         * sysdeps/x86_64/fpu/math_private.h: Define special version of
68618         libc_feholdexcept_setround.
68620         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
68621         Add s_nearbyint-c and s_nearbyintf-c.
68622         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
68623         nearbyintf inlines.
68624         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
68625         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
68626         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
68627         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
68629         * math/math_private.h: Define defaults for libc_fegetround,
68630         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
68631         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
68632         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
68633         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
68634         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
68635         standard functions.
68636         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68637         Remove comments and hacks for old compiler versions.
68638         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68639         libc_fegetround, libc_fesetround, libc_feholdexcept, and
68640         libc_feholdexceptl.
68642 2011-10-18  Andreas Schwab  <schwab@redhat.com>
68644         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
68645         (__feraiseexcept_renamed): Add __NTH.
68646         (feraiseexcept): Add __NTH.  Rename local variables to fix
68647         namespace violations.
68649 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
68651         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
68653         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
68655         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
68656         recently added interfaces.
68657         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
68659         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
68660         about macro parameter expansion.
68662         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
68663         __NO_MATH_INLINES is defined.  Cleanups.
68665         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
68666         and __floorf is target has SSE4.1.
68667         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
68668         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
68669         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
68670         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
68672         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
68673         name.
68674         (floorf): Likewise.
68676         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
68678 2011-10-17  Andreas Schwab  <schwab@redhat.com>
68680         * misc/sys/cdefs.h: Fix last change.
68682         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
68683         database lookup.
68685 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
68687         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
68689         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
68690         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68691         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68692         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68693         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68694         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68695         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68696         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68697         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68698         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
68699         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
68700         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
68701         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
68702         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
68703         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
68704         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
68705         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
68706         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
68707         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
68708         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
68709         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
68710         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
68712         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
68713         ceil, ceilf, floor, floorf.
68715         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
68716         Perform IRELATIVE relocations last.
68718         * elf/do-rel.h: Add another parameter nrelative, replacing the
68719         local variable with the same name.  Change name of the function
68720         to end in Rel or Rela (uppercase).
68721         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
68722         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
68723         elf_dynamic_do_##reloc function.
68725 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68727         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
68728         is sufficient, at least on modern CPUs.
68730         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
68732         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
68733         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
68735         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
68736         __expl_finite.
68737         * math/bits/math-finite.h: Add entries for exp.
68738         * math/e_expl.c: Add __*_finite alias.
68739         * sysdeps/i386/fpu/e_exp.S: Likewise.
68740         * sysdeps/i386/fpu/e_expf.S: Likewise.
68741         * sysdeps/i386/fpu/e_expl.c: Likewise.
68742         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68743         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68744         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
68745         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
68746         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
68747         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68748         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68750         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
68751         is sufficient, at least on modern CPUs.
68753         * ctype/ctype-info.c (__ctype_init): Define.
68754         * include/ctype.h (__ctype_init): Declare.
68755         (__ctype_b_loc): The variable is always initialized.
68756         (__ctype_toupper_loc): Likewise.
68757         (__ctype_tolower_loc): Likewise.
68758         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
68759         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
68761 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
68763         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
68765         * configure.in: Also look in $cxxmachine/include for C++ system
68766         headers.
68768 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68770         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
68771         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
68772         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
68773         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
68774         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
68775         (USE_AS_WMEMCMP): New macro.
68776         Fixing indents.
68777         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
68778         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
68779         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
68780         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
68781         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68782         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
68783         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
68784         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
68785         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
68786         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
68787         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
68788         (USE_AS_WMEMCMP): New macro.
68789         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
68790         * sysdeps/string/test-memcmp.c: Update.
68791         Fix simple_wmemcmp.
68792         Add new tests.
68793         * wcsmbs/wmemcmp.c: Update.
68794         (WMEMCMP): New macro.
68795         Fix overflow bug.
68797 2011-10-12  Andreas Jaeger  <aj@suse.de>
68799         [BZ #13268]
68800         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
68802 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68804         * libio/iofwide.c (do_length): Avoid warning.
68806         * ctype/ctype.h (__isctype_f): Add missing __THROW.
68808 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
68810         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68812         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68813         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68814         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68815         * sysdeps/i386/i686/fpu/e_log.S: New file.
68816         * sysdeps/i386/i686/fpu/e_logf.S: New file.
68817         * sysdeps/i386/i686/fpu/e_logl.S: New file.
68819         * ctype/ctype.h: Add support for inlined isXXX functions when
68820         compiling C++ code.
68822 2011-10-14  Andreas Schwab  <schwab@redhat.com>
68824         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68826         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68828 2011-10-13  Roland McGrath  <roland@hack.frob.com>
68830         [BZ #13291]
68831         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68833 2011-10-13  Andreas Schwab  <schwab@redhat.com>
68835         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68836         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68837         feraiseexcept.
68839         * sysdeps/x86_64/memrchr.S: Check for zero size.
68841         * string/stratcliff.c: Add memrchr tests.
68843 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68845         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68846         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68847         rawmemchr-sse2 rawmemchr-sse2-bsf.
68848         * sysdeps/i386/i686/multiarch/memchr.S: New file.
68849         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68850         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68851         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68852         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68853         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68854         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68855         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68856         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68857         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68858         * string/memrchr.c (MEMRCHR): New macro.
68860 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
68862         Add integration with gcc's -ffinite-math-only and optimize wrapper
68863         functions in libm.
68864         * Versions.def: Define GLIBC_2.15 version for libm.
68865         * math/Makefile (headers): Add bits/math-finite.h.
68866         * math/bits/math-finite.h: New file.
68867         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68868         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68869         * math/e_acoshl.c: Add __*_finite alias.
68870         * math/e_acosl.c: Likewise.
68871         * math/e_asinl.c: Likewise.
68872         * math/e_atan2l.c: Likewise.
68873         * math/e_atanhl.c: Likewise.
68874         * math/e_coshl.c: Likewise.
68875         * math/e_exp10.c: Likewise.
68876         * math/e_exp10f.c: Likewise.
68877         * math/e_exp10l.c: Likewise.
68878         * math/e_exp2l.c: Likewise.
68879         * math/e_fmodl.c: Likewise.
68880         * math/e_gammal_r.c: Likewise.
68881         * math/e_hypotl.c: Likewise.
68882         * math/e_j0l.c: Likewise.
68883         * math/e_j1l.c: Likewise.
68884         * math/e_jnl.c: Likewise.
68885         * math/e_lgammal_r.c: Likewise.
68886         * math/e_log10l.c: Likewise.
68887         * math/e_log2l.c: Likewise.
68888         * math/e_logl.c: Likewise.
68889         * math/e_powl.c: Likewise.
68890         * math/e_sinhl.c: Likewise.
68891         * math/e_sqrtl.c: Likewise.
68892         * math/e_scalb.c: Completely rewritten and optimized.
68893         * math/e_scalbf.c: Likewise.
68894         * math/e_scalbl.c: Likewise.
68895         * math/w_acos.c: Likewise.
68896         * math/w_acosf.c: Likewise.
68897         * math/w_acosl.c: Likewise.
68898         * math/w_acosh.c: Likewise.
68899         * math/w_acoshf.c: Likewise.
68900         * math/w_acoshl.c: Likewise.
68901         * math/w_asin.c: Likewise.
68902         * math/w_asinf.c: Likewise.
68903         * math/w_asinl.c: Likewise.
68904         * math/w_atan2.c: Likewise.
68905         * math/w_atan2f.c: Likewise.
68906         * math/w_atan2l.c: Likewise.
68907         * math/w_atanh.c: Likewise.
68908         * math/w_atanhf.c: Likewise.
68909         * math/w_atanhl.c: Likewise.
68910         * math/w_exp10.c: Likewise.
68911         * math/w_exp10f.c: Likewise.
68912         * math/w_exp10l.c: Likewise.
68913         * math/w_fmod.c: Likewise.
68914         * math/w_fmodf.c: Likewise.
68915         * math/w_fmodl.c: Likewise.
68916         * math/w_j0.c: Likewise.
68917         * math/w_j0f.c: Likewise.
68918         * math/w_j0l.c: Likewise.
68919         * math/w_j1.c: Likewise.
68920         * math/w_j1f.c: Likewise.
68921         * math/w_j1l.c: Likewise.
68922         * math/w_jn.c: Likewise.
68923         * math/w_jnf.c: Likewise.
68924         * math/w_log.c: Likewise.
68925         * math/w_logf.c: Likewise.
68926         * math/w_logl.c: Likewise.
68927         * math/w_log10.c: Likewise.
68928         * math/w_log10f.c: Likewise.
68929         * math/w_log10l.c: Likewise.
68930         * math/w_log2.c: Likewise.
68931         * math/w_log2f.c: Likewise.
68932         * math/w_log2l.c: Likewise.
68933         * math/w_pow.c: Likewise.
68934         * math/w_powf.c: Likewise.
68935         * math/w_powl.c: Likewise.
68936         * math/w_remainder.c: Likewise.
68937         * math/w_remainderf.c: Likewise.
68938         * math/w_remainderl.c: Likewise.
68939         * math/w_scalb.c: Likewise.
68940         * math/w_scalbf.c: Likewise.
68941         * math/w_scalbl.c: Likewise.
68942         * math/w_sqrt.c: Likewise.
68943         * math/w_sqrtf.c: Likewise.
68944         * math/w_sqrtl.c: Likewise.
68945         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
68946         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
68947         used.
68948         * math/math_private.h: Declare __kernel_standard_f.
68949         * math/w_cosh.c: Remove cruft and optimize a bit.
68950         * math/w_coshf.c: Likewise.
68951         * math/w_coshl.c: Likewise.
68952         * math/w_exp2.c: Likewise.
68953         * math/w_exp2f.c: Likewise.
68954         * math/w_exp2l.c: Likewise.
68955         * math/w_hypot.c: Likewise.
68956         * math/w_hypotf.c: Likewise.
68957         * math/w_hypotl.c: Likewise.
68958         * math/w_lgamma.c: Likewise.
68959         * math/w_lgamma_r.c: Likewise.
68960         * math/w_lgammaf.c: Likewise.
68961         * math/w_lgammaf_r.c: Likewise.
68962         * math/w_lgammal.c: Likewise.
68963         * math/w_lgammal_r.c: Likewise.
68964         * math/w_sinh.c: Likewise.
68965         * math/w_sinhf.c: Likewise.
68966         * math/w_sinhl.c: Likewise.
68967         * math/w_tgamma.c: Likewise.
68968         * math/w_tgammaf.c: Likewise.
68969         * math/w_tgammal.c: Likewise.
68970         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68971         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68972         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
68973         Minor optimizations.  Pretty printing.  Remove cruft.
68974         * sysdeps/i386/fpu/e_acosf.S: Likewise.
68975         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68976         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68977         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68978         * sysdeps/i386/fpu/e_acosl.c: Likewise.
68979         * sysdeps/i386/fpu/e_asin.S: Likewise.
68980         * sysdeps/i386/fpu/e_asinf.S: Likewise.
68981         * sysdeps/i386/fpu/e_atan2.S: Likewise.
68982         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
68983         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
68984         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68985         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68986         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68987         * sysdeps/i386/fpu/e_exp10.S: Likewise.
68988         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
68989         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
68990         * sysdeps/i386/fpu/e_exp2.S: Likewise.
68991         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
68992         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
68993         * sysdeps/i386/fpu/e_fmod.S: Likewise.
68994         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
68995         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
68996         * sysdeps/i386/fpu/e_hypot.S: Likewise.
68997         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68998         * sysdeps/i386/fpu/e_log.S: Likewise.
68999         * sysdeps/i386/fpu/e_log10.S: Likewise.
69000         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69001         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69002         * sysdeps/i386/fpu/e_log2.S: Likewise.
69003         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69004         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69005         * sysdeps/i386/fpu/e_logf.S: Likewise.
69006         * sysdeps/i386/fpu/e_logl.S: Likewise.
69007         * sysdeps/i386/fpu/e_pow.S: Likewise.
69008         * sysdeps/i386/fpu/e_powf.S: Likewise.
69009         * sysdeps/i386/fpu/e_powl.S: Likewise.
69010         * sysdeps/i386/fpu/e_remainder.S: Likewise.
69011         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
69012         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
69013         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69014         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69015         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69016         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
69017         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
69018         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
69019         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69020         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69021         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69022         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69023         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69024         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69025         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
69026         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69027         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69028         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69029         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69030         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69031         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69032         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69033         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69034         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69035         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69036         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69037         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69038         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69039         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69040         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69041         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69042         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69043         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69044         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69045         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69046         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69047         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
69048         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69049         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69050         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69051         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69052         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69053         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69054         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69055         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69056         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69057         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69058         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69059         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69060         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69061         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69062         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69063         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69064         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69065         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69066         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69067         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69068         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
69069         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69070         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69071         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69072         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69073         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69074         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69075         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69076         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69077         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69078         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69079         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69080         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69081         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69082         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69083         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69084         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69085         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69086         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69087         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
69088         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69089         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69090         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69091         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69092         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69093         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69094         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69095         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69096         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69097         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69098         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69099         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69100         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69101         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
69102         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69103         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69104         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69105         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69106         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69107         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69108         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69109         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69110         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69111         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69112         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
69113         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69114         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69115         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69116         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
69117         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
69118         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
69119         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
69120         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
69121         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
69122         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
69123         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69124         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69125         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69126         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69127         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
69128         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69129         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
69130         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
69131         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
69132         (__isnanf): Likewise.
69133         (__isinf_ns): Likewise.
69134         (__isinf_nsf): Likewise.
69135         (__finite): Likewise.
69136         (__finitef): Likewise.
69137         (__ieee754_sqrt): Define as macro.
69138         (__ieee754_sqrtf): Define as macro.
69139         (__ieee754_sqrtl): Define as macro.
69140         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
69141         inlined copy.
69142         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
69143         __FINITE_MATH_ONLY__ consistent.
69144         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
69146 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
69148         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
69149         of rawmemchr.
69151         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
69153 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
69155         * po/ja.po: Update from translation team.
69157 2011-10-08  Roland McGrath  <roland@hack.frob.com>
69159         * locale/programs/locarchive.c (prepare_address_space): New function.
69160         (create_archive, enlarge_archive, open_archive): Use it.
69162         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
69163         inside [SHARED], where it is used.
69165         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
69167         * nss/getent.c (netgroup_keys): Remove unused variable.
69168         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69170 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
69172         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
69173         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
69174         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
69175         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
69176         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
69177         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
69178         * math/Makefile (libm-calls): Add s_isinf_ns.
69179         * math/divtc3.c: Use __isinf_nsl instead of isinf.
69180         * math/multc3.c: Likewise.
69181         * math/s_casin.c: Likewise.
69182         * math/s_casinf.c: Likewise.
69183         * math/s_casinl.c: Likewise.
69184         * math/s_ccos.c: Likewise.
69185         * math/s_ccosf.c: Likewise.
69186         * math/s_ccosl.c: Likewise.
69187         * math/s_ctan.c: Likewise.
69188         * math/s_ctanf.c: Likewise.
69189         * math/s_ctanh.c: Likewise.
69190         * math/s_ctanhf.c: Likewise.
69191         * math/s_ctanhl.c: Likewise.
69192         * math/s_ctanl.c: Likewise.
69193         * math/w_fmod.c: Likewise.
69194         * math/w_fmodf.c: Likewise.
69195         * math/w_fmodl.c: Likewise.
69196         * math/w_remainder.c: Likewise.
69197         * math/w_remainderf.c: Likewise.
69198         * math/w_remainderl.c: Likewise.
69199         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
69200         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
69201         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
69202         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
69203         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
69204         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
69205         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
69206         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
69208         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
69209         of the number.
69210         * stdio-common/printf_fphex.c: Likewise.
69211         * stdio-common/printf_size.c: Likewise.
69213         * math/e_exp10.c: Include math_private.h using <...> not "...".
69214         * math/e_exp10f.c: Likewise.
69215         * math/e_exp10l.c: Likewise.
69216         * math/e_exp2l.c: Likewise.
69217         * math/e_j0l.c: Likewise.
69218         * math/e_j1l.c: Likewise.
69219         * math/e_jnl.c: Likewise.
69220         * math/e_lgammal_r.c: Likewise.
69221         * math/e_rem_pio2l.c: Likewise.
69222         * math/e_scalb.c: Likewise.
69223         * math/e_scalbf.c: Likewise.
69224         * math/e_scalbl.c: Likewise.
69225         * math/k_cosl.c: Likewise.
69226         * math/k_sinl.c: Likewise.
69227         * math/k_tanl.c: Likewise.
69228         * math/s_cacoshf.c: Likewise.
69229         * math/s_catan.c: Likewise.
69230         * math/s_catanf.c: Likewise.
69231         * math/s_catanh.c: Likewise.
69232         * math/s_catanhf.c: Likewise.
69233         * math/s_catanhl.c: Likewise.
69234         * math/s_catanl.c: Likewise.
69235         * math/s_ccosh.c: Likewise.
69236         * math/s_ccoshf.c: Likewise.
69237         * math/s_ccoshl.c: Likewise.
69238         * math/s_cexp.c: Likewise.
69239         * math/s_cexpf.c: Likewise.
69240         * math/s_cexpl.c: Likewise.
69241         * math/s_clog.c: Likewise.
69242         * math/s_clog10.c: Likewise.
69243         * math/s_clog10f.c: Likewise.
69244         * math/s_clog10l.c: Likewise.
69245         * math/s_clogf.c: Likewise.
69246         * math/s_clogl.c: Likewise.
69247         * math/s_csin.c: Likewise.
69248         * math/s_csinf.c: Likewise.
69249         * math/s_csinh.c: Likewise.
69250         * math/s_csinhf.c: Likewise.
69251         * math/s_csinhl.c: Likewise.
69252         * math/s_csinl.c: Likewise.
69253         * math/s_csqrt.c: Likewise.
69254         * math/s_csqrtf.c: Likewise.
69255         * math/s_csqrtl.c: Likewise.
69256         * math/s_ctan.c: Likewise.
69257         * math/s_ctanf.c: Likewise.
69258         * math/s_ctanh.c: Likewise.
69259         * math/s_ctanhf.c: Likewise.
69260         * math/s_ctanhl.c: Likewise.
69261         * math/s_ctanl.c: Likewise.
69262         * math/s_ldexp.c: Likewise.
69263         * math/s_ldexpf.c: Likewise.
69264         * math/s_ldexpl.c: Likewise.
69265         * math/s_significand.c: Likewise.
69266         * math/s_significandf.c: Likewise.
69267         * math/s_significandl.c: Likewise.
69268         * math/w_acos.c: Likewise.
69269         * math/w_acosf.c: Likewise.
69270         * math/w_acosh.c: Likewise.
69271         * math/w_acoshf.c: Likewise.
69272         * math/w_acoshl.c: Likewise.
69273         * math/w_acosl.c: Likewise.
69274         * math/w_asin.c: Likewise.
69275         * math/w_asinf.c: Likewise.
69276         * math/w_asinl.c: Likewise.
69277         * math/w_atan2.c: Likewise.
69278         * math/w_atan2f.c: Likewise.
69279         * math/w_atan2l.c: Likewise.
69280         * math/w_atanh.c: Likewise.
69281         * math/w_atanhf.c: Likewise.
69282         * math/w_atanhl.c: Likewise.
69283         * math/w_cosh.c: Likewise.
69284         * math/w_coshf.c: Likewise.
69285         * math/w_coshl.c: Likewise.
69286         * math/w_dremf.c: Likewise.
69287         * math/w_exp10.c: Likewise.
69288         * math/w_exp10f.c: Likewise.
69289         * math/w_exp10l.c: Likewise.
69290         * math/w_exp2.c: Likewise.
69291         * math/w_exp2f.c: Likewise.
69292         * math/w_fmod.c: Likewise.
69293         * math/w_fmodf.c: Likewise.
69294         * math/w_fmodl.c: Likewise.
69295         * math/w_hypot.c: Likewise.
69296         * math/w_hypotf.c: Likewise.
69297         * math/w_hypotl.c: Likewise.
69298         * math/w_j0.c: Likewise.
69299         * math/w_j0f.c: Likewise.
69300         * math/w_j0l.c: Likewise.
69301         * math/w_j1.c: Likewise.
69302         * math/w_j1f.c: Likewise.
69303         * math/w_j1l.c: Likewise.
69304         * math/w_jn.c: Likewise.
69305         * math/w_jnf.c: Likewise.
69306         * math/w_jnl.c: Likewise.
69307         * math/w_lgamma.c: Likewise.
69308         * math/w_lgamma_r.c: Likewise.
69309         * math/w_lgammaf.c: Likewise.
69310         * math/w_lgammaf_r.c: Likewise.
69311         * math/w_lgammal.c: Likewise.
69312         * math/w_lgammal_r.c: Likewise.
69313         * math/w_log.c: Likewise.
69314         * math/w_log10.c: Likewise.
69315         * math/w_log10f.c: Likewise.
69316         * math/w_log10l.c: Likewise.
69317         * math/w_log2.c: Likewise.
69318         * math/w_log2f.c: Likewise.
69319         * math/w_log2l.c: Likewise.
69320         * math/w_logf.c: Likewise.
69321         * math/w_logl.c: Likewise.
69322         * math/w_pow.c: Likewise.
69323         * math/w_powf.c: Likewise.
69324         * math/w_powl.c: Likewise.
69325         * math/w_remainder.c: Likewise.
69326         * math/w_remainderf.c: Likewise.
69327         * math/w_remainderl.c: Likewise.
69328         * math/w_scalb.c: Likewise.
69329         * math/w_scalbf.c: Likewise.
69330         * math/w_scalbl.c: Likewise.
69331         * math/w_sinh.c: Likewise.
69332         * math/w_sinhf.c: Likewise.
69333         * math/w_sinhl.c: Likewise.
69334         * math/w_sqrt.c: Likewise.
69335         * math/w_sqrtf.c: Likewise.
69336         * math/w_sqrtl.c: Likewise.
69337         * math/w_tgamma.c: Likewise.
69338         * math/w_tgammaf.c: Likewise.
69339         * math/w_tgammal.c: Likewise.
69341         * po/ja.po: Update from translation team.
69343 2011-09-29  Andreas Jaeger  <aj@suse.de>
69345         [BZ #13179]
69346         * sunrpc/netname.c (netname2host): Fix logic.
69348         [BZ #6779]
69349         [BZ #6783]
69350         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
69351         correctly.
69352         * math/w_remainder.c (__remainder): Likewise.
69353         * math/w_remainderf.c (__remainderf): Likewise.
69354         * math/libm-test.inc (remainder_test): Add test cases.
69356 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69358         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
69359         sdiv_qrnnd.
69361 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
69363         * string/test-memcmp.c: Avoid unncessary #defines.
69364         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69366 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69368         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
69369         Use new sse2 version for core i3 - i7 as it's faster
69370         than sse42 version.
69371         (bit_Prefer_PMINUB_for_stringop): New.
69372         * sysdeps/x86_64/rawmemchr.S: Update.
69373         Replace with faster SSE2 version.
69374         * sysdeps/x86_64/memrchr.S: New file.
69375         * sysdeps/x86_64/memchr.S: Update.
69376         Replace with faster SSE2 version.
69378 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
69380         * elf/dl-load.c (lose): Add cast to avoid warning.
69382 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
69384         * po/ca.po: Update from translation team.
69386         * inet/getnetgrent_r.c: Hook up nscd.
69387         * nscd/Makefile (routines): Add nscd_netgroup.
69388         (nscd-modules): Add netgroupcache.
69389         (CFLAGS-netgroupcache.c): Define.
69390         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
69391         (cache_search): Add const to second parameter.
69392         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
69393         INNETGR.
69394         (dbs): Add netgrdb entry.
69395         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
69396         (verify_persistent_db): Handle netgrdb.
69397         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
69398         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
69399         GETFDNETGR.
69400         (netgroup_response_header): Define.
69401         (innetgroup_response_header): Define.
69402         (datahead): Add netgroup_response_header and innetgroup_response_header
69403         elements.
69404         * nscd/nscd.conf: Add entries for netgroup cache.
69405         * nscd/nscd.h (dbtype): Add netgrdb.
69406         (_PATH_NSCD_NETGROUP_DB): Define.
69407         (netgroup_iov_disabled): Declare.
69408         (xmalloc, xcalloc, xrealloc): Move declarations here.
69409         (cache_search): Adjust prototype.
69410         Add netgroup-related prototypes.
69411         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
69412         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
69413         (__nscd_innetgr): Declare.
69414         * nscd/selinux.c (perms): Use access_vector_t as element type and
69415         add netgroup-related initializers.
69416         * nscd/netgroupcache.c: New file.
69417         * nscd/nscd_netgroup.c: New file.
69418         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
69419         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
69420         For four parameters use innetgr.
69421         * nss/nss_files/files-init.c: Add definition and callback for netgr.
69422         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
69423         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
69424         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
69426         * nscd/connections.c (register_traced_file): Don't register file
69427         for disabled databases.
69429 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
69431         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
69433         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
69434         from tree and freeing node.
69436 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
69438         * nss/nsswitch.c (__nss_database_lookup): Handle
69439         nss_parse_service_list out of memory case.
69441 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
69443         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
69444         out of memory case.
69446 2011-10-04  Andreas Schwab  <schwab@redhat.com>
69448         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
69449         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
69450         pass it down.
69451         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
69452         elf_machine_rela, elf_machine_lazy_rel.
69453         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
69454         (ELF_DYNAMIC_DO_REL): Likewise.
69455         (ELF_DYNAMIC_DO_RELA): Likewise.
69456         (ELF_DYNAMIC_RELOCATE): Likewise.
69457         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
69458         to ELF_DYNAMIC_DO_REL.
69459         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
69460         (dl_main): In trace mode always set __RTLD_NOIFUNC.
69461         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
69462         elf_machine_rela.
69463         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
69464         skip_ifunc, don't call ifunc function if non-zero.
69465         (elf_machine_rela): Likewise.
69466         (elf_machine_lazy_rel): Likewise.
69467         (elf_machine_lazy_rela): Likewise.
69468         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
69469         (elf_machine_lazy_rel): Likewise.
69470         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
69471         Likewise.
69472         (elf_machine_lazy_rel): Likewise.
69473         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69474         Likewise.
69475         (elf_machine_lazy_rel): Likewise.
69476         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
69477         (elf_machine_lazy_rel): Likewise.
69478         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
69479         (elf_machine_lazy_rel): Likewise.
69480         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
69481         (elf_machine_lazy_rel): Likewise.
69482         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
69483         (elf_machine_lazy_rel): Likewise.
69484         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
69485         (elf_machine_lazy_rel): Likewise.
69486         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
69487         (elf_machine_lazy_rel): Likewise.
69489 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
69491         * nss/nss_files/files-init.c (_nss_files_init): Use static
69492         initialization for all the *_traced_file variables.
69494 2011-09-28  Andreas Schwab  <schwab@redhat.com>
69496         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69498 2011-09-27  Roland McGrath  <roland@hack.frob.com>
69500         [BZ #13226]
69501         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
69503 2011-09-27  Andreas Schwab  <schwab@redhat.com>
69505         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69506         Reread the line before reparsing it.
69508 2011-09-26  Andreas Schwab  <schwab@redhat.com>
69510         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
69512 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
69513             Maxim Kuvyrkov  <maxim@codesourcery.com>
69514             Joseph Myers  <joseph@codesourcery.com>
69516         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
69517         if needed for __stack_chk_guard.
69519 2011-09-19  Roland McGrath  <roland@hack.frob.com>
69521         * sysdeps/posix/spawni.c (script_execute): Always define it.
69522         It will be optimized away if unused.
69523         (maybe_script_execute): New function.
69524         (__spawni): Call it.
69526         * Makerules: Don't include tls.make.
69527         (config-tls): Always set to thread.
69528         * tls.make.c: File removed.
69530 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
69532         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
69533         * config.make.in (CPPFLAGS-config): New substituted variable.
69535 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
69537         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
69539         [BZ #13192]
69540         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
69541         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
69543 2011-09-15  Roland McGrath  <roland@hack.frob.com>
69545         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
69546         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
69547         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69548         (CALL_FAIL): Likewise.
69549         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
69550         (CALL_FAIL): Macro removed.
69551         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
69553 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
69555         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
69556         for __FINITE_MATH_ONLY__ == 1.
69558 2011-09-15  Andreas Schwab  <schwab@redhat.com>
69560         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
69561         __ieee754_sqrt instead of sqrt.
69562         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
69563         __ieee754_sqrtf instead of sqrtf.
69564         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
69565         __floorf instead of floorf.
69566         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
69567         __floorf, __truncf instead of floorf, truncf.
69569 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
69571         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
69573         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
69574         __extern_always_inline.
69575         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
69576         32-bit.
69578 2011-09-14  Andreas Schwab  <schwab@redhat.com>
69580         * elf/rtld.c (dl_main): Also relocate in dependency order when
69581         doing symbol dependency testing.
69583 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
69585         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69586         Always define `refsym'.
69588 2011-09-13  Andreas Schwab  <schwab@redhat.com>
69590         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
69591         (__FD_ELT): Renamed from __FDELT.
69592         * misc/bits/select2.h (__FD_ELT): Likewise.
69593         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
69594         __FD_MASK instead of __FDELT, __FDMASK.
69595         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69596         Likewise.
69597         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69598         Likewise.
69600         * elf/Makefile (gen-ldd): Fix pattern.
69602         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
69603         (init_tls): Likewise.
69605 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
69607         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
69609 2011-09-12  Andreas Schwab  <schwab@redhat.com>
69611         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
69612         `struct cmsghdr *' instead of `void *'.
69613         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
69614         Likewise.
69616 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
69618         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
69619         if non-absolute.
69620         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
69621         ldd_rewrite_script.
69623 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
69625         * configure.in: Remove --with-tls option.
69626         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
69627         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
69628         out in case it is missing.
69629         * sysdeps/ia64/elf/configure.in: Likewise.
69630         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
69631         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
69632         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
69633         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
69634         * sysdeps/sh/elf/configure.in: Likewise.
69635         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
69636         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69637         * sysdeps/x86_64/elf/configure.in: Likewise.
69638         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
69639         * sysdeps/mach/hurd/tls.h: Likewise.
69641         [BZ #13067]
69642         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
69644         [BZ #13090]
69645         * configure.in: Fix use of AC_INIT.
69647         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
69649 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
69651         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
69652         __set_errno.
69653         * malloc/hooks.c: Likewise.
69655         [BZ #11929]
69656         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
69657         variables statically.
69658         (narenas): Initialize.
69659         (list_lock): Initialize.
69660         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
69661         initializtion of main_arena and list_lock.  Small cleanups.
69662         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
69663         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
69664         Add initializers to main_arena and mp_.
69665         (malloc_state): Remove pagesize member.  Change all users to use
69666         GLRO(dl_pagesize).
69668         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
69669         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
69670         is always initialized.
69672         * malloc/malloc.c: Removed unused configurations and dead code.
69673         * malloc/arena.c: Likewise.
69674         * malloc/hooks.c: Likewise.
69675         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
69677         * include/tls.h: Removed.  USE___THREAD must always be defined.
69678         * bits/libc-tsd.h: Don't handle !USE___THREAD.
69679         * elf/dl-libc.c: Likewise.
69680         * elf/dl-tsd.c: Likewise.
69681         * include/errno.h: Likewise.
69682         * include/netdb.h: Likewise.
69683         * include/resolv.h: Likewise.
69684         * inet/herrno-loc.c: Likewise.
69685         * inet/herrno.c: Likewise.
69686         * malloc/arena.c: Likewise.
69687         * malloc/hooks.c: Likewise.
69688         * malloc/malloc.c: Likewise.
69689         * resolv/res-state.c: Likewise.
69690         * resolv/res_libc.c: Likewise.
69691         * sysdeps/i386/dl-machine.h: Likewise.
69692         * sysdeps/ia64/dl-machine.h: Likewise.
69693         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
69694         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69695         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
69696         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
69697         * sysdeps/sh/dl-machine.h: Likewise.
69698         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69699         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69700         * sysdeps/unix/i386/sysdep.S: Likewise.
69701         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
69702         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
69703         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
69704         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
69705         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
69706         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
69707         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
69708         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69709         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69710         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
69711         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69712         * sysdeps/x86_64/dl-machine.h: Likewise.
69713         * tls.make.c: Likewise.
69715         * configure.in: Remove --with-__thread option.  Make tests for
69716         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
69717         tls_model attribute fail if no support is available.  Remove
69718         USE_IN_LIBIO.
69719         * Makeconfig: Adjust for dropped configure option.  All features are
69720         now mandatory.
69721         * Makerules: Likewise.
69722         * Versions.def: Likewise.
69723         * argp/argp-fmtstream.c: Likewise.
69724         * argp/argp-fmtstream.h: Likewise.
69725         * argp/argp-help.c: Likewise.
69726         * assert/assert.c: Likewise.
69727         * config.h.in: Likewise.
69728         * config.make.in: Likewise.
69729         * configure: Likewise.
69730         * configure.in: Likewise.
69731         * csu/Versions: Likewise.
69732         * csu/init.c: Likewise.
69733         * elf/tst-audit2.c: Likewise.
69734         * elf/tst-tls10.c: Likewise.
69735         * elf/tst-tls10.h: Likewise.
69736         * elf/tst-tls11.c: Likewise.
69737         * elf/tst-tls12.c: Likewise.
69738         * elf/tst-tls14.c: Likewise.
69739         * elf/tst-tlsmod11.c: Likewise.
69740         * elf/tst-tlsmod12.c: Likewise.
69741         * elf/tst-tlsmod13.c: Likewise.
69742         * elf/tst-tlsmod13a.c: Likewise.
69743         * elf/tst-tlsmod14a.c: Likewise.
69744         * elf/tst-tlsmod15b.c: Likewise.
69745         * elf/tst-tlsmod16a.c: Likewise.
69746         * elf/tst-tlsmod16b.c: Likewise.
69747         * elf/tst-tlsmod7.c: Likewise.
69748         * elf/tst-tlsmod8.c: Likewise.
69749         * elf/tst-tlsmod9.c: Likewise.
69750         * gmon/gmon.c: Likewise.
69751         * grp/fgetgrent_r.c: Likewise.
69752         * grp/putgrent.c: Likewise.
69753         * hurd/fopenport.c: Likewise.
69754         * include/libc-symbols.h: Likewise.
69755         * include/tls.h: Likewise.
69756         * intl/gettextP.h: Likewise.
69757         * intl/loadinfo.h: Likewise.
69758         * locale/global-locale.c: Likewise.
69759         * locale/localeinfo.h: Likewise.
69760         * mach/devstream.c: Likewise.
69761         * malloc/arena.c: Likewise.
69762         * malloc/set-freeres.c: Likewise.
69763         * misc/err.c: Likewise.
69764         * misc/getttyent.c: Likewise.
69765         * misc/mntent_r.c: Likewise.
69766         * posix/getopt.c: Likewise.
69767         * posix/wordexp.c: Likewise.
69768         * pwd/fgetpwent_r.c: Likewise.
69769         * resolv/Versions: Likewise.
69770         * resolv/res_hconf.c: Likewise.
69771         * shadow/fgetspent_r.c: Likewise.
69772         * shadow/putspent.c: Likewise.
69773         * stdio-common/printf_fphex.c: Likewise.
69774         * stdio-common/tmpfile.c: Likewise.
69775         * stdlib/abort.c: Likewise.
69776         * stdlib/fmtmsg.c: Likewise.
69777         * sunrpc/auth_unix.c: Likewise.
69778         * sunrpc/clnt_perr.c: Likewise.
69779         * sunrpc/clnt_tcp.c: Likewise.
69780         * sunrpc/clnt_udp.c: Likewise.
69781         * sunrpc/clnt_unix.c: Likewise.
69782         * sunrpc/openchild.c: Likewise.
69783         * sunrpc/svc_simple.c: Likewise.
69784         * sunrpc/svc_tcp.c: Likewise.
69785         * sunrpc/svc_udp.c: Likewise.
69786         * sunrpc/svc_unix.c: Likewise.
69787         * sunrpc/xdr.c: Likewise.
69788         * sunrpc/xdr_array.c: Likewise.
69789         * sunrpc/xdr_rec.c: Likewise.
69790         * sunrpc/xdr_ref.c: Likewise.
69791         * sunrpc/xdr_stdio.c: Likewise.
69793 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69795         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69797 2011-07-03  Andreas Jaeger  <aj@suse.de>
69799         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
69800         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
69801         regenerate with gen-libm-tests.pl.
69803 2010-05-12  Petr Baudis  <pasky@suse.cz>
69805         [BZ #11589]
69806         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
69807         around j0() zero points by switching to j1().
69808         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69809         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69810         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69811         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69813 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69815         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69816         instead of 0.
69817         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69818         instead of 0.
69819         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69820         Patch in part by Pavel Roskin <proski@gnu.org>.
69822         [BZ #13138]
69823         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69824         realloc.
69825         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
69826         Free memory block if necessary.
69828         [BZ #12847]
69829         * libio/genops.c (INTDEF): For string streams the _lock pointer can
69830         be NULL.  Don't lock in this case.
69832 2011-09-09  Roland McGrath  <roland@hack.frob.com>
69834         * elf/elf.h (ELFOSABI_GNU): New macro.
69835         (ELFOSABI_LINUX): Define to that.
69837 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
69839         * string/strncat.c (strncat): Undef the symbol in case it has been
69840         defined in bits/string.h.
69842 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69844         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69846         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69847         link map.
69849 2011-08-17  Andreas Jaeger  <aj@suse.de>
69851         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69853 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
69854             Ian Lance Taylor  <iant@google.com>
69856         * math/libm-test.inc (lround_test): New testcase.
69857         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69859 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
69861         * Makefile: Remove support for automatic cvs check-ins.
69862         * Makerules: Likewise.
69863         * config.make.in: Likewise.
69864         * configure.in: Likewise.
69865         * intl/Makefile: Likewise.
69866         * locale/Makefile: Likewise.
69867         * po/Makefile: Likewise.
69868         * posix/Makefile: Likewise.
69869         * sysdeps/gnu/Makefile: Likewise.
69870         * sysdeps/mach/hurd/Makefile: Likewise.
69871         * sysdeps/sparc/sparc32/Makefile: Likewise.
69873         [BZ #13118]
69874         * posix/Makefile (bug-regex32-ENV): Define.
69875         Patch by John Stanley <jpsinthemix@verizon.net>.
69877         * misc/Makefile (headers): Add bits/select2.h.
69878         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
69879         * misc/bits/select2.h: New file.
69880         * include/bits/select2.h: New file.
69881         * debug/Makefile (routines): Add fdelt_chk.
69882         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
69883         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
69884         FD_ISSET.
69885         * debug/fdelt_chk.c: New file.
69887         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
69888         * wcsmbs/test-wmemcmp.c: Likewise.
69889         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
69890         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
69892 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69894         * string/Makefile (strop-tests): Add memcmp.
69895         * string/test-wmemcmp.c: New file.
69896         * string/test-memcmp.c: Add wmemcmp support.
69898 2011-09-08  Roland McGrath  <roland@hack.frob.com>
69900         [BZ #13153]
69901         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
69902         2011-07-19 change.
69904         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69905         garbage value in a __mach_port_mod_refs call in the cases of the
69906         task-self and thread-self ports.
69908 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69910         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
69912 2011-09-08  Andreas Schwab  <schwab@redhat.com>
69914         * elf/dl-load.c (lose): Check for non-null L.
69916 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69918         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
69920         * elf/dl-libc.c (dlerror_run): Pass back error code from
69921         dl_catch_error.
69923         [BZ #13123]
69924         * elf/dl-load.c (lose): Free l_origin if it is valid.
69926         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
69927         names.
69928         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
69929         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69930         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69931         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69932         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
69933         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
69935 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69937         * sysdeps/powerpc/fpu/e_hypot.c: New file.
69938         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
69939         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
69940         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
69941         * sysdeps/powerpc/fpu/k_cosf.c: New file.
69942         * sysdeps/powerpc/fpu/k_sinf.c: New file.
69943         * sysdeps/powerpc/fpu/s_cosf.c: New file.
69944         * sysdeps/powerpc/fpu/s_sinf.c: New file.
69945         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
69946         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
69948 2011-08-15  Alan Modra  <amodra@gmail.com>
69950         [BZ #13092]
69951         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
69952         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
69953         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
69954         ppc_mcount to static-only-routines.
69955         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
69956         __mcount_internal.
69957         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
69958         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
69960 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
69962         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69963         for finite and infinity parameters.
69965 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69967         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
69968         and add nop instructions for throughput optimization.
69969         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69971 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
69973         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
69974         aligned copy for power7 with vector-scalar instructions.
69975         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
69977 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
69979         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
69980         AVX check.
69982 2011-09-07  Andreas Schwab  <schwab@redhat.com>
69984         [BZ #13144]
69985         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
69986         last change.
69988 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69990         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69991         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
69992         syscall wrapper around clock_gettime in __vdso_clock_gettime.
69993         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
69994         clock_gettime.
69996 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69998         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69999         Forgot to demangle the pointer.
70001         * sysdeps/i386/sysdep.h: Define atom_text_section.
70002         * sysdeps/x86_64/sysdep.h: Likewise.
70003         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
70004         section with atom_text_section.
70005         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70006         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70007         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
70008         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70009         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
70011         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
70012         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
70013         already be defined.  Change to take two parameters and don't assign
70014         result to variable.  Adjust all users.
70015         Define INTERNAL_GETTIME if not already defined.
70016         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
70017         call.
70018         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
70019         HAVE_CLOCK_GETTIME_VSYSCALL.
70020         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
70022         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
70023         gettimeofday vsyscall, just use time.
70025 2011-09-06  Andreas Schwab  <schwab@redhat.com>
70027         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
70028         <errno.h>.
70030 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70032         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
70033         syscall on x86-64.
70034         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
70035         syscall.
70036         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
70037         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
70038         syscall if possible.
70040 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70042         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
70043         e_ident.  Don't pass to find_mapsXX.
70044         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
70046 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70048         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70049         strchr-sse2-no-bsf strrchr-sse2-no-bsf
70050         * sysdeps/x86_64/multiarch/strchr.S: Update.
70051         Check bit_slow_BSF bit.
70052         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70053         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
70054         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
70056 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70058         [BZ #13134]
70059         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
70060         before glibc 2.15.
70061         (tryshell): Define.
70062         (__spawni): Change last parameter to be flag.  Test
70063         SPAWN_XFLAGS_USE_PATH flag to use path or not.
70064         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
70065         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
70066         * posix/spawni.c: Likewise.
70067         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
70068         * posix/spawnp.c: Likewise.  Change normal version to use
70069         SPAWN_XFLAGS_USE_PATH.
70070         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
70071         SPAWN_XFLAGS_TRY_SHELL.
70073         [BZ #13150]
70074         * posix/glob.h: Remove gcc 1.x support.
70076         [BZ #13068]
70077         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
70079 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70081         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70082         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
70083         strrchr-sse2-bsf
70084         * sysdeps/i386/i686/multiarch/strchr.S: New file.
70085         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
70086         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
70087         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
70088         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
70089         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
70091 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70093         * sysdeps/x86_64/wcscmp.S: New file.
70095         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
70096         wcscmp-c wcscmp-sse2
70097         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
70098         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
70099         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
70100         * wcsmbs/wcscmp.c: Allow renaming.
70102 2011-09-05  David S. Miller  <davem@davemloft.net>
70104         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
70105         stack slot, rather than the struct return pointer slot.
70106         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
70107         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
70108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
70109         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
70111 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70113         * po/ja.po: Update from translation team.
70115         [BZ #13144]
70116         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
70117         kernel in 64-bit binaries.
70119 2011-09-01  David S. Miller  <davem@davemloft.net>
70121         * elf/elf.h (HWCAP_SPARC_*): Move to..
70122         * sysdeps/sparc/sysdep.h: this new file and add new values.
70123         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
70124         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
70125         _DL_HWCAP_COUNT to 24.
70126         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70127         entries.
70128         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
70129         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
70130         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
70131         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
70132         instead of magic constants.
70133         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70135 2011-08-31  David S. Miller  <davem@davemloft.net>
70137         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
70138         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
70139         Reimplement to do errno handling inline.
70140         (SYSCALL_ERROR_HANDLER): New macro.
70141         (__SYSCALL_STRING): Do not do errno handling in asm.
70142         (__CLONE_SYSCALL_STRING): Delete.
70143         (__INTERNAL_SYSCALL_STRING): Delete.
70144         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
70145         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
70146         (PSEUDO): Reimplement to do errno handling inline.
70147         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
70148         (SYSCALL_ERROR_HANDLER): New macro.
70149         (__SYSCALL_STRING): Do not do errno handling in asm.
70150         (__CLONE_SYSCALL_STRING): Delete.
70151         (__INTERNAL_SYSCALL_STRING): Delete.
70152         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
70153         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
70154         i386.
70155         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
70156         (inline_syscall*): Add 'err' argument.
70157         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
70158         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
70159         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
70160         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
70162         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
70163         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70165 2011-08-30  Andreas Schwab  <schwab@redhat.com>
70167         * elf/rtld.c (dl_main): Relocate objects in dependency order.
70169 2011-08-29  Jiri Olsa <jolsa@redhat.com>
70171         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
70172         directive.
70174 2011-08-24  David S. Miller  <davem@davemloft.net>
70176         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
70178 2011-08-24  Andreas Schwab  <schwab@redhat.com>
70180         * elf/Makefile: Add rules to build and run unload8 test.
70181         * elf/unload8.c: New file.
70182         * elf/unload8mod1.c: New file.
70183         * elf/unload8mod1x.c: New file.
70184         * elf/unload8mod2.c: New file.
70185         * elf/unload8mod3.c: New file.
70187         * elf/dl-close.c (_dl_close_worker): Reset private search list if
70188         it wasn't used.
70190 2011-08-23  David S. Miller  <davem@davemloft.net>
70192         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
70193         subtract stack bias.
70194         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
70195         %sp not %fp in calculations.
70196         (_JMPBUF_UNWINDS_ADJ): Likewise.
70198         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
70199         (aio_suspend): Call it to force an exception region around the
70200         AIO_MISC_WAIT() invocation.
70202 2011-08-23  Andreas Schwab  <schwab@redhat.com>
70204         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
70205         backslash.
70207 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
70209         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
70210         protection macro.
70211         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
70212         and <dl-machine.h>.
70213         (Elf64_FuncDesc): Remove.
70215 2011-08-22  David S. Miller  <davem@davemloft.net>
70217         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
70218         sigaltstack check, add missing cfi directives.
70219         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
70220         missing cfi directives, and sigaltstack handling.
70222 2011-08-16  Andreas Schwab  <schwab@redhat.com>
70224         [BZ #11724]
70225         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
70226         object is seen twice.
70227         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70229         * elf/Makefile (distribute): Add tst-initorder2.c.
70230         (tests): Add tst-initorder2.
70231         (modules-names): Add tst-initorder2a tst-initorder2b
70232         tst-initorder2c tst-initorder2d.  Add rules to build them.
70233         ($(objpfx)tst-initorder2.out): New rule.
70234         * elf/tst-initorder2.c: New file.
70235         * elf/tst-initorder2.exp: New file.
70237 2011-08-22  Andreas Schwab  <schwab@redhat.com>
70239         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
70241         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
70242         dependencies back to end of function.
70244         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70245         $(elfobjdir)/ld.so.
70247 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
70249         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
70250         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
70251         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
70252         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
70253         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
70254         of __vdso_gettimeofday.
70255         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
70256         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
70257         attribute_hidden.
70258         (_libc_vdso_platform_setup): Remove initialization of
70259         __vdso_gettimeofday and __vdso_time.
70261 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
70263         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
70264         and fgetc_unlocked.
70265         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
70266         getc_unlocked.
70268         * elf/dl-open.c (add_to_global): Report additions to the global scope
70269         for LD_DEBUG=scopes.
70270         (dl_open_worker): Also print scope of newly loaded dependencies.
70271         (_dl_show_scope): Indicate if there is no scope.
70273         [BZ #13114]
70274         * stdio-common/Makefile (tests): Add bug24.
70275         * stdio-common/bug24.c: New file.
70277 2011-08-19  Andreas Jaeger  <aj@suse.de>
70279         [BZ #13114]
70280         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
70281         non-existant file when using close-on-exec mode.
70283 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
70285         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
70286         the very first instruction.
70288         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
70289         the CFI state in the end.
70290         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
70291         inclusion of dl-trampoline.h.
70292         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
70294 2011-08-19  Andreas Schwab  <schwab@redhat.com>
70296         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
70297         expectations for long double.
70299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
70300         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
70302 2011-08-14  David S. Miller  <davem@davemloft.net>
70304         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
70305         artificual limit depends upon the system page size.
70307 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
70309         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
70310         * resolv/Makefile: Define CFLAGS-libresolv.
70312 2011-08-17  Andreas Schwab  <schwab@redhat.com>
70314         * nss/makedb.c (compute_tables): Make variables used in nested
70315         function static.
70317 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
70319         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
70320         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
70321         if buffer was too small.
70323         * elf/pldd.c (main): Attach to all threads in the process.
70324         Rewrite /proc handling to use *at functions.
70326 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
70328         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
70329         specifies first scope to show.
70330         (dl_open_worker): Update callers.  Move printing scope of new
70331         object to before the relocation.
70332         * elf/rtld.c (dl_main): Update _dl_show_scope call.
70333         * sysdeps/generic/ldsodefs.h: Update declaration.
70335         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
70336         string for the scope number.
70338 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
70340         * nscd/servicescache.c (cache_addserv): Make sure written is always
70341         initialized.
70343 2011-08-14  Roland McGrath  <roland@hack.frob.com>
70345         * sysdeps/i386/i486/bits/atomic.h
70346         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
70347         statement expression, so as to suppress "set but not used" warning.
70348         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
70350         * string/strncat.c (STRNCAT): Use prototype definition.
70352         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
70353         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
70354         -Iprograms here.
70355         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
70356         (localedef-modules): Add localedef.
70357         (locale-modules): Add locale.
70359         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
70360         * elf/rtld.c (dl_main): Invert order of assignment in last change,
70361         to avoid a warning.
70363 2011-08-14  David S. Miller  <davem@davemloft.net>
70365         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
70366         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
70368 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
70370         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
70371         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
70372         * elf/rtld.c (dl_main): Set l_name of vDSO.
70373         Call _dl_show_scope when DL_DEBUG_SCOPES.
70374         (process_dl_debug): Recognize scopes flag and also set it for all.
70375         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
70376         Declare _dl_show_scope.
70378         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
70379         (do_dlopen): Pass caller_dlopen to dl_open.
70380         (__libc_dlopen_mode): Initialize caller_dlopen.
70382         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
70383         of libc.  Make tolower call locale-independent.  Optimize a bit by
70384         using isdigit instead of isalnum.
70385         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
70387 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
70389         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
70390         was a dependency or dynamically loaded.
70392 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
70394         * intl/l10nflist.c: Allow architecture-specific pop function.
70395         * sysdeps/x86_64/l10nflist.c: New file.
70397         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
70398         classification.
70400 2011-08-10  Andreas Schwab  <schwab@redhat.com>
70402         * include/dirent.h: Add libc_hidden_proto for scandirat and
70403         scandirat64.  Don't declare __scandirat64.
70404         * dirent/scandirat.c: Add libc_hidden_def.
70405         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
70406         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
70408 2011-08-10  David S. Miller  <davem@davemloft.net>
70410         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
70411         enum.
70412         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70413         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70414         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70416 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
70418         * Versions.def [libc]: Add GLIBC_2.15.
70419         * dirent/Makefile (routines): Add scandirat and scandirat64.
70420         * dirent/Versions [libc]: Export scandirat and scandirat64 for
70421         GLIBC_2.15.
70422         * dirent/dirent.h: Declare scandirat and scandirat64.
70423         * dirent/scandirat.c: New file.
70424         * dirent/scandirat64.c: New file.
70425         * sysdeps/wordsize-64/scandirat.c: New file.
70426         * sysdeps/wordsize-64/scandirat64.c: New file.
70427         * dirent/opendir.c: Define opendirat.
70428         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
70429         using scandirat.
70430         * dirent/scandir64.c: Adjust for scandir.c change.
70431         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
70432         __scandirat64, and __scandir_cancel_handler.
70433         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
70434         additional parameter and use openat instead of open (outside of ld.so).
70435         Add new __opendir as wrapper around __opendirat.
70436         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
70437         here without requiring old scandirat implementation.
70439 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
70441         * dirent/scandir.c (cancel_handler): Renamed to
70442         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
70443         defined.  Adjust users.
70444         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
70445         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
70447 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
70449         * string/test-string.h (IMPL): Use __STRING to expand name and then
70450         stringify it.
70452         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
70453         of cleanups.
70455 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70457         * string/Makefile: Update.
70458         (strop-tests): Append strncat.
70459         * string/test-wcscmp.c: New file.
70460         New comprehensive test for wcscmp.
70461         * string/test-strcmp.c: Update.
70462         (WIDE): New define.
70464 2011-07-22  Andreas Schwab  <schwab@redhat.com>
70466         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
70467         line.
70469 2011-07-26  Andreas Schwab  <schwab@redhat.com>
70471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70472         encoding to ACE if AI_IDN.
70474 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
70476         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
70477         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
70479 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70481         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
70482         Fix overflow bug in strncat.
70483         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
70485         * string/test-strncat.c: Update.
70486         Add new tests for checking overflow bugs.
70488 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70490         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70491         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
70492         * sysdeps/i386/i686/multiarch/strcat.S: New file.
70493         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
70494         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
70495         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
70496         * sysdeps/i386/i686/multiarch/strncat.S: New file.
70497         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
70498         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
70500         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
70501         (USE_AS_STRCAT): Define.
70502         Add strcat and strncat support.
70503         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70505 2011-07-25  Andreas Schwab  <schwab@redhat.com>
70507         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
70508         __n bigger than INT_MAX+1.
70509         (__strncmp_g): Likewise.
70511 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
70513         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
70514         * libio/stido.h: Likewise.
70516         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
70517         (AF_NFC): Define.
70518         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
70519         (AF_NFC): Define.
70521         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
70522         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70523         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70524         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
70525         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70527         [BZ #13021]
70528         * scripts/test-installation.pl: Don't expect libnss_test1 to be
70529         installed.
70531         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
70532         typo.
70533         (_dl_x86_64_save_sse): Likewise.
70535 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
70537         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
70538         OSXSAVE.
70539         (_dl_x86_64_save_sse): Likewise.
70541         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
70543         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
70545 2011-07-21  Andreas Schwab  <schwab@redhat.com>
70547         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
70548         change.
70549         (_dl_x86_64_save_sse): Use correct AVX check.
70551 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70553         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
70554         bug in strncpy/strncat.
70555         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
70557 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
70559         * string/tester.c (test_strcat): Add tests for different alignments
70560         of source and destination.
70561         (test_strncat): Likewise.
70563 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70565         [BZ #12852]
70566         * posix/glob.c (glob): Check passed in values before using them in
70567         expressions to avoid some overflows.
70568         (glob_in_dir): Likewise.
70570         [BZ #13007]
70571         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
70572         check for AVX enablement so that we don't crash with old kernels and
70573         new hardware.
70574         * elf/tst-audit4.c: Add same checks here.
70575         * elf/tst-audit6.c: Likewise.
70577         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
70579 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
70581         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
70583 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70585         * po/cs.po: Update from translation team.
70586         * po/bg.po: Likewise.
70588 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
70590         * misc/sys/cdefs.h: Add support for const attribute.
70591         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
70592         to gnu_dev_{major,minor,makedev} functions.
70594 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
70596         * intl/dcigettext.c (get_output_charset): Add missing bracket.
70598 2011-07-20  Andreas Schwab  <schwab@redhat.com>
70600         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
70601         strlen results.
70603 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70605         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
70606         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
70607         register in order to avoid conflicts with the soft frame pointer
70608         being held in r11 when necessary.
70609         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
70610         (INTERNAL_VSYSCALL_NCS): Likewise.
70612 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
70614         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
70615         * elf/dl-fini.c (_dl_fini): Adjust caller.
70616         * elf/dl-close.c (_dl_close_worker): Likewise.
70617         * sysdeps/generic/ldsodefs.h: Adjust declaration.
70619 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70621         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
70622         "aux_cache->nlibs < 0".
70624         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
70625         in the reload-count case.
70627 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70629         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70630         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
70631         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
70632         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
70633         * sysdeps/x86_64/multiarch/strcat.S: New file.
70634         * sysdeps/x86_64/multiarch/strncat.S: New file.
70635         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
70636         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
70637         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
70638         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
70639         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
70640         (USE_AS_STRCAT): Define.
70641         Add strcat and strncat support.
70642         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70643         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
70644         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
70645         * string/strncat.c: Update.
70646         (USE_AS_STRNCAT): Define.
70647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70648         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
70649         and i7.
70650         * sysdeps/x86_64/multiarch/init-arch.h
70651         (bit_Prefer_PMINUB_for_stringop): New.
70652         (index_Prefer_PMINUB_for_stringop): Likewise.
70653         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
70654         bit_Prefer_PMINUB_for_stringop.
70656 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70658         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
70659         buffer64.
70660         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
70661         of casting of buffer.
70662         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
70663         buffer32 and buffer64.
70664         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
70665         writes instead of casting of buffer.
70666         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
70667         buffer32.
70668         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
70669         casting of buffer.
70671 2011-07-19  Andreas Schwab  <schwab@redhat.com>
70673         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
70675 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70677         * nscd/nscd.c (termination_handler): Don't do anything for a database
70678         if it has not yet been initialized.
70680 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70682         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70684 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70686         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70688 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70690         * po/nl.po: Update from translation team.
70691         * po/sv.po: Likewise.
70693 2011-07-16  Roland McGrath  <roland@hack.frob.com>
70695         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
70696         now disallowed by GCC.
70698         * configure.in (use-default-link): Default to yes if a test -shared
70699         link meets our qualifications.
70700         * configure: Regenerated.
70702         * config.make.in (output-format): New variable.
70703         * configure.in: Check for ld --print-output-format support.
70704         * configure: Regenerated.
70705         * Makerules ($(common-objpfx)format.lds)
70706         [$(output-format) != unknown]: Just use $(output-format),
70707         instead of the linker-script munging.
70709 2011-07-14  Roland McGrath  <roland@hack.frob.com>
70711         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
70712         of $(common-objpfx)shlib.lds.
70713         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
70715         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
70716         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
70718         * configure.in (-z relro check): Adjust test code to add a large
70719         writable data section after it.
70720         * configure: Regenerated.
70722 2011-07-11  Roland McGrath  <roland@hack.frob.com>
70724         * configure.in (-z relro check): Fix test code to make the variable
70725         truly const.
70726         * configure: Regenerated.
70728 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
70730         * nscd/nscd.h (struct traced_file): Define.
70731         (struct database_dyn): Remove inotify_descr, reset_res, and filename
70732         elements.  Add traced_files.
70733         (inotify_fd): Declare.
70734         (register_traced_file): Declare.
70735         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
70736         (inotify_fd): Export.
70737         (resolv_conf_descr): Remove.
70738         (nscd_init): Move inotify descriptor creation to main.
70739         Don't register files for notification here.
70740         (register_traced_file): New function.
70741         (invalidate_cache): Don't use reset_res to determine whether to call
70742         res_init, go through the list of registered files.
70743         (main_loop_poll): The inotify descriptors are now stored in the
70744         structures for the traced files.
70745         (main_loop_epoll): Likewise.
70746         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
70747         to __nss_disable_nscd.
70748         * nscd/cache.c (prune_cache): There is no single inotify descriptor
70749         for a database anymore.  Check the records for all the registered
70750         files instead.
70751         * nss/Makefile (libnss_files-routines): Add files-init.
70752         (libnss_db-routines): Add db-init.
70753         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
70754         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
70755         * nss/nss_db/db-init.c: New file.
70756         * nss/nss_files/files-init.c: New file.
70757         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
70758         __nss_lookup_function.
70759         (__nss_lookup_function): Call nss_load_library.
70760         (nss_load_all_libraries): New function.
70761         (__nss_disable_nscd): Take parameter with callback function for files
70762         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
70763         used for the cached services.
70764         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
70765         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
70766         options for features to all the files in nscd.
70768         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
70770 2011-07-10  Roland McGrath  <roland@hack.frob.com>
70772         * csu/elf-init.c (__libc_csu_init): Comment typo.
70774 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
70776         * po/pl.po: Update from translation team.
70777         * po/ja.po: Likewise.
70778         * po/ru.po: Likewise.
70779         * po/ko.po: Likewise.
70780         * po/fr.po: Likewise.
70782 2011-07-09  Roland McGrath  <roland@hack.frob.com>
70784         * configure.in (.ctors/.dtors header and trailer check):
70785         Use an empirical test on a built program.
70786         * configure: Regenerated.
70788         * configure.in (-z relro check): Use an empirical test on a built DSO.
70789         Detect, but do not require, on ia64.
70790         * configure: Regenerated.
70792         * configure.in (READELF): Find it with AC_CHECK_TOOL.
70793         Update tests that use readelf to use $READELF instead.
70794         * configure: Regenerated.
70796 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
70798         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
70799         if the result is not used.
70801 2011-07-05  Andreas Jaeger  <aj@suse.de>
70803         [BZ#9696]
70804         * stdlib/tst-strtod.c: Add testcase.
70806 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
70808         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
70809         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
70810         The latter has a higher limit.  Take additional parameter to pass to
70811         the new function.
70812         (__pathconf): Pass file to __statfs_link_max.
70813         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70814         __statfs_link_max.
70815         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70816         __statfs_link_max.
70818         [BZ #12868]
70819         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70820         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70821         Handle Lustre.
70822         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70823         (__statfs_filesize_max): Likewise.
70824         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70826 2011-07-05  Andreas Jaeger  <aj@suse.de>
70828         * resolv/res_comp.c (dn_skipname): Remove unused variable.
70830 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
70832         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70833         `status' variable.
70834         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70835         Likewise.
70837 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
70839         * Makefile (strop-tests): Add strncat.
70840         * string/test-strncat.c: New file.
70842 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
70844         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70846 2011-06-21  Andreas Jaeger  <aj@suse.de>
70848         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70849         Copy rule from iconvdata/Makefile.
70851 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70853         [BZ #12922]
70854         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70855         but no long options are defined, just return 'W'.
70857 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
70859         [BZ #9696]
70860         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70862 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70864         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70865         netgroups to read.
70866         (innetgr): Likewise.
70868 2011-07-05  Roland McGrath  <roland@hack.frob.com>
70870         * config.make.in (install_root): Default to $(DESTDIR).
70872 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
70874         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
70876 2011-07-02  Roland McGrath  <roland@hack.frob.com>
70878         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
70880         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
70881         containing directory rather than embedding absolute directory names.
70883         * scripts/check-local-headers.sh: Rewritten using awk.
70884         Match by word, not by line.  Print error messages for matches.
70885         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
70887         * Makerules [shlib-lds-flags empty]:
70888         ($(common-objpfx)libc_pic.opts): New target.
70889         ($(common-objpfx)libc_pic.os.clean): New target.
70890         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
70892         * config.make.in (OBJCOPY): New variable.
70893         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
70894         * configure: Regenerated.
70896         * config.make.in (use-default-link): New variable.
70897         * configure.in (use_default_link): Grok --with-default-link to set it.
70898         * configure: Regenerated.
70899         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
70900         (shlib-lds, shlib-lds-flags): Define to empty.
70902         * Makerules (shlib-lds): New variable.
70903         (shlib-lds-flags): New variable.
70904         (build-shlib, build-moduile, build-module-asneeded): Use it.
70905         ($(common-objpfx)libc.so): Use $(shlib-lds).
70906         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
70907         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
70909         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
70910         DT_FLAGS/DT_FLAGS_1 with zero flags.
70912         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
70913         linker script munging.
70915 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
70917         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
70918         as 128-bit value.
70919         * crypt/sha512.c (sha512_process_block): Perform total addition using
70920         128-bit if possible.
70921         (__sha512_finish_ctx): Likewise.
70922         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
70923         as 64-bit value.
70924         * crypt/sha256.c (SWAP64): Define.
70925         (sha256_process_block): Perform total addition using 64-bit if
70926         possible.
70927         (__sha256_finish_ctx): Likewise.
70929 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
70931         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
70932         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70933         * nscd/hstcache.c (cache_addhst): Likewise.
70934         * nscd/grpcache.c (cache_addgr): Likewise.
70935         * nscd/aicache.c (addhstaiX): Likewise.
70936         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
70938 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
70940         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
70941         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70942         * nscd/hstcache.c (cache_addhst): Likewise.
70943         * nscd/grpcache.c (cache_addgr): Likewise.
70944         * nscd/aicache.c (addhstaiX): Likewise.
70946 2011-07-01  Andreas Schwab  <schwab@redhat.com>
70948         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
70949         domain only when needed.
70951 2011-06-30  Andreas Schwab  <schwab@redhat.com>
70953         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
70954         is always restored.
70956 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
70958         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
70959         are re-adding the entry.
70960         * nscd/servicescache.c (cache_addserv): Likewise.
70962 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
70964         * sysdeps/generic/dl-irel.h: fix protection against multiple
70965         inclusions.
70966         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
70968 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
70970         [BZ #12935]
70971         * malloc/memusage.sh: Fix quoting in message.
70972         * debug/xtrace.sh: Likewise.
70974         * configure.in: Remove support for --experimental-malloc option, make
70975         it the default.
70976         * config.make.in: Likewise.
70977         * malloc/Makefile: Likewise.
70979 2011-06-27  Andreas Schwab  <schwab@redhat.com>
70981         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
70982         two-byte characters.
70984 2011-06-27  Roland McGrath  <roland@hack.frob.com>
70986         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
70987         AC_CACHE_CHECK invocation.
70988         * configure: Regenerated.
70990         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
70992 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
70994         [BZ #12350]
70995         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
70996         bit from old_res_options.
70998         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
71000         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
71001         value type for setfct.
71003 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
71005         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71006         __gettimeofday instead of gettimeofday.
71008 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
71010         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
71012 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
71014         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
71016         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
71017         info.
71019 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71022         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71023         strcpy-sse2-unaligned strncpy-sse2-unaligned
71024         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
71025         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
71026         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
71027         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
71028         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
71029         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
71030         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
71031         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
71032         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
71033         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
71034         (STRCPY): Support SSE2 and SSSE3 versions.
71036 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
71038         [BZ #12874]
71039         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
71040         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
71041         kernels which artificially limit size of requests.
71043 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71045         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71046         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71047         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
71048         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
71049         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
71050         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
71051         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
71052         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
71053         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
71054         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
71055         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
71056         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
71057         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
71058         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
71059         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
71060         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71061         Enable unaligned load optimization for Intel Core i3, i5 and i7
71062         processors.
71063         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
71064         Define.
71065         (index_Fast_Unaligned_Load): Define.
71066         (HAS_FAST_UNALIGNED_LOAD): Define.
71068 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
71070         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
71072 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71074         [BZ #12907]
71075         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
71076         until it is clear that the information is realy needed.
71077         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
71079 2011-06-22  Andreas Schwab  <schwab@redhat.com>
71081         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
71083 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71085         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71086         /sys/devices/system/cpu/online if it is usable.
71088         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
71089         reading the information from the /proc filesystem to once a second.
71091 2011-06-21  Andreas Jaeger  <aj@suse.de>
71093         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
71094         NULL after inclusion of kernel headers.
71096 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
71098         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
71099         calls to internal_setent.
71101         [BZ #12885]
71102         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
71103         addresses using gethostbyname4_r ignore IPv4 addresses.
71105         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
71106         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
71108         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
71110 2011-06-20  David S. Miller  <davem@davemloft.net>
71112         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
71113         inclusions.
71114         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
71116         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
71117         (elf_irel): Use it.
71118         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
71119         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
71120         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
71121         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
71122         * sysdeps/x86_64/dl-irel.h: Likewise.
71124         * elf/dl-runtime.c: Use elf_ifunc_invoke.
71125         * elf/dl-sym.c: Likewise.
71127 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71129         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
71130         need to dereference resplen2.
71132 2011-06-14  Andreas Schwab  <schwab@redhat.com>
71134         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
71136 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71138         * Makeconfig: Define vardbdir and inst_vardbdir.
71139         * nss/Makefile: Add rules to install db-Makefile.
71141         * nss/nss_db/db-XXX.c: Cleanup.
71143         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
71144         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
71145         GLIBC_PRIVATE.
71146         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
71147         * nss/makedb.c: Implement -g option to specify that value strings
71148         are generated and should not be added to table iterated over for
71149         get*ent calls.
71150         * nss/nss_db/db-initgroups.c: New file.
71152         * nss/getent.c: Add support for initgroups lookups through getgrouplist
71153         interface.
71155         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
71156         (internal_getgrouplist): Adjust to name change.
71157         Update use_initgroups_entry if this is not the first call.
71158         * nss/databases.def: Add initgroups entry.
71160         * nss/makedb.c (compute_tables): Check result of multiple hash table
71161         sizes to minimize maximum chain length.
71163 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
71165         * Versions.def: Add entry for libnss_db.
71166         * shlib-versions: Likewise.
71167         * nss/Makefile: Add rules to build libnss_db.
71168         * nss/Versions: Add libnss_db information.  Organize libnss_files
71169         entries better.
71170         * nss/db-Makefile: Add gshadow support.  Change rules for the new
71171         makedb progra.  Some minor improvements to generate smaller files.
71172         * nss/nss_db/nss_db.h: Move NSS database header data structures to
71173         here from...
71174         * nss/makedb.c: ...here.
71175         Improve database format to be smaller and require less memory at
71176         runtime.
71177         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
71178         db anymore.
71179         * nss/nss_db/db-netgrp.c: Likewise.
71180         * nss/nss_db/db-open.c: Likewise.
71181         * nss/nss_files/flies-XXX.x: Adjust comments.
71182         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
71183         * nss/nss_files/files-grp.c: Likewise.
71184         * nss/nss_files/files-hosts.c: Likewise.
71185         * nss/nss_files/files-network.c: Likewise.
71186         * nss/nss_files/files-proto.c: Likewise.
71187         * nss/nss_files/files-pwd.c: Likewise.
71188         * nss/nss_files/files-rpc.c: Likewise.
71189         * nss/nss_files/files-service.c: Likewise.
71190         * nss/nss_files/files-sgrp.c: Likewise.
71191         * nss/nss_files/files-spwd.c: Likewise.
71192         * nss/nss_db/db-alias.c: Removed.
71193         * nss/nss_db/dummy-db.h: Removed.
71195 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
71197         * nss/makedb.c: Rewritten to not use database library.
71198         * nss/Makefile: Update to build new makedb program.
71200 2011-06-14  Andreas Jaeger  <aj@suse.de>
71202         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
71203         memset declaration.
71205 2011-06-10  Andreas Schwab  <schwab@redhat.com>
71207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
71208         tmpbuf.
71210 2011-06-10  Roland McGrath  <roland@hack.frob.com>
71212         * Makerules (shlib.lds): Fail if the linker script comes out empty.
71213         * elf/Makefile ($(objpfx)ld.so): Likewise.
71215         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
71216         Don't list ld.so twice in dependencies.
71218         * posix/bug-regex31.c: Include <stdlib.h>.
71220         * nscd/hstcache.c (cache_addhst): Remove unused variable.
71222         * nis/nss_compat/compat-spwd.c
71223         (getspent_next_nss_netgr): Remove unused variable.
71224         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
71226         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
71227         nonmembers" output to use the right array.
71229         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
71231         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
71233         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
71234         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
71235         * catgets/gencat.c (read_input_file): Likewise.
71236         * locale/programs/locarchive.c (enlarge_archive): Likewise.
71238         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
71239         variable definition inside #if's controlling its use.
71241         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
71243         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
71245         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
71247         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
71248         unreachable code.
71250         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
71252         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
71253         * configure: Regenerated.
71255         * Makerules: Revert last change.
71256         * elf/Makefile: Likewise.
71258 2011-06-09  Roland McGrath  <roland@hack.frob.com>
71260         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
71261         * elf/Makefile ($(objpfx)librtld.os): Likewise.
71262         (reloc-link): Likewise.
71264 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
71266         * elf/Makefile: Add rules to build pldd.
71267         * elf/pldd.c: New file.
71268         * elf/pldd-xx.c: New file.
71270 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
71272         * version.h: Update for 2.15 development version.
71274 2011-06-07  David S. Miller  <davem@davemloft.net>
71276         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
71277         ifuncs.
71278         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
71279         elf_machine_lazy_rel): Likewise.
71280         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
71281         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
71282         elf_machine_lazy_rel): Likewise.
71283         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
71284         dl_hwcap via passed in argument.
71285         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
71286         Likewise.
71288 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71290         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
71292 2011-06-06  Roland McGrath  <roland@hack.frob.com>
71294         [BZ #12849]
71295         * manual/fdl-1.1.texi: New file, verbatim from:
71296         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
71297         * manual/lgpl-2.1.texi: New file, verbatim from:
71298         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
71299         * manual/Makefile (licenses): New variable, list those new file names.
71300         (texis): Use it.
71301         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
71303         * manual/fdl.texi: File removed.
71304         * manual/lesser.texi: File removed.
71305         * manual/libc.texinfo (Copying, Documentation License):
71306         Use new @include file names, put @appendix directive before @include.
71308 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
71310         [BZ #12841]
71311         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
71312         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
71313         (mq_open): Add __NTH.
71315 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
71317         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71318         Assume Intel Core i3/i5/i7 processor if AVX is available.
71320 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
71322         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71323         typo.
71325 2011-05-31  Andreas Schwab  <schwab@redhat.com>
71327         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
71328         memory.  Use alloca_account.  Fix memory leak when retrying.
71330 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
71332         * version.h (RELEASE): Bump for 2.14 release.
71333         * include/features.h (__GLIBC_MINOR__): Bump to 14.
71335         * config.make.in (RANLIB): Remove entry.
71337 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
71339         * po/Makefile (po-sed-cmd): Add ksh to extensions.
71340         (libc.pot): Work around missing support for .ksh extension in xgettext.
71342         [BZ #12684]
71343         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
71344         if both request failed.
71345         (send_dg): In case of server errors clear resplen or *resplen2.
71347         [BZ #12454]
71348         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
71349         when there are multiple maps.
71350         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
71351         (_dl_fini): Remove test here.
71353         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
71355 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
71357         [BZ #12350]
71358         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
71359         bit from old_res_options.
71360         (gaih_inet): Likewise.
71362         [BZ #11099]
71363         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
71364         as signed.
71366         * resolv/res_init.c (res_setoptions): Make the code more compact.
71368         [BZ #11558]
71369         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
71370         set RES_USEVC.
71372         [BZ #11634]
71373         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
71375         * malloc/malloc.h: Mark malloc hook variables as deprecated.
71377         [BZ #11781]
71378         * malloc/malloc.h: Declare malloc hook variables as volatile.
71380         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
71381         in last patch.
71383         [BZ #11799]
71384         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
71385         raise in the comment.
71386         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71387         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71388         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
71390 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
71392         [BZ #12811]
71393         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
71394         grow the buffers more if it already has to be sufficient.
71395         (build_wcs_upper_buffer): Likewise.
71396         * posix/regexec.c (check_matching): Likewise.
71397         (clean_state_log_if_needed): Likewise.
71398         (extend_buffers): Don't enlarge buffers beyond size of the input
71399         buffer.
71400         Patches mostly by Emil Wojak <emil@wojak.eu>.
71401         * posix/bug-regex32.c: New file.
71402         * posix/Makefile (tests): Add bug-regex32.
71404         * locale/findlocale.c (_nl_find_locale): Return right away if
71405         _nl_explode_name failed.
71406         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
71408         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
71410         * debug/xtrace.sh: Unify messages.
71411         * malloc/memusage.sh: Likewise.
71413         [BZ #12813]
71414         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
71415         time symbol from vDSO.  Substitute with vsyscall if not available.
71416         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
71417         __vdso_time.
71419         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
71420         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
71421         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
71422         Add sendmmsg and internal_sendmmsg.
71423         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
71424         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
71425         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
71427         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
71428         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
71429         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
71431 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
71433         [BZ #12813]
71434         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
71435         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
71436         available.
71437         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
71438         __vdso_getcpu.
71440         [BZ #12814]
71441         * iconvdata/Makefile (tests): Add bug-iconv9.
71442         * iconvdata/bug-iconv9.c: New file.
71444 2011-05-27  Andreas Schwab  <schwab@redhat.com>
71446         [BZ #12814]
71447         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
71449 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
71451         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71452         (struct user_regs_struct): Change intcs field back to cs.
71454 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
71456         * po/ja.po: Update from translation team.
71458 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
71460         [BZ #12795]
71461         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
71462         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
71464 2011-05-20  Andreas Schwab  <schwab@redhat.com>
71466         * stdlib/longlong.h: Update from GCC.
71468 2011-05-23  Andreas Schwab  <schwab@redhat.com>
71470         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
71471         parameter name.
71472         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
71473         Add parameter name.
71474         (__sysconf): Pass it down.
71476 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
71478         [BZ #12671]
71479         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
71480         some situations.
71481         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
71482         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
71483         add in in __libc_use_alloca calls.  Adjust callers.
71484         (glob): Use malloc in some situations.
71486         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
71487         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
71488         pltexit.
71490 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
71492         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
71493         and CLOCK_BOOTTIME_ALARM.
71495         [BZ #12782]
71496         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
71497         is returned.
71499         * string/_strerror.c (__strerror_r): Print negative errors as signed
71500         numbers.
71502         [BZ #12777]
71503         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
71504         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
71505         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
71507         * configure.in: Fix typo in redirection and correct removal of test
71508         files in two cases.
71510         [BZ #12788]
71511         * locale/setlocale.c (new_composite_name): Fix test to check for
71512         identical name of all categories.
71514         [BZ #12792]
71515         * libio/filedoalloc.c (local_isatty): New function.
71516         (_IO_file_doallocate): Use local_isatty.
71517         * stdio-common/perror.c (perror): In case a new stream is used
71518         forward the stream error.
71519         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
71520         error flag.
71522 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
71524         [BZ #11884]
71525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
71526         alloca.
71527         * include/alloca.h (extend_alloca_account): Define.
71529         [BZ #11857]
71530         * posix/regex.h: Fix comments with documentation of user-accessible
71531         fields after compilation and describe correct free'ing of pattern
71532         after re_compile_pattern.
71533         Patch by Reuben Thomas <rrt@sc3d.org>.
71535 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
71537         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
71538         and -mno-altivec to prevent the compiler from using Altivec and/or
71539         VSX instructions when the corresponding registers are not available.
71541 2011-05-19  Andreas Schwab  <schwab@redhat.com>
71543         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
71545 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
71547         * libio/freopen.c (freopen): Use __dup2, not dup2.
71548         * libio/freopen64.c (freopen64): Likewise.
71550 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71552         [BZ #12775]
71553         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
71554         * math/Makefile (tests): Add test-powl.
71555         (CFLAGS-test-powl.c): Define.
71556         * math/test-powl.c: New file.
71558 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71560         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
71562 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
71564         [BZ #11837]
71565         * iconvdata/gb18030.c: Update to GB18020-2005.
71567 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
71569         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
71570         RE_SYNTAX_POSIX_AWK): Update to match recent development.
71571         Patch by Aharon Robbins <arnold@skeeve.com>.
71573         [BZ #11892]
71574         * stdlib/putenv.c (putenv): Don't always create copy of the variable
71575         on the stack.
71577         [BZ #11895]
71578         * misc/pselect.c (__pselect): Handle timeout value errors hidden
71579         through underflows.
71581         [BZ #12766]
71582         * misc/error.c (error_at_line): Ensure file_name and old_file_name
71583         point to strings before performing equality test for error_one_per_line
71584         mode.
71586         [BZ #11697]
71587         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
71589         [BZ #11820]
71590         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71591         (struct user_fpregs_struct): Avoid __uint*_t types.
71593         [BZ #6420]
71594         * malloc/mtrace.c (tr_where): Add additional parameter to point to
71595         symbol info.  Use it instead of calling _dl_addr locally.
71596         (lock_and_info): New function.
71597         (tr_freehook): Call lock_and_info and pass symbol info as additional
71598         parameter to tr_where.
71599         (tr_mallochook): Likewise.
71600         (tr_reallochook): Likewise.
71601         (tr_memalignhook): Likewise.
71603         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
71604         used and couldn't be at all thread-safe.
71606 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
71608         * libio/freopen.c (freopen): Don't close old file descriptor
71609         before the new one is opened.  Instead dup the new file descriptor
71610         to the old one after the new stream is created.
71611         * libio/freopen64.c (freopen64): Likewise.
71612         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
71613         * libio/fileops.c (_IO_new_file_close_it): Handle new
71614         _IO_FLAGS2_NOCLOSE flag.
71615         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
71616         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
71617         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
71618         _IO_FLAGS2_NOCLOSE flag.
71619         * include/unistd.h: Add hidden_proto for dup3.
71620         Define __have_dup3.
71621         * io/dup3.c: Define hidden symbol.
71622         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
71624         [BZ #7101]
71625         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
71626         when an incomplete long option is used.
71627         * posix/tst-getopt_long1.c: New file.
71628         * posix/Makefile (tests): Add tst-getopt_long1.
71630         [BZ #10138]
71631         * scripts/config.guess: Update from autoconf-2.68.
71632         * scripts/config.sub: Likewise.
71634         [BZ #10157]
71635         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
71636         tests into ...
71637         (has_cpuclock): ...this.  New function.
71638         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
71639         macro here based on has_cpuclock code.
71641         [BZ #10149]
71642         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71643         First byte (not low byte) is now always NUL.
71644         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
71646         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71647         Use non-cancelable interfaces.
71649         [BZ #9809]
71650         * locale/iso-639.def: Add entry for Sorani.
71652         [BZ #11901]
71653         * include/stdlib.h: Move include protection to the right place.
71654         Define abort_msg_s.  Declare __abort_msg with it.
71655         * stdlib/abort.c (__abort_msg): Adjust type.
71656         * assert/assert.c (__assert_fail_base): New function.  Majority
71657         of code from __assert_fail.  Allocate memory for __abort_msg with
71658         mmap.
71659         (__assert_fail): Now call __assert_fail_base.
71660         * assert/assert-perr.c: Remove bulk of implementation.  Use
71661         __assert_fail_base.
71662         * include/assert.hL Declare __assert_fail_base.
71663         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
71664         mmap.
71665         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
71667 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
71669         [BZ #11952]
71670         [BZ #12453]
71671         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
71672         until all modules are registered in the DTV.
71673         * elf/Makefile: Add rules to build and run tst-tls19.
71674         * elf/tst-tls19.c: New file.
71675         * elf/tst-tls19mod1.c: New file.
71676         * elf/tst-tls19mod2.c: New file.
71677         * elf/tst-tls19mod3.c: New file.
71678         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
71680         [BZ #12083]
71681         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
71682         correctly.
71684         [BZ #12601]
71685         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
71686         two-byte sequence errors.
71687         * iconvdata/Makefile (tests): Add bug-iconv8.
71688         * iconvdata/bug-iconv8.c: New file.
71690         [BZ #12626]
71691         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
71692         buf2 definition.
71694         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
71696         [BZ #12432]
71697         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
71698         (dummy_getcfa): New function.
71699         (init): Get _Unwind_GetCFA address, use dummy if not found.
71700         (backtrace_helper): In recursion check, also check whether CFA changes.
71701         (__backtrace): Completely initialize arg.
71703         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
71704         storing incomplete byte sequence in state object.  Avoid testing for
71705         guaranteed too small input if we know there is enough data available.
71707 2011-05-11  Andreas Schwab  <schwab@redhat.com>
71709         * Makeconfig (+link-pie): Indent.
71710         * Rules (binaries-pie): Define if $(have-fpie) and
71711         $(build-shared).
71712         (binaries-shared): Also filter out $(binaries-pie).
71713         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
71714         * nscd/Makefile (others-pie): Add nscd.
71715         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
71716         ($(objpfx)nscd): Remove command override.
71717         * login/Makefile (others-pie): Add pt_chown.
71718         ($(objpfx)pt_chown): Remove command override.
71719         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
71720         remove command overrides.
71722 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
71724         * libio/tst_putwc.c: Fix error messages.
71726         [BZ #12724]
71727         * libio/fileops.c (_IO_new_file_close_it): Always flush when
71728         currently writing and seek to current position when not.
71729         * libio/Makefile (tests): Add bug-fclose1.
71730         * libio/bug-fclose1.c: New file.
71732 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
71734         [BZ #12511]
71735         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
71736         don't set DF_1_NODELETE here.
71737         (do_lookup_x): When entering new entry test for copy relocation
71738         and if necessary set DF_1_NODELETE flag.
71739         * elf/tst-unique4.cc: New file.
71740         * elf/tst-unique4.h: New file.
71741         * elf/tst-unique4lib.cc: New file.
71742         * elf/Makefile: Add rules to build and run tst-unique4.
71743         Patch by Piotr Bury <pbury@goahead.com>.
71745 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
71747         [BZ #12052]
71748         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
71750         [BZ #12625]
71751         * misc/mntent_r.c (addmntent): Flush the stream after the output
71753         [BZ #12393]
71754         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
71755         (is_trusted_path_normalize): Skip initial colon.  Append slash
71756         to empty buffer.  Duplicate is_trusted_path code but allow
71757         constructed patch to be prefix.
71758         (is_dst): Allow $ORIGIN followed by /.
71759         (_dl_dst_substitute): Correct clearing of check_for_trusted.
71760         Correct testing of result of is_trusted_path_normalize
71761         (decompose_rpath): Fix warning.
71763 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
71765         [BZ #11257]
71766         * grp/initgroups.c (internal_getgrouplist): When we found the service
71767         list through the initgroups entry in nsswitch.conf do not always
71768         continue on a successful lookup.  Don't always use the
71769         __nss_group_database value if it is set.
71770         * nss/nsswitch.conf (initgroups): Change action for successful db
71771         lookup to continue for compatibility.
71773 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
71775         [BZ #11532]
71776         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
71777         and CP774 modules.
71778         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
71779         and CP774 modules.
71780         * iconvdata/tst-tables.sh: Likewise.
71781         * iconvdata/cp770.c: New file.
71782         * iconvdata/cp771.c: New file.
71783         * iconvdata/cp772.c: New file.
71784         * iconvdata/cp773.c: New file.
71785         * iconvdata/cp774.c: New file.
71786         * iconvdata/testdata/CP770: New file.
71787         * iconvdata/testdata/CP770..UTF8: New file.
71788         * iconvdata/testdata/CP771: New file.
71789         * iconvdata/testdata/CP771..UTF8: New file.
71790         * iconvdata/testdata/CP772: New file.
71791         * iconvdata/testdata/CP772..UTF8: New file.
71792         * iconvdata/testdata/CP773: New file.
71793         * iconvdata/testdata/CP773..UTF8: New file.
71794         * iconvdata/testdata/CP774: New file.
71795         * iconvdata/testdata/CP774..UTF8: New file.
71797         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
71798         END CHARMAP line.
71799         * iconvdata/gen-8bit-gap.sh: Likewise.
71800         * iconvdata/gen-8bit.sh: Likewise.
71802         * locale/iso-639.def: Add ary entry.
71804         [BZ #11258]
71805         * locale/C-translit.h.in: Add U20A1 transliteration.
71807         [BZ #12178]
71808         * locale/iso-639.def: Add wae entry.
71809         Patch by Kevin Bortis <bortis@translate-wae.ch>.
71811         [BZ #12545]
71812         * locale/programs/localedef.c (construct_output_path): Use ssize_t
71813         for n.
71815         [BZ #12711]
71816         * locale/C-translit.h.in: Add entry for U20B9.
71817         Patch by pravin.d.s@gmail.com.
71819 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
71821         [BZ #12713]
71822         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71823         ENAMETOOLONG use generic getcwd.
71824         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
71825         in rtld.  Use *stat64.
71826         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71827         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71828         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71829         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71830         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71831         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71832         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71833         __fstatat64 macros.
71834         * include/dirent.h: Add libc_hidden_proto for rewinddir.
71835         * dirent/rewinddir.c: Add libc_hidden_def.
71836         * sysdeps/mach/hurd/rewinddir.c: Likewise.
71837         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
71839         * include/dirent.h (__alloc_dir): Add flags parameter.
71840         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71841         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71842         __alloc_dir.
71843         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
71844         from fdopendir if O_CLOEXEC is already set.
71846 2011-03-15  Alan Modra  <amodra@gmail.com>
71848         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71849         l_tls_firstbyte_offset non-zero.  Save padding offset in
71850         l_tls_firstbyte_offset for later use.
71851         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71852         freeing static tls block.
71854 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
71856         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71857         where #ifdef was intended.  The intent is to prevent ARG_MAX from
71858         being defined by the kernel headers.
71860 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
71862         [BZ #12734]
71863         * resolv/resolv.h: Define RES_NOTLDQUERY.
71864         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71865         no-tld-query and set RES_NOTLDQUERY.
71866         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71867         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71868         modern BIND to search name as TLD unless forbidden.
71870 2011-05-07  Petr Baudis  <pasky@suse.cz>
71871             Ulrich Drepper  <drepper@gmail.com>
71873         [BZ #12393]
71874         * elf/dl-load.c (fillin_rpath): Move trusted path check...
71875         (is_trusted_path): ...to here.
71876         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
71877         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
71878         using is_trusted_path_normalize() in setuid scripts.
71880 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71882         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
71883         __BEGIN/__END_DECLS.
71885 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
71887         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
71888         NSS_STATUS_NOTFOUND if no record was found.
71890 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71892         * sunrpc/Makefile (headers): Add rpc/netdb.h.
71893         (headers-not-in-tirpc): Remove rpc/netdb.h
71894         * resolv/netdb.h: Revert last change.
71896 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71898         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
71899         circular dependency between libgcc.a and libc.a.
71901 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71903         * resolv/netdb.h: Don't include <rpc/netdb.h>.
71904         * nis/Makefile: Don't install rpcsvc/*.
71905         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
71906         instead of <rpc/types.h>.
71907         (MAXHOSTNAMELEN): Define.
71909 2011-05-03  Andreas Schwab  <schwab@redhat.com>
71911         * elf/ldconfig.c (add_dir): Don't crash on empty path.
71913 2011-04-28  Maciej Babinski  <mbabinski@google.com>
71915         [BZ #12714]
71916         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
71917         gethostbyname4_r when IPv6 results are possible.
71919 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
71921         [BZ #12723]
71922         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
71923         _PC_PIPE_BUF handling.
71925 2011-04-30  Bruno Haible  <bruno@clisp.org>
71927         [BZ #12717]
71928         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
71929         * resolv/netdb.h (getnameinfo): Change type of flags parameter
71930         to 'int'.
71931         * inet/getnameinfo.c (getnameinfo): Likewise.
71933 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
71935         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
71936         to groups setting in database lookup.
71937         * nss/nsswitch.conf: Add initgroups entry.
71939 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
71941         [BZ #12685]
71942         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
71943         mode string.
71944         Patch by Eric Blake <eblake@redhat.com>.
71946 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
71948         * sunrpc/Makefile (need-export-routines): Add svc_run.
71949         (routines): Remove svc_run.
71950         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
71951         * sunrpc/clnt_perr.c (clnt_perrno): Export.
71952         * sunrpc/svc_run.c (svc_run): Likewise.
71953         * sunrpc/svc_udp.c (svcudp_create): Likewise.
71955 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
71957         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
71958         problem in reallocation in last patch.
71960 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
71962         * sunrpc/Makefile: Move inclusion of Rules.
71964 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71966         * nss/nss_files/files-initgroups.c: New file.
71967         * nss/Makefile (libnss_files-routines): Add files-initgroups.
71968         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
71969         _nss_files_initgroups_dyn.
71971 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
71973         * elf/elf.h (R_ARM_IRELATIVE): Define.
71975 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71977         * po/ru.po: Update from translation team.
71979 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71981         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
71982         dependencies.
71984 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
71986         [BZ #12653]
71987         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
71988         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
71989         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71990         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71991         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71993 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
71995         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
71996         differing bytes.
71997         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71998         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71999         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72001 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72003         [BZ #12420]
72004         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
72005         storing it.
72006         * stdlib/bug-getcontext.c: New file.
72007         * stdlib/Makefile: Add rules to build and run bug-getcontext.
72009 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72011         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
72012         instructions into .machine "z9-109".
72013         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
72014         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
72016 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72018         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
72019         between environment variables and auxiliary vector.
72021 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
72023         * Makefile: Add rules to build linkobj/libc.so.
72024         * include/libc-symbols.h: Define libc_hidden_nolink.
72025         * include/rpc/auth.h: Mark functions which are to be hidden.
72026         * include/rpc/auth_des.h: Likewise.
72027         * include/rpc/auth_unix.h: Likewise.
72028         * include/rpc/clnt.h: Likewise.
72029         * include/rpc/des_crypt.h: Likewise.
72030         * include/rpc/key_prot.h: Likewise.
72031         * include/rpc/pmap_clnt.h: Likewise.
72032         * include/rpc/pmap_prot.h: Likewise.
72033         * include/rpc/pmap_rmt.h: Likewise.
72034         * include/rpc/rpc_msg.h: Likewise.
72035         * include/rpc/svc.h: Likewise.
72036         * include/rpc/svc_auth.h: Likewise.
72037         * include/rpc/xdr.h: Likewise.
72038         * nis/Makefile: Link all DSOs against linkobj/libc.so.
72039         * nss/Makefile: Likewise.
72040         * sunrpc/Makefile: Don't install headers.  Build library with normal
72041         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
72042         * sunrpc/auth_des.c: Hide exported symbols by default, export some
72043         for the compat linking library.  Remove use of INTDEF/INTUSE.
72044         * sunrpc/auth_none.c: Likewise.
72045         * sunrpc/auth_unix.c: Likewise.
72046         * sunrpc/authdes_prot.c: Likewise.
72047         * sunrpc/authuxprot.c: Likewise.
72048         * sunrpc/clnt_gen.c: Likewise.
72049         * sunrpc/clnt_perr.c: Likewise.
72050         * sunrpc/clnt_raw.c: Likewise.
72051         * sunrpc/clnt_simp.c: Likewise.
72052         * sunrpc/clnt_tcp.c: Likewise.
72053         * sunrpc/clnt_udp.c: Likewise.
72054         * sunrpc/clnt_unix.c: Likewise.
72055         * sunrpc/des_crypt.c: Likewise.
72056         * sunrpc/des_soft.c: Likewise.
72057         * sunrpc/get_myaddr.c: Likewise.
72058         * sunrpc/key_call.c: Likewise.
72059         * sunrpc/key_prot.c: Likewise.
72060         * sunrpc/netname.c: Likewise.
72061         * sunrpc/pm_getmaps.c: Likewise.
72062         * sunrpc/pm_getport.c: Likewise.
72063         * sunrpc/pmap_clnt.c: Likewise.
72064         * sunrpc/pmap_prot.c: Likewise.
72065         * sunrpc/pmap_prot2.c: Likewise.
72066         * sunrpc/pmap_rmt.c: Likewise.
72067         * sunrpc/publickey.c: Likewise.
72068         * sunrpc/rpc_cmsg.c: Likewise.
72069         * sunrpc/rpc_common.c: Likewise.
72070         * sunrpc/rpc_dtable.c: Likewise.
72071         * sunrpc/rpc_prot.c: Likewise.
72072         * sunrpc/rpc_thread.c: Likewise.
72073         * sunrpc/rtime.c: Likewise.
72074         * sunrpc/svc.c: Likewise.
72075         * sunrpc/svc_auth.c: Likewise.
72076         * sunrpc/svc_authux.c: Likewise.
72077         * sunrpc/svc_raw.c: Likewise.
72078         * sunrpc/svc_run.c: Likewise.
72079         * sunrpc/svc_simple.c: Likewise.
72080         * sunrpc/svc_tcp.c: Likewise.
72081         * sunrpc/svc_udp.c: Likewise.
72082         * sunrpc/svc_unix.c: Likewise.
72083         * sunrpc/svcauth_des.c: Likewise.
72084         * sunrpc/xcrypt.c: Likewise.
72085         * sunrpc/xdr.c: Likewise.
72086         * sunrpc/xdr_array.c: Likewise.
72087         * sunrpc/xdr_float.c: Likewise.
72088         * sunrpc/xdr_intXX_t.c: Likewise.
72089         * sunrpc/xdr_mem.c: Likewise.
72090         * sunrpc/xdr_rec.c: Likewise.
72091         * sunrpc/xdr_ref.c: Likewise.
72092         * sunrpc/xdr_sizeof.c: Likewise.
72093         * sunrpc/xdr_stdio.c: Likewise.
72095 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
72097         [BZ #12650]
72098         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
72099         * sysdeps/ia64/dl-tls.h: Likewise.
72100         * sysdeps/powerpc/dl-tls.h: Likewise.
72101         * sysdeps/s390/dl-tls.h: Likewise.
72102         * sysdeps/sh/dl-tls.h: Likewise.
72103         * sysdeps/sparc/dl-tls.h: Likewise.
72104         * sysdeps/x86_64/dl-tls.h: Likewise.
72105         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
72107 2011-03-14  Andreas Schwab  <schwab@redhat.com>
72109         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
72110         rpath element also skip the following colon.
72111         (expand_dynamic_string_token): Add is_path parameter and pass
72112         down to DL_DST_REQUIRED and _dl_dst_substitute.
72113         (decompose_rpath): Call expand_dynamic_string_token with
72114         non-zero is_path.  Ignore empty rpaths.
72115         (_dl_map_object_from_fd): Call expand_dynamic_string_token
72116         with zero is_path.
72118 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
72120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72121         Make cancelable.
72123 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
72125         [BZ #12655]
72126         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
72127         Patch by Filipe David Manana <fdmanana@apache.org>.
72129 2011-04-07  Andreas Schwab  <schwab@redhat.com>
72131         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
72132         Maintain aligned stack.
72133         (CHECK_RSP): Remove unused macro.
72135 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
72137         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
72138         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
72140 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
72142         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
72144         * include/features.h: Mention __USE_XOPEN2K8 in comment.
72146 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
72148         [BZ #12518]
72149         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
72150         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
72151         * sysdeps/x86_64/memmove.c: New file.
72152         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
72153         (memcpy): Renamed to ...
72154         (__new_memcpy): This.
72155         (memcpy): Provide GLIBC_2_14 memcpy.
72156         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
72157         (memcpy): Provide GLIBC_2_2_5 memcpy.
72159 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72161         [BZ #12631]
72162         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
72164 2011-03-30  Andreas Schwab  <schwab@redhat.com>
72166         * misc/syncfs.c: New file.
72167         * misc/Makefile (routines): Add syncfs.
72168         * posix/unistd.h: Declare syncfs.
72169         * sysdeps/unix/syscalls.list: Add syncfs.
72171 2011-04-01  Andreas Schwab  <schwab@redhat.com>
72173         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
72174         open_by_handle_at.
72175         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72176         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72177         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72178         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72179         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72180         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
72181         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72183 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72185         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
72186         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72187         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
72188         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72189         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72190         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72191         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72193         * io/Makefile: Compile fallocate.c, fallocate64.c, and
72194         sync_file_range.c with -fexceptions.
72195         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
72196         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
72197         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
72198         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
72199         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
72200         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
72201         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
72202         sync_file_range as cancellation point
72203         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
72204         now a wrapper around __call_sync_file_range with cancellation handling.
72205         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
72206         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
72207         function name to __call_sync_file_range.
72208         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
72209         Add call_sync_file_range.
72211 2011-04-01  Andreas Schwab  <schwab@redhat.com>
72213         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72214         bits/timex.h.
72216 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72218         * iconv/iconv.h: Fix typo in comment.
72219         * io/fcntl.h: Likewise.
72220         * libio/stdio.h: Likewise.
72221         * posix/spawn.h: Likewise.
72222         * posix/unistd.h: Likewise.
72223         * stdlib/stdlib.h: Likewise.
72224         * time/time.h: Likewise.
72225         * wcsmbs/wchar.h: Likewise.
72227         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
72228         open_by_handle): Add.
72229         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
72230         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
72231         Augment a few comments.
72232         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72233         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72234         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72235         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72236         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72237         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
72238         open_by_handle.
72240         * io/fcntl.h (AT_EMPTY_PATH): Define.
72242 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
72244         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
72245         * sysdeps/unix/sysv/linux/bits/time.h: New file.
72246         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
72247         to...
72248         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
72249         * Versions.def: Add GLIBC_2.14.
72250         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
72251         Export.
72253 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
72255         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
72256         round counter.
72257         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
72259 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72261         [BZ #12597]
72262         * string/test-strncmp.c (do_page_test): New function.
72263         (check2): Likewise.
72264         (test_main): Call check2.
72265         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
72267 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
72269         [BZ #12587]
72270         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
72271         Handle cache information in CPU leaf 4.
72272         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
72274 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
72276         [BZ #12583]
72277         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
72278         character representation.
72279         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
72281 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
72283         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
72284         END(__isnan) to END(__isnanf) to match function entry point/label
72285         EALIGN(__isnanf,...).
72287 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
72289         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
72291 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
72293         [BZ #12510]
72294         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
72295         copy from the symbol referenced in the relocation to initialize the
72296         used variable.
72297         Patch by Piotr Bury <pbury@goahead.com>.
72298         * elf/Makefile: Add rules to build and tst-unique3.
72299         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
72300         * elf/tst-unique3.cc: New file.
72301         * elf/tst-unique3.h: New file.
72302         * elf/tst-unique3lib.cc: New file.
72303         * elf/tst-unique3lib2.cc: New file.
72305         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
72307 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
72309         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
72310         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
72311         to _start.
72313 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
72315         * elf/dl-load.c (_dl_map_object): If we are looking for the first
72316         to-be-loaded object along a path to loader is ld.so.
72318 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
72319             Ulrich Drepper  <drepper@gmail.com>
72321         * sysdeps/x86_64/memset.S: After aligning destination, code
72322         branches to different locations depending on the value of
72323         misalignment, when multiarch is enabled. Fix this.
72325 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
72327         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
72328         Set _x86_64_preferred_memory_instruction for AMD processsors.
72329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72330         Set bit_Prefer_SSE_for_memop for AMD processors.
72332 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
72334         * libio/fmemopen.c (fmemopen): Optimize a bit.
72336 2011-03-03  Andreas Schwab  <schwab@redhat.com>
72338         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
72340 2011-03-03  Roland McGrath  <roland@redhat.com>
72342         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
72344 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
72346         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
72347         __bzero_ultra1 instead of __memset_ultra1.
72349 2011-02-23  Andreas Schwab  <schwab@redhat.com>
72350             Ulrich Drepper  <drepper@gmail.com>
72352         [BZ #12509]
72353         * include/link.h (struct link_map): Add l_orig_initfini.
72354         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
72355         returning unsuccessfully.
72356         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
72357         close of a file loaded at startup, restore the original l_initfini
72358         list.
72359         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
72360         list, store the pointer.
72361         * elf/Makefile ($(objpfx)noload-mem): New rule.
72362         (noload-ENV): Define.
72363         (tests): Add $(objpfx)noload-mem.
72364         * elf/noload.c: Include <memcheck.h>.
72365         (main): Call mtrace.  Close all opened handles.
72367 2011-02-17  Andreas Schwab  <schwab@redhat.com>
72369         [BZ #12454]
72370         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
72371         dependencies are missing.
72373 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72375         Fix __if_freereq crash: Unlike the generic version which uses free,
72376         Hurd needs munmap.
72377         * sysdeps/mach/hurd/ifreq.h: New file.
72379 2011-01-27  Petr Baudis  <pasky@suse.cz>
72380             Ulrich Drepper  <drepper@gmail.com>
72382         [BZ 12445]#
72383         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
72384         to extend_alloca().
72385         * stdio-common/bug23.c: New file.
72386         * stdio-common/Makefile (tests): Add bug23.
72388 2010-09-28  Andreas Schwab  <schwab@redhat.com>
72389             Ulrich Drepper  <drepper@gmail.com>
72391         [BZ #12489]
72392         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
72393         before performing relro protection.  At old place add assertion
72394         to make sure nothing changed.
72396 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
72397             Glauber de Oliveira Costa  <glommer@gmail.com>
72399         * elf/elf.h: Add new ARM TLS relocs.
72401 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
72403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72404         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
72405         cast from r3.
72406         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
72407         'tests' variable.
72408         * sysdeps/wordsize-64/tst-writev.c: New file.
72410 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
72412         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
72413         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
72414         insns in _dl_start to prevent a TOC reference before relocs are
72415         resolved.
72417 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
72419         [BZ #12469]
72420         * Makeconfig: Remove RANLIB definition.
72421         * Makerules: Don't use RANLIB.
72422         * aclocal.m4: Remove ranlib test.
72423         * configure.in: No need to check for ranlib.
72424         * elf/rtld-Rules: Don't use RANLIB.
72426 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72428         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
72429         protection macro.
72430         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
72431         inclusion protection macro.
72433         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
72434         SIGRTMIN and SIGRTMAX and print information in that case only when
72435         SIGRTMIN is defined.
72437 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
72439         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
72440         arginfo fn returning -1.
72442         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
72443         and thousands string is zero terminated.
72445 2011-02-03  Andreas Schwab  <schwab@redhat.com>
72447         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
72448         sysdeps/unix/sysv/linux/bits/socket.h.
72450 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72452         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
72453         (__CPU_COUNT): Remove old macros.
72454         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
72455         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
72456         (__CPU_ALLOC, __CPU_FREE): Add macros.
72457         (__sched_cpualloc, __sched_cpufree): Add declarations.
72459 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
72461         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
72462         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
72463         * nscd/aicache.c (addhstaiX): Return timeout of added value.
72464         (readdhstai): Return value of addhstaiX call.
72465         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
72466         (addgrbyX): Return value returned by cache_addgr.
72467         (readdgrbyname): Return value returned by addgrbyX.
72468         (readdgrbygid): Likewise.
72469         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
72470         (addpwbyX): Return value returned by cache_addpw.
72471         (readdpwbyname): Return value returned by addhstbyX.
72472         (readdpwbyuid): Likewise.
72473         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
72474         (addservbyX): Return value returned by cache_addserv.
72475         (readdservbyname): Return value returned by addservbyX:
72476         (readdservbyport): Likewise.
72477         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
72478         (addhstbyX): Return value returned by cache_addhst.
72479         (readdhstbyname): Return value returned by addhstbyX.
72480         (readdhstbyaddr): Likewise.
72481         (readdhstbynamev6): Likewise.
72482         (readdhstbyaddrv6): Likewise.
72483         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
72484         (readdinitgroups): Return value returned by addinitgroupsX.
72485         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
72486         (prune_cache): Keep track of timeout value of re-added entries.
72487         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
72488         * nscd/nscd.h: Adjust prototypes of readd* functions.
72490 2011-02-04  Roland McGrath  <roland@redhat.com>
72492         * nis/nis_server.c (nis_servstate): Use the right name for 0.
72493         (nis_stats): Likewise.
72494         * nis/nis_modify.c (nis_modify): Likewise.
72495         * nis/nis_remove.c (nis_remove): Likewise.
72496         * nis/nis_add.c (nis_add): Likewise.
72498         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
72500         * posix/fnmatch_loop.c: Add some consts.
72502         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
72504 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
72506         [BZ #12460]
72507         * config.make.in (config-cflags-novzeroupper): Define.
72508         * configure.in: Substitute libc_cv_cc_novzeroupper.
72509         * elf/Makefile (AVX-CFLAGS): Define.
72510         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
72511         (CFLAGS-tst-auditmod4a.c): Likewise.
72512         (CFLAGS-tst-auditmod4b.c): Likewise.
72513         (CFLAGS-tst-auditmod6b.c): Likewise.
72514         (CFLAGS-tst-auditmod6c.c): Likewise.
72515         (CFLAGS-tst-auditmod7b.c): Likewise.
72516         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
72518 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
72520         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
72521         function to the callback.
72522         Patch partly by Jiri Olsa <jolsa@redhat.com>.
72524 2011-02-02  Andreas Schwab  <schwab@redhat.com>
72526         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
72527         of errno.
72529 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
72531         [BZ #11724]
72532         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
72533         of constructors.
72534         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
72535         of destructors.
72536         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
72538         [BZ #11724]
72539         * elf/Makefile: Add rules to build and run new test.
72540         * elf/tst-initorder.c: New file.
72541         * elf/tst-initorder.exp: New file.
72542         * elf/tst-initordera1.c: New file.
72543         * elf/tst-initordera2.c: New file.
72544         * elf/tst-initordera3.c: New file.
72545         * elf/tst-initordera4.c: New file.
72546         * elf/tst-initorderb1.c: New file.
72547         * elf/tst-initorderb2.c: New file.
72548         * elf/tst-order-a1.c: New file.
72549         * elf/tst-order-a2.c: New file.
72550         * elf/tst-order-a3.c: New file.
72551         * elf/tst-order-a4.c: New file.
72552         * elf/tst-order-b1.c: New file.
72553         * elf/tst-order-b2.c: New file.
72554         * elf/tst-order-main.c: New file.
72555         New test case by George Gensure <werkt0@gmail.com>.
72557 2010-10-01  Andreas Schwab  <schwab@redhat.com>
72559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72560         decoding ACE if AI_CANONIDN.
72562 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
72564         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
72566 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
72568         * version.h (RELEASE): Bump for 2.13 release.
72569         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
72571         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
72573         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
72574         MADV_NOHUGEPAGE.
72575         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
72576         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
72577         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72578         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72579         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72580         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72582         * posix/getconf.c: Update copyright year.
72583         * catgets/gencat.c: Likewise.
72584         * csu/version.c: Likewise.
72585         * debug/catchsegv.sh: Likewise.
72586         * debug/xtrace.sh: Likewise.
72587         * elf/ldconfig.c: Likewise.
72588         * elf/ldd.bash.in: Likewise.
72589         * elf/sprof.c (print_version): Likewise.
72590         * iconv/iconv_prog.c: Likewise.
72591         * iconv/iconvconfig.c: Likewise.
72592         * locale/programs/locale.c: Likewise.
72593         * locale/programs/localedef.c: Likewise.
72594         * malloc/memusage.sh: Likewise.
72595         * malloc/mtrace.pl: Likewise.
72596         * nscd/nscd.c (print_version): Likewise.
72597         * nss/getent.c: Likewise.
72599         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
72600         PF_CAIF, and PF_ALG.
72601         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72603 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
72605         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
72606         (modules-names): Use them.
72607         (ifunc-test-modules, ifunc-pie-tests): Define.
72608         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
72609         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
72610         (test-extras): Likewise.
72611         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
72612         $(compile-command.c).
72613         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
72614         (all-built-dso): Define.
72615         (check-textrel.out, check-execstack.out): Depend on it.
72617         * configure.in: Don't override --enable-multi-arch.
72619 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
72621         [BZ #6812]
72622         * nscd/hstcache.c (tryagain): Define.
72623         (cache_addhst): Return tryagain not notfound for temporary errors.
72624         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
72625         failed.
72627 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
72629         [BZ #10563]
72630         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
72631         to make the syscall.
72632         * sysdeps/unix/sysv/linux/setgroups.c: New file.
72634         [BZ #12378]
72635         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
72636         and fall back to matching as normal character if the string ends before
72637         the matching ']' is found.  This is what POSIX requires.
72638         * posix/testfnm.c: Adjust test result.
72639         * posix/globtest.sh: Adjust test result.  Add new test.
72640         * posix/tst-fnmatch.input: Likewise.
72641         * posix/tst-fnmatch2.c: Add new test.
72643 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
72645         * elf/Makefile (check-execstack): Revert last change.  Depend on
72646         check-execstack.h.
72647         (check-execstack.h): New target.
72648         (generated): Add check-execstack.h.
72649         * elf/check-execstack.c: Include "check-execstack.h".
72650         (main): Revert last change.
72651         (handle_file): Return zero if GNU_STACK is absent and
72652         DEFAULT_STACK_PERMS doesn't include PF_X.
72654 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
72656         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
72657         in child fails because the descriptor is already closed.
72658         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
72659         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
72660         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
72662         [BZ #12397]
72663         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
72664         syscall.
72666         [BZ #10484]
72667         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
72668         temporary buffer used to handle multi lookups locally.
72669         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
72671 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72673         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
72674         loader is ld.so.
72676 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
72678         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
72679         alignment for SSE2.
72681 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72683         [BZ #12394]
72684         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
72685         characters.  When rounding increased number of integer digits recompute
72686         number of groups.
72687         * stdio-common/tst-grouping.c: New file.
72688         * stdio-common/Makefile: Add rules to build and run tst-grouping.
72690 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
72692         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
72693         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
72695         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
72696         void.
72697         * bits/select.h: Likewise.
72699 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
72701         * po/ja.po: Update from translation team.
72703 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
72705         [BZ #11155]
72706         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
72707         implementation just like for lxstat, fxstatat, et al.
72709 2010-12-27  Jim Meyering  <meyering@redhat.com>
72711         [BZ #12348]
72712         * posix/regexec.c (build_trtable): Return failure indication upon
72713         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
72715 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
72717         [BZ #12201]
72718         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
72719         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
72720         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
72721         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
72723         [BZ #12207]
72724         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
72726         [BZ #12204]
72727         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
72728         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
72730 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
72732         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
72733         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
72734         script has SORT_BY_INIT_PRIORITY.
72735         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
72736         NO_CTORS_DTORS_SECTIONS is defined.
72737         * elf/soinit.c: Likewise.
72738         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
72739         NO_CTORS_DTORS_SECTIONS is defined.
72740         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
72741         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
72742         * sysdeps/sh/init-first.c: Likewise.
72743         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
72745 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
72747         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
72748         always use the slow path.
72750 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
72752         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
72753         similar rule which adds the sysdep directories to the header search in
72754         order to pick up the correct platform stackinfo.h.
72755         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
72756         perform test if it is, otherwise return successfully without testing.
72757         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
72758         DEFAULT_STACK_PERMS define in stackinfo.h.
72759         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
72760         defined in stackinfo.h.
72761         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
72762         DEFAULT_STACK_PERMS defined in stackinfo.h.
72763         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
72764         * sysdeps/ia64/stackinfo.h: Likewise.
72765         * sysdeps/s390/stackinfo.h: Likewise.
72766         * sysdeps/sh/stackinfo.h: Likewise.
72767         * sysdeps/sparc/stackinfo.h: Likewise.
72768         * sysdeps/x86_64/stackinfo.h: Likewise.
72769         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
72770         PF_X for powerpc64.  Retain PF_X for powerpc32.
72772 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
72774         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
72775         accurately.
72776         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
72777         GETDENTS_64BIT_ALIGNED.
72779 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
72781         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
72783 2010-12-10  Andreas Schwab  <schwab@redhat.com>
72785         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
72786         _GNU_SOURCE.
72788         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
72789         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
72790         Remove __restrict.
72791         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
72792         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
72794 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
72796         [BZ #11655]
72797         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
72798         are initialized.
72800 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
72802         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
72804 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
72806         * po/it.po: Update from translation team.
72808 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
72810         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
72811         unused codes.
72813 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
72815         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72817 2010-11-24  Andreas Schwab  <schwab@redhat.com>
72819         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72820         specially.
72821         (gaih_getanswer_slice): Likewise.
72823 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
72825         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72827 2010-05-31  Petr Baudis  <pasky@suse.cz>
72829         [BZ #11149]
72830         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72831         silently even in the chroot mode.
72833 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
72835         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72836         last patch a bit.  Pretty printing
72838 2010-05-31  Petr Baudis <pasky@suse.cz>
72840         [BZ #10085]
72841         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72842         initialization of skip_initgroups_dyn.
72844 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
72846         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72847         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72849 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
72851         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72853 2010-11-11  Andreas Schwab  <schwab@redhat.com>
72855         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72856         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72857         (tst-fnmatch-ENV): Set MALLOC_TRACE.
72858         ($(objpfx)tst-fnmatch-mem): New rule.
72859         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72860         * posix/tst-fnmatch.c (main): Call mtrace.
72862 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
72864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72865         Support Intel processor model 6 and model 0x2c.
72867 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
72869         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72870           signed comparison.
72872 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
72874         [BZ #12205]
72875         * string/test-strncasecmp.c (check_result): New function.
72876         (do_one_test): Use it.
72877         (check1): New function.
72878         (test_main): Use it.
72879         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
72880         Support strcasecmp and strncasecmp.
72882 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
72884         [BZ #12194]
72885         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
72886         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72888 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72890         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
72891         IFUNC support.
72892         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72893         memset-x86-64.
72894         * sysdeps/x86_64/multiarch/bzero.S: New file.
72895         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
72896         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
72897         * sysdeps/x86_64/multiarch/memset.S: New file.
72898         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
72899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72900         Set bit_Prefer_SSE_for_memop for Intel processors.
72901         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
72902         Define.
72903         (index_Prefer_SSE_for_memop): Define.
72904         (HAS_PREFER_SSE_FOR_MEMOP): Define.
72906 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
72908         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
72909         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
72911 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
72913         [BZ #12191]
72914         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72915         (__x86_64_raw_data_cache_size_half): Likewise.
72916         (__x86_64_raw_shared_cache_size): Likewise.
72917         (__x86_64_raw_shared_cache_size_half): Likewise.
72919         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72920         (__x86_64_raw_data_cache_size_half): Likewise.
72921         (__x86_64_raw_shared_cache_size): Likewise.
72922         (__x86_64_raw_shared_cache_size_half): Likewise.
72923         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
72924         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
72925         and __x86_64_raw_shared_cache_size_half.  Round
72926         __x86_64_data_cache_size_half, __x86_64_data_cache_size
72927         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
72928         to multiple of 256 bytes.
72930 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
72932         [BZ #12167]
72933         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
72934         of inacessible symlinks.  Verify result of symlink before returning it.
72935         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
72936         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
72938 2010-10-28  Erich Ritz  <erichritz@gmail.com>
72940         * math/math.h (isinf): Fix typo in comment.
72942 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
72944         * po/da.po: Update from translation team.
72946 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
72948         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
72949         is added to the list.
72951 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72952             Ulrich Drepper  <drepper@gmail.com>
72954         * elf/dl-object.c (_dl_new_object): Don't append the new object to
72955         the global list here.  Move code to...
72956         (_dl_add_to_namespace_list): ...here.  New function.
72957         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
72958         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
72959         * elf/dl-load.c (lose): Don't remove the element from the list.
72960         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72961         (_dl_map_object): Likewise.
72963 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
72965         [BZ #12159]
72966         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72967         into all bytes of SSE register.
72968         Patch by Richard Li <richardpku@gmail.com>.
72970 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
72972         [BZ #12140]
72973         * malloc/malloc.c (_int_free): Fill correct number of bytes when
72974         perturbing.
72976 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
72978         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
72979         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
72980         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
72981         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
72983         submachine.
72984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
72986 2010-10-22  Andreas Schwab  <schwab@redhat.com>
72988         * include/dlfcn.h (__RTLD_SECURE): Define.
72989         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
72990         mode & __RTLD_SECURE instead.
72991         (open_path): Rename preloaded parameter to secure.
72992         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
72993         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
72994         * elf/dl-deps.c (openaux): Likewise.
72995         * elf/rtld.c (struct map_args): Remove is_preloaded.
72996         (map_doit): Don't use it.
72997         (dl_main): Likewise.
72998         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72999         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
73001 2010-09-09  Andreas Schwab  <schwab@redhat.com>
73003         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
73004         (sysd-rules-targets): Remove duplicates.
73005         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
73006         rtld-%.$o dependency.
73008 2010-10-18  Andreas Schwab  <schwab@redhat.com>
73010         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
73011         _dl_map_object do it.
73013 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
73015         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
73016         fast fma builtins, define the macros in the C99 standard.
73017         (FP_FAST_FMAF): Likewise.
73018         (FP_FAST_FMAL): Likewise.
73019         * sysdeps/x86_64/bits/mathdef.h: Likewise.
73021         * bits/mathdef.h: Update copyright year.
73022         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73024 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
73026         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
73027         builtins, define the macros in the C99 standard.
73028         (FP_FAST_FMAF): Likewise.
73029         (FP_FAST_FMAL): Likewise.
73030         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
73031         multiply/add.
73032         (FP_FAST_FMAF): Likewise.
73034 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
73036         [BZ #3268]
73037         * math/libm-test.inc (fma_test): Some new testcases.
73038         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
73039         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
73040         y and infinite z.  Do multiplication by C already in long double.
73041         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
73042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
73043         y and infinite z.  Do bitwise or of inexact bit into u.d.
73044         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
73045         * sysdeps/i386/fpu/s_fmaf.S: Removed.
73046         * sysdeps/i386/fpu/s_fma.S: Removed.
73047         * sysdeps/i386/fpu/s_fmal.S: Removed.
73049 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
73051         [BZ #3268]
73052         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
73053         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
73054         computation is not scheduled after fetestexcept.  Fix value
73055         of minimum denormal long double.
73057 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
73059         [BZ #3268]
73060         * math/libm-test.inc (fma_test): Add some more tests.
73061         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
73062         correctly.
73064 2010-10-15  Andreas Schwab  <schwab@redhat.com>
73066         * scripts/data/localplt-s390-linux-gnu.data: New file.
73067         * scripts/data/localplt-s390x-linux-gnu.data: New file.
73069 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
73071         [BZ #3268]
73072         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
73073         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
73074         instead of dbl-64.
73075         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
73076         inlines.
73077         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
73078         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
73079         if one of x and y is very large and the other is subnormal.
73080         * sysdeps/s390/fpu/s_fmaf.c: New file.
73081         * sysdeps/s390/fpu/s_fma.c: New file.
73082         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
73083         * sysdeps/powerpc/fpu/s_fma.S: New file.
73084         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
73085         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
73086         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
73088 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
73090         [BZ #3268]
73091         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
73092         fma tests.
73093         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
73094         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
73095         * sysdeps/i386/i686/multiarch/s_fma.c: Include
73096         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
73097         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
73098         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
73099         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
73101 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
73103         [BZ #12078]
73104         * posix/regcomp.c (parse_branch): One more memory leak plugged.
73105         * posix/bug-regex31.input: Add test case.
73107 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73109         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
73110         * posix/bug-regex31.input: New file.
73112         [BZ #12078]
73113         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
73114         (parse_sub_exp): Fix last change, use postorder.
73116         * posix/bug-regex31.c: New file.
73117         * posix/Makefile: Add rules to build and run bug-regex31.
73119         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
73121         [BZ #12078]
73122         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
73124         [BZ #12108]
73125         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
73126         to have entries in sys_siglist.
73128         [BZ #12093]
73129         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
73130         be NULL.
73132 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
73134         [BZ #3268]
73135         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
73136         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
73137         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
73138         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
73139         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73140         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
73141         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
73142         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
73143         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
73144         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
73145         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
73146         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
73147         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
73148         * math/ftestexcept.c (fetestexcept): Likewise.
73149         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
73150         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
73151         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
73152         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
73153         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
73154         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
73155         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73157 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73159         [BZ #12107]
73160         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
73161         newline.
73163 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
73165         * string/bug-strstr1.c: New file.
73166         * string/Makefile: Add rules to build and run bug-strstr1.
73168 2010-10-05  Eric Blake  <eblake@redhat.com>
73170         [BZ #12092]
73171         * string/str-two-way.h (two_way_long_needle): Always clear memory
73172         when skipping input due to the shift table.
73174 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
73176         [BZ #12005]
73177         * malloc/mcheck.c: Handle large requests.
73179         [BZ #12077]
73180         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
73181         for strncmp and strncasecmp.
73182         * string/stratcliff.c: Add tests for strcmp and strncmp.
73183         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
73185 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73187         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
73188         __set_fpscr.
73190 2010-09-30  Andreas Jaeger  <aj@suse.de>
73192         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
73193         (CGROUP_SUPER_MAGIC): Define.
73194         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73195         Handle btrfs and cgroup file systems.
73196         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
73197         Likewise.
73199 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
73201         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
73202         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
73204 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73206         [BZ #12067]
73207         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
73208         trying to locate the ELF header.
73210 2010-09-27  Andreas Schwab  <schwab@redhat.com>
73212         [BZ #11611]
73213         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
73214         Mask out sign-bit copies when constructing f_fsid.
73216 2010-09-24  Petr Baudis <pasky@suse.cz>
73218         * debug/stack_chk_fail_local.c: Add missing licence exception.
73219         * debug/warning-nop.c: Likewise.
73221 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
73223         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
73224         implementing getdents64 using getdents syscall, set d_type if
73225         __ASSUME_GETDENTS32_D_TYPE.
73227 2010-09-16  Andreas Schwab  <schwab@redhat.com>
73229         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
73230         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
73232 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
73234         [BZ #12037]
73235         * posix/unistd.h: Undo change of feature selection for ftruncate from
73236         2010-01-11.
73238 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
73240         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
73241         detection.
73243 2010-09-20  Andreas Schwab  <schwab@redhat.com>
73245         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
73246         fanotify_mark.
73247         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73249 2010-09-14  Andreas Schwab  <schwab@redhat.com>
73251         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
73252         variables after CHECK_SP call.
73253         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
73255 2010-09-13  Andreas Schwab  <schwab@redhat.com>
73256             Ulrich Drepper  <drepper@redhat.com>
73258         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
73259         re-relocationg ld.so.
73260         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
73261         _dl_init_paths call.
73262         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
73263         here anymore.
73265 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
73267         * resolv/res_init.c (__res_vinit): Count the default server we added.
73269 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
73270             Ulrich Drepper  <drepper@redhat.com>
73272         [BZ #11968]
73273         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73274         (____longjmp_chk): Use %ebx for saving value across system call.
73275         Add unwind info.
73277 2010-09-06  Andreas Schwab  <schwab@redhat.com>
73279         * manual/Makefile: Don't mix pattern rules with normal rules.
73281 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73283         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
73284         operation.
73285         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
73286         * libio/iofopncook.c (_IO_cookie_init): Likewise.
73287         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
73288         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
73289         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73290         Likewise.
73292 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
73294         [BZ #11979]
73295         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
73296         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
73298 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
73300         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
73301         * sysdeps/x86_64/addmul_1.S: Likewise.
73302         * sysdeps/x86_64/lshift.S: Likewise.
73303         * sysdeps/x86_64/mul_1.S: Likewise.
73304         * sysdeps/x86_64/rshift.S: Likewise.
73305         * sysdeps/x86_64/sub_n.S: Likewise.
73306         * sysdeps/x86_64/submul_1.S: Likewise.
73308 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73310         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
73311         Define __sched_param instead of SCHED_* and sched_param when
73312         <bits/sched.h> is included with __need_schedparam defined.
73313         * bits/sched.h [__need_schedparam]
73314         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
73315         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
73316         (__defined_schedparam): Define to 1.
73317         (__sched_param): New structure, identical to sched_param.
73318         (__need_schedparam): Undefine.
73320 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
73322         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
73323         (epoll_create1): Declare.
73325         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
73327 2010-08-31  Andreas Schwab  <schwab@redhat.com>
73329         [BZ #7066]
73330         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
73331         shifting retval into place.
73333 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
73335         * nis/rpcsvc/nis.h: Update copyright notice.
73336         * nis/rpcsvc/nis.x: Likewise.
73337         * nis/rpcsvc/nis_callback.h: Likewise.
73338         * nis/rpcsvc/nis_callback.x: Likewise.
73339         * nis/rpcsvc/nis_object.x: Likewise.
73340         * nis/rpcsvc/nis_tags.h: Likewise.
73341         * nis/rpcsvc/yp.h: Likewise.
73342         * nis/rpcsvc/yp.x: Likewise.
73343         * nis/rpcsvc/ypupd.h: Likewise.
73344         * nis/yp_xdr.c: Likewise.
73345         * nis/ypupdate_xdr.c: Likewise.
73347         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
73348         mainly the body of pmap_getport.  Add parameters to specify timeouts.
73349         (pmap_getport): Use __libc_rpc_getport.
73350         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
73351         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
73352         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
73354 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
73356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
73357         fanotify_mark.
73359 2010-08-27  Roland McGrath  <roland@redhat.com>
73361         * sysdeps/i386/i686/multiarch/Makefile
73362         (CFLAGS-varshift.c): New variable.
73364 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
73366         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
73367         * sysdeps/i386/i686/multiarch/varshift.c: New file.
73369         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
73371         * sysdeps/x86_64/strlen.S: Minimal code improvement.
73373 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
73375         * sysdeps/x86_64/strlen.S: Unroll the loop.
73376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73377         strlen-sse2 strlen-sse2-bsf.
73378         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
73379         __strlen_no_bsf if bit_Slow_BSF is set.
73380         (__strlen_sse42): Removed.
73381         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
73382         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
73384 2010-08-25  Roland McGrath  <roland@redhat.com>
73386         * sysdeps/x86_64/multiarch/varshift.S: File removed.
73387         * sysdeps/x86_64/multiarch/varshift.c: New file.
73388         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
73389         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
73390         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
73391         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
73393 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
73395         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73396         strlen-sse2 strlen-sse2-bsf.
73397         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
73398         __strlen_sse2_bsf if bit_Slow_BSF is unset.
73399         (__strlen_sse2): Removed.
73400         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
73401         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
73402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
73403         bit_Slow_BSF for Atom.
73404         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
73405         (index_Slow_BSF): Define.
73406         (HAS_SLOW_BSF): Define.
73408 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
73410         [BZ #10851]
73411         * resolv/res_init.c (__res_vinit): When no server address at all
73412         is given default to loopback.
73414 2010-08-24  Roland McGrath  <roland@redhat.com>
73416         * configure.in: Remove config-name.h generation.
73417         * configure: Regenerated.
73418         * config-name.in: File removed.
73419         * scripts/config-uname.sh: New file.
73420         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
73421         ($(objdir)config-name.h): New target.
73423         * sunrpc/rpc_parse.h: Avoid nested comment.
73425 2010-08-24  Richard Henderson  <rth@redhat.com>
73426             Ulrich Drepper  <drepper@redhat.com>
73427             H.J. Lu  <hongjiu.lu@intel.com>
73429         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
73430         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
73431         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
73432         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
73433         _mm_alignr_epi8 with _mm_loadu_si128.
73434         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
73435         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
73436         (__m128i_shift_right): Removed.
73437         * sysdeps/i386/i686/multiarch/varshift.h: New file.
73438         * sysdeps/i386/i686/multiarch/varshift.S: New file.
73439         * sysdeps/x86_64/multiarch/varshift.h: New file.
73440         * sysdeps/x86_64/multiarch/varshift.S: New file.
73442 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
73444         * configure.in: Move assembler checks to before sysdep dir checking.
73446 2010-08-20  Petr Baudis  <pasky@suse.cz>
73448         * LICENSES: Sync the sunrpc license.
73450 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
73452         * sunrpc/auth_des.c: Update copyright notice once again.
73453         * sunrpc/auth_none.c: Likewise.
73454         * sunrpc/auth_unix.c: Likewise.
73455         * sunrpc/authdes_prot.c: Likewise.
73456         * sunrpc/authuxprot.c: Likewise.
73457         * sunrpc/bindrsvprt.c: Likewise.
73458         * sunrpc/clnt_gen.c: Likewise.
73459         * sunrpc/clnt_perr.c: Likewise.
73460         * sunrpc/clnt_raw.c: Likewise.
73461         * sunrpc/clnt_simp.c: Likewise.
73462         * sunrpc/clnt_tcp.c: Likewise.
73463         * sunrpc/clnt_udp.c: Likewise.
73464         * sunrpc/clnt_unix.c: Likewise.
73465         * sunrpc/des_crypt.c: Likewise.
73466         * sunrpc/des_soft.c: Likewise.
73467         * sunrpc/get_myaddr.c: Likewise.
73468         * sunrpc/getrpcport.c: Likewise.
73469         * sunrpc/key_call.c: Likewise.
73470         * sunrpc/key_prot.c: Likewise.
73471         * sunrpc/openchild.c: Likewise.
73472         * sunrpc/pm_getmaps.c: Likewise.
73473         * sunrpc/pm_getport.c: Likewise.
73474         * sunrpc/pmap_clnt.c: Likewise.
73475         * sunrpc/pmap_prot.c: Likewise.
73476         * sunrpc/pmap_prot2.c: Likewise.
73477         * sunrpc/pmap_rmt.c: Likewise.
73478         * sunrpc/rpc/auth.h: Likewise.
73479         * sunrpc/rpc/auth_unix.h: Likewise.
73480         * sunrpc/rpc/clnt.h: Likewise.
73481         * sunrpc/rpc/des_crypt.h: Likewise.
73482         * sunrpc/rpc/key_prot.h: Likewise.
73483         * sunrpc/rpc/netdb.h: Likewise.
73484         * sunrpc/rpc/pmap_clnt.h: Likewise.
73485         * sunrpc/rpc/pmap_prot.h: Likewise.
73486         * sunrpc/rpc/pmap_rmt.h: Likewise.
73487         * sunrpc/rpc/rpc.h: Likewise.
73488         * sunrpc/rpc/rpc_des.h: Likewise.
73489         * sunrpc/rpc/rpc_msg.h: Likewise.
73490         * sunrpc/rpc/svc.h: Likewise.
73491         * sunrpc/rpc/svc_auth.h: Likewise.
73492         * sunrpc/rpc/types.h: Likewise.
73493         * sunrpc/rpc/xdr.h: Likewise.
73494         * sunrpc/rpc_clntout.c: Likewise.
73495         * sunrpc/rpc_cmsg.c: Likewise.
73496         * sunrpc/rpc_common.c: Likewise.
73497         * sunrpc/rpc_cout.c: Likewise.
73498         * sunrpc/rpc_dtable.c: Likewise.
73499         * sunrpc/rpc_hout.c: Likewise.
73500         * sunrpc/rpc_main.c: Likewise.
73501         * sunrpc/rpc_parse.c: Likewise.
73502         * sunrpc/rpc_parse.h: Likewise.
73503         * sunrpc/rpc_prot.c: Likewise.
73504         * sunrpc/rpc_sample.c: Likewise.
73505         * sunrpc/rpc_scan.c: Likewise.
73506         * sunrpc/rpc_scan.h: Likewise.
73507         * sunrpc/rpc_svcout.c: Likewise.
73508         * sunrpc/rpc_tblout.c: Likewise.
73509         * sunrpc/rpc_util.c: Likewise.
73510         * sunrpc/rpc_util.h: Likewise.
73511         * sunrpc/rpcinfo.c: Likewise.
73512         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
73513         * sunrpc/rpcsvc/key_prot.x: Likewise.
73514         * sunrpc/rpcsvc/klm_prot.x: Likewise.
73515         * sunrpc/rpcsvc/mount.x: Likewise.
73516         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
73517         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
73518         * sunrpc/rpcsvc/rex.x: Likewise.
73519         * sunrpc/rpcsvc/rstat.x: Likewise.
73520         * sunrpc/rpcsvc/rusers.x: Likewise.
73521         * sunrpc/rpcsvc/sm_inter.x: Likewise.
73522         * sunrpc/rpcsvc/spray.x: Likewise.
73523         * sunrpc/rpcsvc/yppasswd.x: Likewise.
73524         * sunrpc/rtime.c: Likewise.
73525         * sunrpc/svc.c: Likewise.
73526         * sunrpc/svc_auth.c: Likewise.
73527         * sunrpc/svc_authux.c: Likewise.
73528         * sunrpc/svc_raw.c: Likewise.
73529         * sunrpc/svc_run.c: Likewise.
73530         * sunrpc/svc_simple.c: Likewise.
73531         * sunrpc/svc_tcp.c: Likewise.
73532         * sunrpc/svc_udp.c: Likewise.
73533         * sunrpc/svc_unix.c: Likewise.
73534         * sunrpc/svcauth_des.c: Likewise.
73535         * sunrpc/xcrypt.c: Likewise.
73536         * sunrpc/xdr.c: Likewise.
73537         * sunrpc/xdr_array.c: Likewise.
73538         * sunrpc/xdr_float.c: Likewise.
73539         * sunrpc/xdr_mem.c: Likewise.
73540         * sunrpc/xdr_rec.c: Likewise.
73541         * sunrpc/xdr_ref.c: Likewise.
73542         * sunrpc/xdr_sizeof.c: Likewise.
73543         * sunrpc/xdr_stdio.c: Likewise.
73545         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
73546         handling.
73548 2010-08-19  Andreas Schwab  <schwab@redhat.com>
73550         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
73552 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
73554         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
73555         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
73556         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
73557         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
73558         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
73559         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
73560         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
73561         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
73562         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
73563         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
73564         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
73565         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
73566         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
73567         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
73569 2010-07-26  Anton Blanchard  <anton@samba.org>
73571         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
73572         * malloc/arena.c (heap_trim): Likewise.
73574 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
73576         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
73577         here.  Not...
73578         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
73579         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
73581 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
73583         * sysdeps/i386/elf/Makefile: New file.
73585 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73587         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
73588         from fanotify_init.
73589         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
73590         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73592 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
73594         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
73595         of strncasecmp_l.
73596         * sysdeps/multiarch/strcmp.S: Likewise.
73598 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
73600         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73601         strncase_l-nonascii.
73602         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73603         Add strncase_l-ssse3.
73604         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
73605         * sysdeps/x86_64/strcmp.S: Likewise.
73606         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
73607         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
73608         * sysdeps/x86_64/strncase.S: New file.
73609         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
73610         * sysdeps/x86_64/strncase_l.S: New file.
73611         * string/Makefile (strop-tests): Add strncasecmp.
73612         * string/test-strncasecmp.c: New file.
73614         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
73615         warning.
73617         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
73618         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
73620 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73622         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
73624 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
73626         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
73627         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
73628         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
73630 2010-05-01  Alan Modra  <amodra@gmail.com>
73632         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
73633         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
73634         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
73635         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
73636         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
73637         tidying.  Don't tail-call __sigjmp_save for static lib.
73638         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
73639         save location.
73640         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
73641         (CALL_MCOUNT): Add eh info, and nop after bl.
73642         (TAIL_CALL_SYSCALL_ERROR): New macro.
73643         (PSEUDO_RET): Use it.
73644         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
73645         Correct save location of integer regs and cr.
73646         (_dl_profile_resolve): Correct cr save location.  Delete nops
73647         after bl when SHARED.  Reduce cfi size a little by better
73648         placement of cfi directives.
73649         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
73650         make a stack frame.  Instead use parm save area as a temp.
73651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
73652         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
73653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
73654         Don't make a stack frame for parent, use parm save area.
73655         Increase child stack frame to 112 bytes.  Don't save unused reg,
73656         and adjust reg usage.  Set up cfi on error recovery and
73657         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
73658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73659         (__makecontext): Add dummy nop after jump to exit.
73660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
73661         Use correct parm save area and cr save, reduce stack frame.
73662         Correct cfi for possible PSEUDO_RET frame setup.
73663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
73664         Branch to local label emitted by PSEUDO_RET rather than
73665         __syscall_error.
73667 2010-08-12  Andreas Schwab  <schwab@redhat.com>
73669         [BZ #11904]
73670         * locale/programs/locale.c (print_assignment): New function.
73671         (show_locale_vars): Use it.
73673 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
73675         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
73676         field.
73677         (struct statfs64): Likewise.
73678         (_STATFS_F_FLAGS): Define.
73679         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
73680         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73681         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
73682         (ST_VALID): Define locally.
73683         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
73684         __statvfs_getflags, use the provided value.
73685         * sysdeps/unix/sysv/linux/kernel-features.h: Define
73686         __ASSUME_STATFS_F_FLAGS.
73688         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
73690         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
73691         Add sys/fanotify.h.
73692         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
73693         fanotify_mask for GLIBC_2.13.
73694         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
73695         fanotify_init and fanotify_mark.
73696         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73697         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
73699         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
73700         Add prlimit.
73701         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
73702         prlimit64 for GLIBC_2.13.
73703         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
73704         prlimit64.
73705         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
73706         syscall.
73707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
73708         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73709         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
73710         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
73711         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
73712         add prlimit alias.
73713         * sysdeps/unix/sysv/linux/prlimit.c: New file.
73715         [BZ #11903]
73716         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
73717         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
73719         * nss/Makefile: Add rules to build and run tst-nss-test1.
73720         * shlib-versions: Add entry for libnss_test1.
73721         * nss/nss_test1.c: New file.
73722         * nss/tst-nss-test1.c: New file.
73724         * nss/nsswitch.c (__nss_database_custom): Define new variable.
73725         (__nss_configure_lookup): Set appropriate entry in
73726         __nss_configure_lookup to true.
73727         * nss/nsswitch.h: Define enum with indeces of databases in
73728         databases and __nss_database_custom arrays.  Declare
73729         __nss_database_custom.
73730         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
73731         to avoid using nscd when custom rules are installed.
73732         * nss/getXXbyYY_r.c: Likewise.
73733         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
73735         * nss/nss_files/files-parse.c: Whitespace fixes.
73737 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
73739         [BZ #11883]
73740         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
73741         * posix/fnmatch_loop.c: Likewise.
73743 2010-07-17  Andi Kleen  <ak@linux.intel.com>
73745         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
73746         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
73747         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
73748         * Versions.def [GLIBC_2.13]: Add.
73750 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
73752         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73753         Also fail if tpwd after pwuid call is NULL.
73755 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73757         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
73758         when converting to ms.
73760 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73762         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
73763         EOPNOTSUPP errors with ENOTTY.
73764         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
73765         EOPNOTSUPP errors with ENOTTY.
73767 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
73769         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73770         Add strcasecmp_l-ssse3.
73771         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
73772         strcasecmp.
73773         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
73774         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
73775         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
73777 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
73779         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
73781         * string/Makefile (strop-tests): Add strcasecmp.
73782         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73783         strcasecmp_l-nonascii.
73784         (gen-as-const-headers): Add locale-defines.sym.
73785         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
73786         * sysdeps/x86_64/strcasecmp.S: New file.
73787         * sysdeps/x86_64/strcasecmp_l.S: New file.
73788         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
73789         * sysdeps/x86_64/locale-defines.sym: New file.
73790         * string/test-strcasecmp.c: New file.
73792         * string/test-strcasestr.c: Test both ends of the range of characters.
73793         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
73795 2010-07-29  Roland McGrath  <roland@redhat.com>
73797         [BZ #11856]
73798         * manual/locale.texi (Yes-or-No Questions): Fix example code.
73800 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
73802         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
73803         for ld.so.
73805 2010-07-27  Andreas Schwab  <schwab@redhat.com>
73807         * manual/memory.texi (Malloc Tunable Parameters): Document
73808         M_PERTURB.
73810 2010-07-26  Roland McGrath  <roland@redhat.com>
73812         [BZ #11840]
73813         * configure.in (-fgnu89-inline check): Set and substitute
73814         gnu89_inline, not libc_cv_gnu89_inline.
73815         * configure: Regenerated.
73816         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73818 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
73820         * string/test-strnlen.c: New file.
73821         * string/Makefile (strop-tests): Add strnlen.
73822         * string/tester.c (test_strnlen): Add a few more test cases.
73823         * string/tst-strlen.c: Better error reporting.
73825         * sysdeps/x86_64/strnlen.S: New file.
73827 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
73829         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73830         lower-latency instructions.
73832 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
73834         * string/test-strcasestr.c: New file.
73835         * string/test-strstr.c: New file.
73836         * string/Makefile (strop-tests): Add strstr and strcasestr.
73837         * string/str-two-way.h: Don't undefine MAX.
73838         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73840 2010-07-21  Andreas Schwab  <schwab@redhat.com>
73842         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73843         strcasestr-nonascii.
73844         (CFLAGS-strcasestr-nonascii.c): Define.
73845         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73846         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73847         Remove unused attribute.
73849 2010-07-20  Roland McGrath  <roland@redhat.com>
73851         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73852         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
73853         ld.so.cache was broken.  With it, there is no way to disable dsocaps
73854         like LD_HWCAP_MASK can disable hwcaps.
73856 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73858         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73860 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
73862         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73863         call in strcasestr.
73864         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73865         __strcasestr_sse42_nonascii.
73866         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73867         strcasestr-nonascii.c.
73868         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73870 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
73872         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
73873         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
73874         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
73875         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
73877 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
73879         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
73880         fcntl.
73882 2010-07-06  Andreas Schwab  <schwab@redhat.com>
73884         [BZ #11577]
73885         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
73886         dl_signal_cerror.
73888 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
73890         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
73891         _PC_PIPE_BUF using F_GETPIPE_SZ.
73893 2010-07-05  Roland McGrath  <roland@redhat.com>
73895         * manual/arith.texi (Rounding Functions): Fix rint description
73896         implicit in round description.
73898 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
73900         * elf/Makefile: Fix linking for a few tests to make recent linker
73901         happy.
73903 2010-06-30  Andreas Schwab  <schwab@redhat.com>
73905         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73906         $(common-objpfx)libc_nonshared.a.
73908 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
73910         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
73911         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
73912         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73913         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73914         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
73915         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
73916         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73917         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
73919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
73920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
73921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
73923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
73925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
73926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
73927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
73928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
73930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
73932         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73933         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
73934         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
73935         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
73936         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
73937         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
73938         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
73939         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
73940         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
73941         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
73942         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
73943         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
73944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
73945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
73946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
73947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
73948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
73949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
73950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
73951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
73952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
73953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
73954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
73955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
73956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
73957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
73959 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
73961         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73962         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
73963         * string/memmove.c (memmove): Renamed to ...
73964         (MEMMOVE): ...this.  Default to memmove.
73965         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73966         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73967         (END_CHK): Define.
73968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73969         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
73970         mempcpy-ssse3-back memmove-ssse3-back.
73971         * sysdeps/x86_64/multiarch/bcopy.S: New file .
73972         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
73973         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
73974         * sysdeps/x86_64/multiarch/memcpy.S: New file.
73975         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
73976         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
73977         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
73978         * sysdeps/x86_64/multiarch/memmove.c: New file.
73979         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
73980         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
73981         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
73982         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
73983         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
73984         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
73985         Define.
73986         (index_Fast_Copy_Backward): Define.
73987         (HAS_ARCH_FEATURE): Define.
73988         (HAS_FAST_REP_STRING): Define.
73989         (HAS_FAST_COPY_BACKWARD): Define.
73991 2010-06-21  Andreas Schwab  <schwab@redhat.com>
73993         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73994         Restore proper fallback handling.
73996 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
73998         [BZ #11701]
73999         * posix/group_member.c (__group_member): Correct checking loop.
74001         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
74002         OOM in getpwuid_r correctly.  Return error number when the caller
74003         should return, otherwise -1.
74004         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
74005         call returning > 0 value.
74006         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
74008 2010-06-07  Andreas Schwab  <schwab@redhat.com>
74010         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
74011         libc_nonshared.a from targets in modules-names.
74013 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
74015         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
74016         requires it.
74018 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
74020         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
74021         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
74022         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
74023         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
74025 2010-06-02  Andreas Schwab  <schwab@redhat.com>
74027         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
74029 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
74031         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
74032         and F_GETPIPE_SZ.
74033         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74034         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74035         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74036         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74037         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74038         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74040 2010-06-14  Roland McGrath  <roland@redhat.com>
74042         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
74044 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
74046         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
74047         __REDIRECT followed by __THROW.
74048         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
74049         * posix/getopt.h (getopt): Likewise.
74051 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74053         * hurd/lookup-at.c (__file_name_lookup_at): Accept
74054         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
74055         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
74056         in AT_FLAGS.
74057         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
74058         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
74060 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
74062         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
74064 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
74066         [BZ #11640]
74067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74068         Properly check family and model.
74070 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
74072         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
74074 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
74076         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
74078 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
74080         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
74081         symbol reference.
74083 2010-05-19  Andreas Schwab  <schwab@redhat.com>
74085         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
74086         symbol reference.
74088 2010-05-21  Andreas Schwab  <schwab@redhat.com>
74090         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
74091         and internal_recvmmsg.
74092         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
74093         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
74094         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
74095         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
74097         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
74098         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74099         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74101 2010-05-20  Andreas Schwab  <schwab@redhat.com>
74103         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
74105 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
74107         POWER7 optimizations.
74108         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
74109         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
74111 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
74113         * version.h: Update for 2.13 development version.
74115 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
74117         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
74118         exceptions.  Return 0.
74120 2010-05-07  Roland McGrath  <roland@redhat.com>
74122         * elf/ldconfig.c (main): Add a const.
74124 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
74126         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
74127         (args_options): Add no-idn option.
74128         (ahosts_keys_int): Add idn_flags to ai_flags.
74129         (parse_option): Handle 'i' option to clear idn_flags.
74131         * malloc/malloc.c (_int_free): Possible race in the most recently
74132         added check.  Only act on the data if no current modification
74133         happened.
74135 See ChangeLog.17 for earlier changes.