Use SSE2 optimized strcmp in x86-64 ld.so
[glibc.git] / ChangeLog
bloba6b03f9afeb688563dbb00dc50a53ccf2d0130eb
1 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
5 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7         [BZ #11214]
8         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
10 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
18         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
20         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
22         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
23         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
24         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
26         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
27         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
28         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
29         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
31 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
33         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
34         register other than r0 for tabort, it has special meaning.
35         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
36         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
37         transaction before starting syscall.
39 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
43 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
47 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49         * sysdeps/x86_64/rtld-memcmp.c: Removed.
50         * sysdeps/x86_64/rtld-memset.S: Likewise.
51         * sysdeps/x86_64/rtld-strchr.S: Likewise.
52         * sysdeps/x86_64/rtld-strlen.S: Likewise.
53         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
54         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
56 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
58         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
60 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
62         * debug/strcpy_chk.c: Improve performance.
63         * debug/stpcpy_chk.c: Likewise.
64         * sysdeps/x86_64/strcpy_chk.S: Remove.
65         * sysdeps/x86_64/stpcpy_chk.S: Remove.
67         [BZ #18240]
68         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
70 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
72         [BZ #15128]
73         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
74         ifuncmain8.
75         (modules-names): Add ifuncmod8.
76         ($(objpfx)ifuncmain8): New rule.
77         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
78         <cpuid.h>.
79         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
80         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
81         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
82         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
83         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
84         * sysdeps/x86_64/dl-trampoline.h: Likewise.
85         * sysdeps/x86_64/ifuncmain8.c: New file.
86         * sysdeps/x86_64/ifuncmod8.c: Likewise.
87         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
88         Removed.
89         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
90         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
91         Change rtld_savespace_sse to __glibc_unused2.
92         (RTLD_CHECK_FOREIGN_CALL): Removed.
93         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
94         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
95         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
97 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
99         * sysdeps/aarch64/bzero.S (__bzero): Remove.
101 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
103         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
104         Unconditionally set __fpcr to avoid uninialized warning.
105         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
107 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
109         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
110         is corrupt.
112         * malloc/arena.c (arena_get2): Drop unused argument.
113         (arena_lock): Adjust.
114         (arena_get_retry): Likewise.
116 2015-08-24  Andreas Schwab  <schwab@suse.de>
118         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
119         Don't define.
120         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
121         (__ASSUME_IPC64): Don't undef.
122         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
123         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
124         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
125         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
126         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
127         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
128         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
129         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
130         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
131         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
132         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
133         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
134         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
135         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
136         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
137         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
138         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
139         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
140         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
141         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
142         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
144 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
146         * manual/Makefile (install): Only build manual when perl is available.
148 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
150         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
151         '#undef memcpy' by '#undef memchr'.
153 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
155         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
156         memchr not point to the internal __GI_memchr implementation.
158 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
160         * timezone/Makefile (CFLAGS-zdump.c): Remove
161         -Wno-strict-prototypes.
162         (CFLAGS-zic.c): Likewise.
163         (CFLAGS-ialloc.c): Likewise.
164         (CFLAGS-scheck.c): Likewise.
166         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
167         -Wno-error=undef.
169 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
171         * i386/i686/multiarch/strcasestr-c.c: Removed.
172         * x86_64/multiarch/strcasestr.c: Likewise.
173         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
174         Remove strcasestr.
176 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
178         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
180         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
181         variables for high and low parts before possibly modifying them.
183 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
185         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
186         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
187         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
188         of "multiarch/init-arch.h".
189         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
190         * sysdeps/x86/init-arch.h: This.
192 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
194         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
195         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
197 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
199         [BZ #17787]
200         * manual/macros.texi: Add twoexp macro.
201         * manual/filesys.texi: Fix exponents.
202         * manual/llio.texi: Likewise.
203         * manual/stdio.texi: Likewise.
205 2015-08-20  Florian Weimer  <fweimer@redhat.com>
207         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
208         incorrect use.
210 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
212         [BZ #18370]
213         * math/s_csqrt.c (__csqrt): Force underflow exception for results
214         whose real or imaginary part has small absolute value.
215         * math/s_csqrtf.c (__csqrtf): Likewise.
216         * math/s_csqrtl.c (__csqrtl): Likewise.
217         * math/auto-libm-test-in: Add more tests of csqrt.
218         * math/auto-libm-test-out: Regenerated.
219         * sysdeps/i386/fpu/libm-test-ulps: Update.
221 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
223         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
224         __ppc_set_ppr_very_low): New functions.
225         * manual/platform.texi: Add documentation about
226         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
228 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
230         * string/stpncpy.c (stpncpy): Improve performance using
231         __strnlen/memcpy/memset.
233 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
235         [BZ #18796]
236         * scripts/test-installation.pl: Don't add -lmvec to build options if
237         libmvec wasn't built.
239 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
241         [BZ #14341]
242         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
243         case when there is a gap between DT_REL and DT_JMPREL sections.
244         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
245         (LDFLAGS-tst-split-dynreloc): New.
246         (tst-split-dynreloc-ENV): Likewise.
247         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
248         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
250 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
252         [BZ #18822]
253         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
254         attribute_hidden.
255         (__xstat64_conv): Likewise.
256         (__xstat32_conv): Likewise.
258 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
260         [BZ #18822]
261         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
262         Don't load %ebx when calling __setcontext.  Call __setcontext
263         with HIDDEN_JUMPTARGET.
264         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
265         libc_hidden_def.
267 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
269         * sysdeps/i386/i686/Makefile
270         [$(subdir) == string] (sysdep_routines): Moved to ...
271         * sysdeps/i386/Makefile: Here.
272         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
273         * sysdeps/i386/cacheinfo.c: Here.
274         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
275         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
276         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
277         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
279 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
281         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
282         __i586__ is defined.
283         (HAS_I686): Defined to 1 if __i686__ is defined.
285 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
287         * elf/Makefile [$(have-z-execstack) = yes]
288         (CPPFLAGS-tst-execstack.c): New variable.
290         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
291         conditional to [defined UTMPX || _HAVE_UT_TYPE].
292         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
293         UTMPX || _HAVE_UT_TV].
294         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
295         UTMPX || _HAVE_UT_TV - 0].
297 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
299         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
300         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
301         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
303 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
305         * sysdeps/powerpc/dl-procinfo.c:
306         (_dl_powerpc_cap_flags): Added missing strings for some
307         hwcap features.
308         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
310 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
312         Port the 0x7efe...feff pattern to GCC 6.
313         See Steve Ellcey's bug report in:
314         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
315         * string/memrchr.c (MEMRCHR):
316         * string/rawmemchr.c (RAWMEMCHR):
317         * string/strchr.c (strchr):
318         * string/strchrnul.c (STRCHRNUL):
319         Rewrite code to avoid issues with signed shift overflow.
321 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
323         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
324         whether cpuid is available only if HAS_CPUID is 0.
325         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
326         (HAS_I586): Likewise.
327         (HAS_I686): Likewise.
329 2015-08-18  Zack Weinberg  <zackw@panix.com>
331         * misc/Versions (libc): Add GLIBC_2.23.
333 2015-08-18  Alan Modra  <amodra@gmail.com>
335         [BZ #18421]
336         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
337         .Lp__global.
338         (_start): Load %dp via .Lp__global.
339         [!SHARED]: Use .section .rodata.
341 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
343         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
344         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
346 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
348         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
349         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
351 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
353         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
354         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
356 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
358         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
359         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
361 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
363         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
364         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
366 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
368         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
369         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
371 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
373         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
375 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
377         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
378         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
379         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
380         (__ASSUME_LWS_CAS): Delete.
382 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
384         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
385         * sysdeps/hppa/configure: Regenerated.
386         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
387         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
388         * sysdeps/hppa/nptl/tls.h: Likewise.
390 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
392         [BZ #18823]
393         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
394         for scaling up small arguments.
395         * math/s_csqrtf.c (__csqrtf): Likewise.
396         * math/s_csqrtl.c (__csqrtl): Likewise.
397         * math/auto-libm-test-in: Add more tests of csqrt.
398         * math/auto-libm-test-out: Regenerated.
400 2015-08-17  Andreas Schwab  <schwab@suse.de>
402         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
403         version set GLIBC_2.19.
405 2015-08-16  Zack Weinberg  <zackw@panix.com>
407         [BZ #18681]
408         * misc/regexp.h: This interface is no longer supported.
409         Remove all contents, leaving only an #error directive.
410         * misc/regexp.c (loc1, loc2, locs, step, advance):
411         Demote to compatibility symbols.
413 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
415         [BZ #18084]
416         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
417         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
418         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
419         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
420         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
421         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
422         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
423         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
424         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
426 2015-08-15  Zack Weinberg  <zackw@panix.com>
428         [BZ #18795]
429         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
430         buffer length is known to be too large, not if it's known to be
431         small enough.
432         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
433         overflow at runtime, involving a length parameter, twice: once
434         with a compile-time constant length parameter, once without.
436 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
438         [BZ #18824]
439         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
440         scaling x * y up instead of down.
441         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
442         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
443         * math/auto-libm-test-in: Add more tests of fma.
444         * math/auto-libm-test-out: Regenerated.
446 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
448         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
450 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
452         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
453         unnecessary movq.
454         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
455         Likewise.
457 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
459         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
460         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
461         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
462         and tgamma.
463         * math/auto-libm-test-out: Regenerated.
464         * sysdeps/i386/fpu/libm-test-ulps: Update.
465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
467         [BZ #16520]
468         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
469         (__tanh): Force underflow exception for arguments with small
470         absolute value.
471         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
472         (__tanhf): Force underflow exception for arguments with small
473         absolute value.
474         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
475         (__tanhl): Force underflow exception for arguments with small
476         absolute value.
477         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
478         (__tanhl): Force underflow exception for arguments with small
479         absolute value.
480         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
481         (__tanhl): Force underflow exception for arguments with small
482         absolute value.
483         * math/auto-libm-test-in: Add more tests of tanh.
484         * math/auto-libm-test-out: Regenerated.
485         * sysdeps/i386/fpu/libm-test-ulps: Update.
487 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
489         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
490         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
492 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
494         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
495         <cpuid.h>.
497 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
499         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
500         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
502 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
504         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
505         Remove $(objpfx)init-arch.o.
506         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
507         init-arch.
508         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
509         (INIT_ARCH_EXT): Defined as empty.
510         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
511         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
512         __init_cpu_features call.  Replace HAS_XXX with
513         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
514         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
515         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
516         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
517         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
518         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
519         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
520         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
521         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
522         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
523         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
524         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
525         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
526         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
527         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
528         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
529         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
530         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
531         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
532         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
533         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
534         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
535         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
536         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
537         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
538         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
539         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
540         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
541         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
542         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
543         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
544         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
545         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
546         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
547         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
548         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
550 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
552         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
553         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
554         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
555         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
556         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
557         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
558         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
559         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
560         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
561         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
562         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
563         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
564         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
565         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
566         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
567         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
568         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
569         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
570         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
571         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
572         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
573         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
574         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
575         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
576         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
577         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
578         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
579         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
580         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
581         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
582         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
583         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
584         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
585         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
586         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
587         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
588         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
589         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
590         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
591         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
592         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
593         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
594         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
596 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
598         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
599         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
600         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
601         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
602         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
603         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
604         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
605         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
606         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
607         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
608         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
609         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
610         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
611         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
612         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
613         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
614         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
615         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
616         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
617         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
618         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
619         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
620         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
621         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
622         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
623         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
624         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
625         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
626         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
627         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
628         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
629         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
630         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
631         * sysdeps/x86_64/multiarch/memset.S: Likewise.
632         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
633         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
634         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
635         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
636         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
637         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
638         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
639         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
640         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
642 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
644         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
645         (dl_platform_init): Call init_cpu_features.
646         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
647         * sysdeps/i386/i686/cacheinfo.c
648         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
649         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
650         * sysdeps/i386/i686/multiarch/Versions: Removed.
651         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
652         Removed.
653         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
654         * sysdeps/unix/sysv/linux/x86/Makefile
655         (libpthread-sysdep_routines): Remove init-arch.
656         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
657         <sysdeps/x86_64/dl-procinfo.c> instead of
658         sysdeps/generic/dl-procinfo.c>.
659         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
660         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
661         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
662         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
663         [$(subdir) == elf] (tests-static): Add
664         tst-get-cpu-features-static.
665         * sysdeps/x86/Versions: New file.
666         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
667         * sysdeps/x86/cpu-features.c: Likewise.
668         * sysdeps/x86/cpu-features.h: Likewise.
669         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
670         * sysdeps/x86/libc-start.c: Likewise.
671         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
672         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
673         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
674         * sysdeps/x86_64/dl-procinfo.c: Likewise.
675         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
676         Assume USE_MULTIARCH is defined and don't check it.
677         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
678         (is_amd): Likewise.
679         (max_cpuid): Likewise.
680         (intel_check_word): Likewise.
681         (__cache_sysconf): Don't call __init_cpu_features.
682         (__x86_preferred_memory_instruction): Removed.
683         (init_cacheinfo): Don't call __init_cpu_features. Replace
684         __cpu_features with GLRO(dl_x86_cpu_features).
685         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
686         (dl_platform_init): Call init_cpu_features.
687         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
688         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
689         * sysdeps/x86_64/multiarch/Versions: Removed.
690         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
691         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
692         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
693         Removed.
694         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
696 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
698         [BZ #18820]
699         * libio/Makefile (test-fmemopen-mem): New test.
700         * libio/test-fmemopen.c (do_bz18820): New test.
701         * libio/fmemopen.c (__fmemopen): Fix memory leak.
702         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
704 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
706         [BZ #16734]
707         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
708         (FREE_BUF): Delete.
709         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
710         * libio/genops.c (_IO_setb): Use malloc and free directly.
711         (_IO_default_doallocate, _IO_default_finish): Likewise.
712         ( _IO_unbuffer_all): Likewise.
713         ( libc_freeres_fn): Likewise.
714         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
715         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
716         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
717         (_IO_wdefault_doallocate): Likewise.
719 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
721         [BZ #18086]
722         * sysdeps/posix/nice.c (nice): Restore old errno.
723         * posix/tst-nice.c (do_test): Add test for BZ #18086.
725 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
727         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
729 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
731         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
732         __bcopy and add a weak_alias to bcopy.
733         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
734         for static build.
736         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
737         cleanup macro usage.
738         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
739         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
740         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
741         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
742         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
743         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
744         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
745         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
746         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
747         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
748         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
749         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
750         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
751         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
752         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
753         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
754         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
755         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
756         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
758         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
759         libc_hidden_def.
760         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
762         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
763         (sysdep_routines): Add strstr-ppc64.
764         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
766 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
768         [BZ #18778]
769         * elf/Makefile (tests): Add Add tst-nodelete2.
770         (modules-names): Add tst-nodelete2mod.
771         (tst-nodelete2mod.so-no-z-defs): New.
772         ($(objpfx)tst-nodelete2): Likewise.
773         ($(objpfx)tst-nodelete2.out): Likewise.
774         (LDFLAGS-tst-nodelete2): Likewise.
775         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
776         out of loop through all loaded libraries.
777         * elf/tst-nodelete2.c: New file.
778         * elf/tst-nodelete2mod.c: Likewise.
780 2015-08-11  Andreas Schwab  <schwab@suse.de>
782         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
783         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
784         (__openat64_nocancel): Likewise.
786 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
788         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
789         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
790         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
791         * math/auto-libm-test-out: Regenerated.
792         * sysdeps/i386/fpu/libm-test-ulps: Update.
793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
795 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
797         [BZ #18790]
798         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
799         threshold for returning +/- 1.
800         * math/auto-libm-test-in: Add more tests of tanh.
801         * math/auto-libm-test-out: Regenerated.
802         * sysdeps/i386/fpu/libm-test-ulps: Update.
804 2015-08-10  Andreas Schwab  <schwab@suse.de>
806         [BZ #18781]
807         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
808         MORE_OFLAGS to oflag.
809         * io/test-lfs.c (do_test): Test openat64.
811 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
813         [BZ #18789]
814         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
815         smaller threshold for returning the argument.
816         * math/auto-libm-test-in: Add more tests of sinh.
817         * math/auto-libm-test-out: Regenerated.
818         * sysdeps/i386/fpu/libm-test-ulps: Update.
820 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
822         [BZ #18674]
823         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
824         break.
826 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
828         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
829         (generated): Don't add $(addprefix z.,$(tzfiles)).
831 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
833         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
834         * scripts/sysd-rules.awk: Likewise.
836 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
838         * iconvdata/tst-tables.sh: Change echo -n to printf.
839         * nss/db-Makefile: Likewise.
840         * posix/tst-getconf.sh: Likewise.
841         * stdio-common/tst-unbputc.sh: Likewise.
843 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
845         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
846         MADV_*_PAGES defines behind this feature check.
848 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
850         [BZ #18480]
851         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
852         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
853         Define.
854         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
855         LOAD_REGS_5, LOAD_REGS_6): Update.
856         (INTERNAL_SYSCALL): Update using new LOAD defines.
857         (INTERNAL_SYSCALL_NCS): Likewise.
858         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
860 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
862         [BZ #16734]
863         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
865 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
867         [BZ #17905]
868         * catgets/Makefile (tst-catgets-mem): New test.
869         * catgets/catgets.c (catopen): Don't use unbounded alloca.
870         * catgets/open_catalog.c (__open_catalog): Likewise.
871         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
873 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
875         [BZ #18787]
876         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
877         clobber registers.
878         (atomic_compare_and_exchange_val_acq): Use register asms to assign
879         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
880         Cast return to __typeof (oldval).
882 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
884         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
885         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
886         and delete sys/syscall.h include.
888 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
890         [BZ #16517]
891         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
892         (tan): Force underflow exception for arguments with small absolute
893         value.
894         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
895         (__kernel_tanf): Force underflow exception for arguments with
896         small absolute value.
897         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
898         (__kernel_tanl): Force underflow exception for arguments with
899         small absolute value.
900         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
901         (__kernel_tanl): Force underflow exception for arguments with
902         small absolute value.
903         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
904         (__kernel_tanl): Force underflow exception for arguments with
905         small absolute value.
906         * math/auto-libm-test-in: Add more tests of tan.
907         * math/auto-libm-test-out: Regenerated.
909 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
911         Fix sysdeps/i386/fpu/s_scalbn.S build
913         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
915 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
917         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
919 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
921         Fix gcrt0.o compilation
923         When static-start-installed-name is different from
924         start-installed-name, we must not use the shared objects.
926         * csu/Makefile
927         (extra-objs): Add gmon-start.o when building shared library and
928         $(static-start-installed-name) is different from
929         $(start-installed-name).
930         $(objpfx)g$(static-start-installed-name): When building shared
931         library and $(static-start-installed-name) is different from
932         $(static-start-installed-name), revert to non-shared rule,
933         i.e. using $(objpfx)% and gmon-start.o.
935 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
937         [BZ #16519]
938         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
939         (__ieee754_sinh): Force underflow exception for arguments with
940         small absolute value.
941         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
942         (__ieee754_sinhf): Force underflow exception for arguments with
943         small absolute value.
944         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
945         (__ieee754_sinhl): Force underflow exception for arguments with
946         small absolute value.
947         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
948         (__ieee754_sinhl): Force underflow exception for arguments with
949         small absolute value.
950         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
951         (__ieee754_sinhl): Force underflow exception for arguments with
952         small absolute value.
953         * math/auto-libm-test-in: Add more tests of sinh.
954         * math/auto-libm-test-out: Regenerated.
955         * sysdeps/i386/fpu/libm-test-ulps: Update.
957 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
959         * libio/oldfileops.c: Include unistd.h.
961 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
963         * stdlib/isomac.c: Include ctype.h.
965 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
967         * dirent/tst-seekdir.c (main): Converted to ...
968         (do_test): ... this.
969         (TEST_FUNCTION): New macro.
970         Include test-skeleton.c.
971         * elf/tst-dlmodcount.c (main): Converted to ...
972         (do_test): ... this.
973         (TEST_FUNCTION): New macro.
974         Include test-skeleton.c.
975         * elf/tst-order-main.c (main): Converted to ...
976         (do_test): ... this.
977         (TEST_FUNCTION): New macro.
978         Include test-skeleton.c.
979         * elf/tst-pie2.c (main): Converted to ...
980         (do_test): ... this.
981         (TEST_FUNCTION): New macro.
982         Include test-skeleton.c.
983         * inet/tst-ether_aton.c (main): Converted to ...
984         (do_test): ... this.
985         (TEST_FUNCTION): New macro.
986         Include test-skeleton.c.
987         * misc/tst-mntent.c (main): Converted to ...
988         (do_test): ... this.
989         (TEST_FUNCTION): New macro.
990         Include test-skeleton.c.
991         * misc/tst-tsearch.c (main): Converted to ...
992         (do_test): ... this.
993         (TEST_FUNCTION): New macro.
994         Include test-skeleton.c.
995         * posix/tst-regexloc.c (main): Converted to ...
996         (do_test): ... this.
997         (TEST_FUNCTION): New macro.
998         Include test-skeleton.c.
999         * resolv/tst-aton.c (main): Converted to ...
1000         (do_test): ... this.
1001         (TEST_FUNCTION): New macro.
1002         Include test-skeleton.c.
1003         * stdio-common/test-fwrite.c (main): Converted to ...
1004         (do_test): ... this.
1005         (TEST_FUNCTION): New macro.
1006         Include test-skeleton.c.
1007         * stdio-common/tst-ferror.c (main): Converted to ...
1008         (do_test): ... this.
1009         (TEST_FUNCTION): New macro.
1010         Include test-skeleton.c.
1011         * stdio-common/tst-printf.c (main): Converted to ...
1012         (do_test): ... this.
1013         (TEST_FUNCTION): New macro.
1014         Include test-skeleton.c.
1015         * stdio-common/tst-printfsz.c (main): Converted to ...
1016         (do_test): ... this.
1017         (TEST_FUNCTION): New macro.
1018         Include test-skeleton.c.
1019         * stdlib/tst-strtod.c (main): Converted to ...
1020         (do_test): ... this.
1021         (TEST_FUNCTION): New macro.
1022         Include test-skeleton.c.
1023         * string/tst-strlen.c (main): Converted to ...
1024         (do_test): ... this.
1025         (TEST_FUNCTION): New macro.
1026         Include test-skeleton.c.
1027         * string/tst-svc.c (main): Converted to ...
1028         (do_test): ... this.
1029         (TEST_FUNCTION): New macro.
1030         Include test-skeleton.c.
1031         * time/tst-strptime.c (main): Converted to ...
1032         (do_test): ... this.
1033         (TEST_FUNCTION): New macro.
1034         Include test-skeleton.c.
1035         * timezone/tst-timezone.c (main): Converted to ...
1036         (do_test): ... this.
1037         (TEST_FUNCTION): New macro.
1038         Include test-skeleton.c.
1040 2015-08-05  Zack Weinberg  <zackw@panix.com>
1042         * misc/regexp.h: Update comments.
1044 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1046         [BZ #18635]
1047         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1048         before return label.
1050 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1052         [BZ #18661]
1053         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1054         when calling __errno_location.
1055         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1056         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1058 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1060         [BZ #18661]
1061         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1062         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1063         __gettimeofday.
1065 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1067         [BZ #18661]
1068         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1069         (__start_context): Don't use pop to restore %rdi so that stack
1070         is aligned to 16 bytes when calling __setcontext.
1072 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1074         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1075         only for libc.
1076         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1078 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1080         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1081         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1082         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1084 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1086         * string/memccpy.c (memccpy):
1087         Improve performance by using memchr/memcpy/__mempcpy.
1089 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1091         * string/strncpy.c (strncpy):
1092         Improve performance by using __strnlen/memcpy.
1094 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1096         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1097         Optimize to avoid an unnecessary FPCR read.
1099 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1101         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1102         Optimize to reduce FPCR/FPSR accesses.
1104 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1106         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1107         dead->data[category] != NULL.
1109 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1111         [BZ #18647]
1112         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1113         and |x| close to 1, use absolute value of x when computing log.
1114         * math/auto-libm-test-in: Add more tests of pow.
1115         * math/auto-libm-test-out: Regenerated.
1117 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1119         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1120         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1121         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1123 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1125         [BZ #18525]
1126         * locales/km_KH: Remove timezone definition.
1127         * locales/lo_LA: Likewise.
1128         * locales/my_MM: Likewise.
1129         * locales/nan_TW@latin: Likewise.
1130         * locales/th_TH: Likewise.
1131         * locales/uk_UA: Likewise.
1133 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1135         [BZ #18265]
1136         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1137         (wcsncat): Likewise.
1138         (wcscmp): Likewise.
1139         (wcsncmp): Likewise.
1141 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1143         * test-skeleton.c (usage): New function.
1144         (main): Call usage when opt is '?'.
1146 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1148         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1149         before first use.
1151 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1153         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1154         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1155         in there too.
1157 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1159         * version.h (RELEASE): Set to "development".
1160         (VERSION): Set to "2.22.90"
1162         * version.h (RELEASE): Set to "stable".
1163         (VERSION): Set to "2.22"
1164         * include/features.h (__GLIBC_MINOR__): Set to 22.
1166 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1168         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1169         Restructure macro to avoid "value computed is not used" warning.
1170         (atomic_compare_and_exchange_val_acq): Likewise.
1172 2015-08-04  Andreas Schwab  <schwab@suse.de>
1174         [BZ #18635]
1175         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1176         ret.
1177         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1179 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1181         * po/pl.po: Updated translation.
1182         * po/uk.po: Likewise.
1183         * po/fi.po: Likewise.
1184         * po/ko.po: Likewise.
1185         * po/ru.po: Likewise.
1186         * po/vi.po: Likewise.
1188 2015-07-31  Zack Weinberg  <zackw@panix.com>
1190         [BZ #18681]
1191         * regexp.h: Add unconditional #warning stating that this header
1192         will be removed soon.  Revise banner comment to match.
1193         (compile): Consistently use ERROR instead of RETURN to report
1194         errors (partial fix for bz#18681).
1195         * regexp.c: Don't include regexp.h. Remove some unnecessary
1196         declarations.
1198 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1200         * po/libc.pot: Regenerated.
1202 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1204         [BZ #18740]
1205         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1206         float-vlen4-arch-ext-cflags): Removed.
1207         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1208         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1210 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1212         [BZ #14113]
1213         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1214         aligned to __aligned__.
1215         (pthread_cond_t, pthread_rwlock_t): Likewise.
1217 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1219         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1221 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1223         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1224         (struct sigaction): Change sa_flags from a long to an int, and add
1225         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1227 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1229         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1230         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1231         sysdeps/generic/sysdep.h include.
1232         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1233         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1234         sysdeps/hppa/sysdep.h.
1235         (ENTRY, PSEUDO): Undefine before defining.
1237 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1239         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1240         from scratch to use INTERNAL_SYSCALL.
1242 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1244         [BZ #18078]
1245         * scripts/check-localplt.awk: Support alternate relocations.
1246         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1247         sections.
1248         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1249         malloc entries with + REL R_386_GLOB_DAT.
1250         * sysdeps/x86_64/localplt.data: New file.
1252 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1254         [BZ #18731]
1255         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1256         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1257         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1259 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1261         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1263 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1265         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1266         directly in terms of __sync_fetch_and_add and delete (int) cast.
1268 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1270         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1271         the -D_ASM_IA64_CURRENT_H flag.
1273 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1275         [BZ #18641]
1276         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1278 2015-07-27  Andreas Schwab  <schwab@suse.de>
1280         * conform/conformtest.pl (checknamespace): Filter out string
1281         literals while tokenizing.
1283 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1285         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1286         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1287         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1289 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1291         * nptl/tst-join7mod.c: Add #include <string.h>.
1293 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1295         * sysdeps/nios2/libm-test-ulps: Update.
1297 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1299         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1300         Fix order of arguments to the rt_sigprocmask syscall.
1301         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1302         Likewise.
1304 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1306         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1308 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1310         [BZ #18457]
1311         * nptl/Makefile (tests): New test case tst-join7.
1312         (modules-names): New test case module tst-join7mod.
1313         * nptl/tst-join7.c: New file.
1314         * nptl/tst-join7mod.c: New file.
1315         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1316         all translation units in libc.so, libpthread.so and rtld.
1318 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1322 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1324         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1325         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1326         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1327         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1328         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1329         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1330         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1331         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1332         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1333         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1334         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1335         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1336         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1337         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1338         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1339         implementation.
1341 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1343         [BZ #17711]
1344         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1345         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1346         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1347         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1348         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1349         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1351 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1353         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1354         instead of just saying load lock in the comments.
1356 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1358         * sysdeps/unix/Subdirs: Moved ...
1359         * sysdeps/posix/Subdirs: ... here.
1360         * login/pty.h (struct termios, struct winsize): Add forward decls.
1361         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1362         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1363         * sysdeps/arm/nacl/libc.abilist: Updated.
1364         * sysdeps/nacl/libutil.abilist: New file.
1366         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1367         (SIGWINCH): New macro.
1369         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1370         * sysdeps/arm/nacl/libc.abilist: Add it.
1372 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1374         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1376 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1378         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1379         Swap __glibc_reserved0 and sa_flags order.
1381 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1383         [BZ #18657]
1384         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1385         are pending TLS destructor calls.
1386         * include/link.h (struct link_map): Add concurrency note for
1387         L_TLS_DTOR_COUNT.
1388         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1389         Don't touch the link map flag.  Atomically increment
1390         l_tls_dtor_count.
1391         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1392         Avoid taking the load lock and don't touch the link map flag.
1393         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1394         * stdlib/Makefile (tests): Use it.
1395         * stdlib/tst-tls-atexit.c (do_test): dlopen
1396         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1397         to allow tst-tls-atexit-nodelete test case to use it.
1399 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1401         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1402         to bits/types.h.
1403         (msgqnum_t): New typedef.
1404         (msglen_t): Likewise.
1405         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1406         and msg_qbytes type to msglen_t.
1408 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1410         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1411         pad0 to __glibc_reserved0.
1412         (struct stat64): Likewise.
1414 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1416         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1417         Change sa_flags from a long to an int and add __glibc_reserved0 before
1418         it for padding.
1420 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1422         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1423         anonymous by deleting "siginfo" name.
1425 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1427         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1428         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1429         rather than __nacl_irt_filename.
1430         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1432         * NEWS: New item for arm-nacl port.
1433         * sysdeps/arm/nacl/libc.abilist: New file.
1434         * sysdeps/nacl/ld.abilist: New file.
1435         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1436         * sysdeps/nacl/libanl.abilist: New file.
1437         * sysdeps/nacl/libcrypt.abilist: New file.
1438         * sysdeps/nacl/libdl.abilist: New file.
1439         * sysdeps/nacl/libm.abilist: New file.
1440         * sysdeps/nacl/libpthread.abilist: New file.
1441         * sysdeps/nacl/libresolv.abilist: New file.
1442         * sysdeps/nacl/librt.abilist: New file.
1444 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1446         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1447         __startcontext to initialize the new context.
1448         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1449         up CFI directive to forbid further backtracing.
1451 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1453         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1454         reference.
1455         * charmaps/ANSI_X3.4-1968: Likewise.
1456         * charmaps/BS_4730: Likewise.
1457         * charmaps/BS_VIEWDATA: Likewise.
1458         * charmaps/CP1250: Likewise.
1459         * charmaps/CP1251: Likewise.
1460         * charmaps/CP1252: Likewise.
1461         * charmaps/CP1253: Likewise.
1462         * charmaps/CP1254: Likewise.
1463         * charmaps/CP1255: Likewise.
1464         * charmaps/CP1256: Likewise.
1465         * charmaps/CSN_369103: Likewise.
1466         * charmaps/EBCDIC-DK-NO: Likewise.
1467         * charmaps/GB_1988-80: Likewise.
1468         * charmaps/GREEK-CCITT: Likewise.
1469         * charmaps/GREEK7: Likewise.
1470         * charmaps/INIS-8: Likewise.
1471         * charmaps/ISIRI-3342: Likewise.
1472         * charmaps/ISO_2033-1983: Likewise.
1473         * charmaps/ISO_5427-EXT: Likewise.
1474         * locales/POSIX: Likewise.
1475         * locales/ar_SA: Likewise.
1476         * locales/be_BY: Likewise.
1477         * locales/be_BY@latin: Likewise.
1478         * locales/ca_ES: Likewise.
1479         * locales/cs_CZ: Likewise.
1480         * locales/da_DK: Likewise.
1481         * locales/de_BE: Likewise.
1482         * locales/de_CH: Likewise.
1483         * locales/de_LU: Likewise.
1484         * locales/en_AU: Likewise.
1485         * locales/en_BW: Likewise.
1486         * locales/en_CA: Likewise.
1487         * locales/en_DK: Likewise.
1488         * locales/en_GB: Likewise.
1489         * locales/en_IE: Likewise.
1490         * locales/en_NZ: Likewise.
1491         * locales/en_ZA: Likewise.
1492         * locales/en_ZW: Likewise.
1493         * locales/es_AR: Likewise.
1494         * locales/es_BO: Likewise.
1495         * locales/es_CL: Likewise.
1496         * locales/es_CO: Likewise.
1497         * locales/es_DO: Likewise.
1498         * locales/es_EC: Likewise.
1499         * locales/es_ES: Likewise.
1500         * locales/es_HN: Likewise.
1501         * locales/es_MX: Likewise.
1502         * locales/es_PA: Likewise.
1503         * locales/es_PE: Likewise.
1504         * locales/es_PY: Likewise.
1505         * locales/es_SV: Likewise.
1506         * locales/es_US: Likewise.
1507         * locales/es_UY: Likewise.
1508         * locales/es_VE: Likewise.
1509         * locales/et_EE: Likewise.
1510         * locales/fa_IR: Likewise.
1511         * locales/fo_FO: Likewise.
1512         * locales/fr_CA: Likewise.
1513         * locales/fr_CH: Likewise.
1514         * locales/gv_GB: Likewise.
1515         * locales/he_IL: Likewise.
1516         * locales/hr_HR: Likewise.
1517         * locales/id_ID: Likewise.
1518         * locales/is_IS: Likewise.
1519         * locales/it_CH: Likewise.
1520         * locales/iw_IL: Likewise.
1521         * locales/kl_GL: Likewise.
1522         * locales/ko_KR: Likewise.
1523         * locales/kw_GB: Likewise.
1524         * locales/lg_UG: Likewise.
1525         * locales/lt_LT: Likewise.
1526         * locales/lv_LV: Likewise.
1527         * locales/mi_NZ: Likewise.
1528         * locales/nhn_MX: Likewise.
1529         * locales/nl_BE: Likewise.
1530         * locales/pl_PL: Likewise.
1531         * locales/sk_SK: Likewise.
1532         * locales/sl_SI: Likewise.
1533         * locales/sv_FI: Likewise.
1534         * locales/tl_PH: Likewise.
1535         * locales/tr_TR: Likewise.
1536         * locales/vi_VN: Likewise.
1538 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1540         [BZ #17475]
1541         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1542         of tu_IN and bh_IN.
1544 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1546         [BZ #18694]
1547         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1548         bits/wordsize.h.
1549         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1551 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1553         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1554         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1555         (spawn_thread): New function.
1556         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1557         (do_test): ... here.  Use IS_LOADED to test for its
1558         availability.
1560 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1562         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1564 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1566         [BZ #18696]
1567         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1568         si_addr_bnd.
1569         (si_lower): New.
1570         (si_upper): Likewise.
1572 2015-07-16  David S. Miller  <davem@davemloft.net>
1574         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1576 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1578         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1579         buffer.
1580         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1581         fail output information.
1583 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1586         and strstr-ppc64..
1587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1588         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1589         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1590         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1591         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1593 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1595         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1596         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1597         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1598         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1600 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1602         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1603         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1604         rtld_hidden_proto.
1605         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1607 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1609         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1610         the test can fail.
1612         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1614         [BZ #18676]
1615         * elf/tst-nodelete-opened.c: New test case.
1616         * elf/tst-nodelete-opened-lib.c: New test case module.
1617         * elf/Makefile (tests, modules-names): Use them.
1618         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1619         early.
1621 2015-07-15  David S. Miller  <davem@davemloft.net>
1623         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1624         futex-intenal.h
1625         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1626         * sysdeps/sparc/sparc64/Makefile: Likewise.
1627         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1628         Remove space from macro define.
1629         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1631 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1633         [BZ #17475]
1634         * locale/iso-639.def: Update Bhili and Tulu language codes as
1635         per iso639-3.
1637 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1639         * elf/tst-leaks1.c (main): Converted to ...
1640         (do_test): ... this.
1641         (TEST_FUNCTION): New macro.
1642         Include test-skeleton.c.
1643         * localedata/tst-langinfo.c (main): Converted to ...
1644         (do_test): ... this.
1645         (TEST_FUNCTION): New macro.
1646         Include test-skeleton.c.
1647         * math/test-fpucw.c (main): Converted to ...
1648         (do_test): ... this.
1649         (TEST_FUNCTION): New macro.
1650         Include test-skeleton.c.
1651         * math/test-tgmath.c (main): Converted to ...
1652         (do_test): ... this.
1653         (TEST_FUNCTION): New macro.
1654         Include test-skeleton.c.
1655         * math/test-tgmath2.c (main): Converted to ...
1656         (do_test): ... this.
1657         (TEST_FUNCTION): New macro.
1658         Include test-skeleton.c.
1659         * setjmp/tst-setjmp.c (main): Converted to ...
1660         (do_test): ... this.
1661         (TEST_FUNCTION): New macro.
1662         Include test-skeleton.c.
1663         * stdio-common/tst-sscanf.c (main): Converted to ...
1664         (do_test): ... this.
1665         (TEST_FUNCTION): New macro.
1666         Include test-skeleton.c.
1667         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1668         (do_test): ... this.
1669         (TEST_FUNCTION): New macro.
1670         Include test-skeleton.c.
1672         * elf/tst-audit9.c (main): Converted to ...
1673         (do_test): ... this.
1674         (TEST_FUNCTION): New macro.
1675         Include test-skeleton.c.
1677 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1679         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1681 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1683         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1684         New variable.
1686 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1688         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1690 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1692         * sysdeps/generic/dl-fileid.h: New file.
1693         * sysdeps/posix/dl-fileid.h: New file.
1694         * sysdeps/nacl/dl-fileid.h: New file.
1695         * include/link.h: Include <dl-fileid.h>.
1696         (struct link_map): Replace l_dev and l_ino with l_file_id.
1697         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1698         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1699         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1701 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1703         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1705 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1707         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1708         Add iff $CXX is set.
1709         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1710         Likewise.
1711         (tst-nodelete-zmodiff): Likewise.
1712         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1714 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1716         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1718 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1720         * sysdeps/aarch64/fpu/math_private.h
1721         (define math_opt_barrier): Add AArch64 version.
1722         (math_force_eval): Likewise.
1724 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1726         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1728 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1730         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1731         %ld with %jd and cast to intmax_t.
1732         (do_test_length_zero): Likewise.
1734 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1736         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1738 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1740         * sysdeps/tile/libm-test-ulps: Regenerated.
1742         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1743         Comment out the whole function, not just its body.
1745 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1747         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1748         locks.
1750         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1752 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1754         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1755         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1757 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1759         * sysdeps/nptl/futex-internal.h: New file.
1760         * sysdeps/nacl/futex-internal.h: New file.
1761         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1762         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1763         error checking.
1764         (setxid_unmark_thread): Likewise.
1765         (__nptl_setxid): Likewise.
1766         (__wait_lookup_done): Likewise.
1767         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1768         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1769         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1770         * nptl/pthread_once.c (clear_once_control): Likewise.
1771         (__pthread_once_slow): Likewise.
1772         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1773         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1774         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1775         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1776         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1777         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1778         Likewise.
1779         (__pthread_rwlock_rdlock): Likewise.
1780         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1781         Likewise.
1782         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1783         Likewise.
1784         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1785         Likewise.
1786         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1787         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1788         Likewise.
1789         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1790         __ASSUME_PRIVATE_FUTEX check.
1791         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1792         Check that shared futexes are supported.
1793         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1794         wrappers with error checking.
1795         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1796         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1797         * nptl/pthread_barrierattr_setpshared.c
1798         (pthread_barrierattr_setpshared): Check that shared futexes are
1799         supported.
1800         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1801         Likewise.
1802         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1803         Likewise.
1804         * nptl/sem_init.c (futex_private_if_supported): Remove.
1805         (__new_sem_init): Adapt and check that shared futexes are supported.
1806         * nptl/sem_open.c (sem_open): Likewise.
1807         * nptl/sem_post.c (futex_wake): Remove.
1808         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1809         (do_futex_wait): Use futex wrappers with error checking.
1810         * nptl/sem_wait.c: Include lowlevellock.h.
1811         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1812         Use futex_supports_pshared.
1813         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1814         Use futex wrappers with error checking.
1815         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1816         Likewise.
1817         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1818         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1819         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1820         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1821         (futex_wake): Likewise.
1822         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1823         (do_futex_wait): Use futex wrappers with error checking.
1824         (__new_sem_wait_slow): Update EINTR handling.
1825         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1827 2015-07-09  Martin Sebor  <msebor@redhat.com>
1829         [BZ #18435]
1830         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1831         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1832         * nptl/Makefile (test-xfail-tst-once5): Define.
1834 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1836         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1837         * elf/dl-minimal.c: For readability, reorder some definitions and
1838         introduce more page breaks.  Include <stdio.h>.
1839         (__libc_fatal): New function.
1841         * include/unistd.h: Add rtld_hidden_proto for _exit.
1842         * posix/_exit.c: Add rtld_hidden_def.
1843         * sysdeps/mach/hurd/_exit.c: Likewise.
1844         * sysdeps/nacl/_exit.c: Likewise.
1845         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1846         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1848 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1850         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1851         bndmov encoding with zero displacement.
1853 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1854             H.J. Lu  <hongjiu.lu@intel.com>
1856         [BZ #18134]
1857         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1858         * sysdeps/i386/configure: Regenerated.
1859         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1860         (_dl_runtime_profile): Save and restore Intel MPX return bound
1861         registers when calling _dl_call_pltexit.  Add
1862         PRESERVE_BND_REGS_PREFIX before return.
1863         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1864         (LRV_BND1_OFFSET): Likewise.
1865         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1866         lrv_bnd1.
1867         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1868         typo in bndmov encoding.
1869         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1870         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1871         branch instructions to preserve bounds.
1873 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1876         [GLIBC_2.22]: Add fmemopen.
1878 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1880         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1881         returns an error, also try to use host port from __mach_host_self for
1882         the __vm_wire call.
1883         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1885 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1887         [BZ #18400]
1888         [BZ #18648]
1889         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1890         Fix pr_uid and pr_gid members.
1891         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1892         definition to elf_greg_t.
1894 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1896         [BZ #18383]
1897         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1898         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1899         * sysdeps/arm/configure: Regenerated.
1900         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1901         (test-xfail-tst-tlsalign-static): Variable removed.
1903         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1904         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1905         rather than explicit 'ln -s'.
1907         * resolv/rpc/netdb.h: New file.
1908         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1910 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1912         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1913         length buffers.
1914         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1915         test-skeleton.c.
1917         [BZ #6544]
1918         [BZ #11216]
1919         [BZ #12836]
1920         [BZ #13151]
1921         [BZ #13152]
1922         [BZ #14292]
1923         * include/stdio.h (fmemopen): Remove hidden prototype.
1924         (__fmemopen): Add new hidden prototype.
1925         * libio/Makefile: Add oldfmemopen object.
1926         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1927         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1928         compliance.
1929         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1930         symbol compatibility.
1931         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1932         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1933         fmemopen.
1934         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1935         on append and read mode.
1936         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1937         fmemopen.
1938         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1939         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1940         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1941         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1942         Likewise.
1943         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1944         [GLIBC_2.22]: Likewise.
1945         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1946         Likewise.
1947         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1948         Likewise.
1949         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1950         [GLIBC_2.22]: Likewise.
1951         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1952         [GLIBC_2.22]: Likewise.
1953         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1954         [GLIBC_2.22]: Likewise.
1955         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1956         [GLIBC_2.22]: Likewise.
1957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1958         [GLIBC_2.22]: Likewise.
1959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1960         [GLIBC_2.22]: Likewise.
1961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1962         [GLIBC_2.22]: Likewise.
1963         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1964         Likewise.
1965         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1966         Likewise.
1967         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1968         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1969         [GLIBC_2.22]: Likewise.
1970         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1971         [GLIBC_2.22]: Likewise.
1972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1973         [GLIBC_2.22]: Likewise.
1974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1975         [GLIBC_2.22]: Likewise.
1976         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1977         Likewise.
1978         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1979         Likewise.
1980         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1981         Likewise.
1982         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1983         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1985 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1987         [BZ #18643]
1988         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1989         IPV6_PATHMTU, and IPV6_DONTFRAG.
1991 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1993         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1994         and _IO_UNBUFFERED.
1995         * libio/oldfileops.c: Likewise.
1996         * libio/wfileops.c: Likewise.
1998 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2000         * nscd/selinux.c: Delete selinux/flask.h include.
2002 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2004         [BZ #18641]
2005         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2006         (putpwent): Likewise.
2007         (getpwnam): Likewise.
2008         (getpwent_r): Likewise.
2009         (getpwuid_r): Likewise.
2010         (getpwnam_r): Likewise.
2011         (fgetpwent_r): Likewise.
2013 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2015         [BZ #18557]
2016         * inet/rcmd.c (__validuser2_sa): Check user first to
2017         short-circuit host check.
2019 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2020             Mikhail Ilin  <m.ilin@samsung.com>
2022         [BZ #17833]
2023         * elf/Makefile (tests): Add tst-nodelete.
2024         (modules-names): Add tst-nodelete-uniquemod.
2025         (tst-nodelete-uniquemod.so-no-z-defs): New.
2026         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2027         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2028         ($(objpfx)tst-nodelete): Likewise.
2029         ($(objpfx)tst-nodelete.out): Likewise.
2030         (LDFLAGS-tst-nodelete): Likewise.
2031         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2032         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2033         implement forced object deletion.
2034         (_dl_close): Pass false to _dl_close_worker.
2035         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2036         * elf/tst-nodelete.cc: New file.
2037         * elf/tst-nodeletelib.cc: Likewise.
2038         * elf/tst-znodeletelib.cc: Likewise.
2039         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2041 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2043         [BZ #18508]
2044         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2045         Depend on $(libdl).
2046         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2047         is not called infinitely times.
2048         (backtrace_helper): New function.
2049         (trace_arg): New struct.
2050         (st1): Enlarge stack size.
2051         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2052         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2053         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2054         Likewise.
2056 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2058         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2060 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2062         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2063         Include sys/types.h instead of bits/types.h.
2064         Remove inclusion of bits/wordsize.h.
2066 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2068         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2069         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2070         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2071         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2072         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2073         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2075 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2077         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2078         link-defines.sym.
2079         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2080         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2081         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2082         and LR_SIZE.
2083         * sysdeps/i386/link-defines.sym: New file.
2085 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2087         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2088         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2089         ($(objpfx)tst-audit3): New rule.
2090         ($(objpfx)tst-audit3.out): Likewise.
2091         * sysdeps/i386/tst-audit3.c: New file.
2092         * sysdeps/i386/tst-audit3.h: Likewise.
2093         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2094         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2096 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2098         [BZ #18633]
2099         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2100         pointer in C code.
2101         (__strcat_c): Likewise.
2102         (__strcat_g): Likewise.
2104 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2106         [BZ #18592]
2107         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2109 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2111         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2112         New function.  (__ieee754_sqrtf): New function.
2113         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2114         New function.
2115         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2116         New function.
2118 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2120         * sysdeps/ieee754/support.c: Remove unused file.
2122 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2124         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2125         registers instead of d ones so the layout is kernel abi compatible.
2126         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2127         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2128         Likewise.
2130 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2132         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2134 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2136         [BZ #18619]
2137         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2138         and return argument in case of subnormal argument.
2140 2015-07-01  Martin Sebor  <msebor@redhat.com>
2142         [BZ #18435]
2143         * nptl/Makefile: Add tst-once5.cc.
2144         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2145         Remove macro redefinitions.
2146         * nptl/tst-once5.cc: New test.
2148 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2150         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2152         * sysdeps/arm/libm-test-ulps: Regenerated.
2154         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2155         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2157 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2159         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2160         lll_lock_wait_private and lll_futex_wake probes.
2162         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2163         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2164         Likewise.
2165         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2166         atomic_spin_nop.
2167         * sysdeps/x86_64/bits/atomic.h: Likewise.
2168         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2169         to atomic_spin_nop and move ...
2170         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2171         ... here and ...
2172         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2173         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2174         atomic_spin_nop instead of BUSY_WAIT_NOP.
2175         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2176         Likewise.
2177         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2178         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2179         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2180         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2181         instead of atomic_delay.
2183 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2185         [BZ #18613]
2186         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2187         X_ADJ not X when adjusting exponent.
2188         (__ieee754_gamma_r): Do intermediate computations in
2189         round-to-nearest then adjust overflowing and underflowing results
2190         as needed.
2191         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2192         of X_ADJ not X when adjusting exponent.
2193         (__ieee754_gammaf_r): Do intermediate computations in
2194         round-to-nearest then adjust overflowing and underflowing results
2195         as needed.
2196         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2197         log of X_ADJ not X when adjusting exponent.
2198         (__ieee754_gammal_r): Do intermediate computations in
2199         round-to-nearest then adjust overflowing and underflowing results
2200         as needed.  Use 1.0L not 1.0f as numerator of division.
2201         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2202         log of X_ADJ not X when adjusting exponent.
2203         (__ieee754_gammal_r): Do intermediate computations in
2204         round-to-nearest then adjust overflowing and underflowing results
2205         as needed.  Use 1.0L not 1.0f as numerator of division.
2206         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2207         of X_ADJ not X when adjusting exponent.
2208         (__ieee754_gammal_r): Do intermediate computations in
2209         round-to-nearest then adjust overflowing and underflowing results
2210         as needed.  Use 1.0L not 1.0f as numerator of division.
2211         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2212         to auto-libm-test-in.
2213         (tgamma_test): Use ALL_RM_TEST.
2214         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2215         tests of tgamma with spurious-overflow.
2216         * math/auto-libm-test-out: Regenerated.
2217         * math/gen-libm-have-vector-test.sh: Do not check for START.
2218         * sysdeps/i386/fpu/libm-test-ulps: Update.
2219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2221         [BZ #18612]
2222         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2223         arguments, just return 0.5 times the argument, with underflow
2224         forced as needed.
2225         * math/auto-libm-test-in: Add more tests of j1.
2226         * math/auto-libm-test-out: Regenerated.
2228         [BZ #16559]
2229         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2230         (__ieee754_j1): Force underflow exception for small results.
2231         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2232         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2233         (__ieee754_j1f): Force underflow exception for small results.
2234         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2235         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2236         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2237         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2238         (__ieee754_j1l): Force underflow exception for small results.
2239         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2240         * math/auto-libm-test-in: Add more tests of j1 and jn.
2241         * math/auto-libm-test-out: Regenerated.
2243         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2244         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2245         (PF_MPLS): Likewise.
2246         (AF_IB): Likewise.
2247         (AF_MPLS): Likewise.
2248         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2249         value and macro.
2250         (MS_RMT_MASK): Include MS_LAZYTIME.
2252 2015-06-26  Mel Gorman  <mgorman@suse.de>
2254         [BZ #18502]
2255         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2256         already minimal.
2258 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2260         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2261         (DT_MIPS_NUM): Update.
2262         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2263         DT_MIPS_RLD_MAP_REL.
2265 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2267         [BZ #16559]
2268         [BZ #18602]
2269         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2270         round-to-nearest internally then recompute results that
2271         underflowed to zero in the original rounding mode.
2272         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2273         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2274         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2275         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2276         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2277         * sysdeps/i386/fpu/libm-test-ulps: Update.
2278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2280 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2282         * NEWS: Fixed description of link with vector math library.
2284 2015-06-25  Andreas Schwab  <schwab@suse.de>
2286         [BZ #18549]
2287         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2288         * libio/test-fmemopen.c (do_test): Add test for it.
2290 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2292         [BZ #17841]
2293         * Makeconfig (no-pie-ldflag): New.
2294         (+link): Set to $(+link-pie) if default to PIE.
2295         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2296         * config.make.in (build-pie-default): New.
2297         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2298         is default.  AC_SUBST.
2299         * configure: Regenerated.
2300         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2302 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2304         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2305         to 'unsigned int'.
2307         * resolv/gai_misc.h (struct waitlist): Change type of field
2308         counterp to 'volatile unsigned int *'.
2309         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2310         FUTEXADDR and OLDVAL.
2311         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2312         Give local variable TOTAL type 'volatile unsigned int'.
2313         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2314         * resolv/gai_suspend.c (gai_suspend):
2315         Give local variable CNTR type 'unsigned int'.
2317         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2318         counterp to 'volatile unsigned int *'.
2319         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2320         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2321         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2322         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2323         Give local variable TOTAL type 'volatile unsigned int'.
2324         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2326 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2328         [BZ #18383]
2329         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2330         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2331         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2332         comment for i386/x86-64.
2333         (test-xfail-tst-tlsalign-extern-static): Removed.
2335 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2337         * math/test-double.h: New file.
2338         * math/test-float.h: Likewise.
2339         * math/test-ldouble.h: Likewise.
2340         * math/test-math-inline.h: Likewise.
2341         * math/test-math-no-inline.h: Likewise.
2342         * math/test-math-scalar.h: Likewise.
2343         * math/test-math-vector.h: Likewise.
2344         * math/test-vec-loop.h: Remove file.  Contents moved into
2345         test-math-vector.h.
2346         * math/libm-test.inc (MATHCONST): Do not document macro.
2347         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2348         and test-math-scalar.h.
2349         (FUNC): Remove macro.
2350         (FUNC_TEST): Likewise.
2351         (FLOAT): Likewise.
2352         (MATHCONST): Likewise.
2353         (PRINTF_EXPR): Likewise.
2354         (PRINTF_XEXPR): Likewise.
2355         (PRINTF_NEXPR): Likewise.
2356         (TEST_DOUBLE): Likewise.
2357         (TEST_MATHVEC): Likewise.
2358         (__NO_MATH_INLINES): Likewise.
2359         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2360         and test-math-scalar.h.
2361         (FUNC): Remove macro.
2362         (FUNC_TEST): Likewise.
2363         (FLOAT): Likewise.
2364         (MATHCONST): Likewise.
2365         (PRINTF_EXPR): Likewise.
2366         (PRINTF_XEXPR): Likewise.
2367         (PRINTF_NEXPR): Likewise.
2368         (TEST_FLOAT): Likewise.
2369         (TEST_MATHVEC): Likewise.
2370         (__NO_MATH_INLINES): Likewise.
2371         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2372         and test-math-scalar.h.
2373         (FUNC): Remove macro.
2374         (FUNC_TEST): Likewise.
2375         (FLOAT): Likewise.
2376         (MATHCONST): Likewise.
2377         (PRINTF_EXPR): Likewise.
2378         (PRINTF_XEXPR): Likewise.
2379         (PRINTF_NEXPR): Likewise.
2380         (TEST_DOUBLE): Likewise.
2381         (TEST_MATHVEC): Likewise.
2382         (TEST_INLINE): Likewise.
2383         (__NO_MATH_INLINES): Likewise.
2384         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2385         test-math-scalar.h.
2386         (FUNC): Remove macro.
2387         (FUNC_TEST): Likewise.
2388         (FLOAT): Likewise.
2389         (MATHCONST): Likewise.
2390         (PRINTF_EXPR): Likewise.
2391         (PRINTF_XEXPR): Likewise.
2392         (PRINTF_NEXPR): Likewise.
2393         (TEST_FLOAT): Likewise.
2394         (TEST_MATHVEC): Likewise.
2395         (TEST_INLINE): Likewise.
2396         (__NO_MATH_INLINES): Likewise.
2397         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2398         and test-math-scalar.h.
2399         (FUNC): Remove macro.
2400         (FUNC_TEST): Likewise.
2401         (FLOAT): Likewise.
2402         (MATHCONST): Likewise.
2403         (PRINTF_EXPR): Likewise.
2404         (PRINTF_XEXPR): Likewise.
2405         (PRINTF_NEXPR): Likewise.
2406         (TEST_LDOUBLE): Likewise.
2407         (TEST_MATHVEC): Likewise.
2408         (TEST_INLINE): Likewise.
2409         (__NO_MATH_INLINES): Likewise.
2410         * math/test-ldouble.c: Include test-ldouble.h,
2411         test-math-no-inline.h and test-math-scalar.h.
2412         (FUNC): Remove macro.
2413         (FUNC_TEST): Likewise.
2414         (FLOAT): Likewise.
2415         (MATHCONST): Likewise.
2416         (PRINTF_EXPR): Likewise.
2417         (PRINTF_XEXPR): Likewise.
2418         (PRINTF_NEXPR): Likewise.
2419         (TEST_LDOUBLE): Likewise.
2420         (TEST_MATHVEC): Likewise.
2421         (__NO_MATH_INLINES): Likewise.
2422         * math/test-double-vlen2.h: Include test-double.h,
2423         test-math-no-inline.h and test-math-vector.h.
2424         (FLOAT): Remove macro.
2425         (FUNC): Likewise.
2426         (MATHCONST): Likewise.
2427         (PRINTF_EXPR): Likewise.
2428         (PRINTF_XEXPR): Likewise.
2429         (PRINTF_NEXPR): Likewise.
2430         (TEST_DOUBLE): Likewise.
2431         (TEST_MATHVEC): Likewise.
2432         (__NO_MATH_INLINES): Likewise.
2433         (CNCT): Likewise.
2434         (CONCAT): Likewise.
2435         (WRAPPER_NAME): Likewise.
2436         (WRAPPER_DECL): Likewise.
2437         (WRAPPER_DECL_ff): Likewise.
2438         (WRAPPER_DECL_fFF): Likewise.
2439         (VECTOR_WRAPPER): Likewise.
2440         (VECTOR_WRAPPER_ff): Likewise.
2441         (VECTOR_WRAPPER_fFF): Likewise.
2442         (VEC_LEN): New macro.
2443         * math/test-double-vlen4.h: Include test-double.h,
2444         test-math-no-inline.h and test-math-vector.h.
2445         (FLOAT): Remove macro.
2446         (FUNC): Likewise.
2447         (MATHCONST): Likewise.
2448         (PRINTF_EXPR): Likewise.
2449         (PRINTF_XEXPR): Likewise.
2450         (PRINTF_NEXPR): Likewise.
2451         (TEST_DOUBLE): Likewise.
2452         (TEST_MATHVEC): Likewise.
2453         (__NO_MATH_INLINES): Likewise.
2454         (CNCT): Likewise.
2455         (CONCAT): Likewise.
2456         (WRAPPER_NAME): Likewise.
2457         (WRAPPER_DECL): Likewise.
2458         (WRAPPER_DECL_ff): Likewise.
2459         (WRAPPER_DECL_fFF): Likewise.
2460         (VECTOR_WRAPPER): Likewise.
2461         (VECTOR_WRAPPER_ff): Likewise.
2462         (VECTOR_WRAPPER_fFF): Likewise.
2463         (VEC_LEN): New macro.
2464         * math/test-double-vlen8.h: Include test-double.h,
2465         test-math-no-inline.h and test-math-vector.h.
2466         (FLOAT): Remove macro.
2467         (FUNC): Likewise.
2468         (MATHCONST): Likewise.
2469         (PRINTF_EXPR): Likewise.
2470         (PRINTF_XEXPR): Likewise.
2471         (PRINTF_NEXPR): Likewise.
2472         (TEST_DOUBLE): Likewise.
2473         (TEST_MATHVEC): Likewise.
2474         (__NO_MATH_INLINES): Likewise.
2475         (CNCT): Likewise.
2476         (CONCAT): Likewise.
2477         (WRAPPER_NAME): Likewise.
2478         (WRAPPER_DECL): Likewise.
2479         (WRAPPER_DECL_ff): Likewise.
2480         (WRAPPER_DECL_fFF): Likewise.
2481         (VECTOR_WRAPPER): Likewise.
2482         (VECTOR_WRAPPER_ff): Likewise.
2483         (VECTOR_WRAPPER_fFF): Likewise.
2484         (VEC_LEN): New macro.
2485         * math/test-float-vlen4.h: Include test-float.h,
2486         test-math-no-inline.h and test-math-vector.h.
2487         (FLOAT): Remove macro.
2488         (FUNC): Likewise.
2489         (MATHCONST): Likewise.
2490         (PRINTF_EXPR): Likewise.
2491         (PRINTF_XEXPR): Likewise.
2492         (PRINTF_NEXPR): Likewise.
2493         (TEST_FLOAT): Likewise.
2494         (TEST_MATHVEC): Likewise.
2495         (__NO_MATH_INLINES): Likewise.
2496         (CNCT): Likewise.
2497         (CONCAT): Likewise.
2498         (WRAPPER_NAME): Likewise.
2499         (WRAPPER_DECL): Likewise.
2500         (WRAPPER_DECL_ff): Likewise.
2501         (WRAPPER_DECL_fFF): Likewise.
2502         (VECTOR_WRAPPER): Likewise.
2503         (VECTOR_WRAPPER_ff): Likewise.
2504         (VECTOR_WRAPPER_fFF): Likewise.
2505         (VEC_LEN): New macro.
2506         * math/test-float-vlen8.h: Include test-float.h,
2507         test-math-no-inline.h and test-math-vector.h.
2508         (FLOAT): Remove macro.
2509         (FUNC): Likewise.
2510         (MATHCONST): Likewise.
2511         (PRINTF_EXPR): Likewise.
2512         (PRINTF_XEXPR): Likewise.
2513         (PRINTF_NEXPR): Likewise.
2514         (TEST_FLOAT): Likewise.
2515         (TEST_MATHVEC): Likewise.
2516         (__NO_MATH_INLINES): Likewise.
2517         (CNCT): Likewise.
2518         (CONCAT): Likewise.
2519         (WRAPPER_NAME): Likewise.
2520         (WRAPPER_DECL): Likewise.
2521         (WRAPPER_DECL_ff): Likewise.
2522         (WRAPPER_DECL_fFF): Likewise.
2523         (VECTOR_WRAPPER): Likewise.
2524         (VECTOR_WRAPPER_ff): Likewise.
2525         (VECTOR_WRAPPER_fFF): Likewise.
2526         (VEC_LEN): New macro.
2527         * math/test-float-vlen16.h: Include test-float.h,
2528         test-math-no-inline.h and test-math-vector.h.
2529         (FLOAT): Remove macro.
2530         (FUNC): Likewise.
2531         (MATHCONST): Likewise.
2532         (PRINTF_EXPR): Likewise.
2533         (PRINTF_XEXPR): Likewise.
2534         (PRINTF_NEXPR): Likewise.
2535         (TEST_FLOAT): Likewise.
2536         (TEST_MATHVEC): Likewise.
2537         (__NO_MATH_INLINES): Likewise.
2538         (CNCT): Likewise.
2539         (CONCAT): Likewise.
2540         (WRAPPER_NAME): Likewise.
2541         (WRAPPER_DECL): Likewise.
2542         (WRAPPER_DECL_ff): Likewise.
2543         (WRAPPER_DECL_fFF): Likewise.
2544         (VECTOR_WRAPPER): Likewise.
2545         (VECTOR_WRAPPER_ff): Likewise.
2546         (VECTOR_WRAPPER_fFF): Likewise.
2547         (VEC_LEN): New macro.
2548         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2549         test-vec-loop.h.
2550         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2551         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2552         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2553         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2554         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2555         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2556         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2558 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2560         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2561         (__getlogin_r): ... this.
2563 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2565         [BZ #18594]
2566         * math/s_ccosh.c (__ccosh): Compare with least normal value
2567         instead of comparing class with FP_SUBNORMAL.
2568         * math/s_ccoshf.c (__ccoshf): Likewise.
2569         * math/s_ccoshl.c (__ccoshl): Likewise.
2570         * math/s_cexp.c (__cexp): Likewise.
2571         * math/s_cexpf.c (__cexpf): Likewise.
2572         * math/s_cexpl.c (__cexpl): Likewise.
2573         * math/s_csin.c (__csin): Likewise.
2574         * math/s_csinf.c (__csinf): Likewise.
2575         * math/s_csinh.c (__csinh): Likewise.
2576         * math/s_csinhf.c (__csinhf): Likewise.
2577         * math/s_csinhl.c (__csinhl): Likewise.
2578         * math/s_csinl.c (__csinl): Likewise.
2579         * math/s_ctan.c (__ctan): Likewise.
2580         * math/s_ctanf.c (__ctanf): Likewise.
2581         * math/s_ctanh.c (__ctanh): Likewise.
2582         * math/s_ctanhf.c (__ctanhf): Likewise.
2583         * math/s_ctanhl.c (__ctanhl): Likewise.
2584         * math/s_ctanl.c (__ctanl): Likewise.
2585         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2586         csin, csinh, ctan and ctanh.
2587         * math/auto-libm-test-out: Regenerated.
2588         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2589         * sysdeps/i386/fpu/libm-test-ulps: Update.
2590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2592 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2594         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2595         return value is wrong, print the expected value too.
2597 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2599         [BZ #18585]
2600         * elf/readlib.c (is_gdb_python_file): New.
2601         (process_file): Don't issue errors on filenames with -gdb.py
2602         suffix.
2604 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2606         * math/auto-libm-test-in: Add more tests of csin and csinh.
2607         * math/auto-libm-test-out: Regenerated.
2608         * math/libm-test.inc (csin_test_data): Remove tests moved to
2609         auto-libm-test-in.
2610         (csinh_test_data): Likewise.
2612         [BZ #18593]
2613         * math/s_csin.c (__csin): Negate before rather than after possibly
2614         overflowing multiplication.
2615         * math/s_csinf.c (__csinf): Likewise.
2616         * math/s_csinh.c (__csinh): Likewise.
2617         * math/s_csinhf.c (__csinhf): Likewise.
2618         * math/s_csinhl.c (__csinhl): Likewise.
2619         * math/s_csinl.c (__csinl): Likewise.
2620         * math/auto-libm-test-in: Add some tests of csin and csinh.
2621         * math/auto-libm-test-out: Regenerated.
2622         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2623         (csinh_test_data): Likewise.
2624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2626         [BZ #18586]
2627         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2628         underflow exception for small results.
2630 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2632         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2633         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2634         variable and included header.
2635         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2636         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2637         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2638         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2639         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2640         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2641         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2642         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2643         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2644         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2645         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2646         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2647         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2648         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2649         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2650         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2652 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2654         [BZ #16526]
2655         [BZ #16538]
2656         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2657         (__sin): Force underflow exception for arguments with small
2658         absolute value.
2659         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2660         (__kernel_sinf): Force underflow exception for arguments with
2661         small absolute value.
2662         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2663         (__kernel_sincosl): Force underflow exception for arguments with
2664         small absolute value.
2665         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2666         (__kernel_sinl): Force underflow exception for arguments with
2667         small absolute value.
2668         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2669         (__kernel_sincosl): Force underflow exception for arguments with
2670         small absolute value.
2671         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2672         (__kernel_sinl): Force underflow exception for arguments with
2673         small absolute value.
2674         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2675         (__kernel_sinl): Force underflow exception for arguments with
2676         small absolute value.
2677         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2678         (__kernel_sinf): Force underflow exception for arguments with
2679         small absolute value.
2680         * math/auto-libm-test-in: Add more tests of sin and sincos.
2681         * math/auto-libm-test-out: Regenerated.
2683         [BZ #18245]
2684         [BZ #18583]
2685         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2686         (__kernel_standard_l): Use feholdexcept and fesetenv around
2687         conversion to double instead of special-casing overflow and
2688         underflow.
2689         * math/libm-test.inc (fmod_test_data): Add more tests.
2690         (remainder_test_data): Likewise.
2691         (sqrt_test_data): Likewise.
2693 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2695         [BZ #17403]
2696         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2697         atomic_read_barrier, atomic_write_barrier): Define.
2698         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2699         atomic_read_barrier, atomic_write_barrier): Define.
2701 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2703         * math/Makefile [$(PERL) != no]
2704         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2705         dependency on libm-test.stmp below the inclusion of Rules.
2707 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2709         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2710         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2711         and included header.
2712         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2713         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2714         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2715         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2716         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2717         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2718         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2719         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2720         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2721         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2722         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2723         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2724         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2725         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2726         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2727         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2728         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2729         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2730         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2732 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2734         [BZ #18371]
2735         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2736         intermediate but not final result might underflow.
2737         * math/s_csqrtf.c (__csqrtf): Likewise.
2738         * math/s_csqrtl.c (__csqrtl): Likewise.
2739         * math/auto-libm-test-in: Add more tests of csqrt.
2740         * math/auto-libm-test-out: Regenerated.
2741         * sysdeps/i386/fpu/libm-test-ulps: Update.
2743         [BZ #18219]
2744         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2745         threshold on absolute value of exponent for which scaling is used.
2746         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2747         * math/auto-libm-test-in: Add more tests of exp2.
2748         * math/auto-libm-test-out: Regenerated.
2750 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2752         [BZ #17977]
2753         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2754         when initializing interface list, based on the bug analysis
2755         and the patch proposed by Eric Newton.
2756         * resolv/tst-res_hconf_reorder.c: New test.
2757         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2758         tst-res_hconf_reorder.
2759         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2760         and $(shared-thread-library).
2761         (tst-res_hconf_reorder-ENV): New variable.
2763         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2764         in comment.
2766 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2768         [BZ #16353]
2769         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2770         (__expm1): Force underflow exception for arguments with small
2771         absolute value.
2772         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2773         (__expm1f): Force underflow exception for arguments with small
2774         absolute value.
2775         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2776         (__expm1): Force underflow exception for arguments with small
2777         absolute value.
2778         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2779         (__expm1f): Force underflow exception for arguments with small
2780         absolute value.
2781         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2782         Check for small arguments before calling __expm1.
2783         * math/auto-libm-test-in: Do not mark underflow exceptions as
2784         possibly missing for bug 16353.
2785         * math/auto-libm-test-out: Regenerated.
2787 2015-06-22  Andreas Schwab  <schwab@suse.de>
2789         [BZ #18513]
2790         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2791         PTR queries.
2793 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2795         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2797         * string/strcoll_l.c: Remove unused struct element idxnow.
2799 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2801         [BZ #18569]
2802         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2803         underflow and return argument in case of subnormal argument.
2804         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2805         Likewise.
2806         * math/auto-libm-test-in: Add more tests of expm1.
2807         * math/auto-libm-test-out: Regenerated.
2809         [BZ #16361]
2810         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2811         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2812         tiny results.
2813         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2814         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2815         tiny results.
2816         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2817         mark underflow exceptions as possibly missing for bug 16361.
2818         * math/auto-libm-test-out: Regenerated.
2820 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2822         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2823         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2824         Remove variable.
2825         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2826         (test-xfail-XOPEN2K8/utmpx.h/conform).
2828         * conform/conformtest.pl ($xerrors): New variable.
2829         (note_error): New function.
2830         (compiletest): New argument $xfail.  Use not_error.
2831         (runtest): Likewise.
2832         (top level): Handle xfail- lines.  Update calls to compiletest and
2833         runtest.  Handle xfail- and optional- in headers listed with
2834         allow-header.
2835         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2836         (O_EXEC): Likewise.
2837         (O_SEARCH): Likewise.
2838         * conform/data/stropts.h-data (ioctl): Likewise.
2839         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2840         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2841         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2842         (msghdr.msg_controllen): Likewise.
2843         (cmsghdr.cmsg_len): Likewise.
2844         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2845         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2846         variable.
2847         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2848         (test-xfail-XPG4/stropts.h/conform): Likewise.
2849         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2850         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2851         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2852         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2853         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2854         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2855         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2856         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2857         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2858         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2859         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2860         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2861         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2862         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2863         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2864         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2865         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2866         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2867         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2869 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2871         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2872         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2873         definitions for proper unfolding of __MATHDECL_VEC.
2875 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2877         * benchtests/bench-strcoll.c:
2878         Include string.h.
2879         (main): Remove unused variable res.
2881 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2883         * timezone/Makefile (%/UTC %/Universal):
2884         Generate test-result files for UTC and Universal.
2886 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2888         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2890 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2892         [BZ #16350]
2893         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2894         for arguments with small absolute value.
2895         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2896         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2897         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2898         (__asinh): Force underflow exception for arguments with small
2899         absolute value.
2900         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2901         (__asinhf): Force underflow exception for arguments with small
2902         absolute value.
2903         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2904         (__asinhl): Force underflow exception for arguments with small
2905         absolute value.
2906         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2907         (__asinhl): Force underflow exception for arguments with small
2908         absolute value.
2909         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2910         (__asinhl): Force underflow exception for arguments with small
2911         absolute value.
2912         * math/auto-libm-test-in: Do not mark underflow exceptions as
2913         possibly missing for bug 16350.
2914         * math/auto-libm-test-out: Regenerated.
2916         * include/bits/ipc.h: Remove file.
2917         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2918         variable.
2919         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2920         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2921         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2922         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2923         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2924         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2925         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2926         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2927         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2929         * math/auto-libm-test-in: Remove spurious underflow allowance for
2930         tests of cexp.
2931         * math/auto-libm-test-out: Regenerated.
2933         [BZ #18558]
2934         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2935         unconditional definition.
2936         (MCAST_BLOCK_SOURCE): Likewise.
2937         (MCAST_UNBLOCK_SOURCE): Likewise.
2938         (MCAST_LEAVE_GROUP): Likewise.
2939         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2940         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2941         (MCAST_MSFILTER): Likewise.
2942         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2943         Remove variable.
2944         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2945         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2946         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2947         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2948         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2950 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2952         * NEWS: Mention addition of x86_64 vector sincosf.
2953         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2954         * math/test-float-vlen4.h: Likewise.
2955         * math/test-float-vlen8.h: Likewise.
2956         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2957         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2958         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2959         * sysdeps/x86_64/fpu/Versions: New versions added.
2960         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2961         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2962         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2963         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2964         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2965         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2966         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2967         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2968         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2969         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2970         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2971         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2972         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2973         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2974         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2975         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2976         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2977         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2978         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2979         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2980         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2981         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2982         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2983         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2985         * NEWS: Mention addition of x86_64 vector sincos.
2986         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2987         * math/math.h (__MATHDECL_VEC): New macro.
2988         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2989         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2990         declaration under condition.
2991         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2992         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2993         TEST_VEC_LOOP change.
2994         * math/test-double-vlen4.h: Likewise.
2995         * math/test-double-vlen8.h: Likewise.
2996         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2997         * math/test-float-vlen4.h: Likewise.
2998         * math/test-float-vlen8.h: Likewise.
2999         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3000         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3001         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3002         * sysdeps/x86_64/fpu/Versions: New versions added.
3003         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3004         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3005         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3006         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3007         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3008         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3009         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3010         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3011         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3012         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3013         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3014         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3015         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3016         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3017         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3018         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3019         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3020         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3021         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3022         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3023         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3024         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3025         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3026         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3028         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3029         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3030         redirections for powf.
3031         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3032         * sysdeps/x86_64/fpu/Versions: New versions added.
3033         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3034         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3035         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3036         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3037         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3038         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3039         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3040         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3041         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3042         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3043         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3044         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3045         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3046         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3047         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3048         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3049         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3050         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3051         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3052         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3053         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3054         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3055         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3056         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3057         * math/test-float-vlen16.h: Fixed 2 argument macro.
3058         * math/test-float-vlen4.h: Likewise.
3059         * math/test-float-vlen8.h: Likewise.
3060         * NEWS: Mention addition of x86_64 vector powf.
3062 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3064         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3065         and redefine.
3066         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3067         and redefine.
3068         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3069         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3070         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3072         [BZ #18553]
3073         * resource/getpriority.c (getpriority): Rename to __getpriority
3074         and define as weak alias of __getpriority.
3075         * resource/setpriority.c (setpriority): Rename to __setpriority
3076         and define as weak alias of __setpriority.
3077         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3078         __getpriority and define as weak alias of __getpriority.
3079         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3080         __setpriority and define as weak alias of __setpriority.
3081         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3082         strong name.
3083         (setpriority): Use __setpriority as strong name.
3084         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3085         __getpriority and define as weak alias of __getpriority.
3086         * include/sys/resource.h (__getpriority): Declare.  Use
3087         libc_hidden_proto.
3088         (__setpriority): Likewise.
3089         (getpriority): Don't use libc_hidden_proto.
3090         (setpriority): Likewise.
3091         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3092         getpriority.  Call __setpriority instead of setpriority.
3093         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3094         Remove variable.
3096         [BZ #18547]
3097         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3098         as weak alias of __getttynam.  Use prototype function definition.
3099         Call __setttyent, __getttyent and __endttyent instead of
3100         setttyent, getttyent and endttyent.
3101         (getttyent): Rename to __getttyent and define as weak alias of
3102         __getttyent.  Call __setttyent instead of setttyent.  Call
3103         __fgets_unlocked instead of fgets_unlocked.
3104         (setttyent): Rename to __setttyent and define as weak alias of
3105         __setttyent.
3106         (endttyent): Rename to __endttyent and define as weak alias of
3107         __endttyent.
3108         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3109         (__setttyent): Likewise.
3110         (__endttyent): Likewise.
3111         (getttyent): Don't use libc_hidden_proto.
3112         (setttyent): Likewise.
3113         (endttyent): Likewise.
3114         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3115         __endttyent instead of setttyent, getttyent and endttyent.
3116         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3117         Remove variable.
3119         [BZ #18546]
3120         * socket/recv.c (__recv): Use libc_hidden_def.
3121         * socket/socket.c (__socket): Likewise.
3122         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3123         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3124         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3125         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3126         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3127         libc_hidden_def.
3128         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3129         libc_hidden_weak.
3130         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3131         Use libc_hidden_proto.
3132         (__recv): Likewise.
3133         * socket/Versions (libc): Export __recv and __socket at version
3134         GLIBC_PRIVATE.
3135         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3136         instead of recv.
3137         (init_mq_netlink): Call __socket instead of socket.
3138         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3139         Remove variable.
3141         [BZ #18545]
3142         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3143         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3144         hidden_weak.
3145         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3146         define as alias of __mq_timedsend.  Use hidden_weak.
3147         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3148         __mq_timedsend as strong name.
3149         (mq_timedreceive): Use __mq_timedreceive as strong name.
3150         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3151         (__mq_timedreceive): Likewise.
3152         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3153         __mq_timedreceive instead of mq_timedreceive.
3154         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3155         instead of mq_timedsend.
3156         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3157         Remove variable.
3159         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3160         hidden_def and hidden_weak instead of libc_hidden_def and
3161         libc_hidden_weak.
3162         (top level): Refer to hidden_def in comment.
3163         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3164         macro.  Use it instead of libc_hidden_def.
3165         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3166         specify __GI_* name explicitly.
3167         (mq_timedreceive): Likewise.
3168         (mq_setattr): Likewise.
3170         [BZ #18544]
3171         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3172         __pthread_barrier_init and define as weak alias of
3173         __pthread_barrier_init.
3174         * sysdeps/sparc/nptl/pthread_barrier_init.c
3175         (pthread_barrier_init): Likewise.
3176         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3177         __pthread_barrier_wait and define as weak alias of
3178         __pthread_barrier_wait.
3179         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3180         (pthread_barrier_wait): Likewise.
3181         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3182         (pthread_barrier_wait): Likewise.
3183         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3184         (pthread_barrier_wait): Likewise.
3185         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3186         (pthread_barrier_wait): Likewise.
3187         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3188         __pthread_barrier_wait at version GLIBC_PRIVATE.
3189         * include/pthread.h (__pthread_barrier_init): Declare.
3190         (__pthread_barrier_wait): Likewise.
3191         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3192         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3193         (helper_thread): Likewise.
3194         (init_mq_netlink): Call __pthread_barrier_init instead of
3195         pthread_barrier_init.
3197         [BZ #18542]
3198         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3199         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3200         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3201         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3202         vswscanf.
3203         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3204         Remove variable.
3206         [BZ #18540]
3207         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3208         strong alias of _IO_fflush.  Use libc_hidden_def.
3209         * libio/iofflush_u.c (fflush_unlocked): Rename to
3210         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3211         Use libc_hidden_weak.
3212         * include/stdio.h (__fflush_unlocked): Declare.  Use
3213         libc_hidden_proto.
3214         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3215         fflush_unlocked.
3216         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3217         Remove variable.
3219         [BZ #18539]
3220         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3221         define as weak alias of __addseverity.
3222         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3223         Remove variable.
3224         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3225         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3226         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3228         [BZ #18536]
3229         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3230         (__tfind): Likewise.
3231         (__tdelete): Likewise.
3232         (__twalk): Likewise.
3233         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3234         __twalk to GLIBC_PRIVATE.
3235         * include/search.h (__tsearch): Use libc_hidden_proto.
3236         (__tfind): Likewise.
3237         (__tdelete): Likewise.
3238         (__twalk): Likewise.
3239         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3240         Call __tdelete instead of tdelete.
3241         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3242         tfind.  Call __tsearch instead of tsearch.
3243         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3244         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3245         Remove variable.
3246         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3248         [BZ #18534]
3249         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3250         (dprintf): Define as a weak alias of __dprintf, not a strong
3251         alias.
3252         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3253         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3254         dprintf.
3255         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3256         Remove variable.
3257         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3258         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3260         [BZ #18533]
3261         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3262         not a strong alias.
3263         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3264         Remove variable.
3266         [BZ #18532]
3267         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3268         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3269         (in6addr_loopback): Rename to __in6addr_loopback and define as
3270         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3271         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3272         libc_hidden_proto.
3273         (__in6addr_any): Likewise.
3274         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3275         in6addr_any.
3276         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3277         variable.
3278         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3280 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3282         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3283         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3284         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3285         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3286         redirections for pow.
3287         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3288         * sysdeps/x86_64/fpu/Versions: New versions added.
3289         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3290         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3291         build of SSE, AVX2 and AVX512 IFUNC versions.
3292         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3293         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3294         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3295         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3296         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3297         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3298         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3299         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3300         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3301         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3302         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3303         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3304         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3305         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3306         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3307         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3308         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3309         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3310         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3311         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3312         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3313         * NEWS: Mention addition of x86_64 vector pow.
3315         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3316         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3317         redirections for expf.
3318         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3319         * sysdeps/x86_64/fpu/Versions: New versions added.
3320         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3321         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3322         build of SSE, AVX2 and AVX512 IFUNC versions.
3323         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3324         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3325         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3326         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3327         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3328         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3329         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3330         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3331         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3332         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3333         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3334         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3335         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3336         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3337         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3338         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3339         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3340         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3341         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3342         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3343         * NEWS: Mention addition of x86_64 vector expf.
3345         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3346         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3347         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3348         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3349         redirections for exp.
3350         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3351         * sysdeps/x86_64/fpu/Versions: New versions added.
3352         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3353         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3354         build of SSE, AVX2 and AVX512 IFUNC versions.
3355         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3356         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3357         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3358         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3359         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3360         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3361         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3362         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3363         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3364         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3365         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3366         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3367         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3368         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3369         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3370         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3371         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3372         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3373         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3374         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3375         * NEWS: Mention addition of x86_64 vector exp.
3377         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3378         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3379         redirections for logf.
3380         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3381         * sysdeps/x86_64/fpu/Versions: New versions added.
3382         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3383         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3384         build of SSE, AVX2 and AVX512 IFUNC versions.
3385         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3386         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3387         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3388         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3389         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3390         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3391         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3392         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3393         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3394         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3395         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3396         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3397         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3398         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3399         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3400         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3401         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3402         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3403         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3404         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3405         * NEWS: Mention addition of x86_64 vector logf.
3407         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3408         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3409         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3410         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3411         redirections for log.
3412         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3413         * sysdeps/x86_64/fpu/Versions: New versions added.
3414         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3415         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3416         build of SSE, AVX2 and AVX512 IFUNC versions.
3417         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3418         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3419         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3420         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3421         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3422         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3423         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3424         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3425         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3426         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3427         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3428         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3429         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3430         test.
3431         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3432         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3433         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3434         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3435         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3436         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3437         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3438         * NEWS: Mention addition of x86_64 vector log.
3440 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3442         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3443         cfi_adjust_cfa_offset argument.
3444         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3445         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3447         [BZ #18034]
3448         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3449         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3450         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3451         ordering using ldar.
3452         (_dl_tlsdesc_dynamic): Likewise.
3453         (_dl_tlsdesc_return_lazy): Likewise.
3454         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3455         relaxed atomics instead of volatile and synchronize with release store.
3456         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3457         volatile.
3458         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3460 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3462         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3463         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3464         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3465         * sysdeps/x86_64/fpu/Versions: New versions added.
3466         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3467         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3468         build of SSE, AVX2 and AVX512 IFUNC versions.
3469         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3470         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3471         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3472         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3473         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3474         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3475         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3476         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3477         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3478         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3479         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3480         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3481         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3482         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3483         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3484         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3485         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3486         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3487         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3488         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3489         * NEWS: Mention addition of x86_64 vector sinf.
3491 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3493         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3494         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3495         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3496         Remove variable.
3497         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3498         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3500 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3502         [BZ #18530]
3503         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3504         strong alias of _IO_fputs.  Use libc_hidden_def.
3505         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3506         and define as weak alias of __fputs_unlocked.  Use
3507         libc_hidden_weak.
3508         * include/stdio.h (__fputs_unlocked): Declare.  Use
3509         libc_hidden_proto.
3510         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3511         fputs_unlocked.
3513         [BZ #18529]
3514         * resolv/netdb.h [__USE_POSIX]: Change condition to
3515         [__USE_XOPEN2K].
3516         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3517         not expect.
3518         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3519         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3520         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3521         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3522         [XPG4 || UNIX98] (AI_ALL): Likewise.
3523         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3524         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3525         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3526         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3527         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3528         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3529         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3530         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3531         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3532         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3533         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3534         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3535         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3536         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3537         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3538         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3539         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3540         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3541         [XPG4 || UNIX98] (gai_strerror): Likewise.
3542         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3543         [XPG4 || UNIX98] (getnameinfo): Likewise.
3545         [BZ #18528]
3546         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3547         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3548         __USE_XOPEN2K8].
3549         (getgrent): Likewise.
3550         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3551         expect.
3552         [XPG3 || POSIX2008] (endgrent): Likewise.
3553         [XPG3] (setgrent): Likewise.
3554         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3555         variable.
3556         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3558         [BZ #18527]
3559         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3560         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3561         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3562         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3563         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3564         * include/unistd.h (__getlogin_r): Declare.  Use
3565         libc_hidden_proto.
3566         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3567         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3568         variable.
3569         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3570         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3571         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3573 2015-06-12  Martin Sebor  <msebor@redhat.com>
3575         [BZ #18512]
3576         * Makerules (check-install-supported): New target.
3577         (install): Add check-install-supported as a dependency.
3578         * manual/install.texi (Installing the C Library): Document
3579         that overriding prefix and exec_prefix is not supported.
3580         Mention DESTDIR.
3581         * INSTALL: Regenerate from the above.
3583 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3585         [BZ #18519]
3586         * posix/Versions (libc): Export __libc_pread at version
3587         GLIBC_PRIVATE.
3588         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3589         instead of pread.
3590         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3591         variable.
3593         [BZ #18522]
3594         * misc/efgcvt_r.c
3595         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3596         (cvt_symbol): Use weak_alias instead of strong_alias.
3597         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3598         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3599         Remove variable.
3600         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3601         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3603         [BZ #18520]
3604         * inet/herrno.c (h_errno): Rename to __h_errno.
3605         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3606         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3607         to __h_errno instead of h_errno.
3608         * nptl/herrno.c (h_errno): Rename to __h_errno.
3609         (__h_errno_location): Refer to __h_errno not h_errno.
3610         * resolv/Versions (h_errno): Rename to __h_errno.
3611         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3612         Remove variable.
3613         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3615 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3617         * configure.ac: More strict check for AVX512 assembler support.
3618         * configure: Regenerated.
3620         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3621         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3622         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3623         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3624         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3625         * sysdeps/x86_64/fpu/Versions: New versions added.
3626         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3627         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3628         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3629         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3630         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3631         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3632         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3633         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3634         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3635         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3636         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3637         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3638         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3639         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3640         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3641         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3642         test.
3643         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3644         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3645         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3646         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3647         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3648         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3649         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3650         * NEWS: Mention addition of x86_64 vector sin.
3652 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3654         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3655         comment.
3657 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3659         [BZ #18479]
3660         * nptl/pt-interp.c: New file.
3661         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3662         Add pt-interp.
3663         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3664         $(common-objpfx)runtime-linker.h.
3666 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3668         * Makeconfig (+interp): Remove unused variable.
3669         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3670         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3671         $(elf-objpfx)runtime-linker.h.
3672         ($(elf-objpfx)runtime-linker.h): Rename to
3673         $(common-objpfx)runtime-linker.h and move ...
3674         * Makerules [$(build-shared) = yes]: ... here.
3675         * elf/interp.c: Include <runtime-linker.h> instead of
3676         <elf/runtime-linker.h>.
3678 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3680         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3681         (__gettimeofday_syscall): Remove vsyscall fallback.
3682         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3683         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3684         Add syscall fallback function.
3685         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3686         if vDSO is not present.
3687         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3688         fallback function.
3689         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3690         present.
3691         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3692         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3694 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3696         [BZ #18497]
3697         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3698         of wcscmp.
3699         (wcscmp): Define as weak alias of WCSCMP.
3700         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3701         wcscoll.
3702         (USE_HIDDEN_DEF): Define.
3703         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3704         __wcscoll.  Don't use libc_hidden_weak.
3705         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3706         wcscmp.
3707         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3708         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3709         __GI_wcscmp.
3710         (weak_alias): Undefine and redefine.
3711         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3712         __wcscmp and define as weak alias of __wcscmp.
3713         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3714         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3715         (__wcscoll): Likewise.
3716         (wcscmp): Don't use libc_hidden_proto.
3717         (wcscoll): Likewise.
3718         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3719         wcscoll.
3720         * posix/regexec.c (check_node_accept_bytes): Likewise.
3721         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3722         variable.
3723         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3724         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3726         [BZ #18507]
3727         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3728         __fstatvfs and define as weak alias of __fstatvfs.  Use
3729         libc_hidden_weak.
3730         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3731         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3732         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3733         Define as alias of __fstatvfs, not fstatvfs.
3734         (fstatvfs64): Likewise.
3735         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3736         Define as alias of __statvfs, not statvfs.
3737         (statvfs64): Likewise.
3738         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3739         Remove variable.
3741 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3744         (HAVE_GETCPU_VSYSCALL): Define.
3745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3746         (HAVE_GETCPU_VSYSCALL): Likewise.
3747         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3748         * sysdeps/unix/sysv/linux/sched_getcpu.c
3749         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3750         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3751         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3752         prototype.
3753         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3754         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3755         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3756         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3757         Define.
3758         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3759         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3760         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3761         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3763 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3765         * sysdeps/x86_64/fpu/Makefile: New file.
3766         * sysdeps/x86_64/fpu/Versions: New file.
3767         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3768         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3769         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3770         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3771         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3772         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3773         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3774         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3775         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3776         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3777         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3778         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3779         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3780         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3781         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3782         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3783         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3784         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3785         * sysdeps/x86_64/configure: Regenerated.
3786         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3787         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3788         * manual/install.texi (Configuring and compiling): Document
3789         --disable-mathvec.
3790         * INSTALL: Regenerated.
3791         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3793         * math/Makefile: Added rules for vector tests.
3794         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3795         declaration under condition.
3796         * math/test-double-vlen2.h: New file.
3797         * math/test-double-vlen4.h: New file.
3798         * math/test-double-vlen8.h: New file.
3799         * math/test-vec-loop.h: Added initialization macro.
3800         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3801         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3802         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3803         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3804         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3805         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3806         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3807         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3808         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3809         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3810         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3812         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3813         * sysdeps/x86_64/fpu/Versions: New versions added.
3814         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3815         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3816         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3817         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3818         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3819         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3820         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3821         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3822         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3823         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3824         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3825         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3826         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3827         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3828         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3829         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3830         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3831         * NEWS: Mention addition of x86_64 vector cosf.
3833         * math/Makefile: Added CFLAGS for new tests.
3834         * math/test-float-vlen16.h: New file.
3835         * math/test-float-vlen4.h: New file.
3836         * math/test-float-vlen8.h: New file.
3837         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3838         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3839         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3840         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3841         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3842         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3843         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3844         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3845         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3846         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3847         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3849 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3851         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3852         * locale/programs/ld-ctype.c: Likewise.
3854 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3856         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3857         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3858         bit_ZMM16_31_state): New macro.
3859         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3860         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3862 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3864         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3866 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3868         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3870 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3872         [BZ #18498]
3873         * libio/memstream.c (open_memstream): Rename to __open_memstream
3874         and define as weak alias of __open_memstream.
3875         * include/stdio.h (__open_memstream): Declare.  Use
3876         libc_hidden_proto.
3877         (open_memstream): Don't use libc_hidden_proto.
3878         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3879         open_memstream.
3880         * posix/getopt.c (_getopt_internal_r): Likewise.
3881         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3882         variable.
3883         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3884         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3885         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3887         [BZ #18496]
3888         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3889         instead of wcrtomb.
3891         [BZ #18483]
3892         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3893         [__USE_XOPEN2K8].  Remove redundant #endif.
3894         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3895         Remove redundant #if.
3896         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3897         Remove variable.
3898         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3899         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3901         [BZ #18495]
3902         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3903         (__iswlower): Likewise.
3904         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3905         (__iswlower): Likewise.
3906         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3907         instead of towlower.
3908         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3909         instead of iswlower.  Call __towupper instead of towupper.
3910         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3911         instead of iswalnum.
3913 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3915         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3916         errors to stderr.
3918 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3920         [BZ #15661]
3921         [BZ #17322]
3922         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3923         Check for overflow properly.  Check for O_APPEND.  Ignore large
3924         file system block sizes.  Add comments about problems.
3925         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3926         * manual/filesys.texi (Storage Allocation): New node.
3928 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3930         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3931         cancellable syscalls.
3932         (SYS_ify): Add guard to no redefine it.
3933         (INLINE_SYSCALL): Likewise.
3934         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3935         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3936         SYSCALL_CANCEL instead.
3937         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3938         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3939         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3940         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3941         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3942         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3943         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3944         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3945         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3946         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3947         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3948         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3949         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3950         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3951         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3952         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3953         Likewise.
3954         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3955         (__libc_pread64): Likewise.
3956         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3957         (__libc_preadv): Likewise.
3958         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3959         (__libc_readv64): Likewise.
3960         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3961         (__libc_pwrite): Likewise.
3962         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3963         (__libc_pwrite64): Likewise.
3964         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3965         (__libc_pwritev): Likewise.
3966         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3967         (__libc_pwritev64): Likewise.
3968         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3969         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3970         (sync_file_range): Likewise.
3971         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3972         Likewise.
3973         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3974         Likewise.
3975         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3976         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3977         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3978         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3979         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3980         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3981         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3982         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3984         Likewise.
3985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3986         (__libc_read64): Likewise.
3987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3988         Likewise.
3989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3990         Likewise.
3991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3992         Likewise.
3993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3994         Likewise.
3995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3996         (__libc_pread64): Likewise.
3997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3998         Likewise.
3999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4000         (__libc_pwrite64): Likewise.
4001         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4002         (sync_file_range): Likewise.
4003         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4004         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4005         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4006         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4007         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4008         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4009         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4010         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4011         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4012         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4013         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4014         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4015         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4016         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4017         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4018         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4019         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4020         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4021         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4022         Likewise.
4023         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4024         Likewise.
4025         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4026         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4027         Likewise.
4028         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4029         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4030         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4031         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4032         Likewise.
4033         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4034         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4035         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4036         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4037         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4039 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4041         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4042         Include dl-vdso.
4043         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4044         Use VDSO routines for gettimeofday, clock_gettime if
4045         available.
4046         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4047         Declare VDSO symbols.
4048         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4049         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4050         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4051         * sysdeps/unix/sysv/linux/arm/Versions: Add
4052         __vdso_clock_gettime.
4054 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4056         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4057         be an inline implementation regardless of library is built within.
4058         (open_not_cancel_2): Likewise.
4059         (__read_nocancel): Likewise.
4060         (__write_nocancel): Likewise.
4061         (openat_not_cancel): Likewise.
4062         (openat_not_cancel_3): Likewise.
4063         (openat64_not_cancel): Likewise.
4064         (openat64_not_cancel_3): Likewise.
4065         (__close_nocancel): Likewise.
4066         (pause_not_cancel): Likewise.
4067         (nanosleep_not_cancel): Likewise.
4068         (sigsuspend_not_cancel): Likewise.
4070 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4072         [BZ #14958]
4073         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4074         wake-up.
4075         (__pthread_rwlock_rdlock_slow): Likewise.
4076         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4077         Likewise.
4078         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4079         Likewise.
4080         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4081         * nptl/tst-rwlock16.c: New file.
4082         * nptl/Makefile (tests): Add new test.
4084 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4086         [BZ #18324]
4087         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4088         missing wake-up of readers.
4089         * nptl/tst-rwlock15.c: New file.
4090         * nptl/Makefile (tests): Add new test.
4092 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4094         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4095         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4096         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4097         and __nacl_supply_interface_rtld.
4098         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4099         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4100         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4101         Add __nacl_supply_interface_rtld.
4102         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4104 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4106         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4107         isfinite.
4108         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4109         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4111 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4113         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4114         __signbit* with standard C99 macros.
4115         * math/e_exp10l.c: Likewise.
4116         * math/e_exp2l.c: Likewise.
4117         * math/e_scalb.c: Likewise.
4118         * math/e_scalbf.c: Likewise.
4119         * math/e_scalbl.c: Likewise.
4120         * math/s_ldexp.c: Likewise.
4121         * math/s_ldexpf.c: Likewise.
4122         * math/s_ldexpl.c: Likewise.
4123         * math/w_atan2.c: Likewise.
4124         * math/w_atan2f.c: Likewise.
4125         * math/w_atan2l.c: Likewise.
4126         * math/w_cosh.c: Likewise.
4127         * math/w_coshf.c: Likewise.
4128         * math/w_coshl.c: Likewise.
4129         * math/w_exp10.c: Likewise.
4130         * math/w_exp10f.c: Likewise.
4131         * math/w_exp10l.c: Likewise.
4132         * math/w_exp2.c: Likewise.
4133         * math/w_exp2f.c: Likewise.
4134         * math/w_exp2l.c: Likewise.
4135         * math/w_fmod.c: Likewise.
4136         * math/w_fmodf.c: Likewise.
4137         * math/w_fmodl.c: Likewise.
4138         * math/w_hypot.c: Likewise.
4139         * math/w_hypotf.c: Likewise.
4140         * math/w_hypotl.c: Likewise.
4141         * math/w_jnl.c: Likewise.
4142         * math/w_lgamma.c: Likewise.
4143         * math/w_lgamma_r.c: Likewise.
4144         * math/w_lgammaf.c: Likewise.
4145         * math/w_lgammaf_r.c: Likewise.
4146         * math/w_lgammal.c: Likewise.
4147         * math/w_lgammal_r.c: Likewise.
4148         * math/w_pow.c: Likewise.
4149         * math/w_powf.c: Likewise.
4150         * math/w_powl.c: Likewise.
4151         * math/w_remainder.c: Likewise.
4152         * math/w_remainderf.c: Likewise.
4153         * math/w_remainderl.c: Likewise.
4154         * math/w_scalb.c: Likewise.
4155         * math/w_scalbf.c: Likewise.
4156         * math/w_scalbl.c: Likewise.
4157         * math/w_scalbln.c: Likewise.
4158         * math/w_scalblnf.c: Likewise.
4159         * math/w_scalblnl.c: Likewise.
4160         * math/w_sinh.c: Likewise.
4161         * math/w_sinhf.c: Likewise.
4162         * math/w_sinhl.c: Likewise.
4163         * math/w_tgamma.c: Likewise.
4164         * math/w_tgammaf.c: Likewise.
4165         * math/w_tgammal.c: Likewise.
4166         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4167         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4168         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4169         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4170         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4171         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4172         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4173         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4174         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4175         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4176         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4177         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4178         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4179         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4180         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4181         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4182         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4183         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4184         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4185         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4186         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4187         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4188         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4189         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4190         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4191         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4192         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4193         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4194         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4195         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4196         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4197         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4198         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4199         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4200         * stdio-common/printf_fp.c: Likewise.
4201         * stdio-common/printf_fphex.c: Likewise.
4202         * stdio-common/printf_size.c: Likewise.
4204 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4206         [BZ #18470]
4207         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4208         strnlen.
4209         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4210         Remove variable.
4211         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4212         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4213         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4214         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4215         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4216         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4217         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4218         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4219         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4220         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4222         [BZ #18468]
4223         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4224         weak alias of __wmemchr.  Use libc_hidden_weak.
4225         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4226         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4227         instead of wmemchr.
4229 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4231         [BZ #18383]
4232         * elf/tst-tlsalign-extern.c: New file.
4233         * elf/tst-tlsalign-extern-static.c: New file.
4234         * elf/tst-tlsalign-vars.c: New file.
4235         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4236         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4237         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4238         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4239         (test-xfail-tst-tlsalign-extern-static): New variable.
4241 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4243         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4244         Use variable name _sc_err instead of err.
4245         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4246         instead of ret.
4247         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4248         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4249         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4250         (INLINE_SYSCALL): Likewise.
4252         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4253         * include/string.h (__strnlen): Use libc_hidden_proto.
4254         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4255         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4256         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4257         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4258         (libc_hidden_def): Undefine and redefine.
4259         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4260         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4261         __GI_strnlen.
4262         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4263         libc_hidden_def.
4264         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4266         [BZ #18469]
4267         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4268         weak alias of __towlower.  Use libc_hidden_weak.
4269         (towupper): Rename to __towupper and define as weak alias of
4270         __towupper.  Use libc_hidden_weak.
4271         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4272         (__towupper): Likewise.
4273         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4274         __towlower instead of towlower.
4276 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4278         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4279         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4281 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4283         * sysdeps/aarch64/libm-test-ulps: Update.
4285 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4287         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4288         Define.
4289         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4290         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4291         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4292         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4293         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4294         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4295         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4297 2015-06-01  Martin Sebor  <msebor@redhat.com>
4299         [BZ #18116]
4300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4301         (__setcontext): Use extended four-operand version of mtsf whenever
4302         possible.
4303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4304         (__novec_swapcontext): Likewise.
4306 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4308         * benchtests/scripts/compare_bench.py: New file.
4309         * benchtests/scripts/import_bench.py (mean): New function.
4310         (split_list): Likewise.
4311         (do_for_all_timings): Likewise.
4312         (compress_timings): Likewise.
4314         * benchtests/scripts/import_bench.py: New file.
4315         * benchtests/scripts/validate_benchout.py: Import import_bench
4316         instead of jsonschema.
4317         (validate_bench): Remove function.
4318         (main): Use import_bench.
4320 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4322         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4323         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4325 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4329 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4331         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4332         set THREAD_SELF->tid to a magic value and futex-wake it.
4333         Pass its address to the thread_exit system call.
4334         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4335         bit is clear.
4336         * sysdeps/nacl/lowlevellock.h: New file.
4337         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4339         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4340         Add TIMEOUT to current time, don't subtract it.
4342 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4344         [BZ #2981]
4345         [BZ #18422]
4346         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4347         ($(objpfx)tst-audit2.out): Also depend on
4348         $(objpfx)tst-auditmod9b.so.
4349         * elf/tst-audit2.c: Include <dlfcn.h>.
4350         (calloc_called): New.
4351         (calloc): Allow to be called more than once.
4352         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4354 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4356         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4357         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4359 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4361         * stdlib/monetary.h: Fix comment.
4363 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4365         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4366         Avoid using variables in #defines that might cause shadowing.
4367         (INTERNAL_VSYSCALL_CALL): Likewise.
4369 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4371         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4373         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4374         * nptl/lll_timedlock_wait.c: ... to this new file.
4375         * nptl/Makefile (libpthread-routines): Add it.
4376         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4377         * nptl/lll_timedwait_tid.c: ... to this new file.
4378         * nptl/Makefile (libpthread-routines): Add it.
4379         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4380         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4381         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4382         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4383         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4384         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4385         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4386         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4387         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4388         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4390 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4392         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4393         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4394         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4395         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4396         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4398         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4399         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4400         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4401         * sysdeps/unix/sysv/linux/tile/sysdep.h
4402         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4403         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4404         using vDSO syscall macro.
4406 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4408         [BZ #17293]
4409         * uk_UA: Fix sorting order for Ukrainian locale
4411 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4413         * stdlib/monetary.h: Fix comment.
4415 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4417         [BZ #18234]
4418         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4419         st_mtim and st_ctim members.
4420         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4421         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4422         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4423         (struct stat64): Likewise.
4424         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4425         (struct stat64): Likewise.
4426         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4427         (struct stat64): Likewise.
4429 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4431         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4432         Define and include sysdep-vdso.h.
4433         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4434         Likewise.
4435         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4436         Likewise.
4437         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4438         Define with VDSO_SYMBOL and use PTR_MANGLE.
4439         (__vdso_clock_gettime): Likewise.
4440         (__vdso_clock_getres): Likewise.
4441         (_libc_vdso_platform_setup): Likewise.
4442         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4443         Likewise.
4444         (_libc_vdso_platform_setup): Likewise.
4445         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4446         Likewise.
4447         (__vdso_clock_gettime): Likewise.
4448         (__vdso_clock_getres): Likewise.
4449         (__vdso_get_tbfreq): Likewise.
4450         (__vdso_getcpu): Likewise.
4451         (__vdso_time): Likewise.
4452         (__vdso_sigtramp_rt64): Likewise.
4453         (__vdso_signtramp32): Likewise.
4454         (__vdso_sigtramp_rt32): Likewise.
4455         (_libc_vdso_platform_setup): Likewise.
4456         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4457         Likewise.
4458         (__vdso_clock_gettime): Likewise.
4459         (__vdso_clock_getres): Likewise.
4460         (_libc_vdso_platform_setup): Likewise.
4461         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4462         Likewise.
4463         (__vdso_clock_gettime): Likewise.
4464         (_libc_vdso_platform_setup): Likewise.
4465         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4466         Likewise.
4467         (__vdso_getcpu): Likewise.
4468         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4469         Use VDSO_SYMBOL macro to define.
4470         (__vdso_clock_gettime): Likewise.
4471         (__vdso_clock_getres): Likewise.
4472         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4473         Likewise.
4474         (__vdso_clock_gettime): Likewise.
4475         (__vdso_clock_getres): Likewise.
4476         (__vdso_get_tbfreq): Likewise.
4477         (__vdso_getcpu): Likewise.
4478         (__vdso_time): Likewise.
4479         (__vdso_sigtramp_rt64): Likewise.
4480         (__vdso_signtramp32): Likewise.
4481         (__vdso_sigtramp_rt32): Likewise.
4482         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4483         Likewise.
4484         (__vdso_clock_gettime): Likewise.
4485         (__vdso_clock_getres): Likewise.
4486         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4487         Likewise.
4488         (__vdso_clock_gettime): Likewise.
4489         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4490         Likewise.
4491         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4492         macro.
4493         (INTERNAL_VSYSCALL): Likewise.
4494         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4495         Remove macro.
4496         (INTERNAL_VSYSCALL): Likewise.
4497         (INTERNAL_VSYSCALL_NCS): Likewise.
4498         (INTERNAL_VSYSCALL_CALL): New macro.
4499         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4500         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4501         Likewise.
4502         (INTERNAL_VSYSCALL): Likewise.
4503         (INTERNAL_VSYSCALL_NCS): Likewise.
4504         (INTERNAL_VSYSCALL_CALL): New macro.
4505         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4507         (INLINE_VSYSCALL): Remove macro.
4508         (INTERNAL_VSYSCALL): Remove macro.
4509         (INTERNAL_VSYSCALL_NCS): Remove macro.
4510         (INTERNAL_VSYSCALL_CALL): New macro.
4511         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4512         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4513         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4514         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4515         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4517         (INLINE_VSYSCALL): Remove macro.
4518         (INTERNAL_VSYSCALL): Likewise.
4519         (INTERNAL_VSYSCALL_NCS): Likewise.
4520         (INTERNAL_VSYSCALL_CALL): New macro.
4521         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4522         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4523         PTR_DEMANGLE on vDSO pointer.
4524         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4525         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4526         macro.
4527         (INTERNAL_SYSCALL): Likewise.
4528         (INTERNAL_VSYSCALL_NCS): Remove macro.
4529         (INTERNAL_VSYSCALL_CALL): New macro.
4530         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4531         Remove macro.
4532         (INTERNAL_VSYSCALL): Likewise.
4533         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4534         sysdep-vdso.h instead of libc-vdso.h.
4535         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4536         definition.
4537         (INLINE_VSYSCALL): Likewise.
4538         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4539         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4540         definition.
4541         (INLINE_VSYSCALL): Likewise.
4542         (INTERNAL_VSYSCALL): Likewise.
4543         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4544         * sysdeps/unix/sysv/linux/timespec_get.c
4545         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4546         (timespec_get): Use ANSI prototype.
4547         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4548         and definition for Linux.
4550 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4552         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4553         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4555 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4557         [BZ #2981]
4558         [BZ #18410]
4559         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4560         for missing DT_PLTRELSZ.
4562 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4564         Remove obsolete aliases that broke 'locale -a'
4565         [BZ #18412]
4566         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4567         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4568         breaking some applications that use 'locale -a' output.
4569         Change the encoding of this file from Latin-1 to ASCII to avoid
4570         other potential problems with people grepping this file.
4572 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4574         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4575         -fasynchronous-unwind-tables.
4576         (CFLAGS-sendto.c): Likewise.
4577         (CFLAGS-sendmsg.c): Likewise.
4578         (CFLAGS-connect.c): Likewise.
4579         (CFLAGS-recvmsg.c): Likewise.
4580         (CFLAGS-recvfrom.c): Likewise.
4581         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4582         (SOCKETCALL): New macro: non-cancellable socketcall.
4583         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4584         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4585         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4586         * sysdeps/unix/sysv/linux/accept.c: New file.
4587         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4588         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4589         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4590         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4591         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4592         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4593         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4594         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4595         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4596         * sysdeps/unix/sysv/linux/send.c: Likewise.
4597         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4598         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4599         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4600         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4601         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4602         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4603         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4604         prototype.
4605         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4606         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4607         instead of __internal_xxx function.
4608         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4609         prototype.
4610         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4611         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4612         instead of __internal_xxx function.
4613         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4614         prototype.
4615         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4616         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4617         instead of __internal_xxx function.
4618         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4619         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4620         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4621         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4622         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4623         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4624         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4625         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4626         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4627         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4628         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4629         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4630         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4631         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4632         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4633         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4634         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4635         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4636         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4637         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4640         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4641         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4642         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4643         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4644         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4645         * sysdeps/unix/sysv/linux/send.S: Likewise.
4646         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4647         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4648         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4649         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4650         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4651         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4652         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4653         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4654         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4655         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4656         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4657         socketcall is implemented in GLIBC.
4659 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4661         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4662         (__fma): Ignore uninitialized warnings around packing.
4663         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4664         (__fmaf): Ignore uninitialized warnings around packing.
4665         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4666         (__fmal): Ignore uninitialized warnings around packing.
4668         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4669         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4670         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4671         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4673         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4674         switch statement into default case.
4675         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4677         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4678         a conditional in forcing "inexact".
4679         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4680         Likewise.
4682 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4684         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4685         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4686         for each INTERNAL_SYSCALL use.
4688 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4690         [BZ #438]
4691         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4692         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4693         variable.
4695         [BZ #18444]
4696         * string/basename.c (basename): Rename to __basename and define as
4697         weak alias of __basename.  Use libc_hidden_weak.
4698         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4699         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4700         __basename instead of basename.
4701         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4702         Remove variable.
4703         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4705 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4707         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4708         (_IO_JUMPS_FILE_plus): New.
4709         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4710         _IO_CAST_FIELD_ACCESS.
4711         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4712         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4713         * libio/freopen.c (freopen): Likewise.
4714         * libio/freopen64.c (freopen64): Likewise.
4715         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4716         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4717         * libio/iofwide.c (_IO_fwide): Likewise.
4718         * libio/memstream.c (open_memstream): Likewise.
4719         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4720         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4721         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4723 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4725         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4726         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4727         NADJ.
4728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4729         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4730         NADJ.
4731         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4732         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4733         NADJ.
4735         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4736         (p == 4) case.
4738         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4739         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4740         Remove variable.
4741         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4742         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4743         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4745 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4747         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4748         Adjust jump table label generation macros.
4750 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4752         * stdio-common/vfprintf.c (vfprintf): Move local variables
4753         args_malloced, specs, specs_malloced, and the code after
4754         do_positional to the printf_positional function.
4755         (printf_positional): New function.
4757 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4759         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4760         function.
4761         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4762         STEP4_TABLE, process_arg): Move macro definitions
4763         out of the vfprintf function.  (Cosmetic change only.)
4765 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4767         * benchtests/Makefile (stdio-common-bench): Define.
4768         (benchset): Add stdio-common-bench.
4769         * sprintf-inputs: New file.
4770         * sprintf-source.c: New file.
4772 2015-05-21  Andreas Schwab  <schwab@suse.de>
4774         [BZ #13028]
4775         [BZ #17053]
4776         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4777         of struct __res_state.
4778         * resolv/res_send.c (__libc_res_nsend): Likewise.
4779         (get_nsaddr): New function.
4780         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4781         statp directly.
4783 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4785         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4786         -D_POSIX_C_SOURCE=199506L.
4788         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4790         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4791         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4792         Do not mention otherwise.
4793         [POSIX] (_XOPEN_VERSION): Do not expect.
4794         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4795         [POSIX] (_POSIX2_C_BIND): Likewise.
4796         [POSIX] (_POSIX2_VERSION): Likewise.
4797         [POSIX] (_XOPEN_XPG2): Likewise.
4798         [POSIX] (_XOPEN_XPG3): Likewise.
4799         [POSIX] (_XOPEN_XPG4): Likewise.
4800         [POSIX] (_XOPEN_UNIX): Likewise.
4801         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4802         [POSIX] (_POSIX_BARRIERS): Likewise.
4803         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4804         [POSIX] (_POSIX_CPUTIME): Likewise.
4805         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4806         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4807         [POSIX] (_POSIX_SHELL): Likewise.
4808         [POSIX] (_POSIX_SPAWN): Likewise.
4809         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4810         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4811         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4812         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4813         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4814         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4815         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4816         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4817         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4818         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4819         [POSIX] (_POSIX2_PBS): Likewise.
4820         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4821         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4822         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4823         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4824         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4825         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4826         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4827         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4828         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4829         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4830         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4831         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4832         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4833         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4834         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4835         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4836         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4837         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4838         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4839         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4840         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4841         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4842         [POSIX] (_SC_2_C_BIND): Likewise.
4843         [POSIX] (_SC_2_C_VERSION): Likewise.
4844         [POSIX] (_SC_2_PBS): Likewise.
4845         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4846         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4847         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4848         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4849         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4850         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4851         [POSIX] (_SC_BARRIERS): Likewise.
4852         [POSIX] (_SC_BASE): Likewise.
4853         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4854         [POSIX] (_SC_DEVICE_IO): Likewise.
4855         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4856         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4857         [POSIX] (_SC_FD_MGMT): Likewise.
4858         [POSIX] (_SC_FIFO): Likewise.
4859         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4860         [POSIX] (_SC_FILE_LOCKING): Likewise.
4861         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4862         [POSIX] (_SC_IOV_MAX): Likewise.
4863         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4864         [POSIX] (_SC_NETWORKING): Likewise.
4865         [POSIX] (_SC_PAGE_SIZE): Likewise.
4866         [POSIX] (_SC_PASS_MAX): Likewise.
4867         [POSIX] (_SC_PIPE): Likewise.
4868         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4869         [POSIX] (_SC_REGEXP): Likewise.
4870         [POSIX] (_SC_SHELL): Likewise.
4871         [POSIX] (_SC_SIGNALS): Likewise.
4872         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4873         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4874         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4875         [POSIX] (_SC_USER_GROUPS): Likewise.
4876         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4877         [POSIX] (_SC_STREAMS): Likewise.
4878         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4879         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4880         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4881         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4882         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4883         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4884         [POSIX] (_PC_FILESIZEBITS): Likewise.
4885         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4886         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4887         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4888         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4889         [POSIX] (uid_t): Likewise.
4890         [POSIX] (gid_t): Likewise.
4891         [POSIX] (off_t): Likewise.
4892         [POSIX] (pid_t): Likewise.
4893         [POSIX] (cuserid): Allow.
4894         (_SC_2_CHAR_TERM): Require constant.
4895         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4896         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4897         variable.
4899 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4901         * sysdeps/nacl/pthread-pids.h: New file.
4902         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4903         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4905         * nptl/pthread-pids.h: New file.
4906         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4907         * nptl/nptl-init.c: Include <pthread-pids.h>.
4908         (__pthread_initialize_minimal_internal):
4909         Call __pthread_initialize_pids instead of set_tid_address syscall.
4911         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4912         * sysdeps/posix/usleep.c: ... here.
4914 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4916         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4917         call_pselect6 object.
4918         [$(subdir) = io]: Remove call_sync_file_range object.
4919         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4920         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4921         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4922         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4924 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4926         * math/s_cproj.c: Add include "math_private.h".
4927         * math/s_cprojf.c: Likewise.
4928         * math/s_cprojl.c: Likewise.
4930 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4932         [BZ #18244]
4933         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4934         high mantissa bit when testing whether P is a NaN.
4935         * math/libm-test.inc (remainder_test_data): Add more tests.
4936         (remquo_test_data): Likewise.
4938         [BZ #18049]
4939         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4940         below -32, return the argument, with underflow if subnormal.
4941         * math/auto-libm-test-in: Add more tests of atanh.
4942         * math/auto-libm-test-out: Regenerated.
4944 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4946         [BZ #18434]
4947         * nptl/tst-sem15.c: New file.
4948         * nptl/Makefile (tests): Add it.
4949         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4950         s/<</>>/ to fix typo in EOVERFLOW check.
4951         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4953 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4955         * manual/strings.texi (envz_remove): Fix typo in safety
4956         annotations.
4958 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4959             Steve Ellcey  <sellcey@imgtec.com>
4961         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4962         in order to avoid strict alias warnings.
4963         (iruserok_af): Ditto for ra.
4965 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4967         [BZ #17581]
4968         * malloc/hooks.c
4969         (magicbyte): Convert to a function and avoid returning 0x01.
4970         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4971         (mem2chunk_check): Fix unsigned comparisons to zero.
4972         Hoist defs of sz and magic.
4974 2015-05-19  Richard Henderson  <rth@redhat.com>
4976         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4978         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4980 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4982         [BZ #16159]
4983         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4984         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4985         (reused_arena): Find a non-corrupt arena.
4986         (heap_trim): Pass arena to unlink.
4987         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4988         malloc_printerr.
4989         (top_check): Likewise.
4990         (free_check): Likewise.
4991         (realloc_check): Likewise.
4992         * malloc/malloc.c (malloc_printerr): Add arena argument.
4993         (unlink): Likewise.
4994         (munmap_chunk): Adjust.
4995         (ARENA_CORRUPTION_BIT): New macro.
4996         (arena_is_corrupt): Likewise.
4997         (set_arena_corrupt): Likewise.
4998         (sysmalloc): Use mmap if there are no usable arenas.
4999         (_int_malloc): Likewise.
5000         (__libc_malloc): Don't fail if arena_get returns NULL.
5001         (_mid_memalign): Likewise.
5002         (__libc_calloc): Likewise.
5003         (__libc_realloc): Adjust for additional argument to
5004         malloc_printerr.
5005         (_int_free): Likewise.
5006         (malloc_consolidate): Likewise.
5007         (_int_realloc): Likewise.
5008         (_int_memalign): Don't touch corrupt arenas.
5009         * malloc/tst-malloc-backtrace.c: New test case.
5011         * Makefile (summarize-tests): Fix return value on success.
5013         * manual/string.texi (Envz Functions): Add envz_remove.
5015 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5017         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5018         (invalid_name): New function, broken out of ...
5019         (__opendirat): ... here.  Call it.
5020         (need_isdir_precheck): New function, broken out of ...
5021         (__opendirat): ... here.  Call it.
5022         Use __fxstatat64, not __xstatat64.
5023         (opendir_oflags): New function, broken out of ...
5024         (__opendirat): ... here.  Call it.
5025         (opendir_tail): New function, broken out of ...
5026         (__opendirat): ... here.  Call it.
5027         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5028         opendir_tail, rather than punting to __opendirat.
5029         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5031 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5033         * .gitignore: Ignore generated *.pyc.
5035 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5037         * include/stdio.h: Define __need_wint_t.
5038         * test-skeleton.c: Avoid `for' loop initial declaration.
5039         * nptl/tst-initializers1.c: Use test-skeleton.c.
5041 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5043         [BZ #18418]
5044         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5046 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5048         [BZ #16352]
5049         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5050         (__ieee754_atanh): Force underflow exception for results with
5051         small absolute value.
5052         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5053         (__ieee754_atanhf): Force underflow exception for results with
5054         small absolute value.
5055         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5056         (__ieee754_atanh): Force underflow exception for results with
5057         small absolute value.
5058         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5059         (__ieee754_atanhf): Force underflow exception for results with
5060         small absolute value.
5061         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5062         (__ieee754_atanhl): Force underflow exception for results with
5063         small absolute value.
5064         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5065         (__ieee754_atanhl): Force underflow exception for results with
5066         small absolute value.
5067         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5068         (__ieee754_atanhl): Force underflow exception for results with
5069         small absolute value.
5070         * math/auto-libm-test-in: Do not allow missing underflow
5071         exceptions from atanh.
5072         * math/auto-libm-test-out: Regenerated.
5074         [BZ #18221]
5075         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5076         2**-28 as threshold for returning x or +/- 1/x.
5077         * math/auto-libm-test-in: Add more tests of tan.
5078         * math/auto-libm-test-out: Regenerated.
5080         [BZ #18220]
5081         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5082         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5083         * math/auto-libm-test-in: Add another test of lgamma.
5084         * math/auto-libm-test-out: Regenerated.
5086 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5088         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5089         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5090         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5091         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5092         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5093         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5094         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5095         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5096         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5097         (log1): Use fabs.  (my_log2): Use fabs.
5098         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5099         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5100         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5101         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5102         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5103         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5104         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5105         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5106         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5107         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5108         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5110 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5112         [BZ #18217]
5113         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5114         as threshold for returning 1 - x.
5115         * math/auto-libm-test-in: Add more tests of erfc.
5116         * math/auto-libm-test-out: Regenerated.
5118 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5120         [BZ #18196]
5121         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5122         threshold for large arguments.
5123         * math/auto-libm-test-in: Add another test of atan.
5124         * math/auto-libm-test-out: Regenerated.
5126         [BZ #16339]
5127         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5128         (__log1p): Force underflow exception for results with small
5129         absolute value.
5130         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5131         (__log1pf): Force underflow exception for results with small
5132         absolute value.
5133         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5134         (__log1p): Force underflow exception for results with small
5135         absolute value.
5136         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5137         (__log1pf): Force underflow exception for results with small
5138         absolute value.
5139         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5140         (__log1pl): Force underflow exception for results with small
5141         absolute value.
5142         * math/auto-libm-test-in: Do not allow missing underflow
5143         exceptions from log1p.
5144         * math/auto-libm-test-out: Regenerated.
5146 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5147             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5149         [BZ #16704]
5150         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5152 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5154         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5155         (libmvec): New variable.
5156         * configure.ac: Added option for mathvec build.
5157         * configure: Regenerated.
5158         * mathvec/Depend: New file.
5159         * mathvec/Makefile: New file.
5160         * shlib-versions: Added libmvec.
5161         * math/Makefile: Added rule for libm.so installation.
5163         * bits/math-vector.h: New file.
5164         * bits/libm-simd-decl-stubs.h: New header.
5165         * math/Makefile (headers): Added new header
5166         libm-simd-decl-stubs.h.
5167         * math/math.h (__MATHCALL_VEC): New macro.
5169         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5170         for conditions in testing functions.
5171         * math/Makefile: Added call of libm-have-vector-test.sh.
5172         * math/libm-test.inc (HAVE_VECTOR): New macros.
5174         * math/libm-test.inc: START refactored.
5175         * math/test-double.c (TEST_MATHVEC): Add define.
5176         * math/test-float.c: Likewise.
5177         * math/test-idouble.c: Likewise.
5178         * math/test-ifloat.c: Likewise.
5179         * math/test-ildoubl.c: Likewise.
5180         * math/test-ldouble.c: Likewise.
5181         * sysdeps/generic/math-tests-arch.h
5182         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5183         architecture check.
5185         * math/test-double.c (FUNC_TEST): New macro.
5186         * math/test-float.c: Likewise.
5187         * math/test-idouble.c: Likewise.
5188         * math/test-ifloat.c: Likewise.
5189         * math/test-ildoubl.c: Likewise.
5190         * math/test-ldouble.c: Likewise.
5191         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5193 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5195         * sysdeps/nacl/fdopendir.c: New file.
5197         * dirent/scandir-tail.c: New file.
5198         * dirent/scandir64-tail.c: New file.
5199         * dirent/Makefile (routines): Add them.
5200         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5201         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5202         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5203         [!SCANDIR] (SCANDIR_TAIL): New macro.
5204         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5205         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5206         (SCANDIRAT): Macro removed.
5207         (SCANDIR_TAIL): New macro.
5208         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5209         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5210         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5211         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5212         (READDIR): Macro removed.
5213         (SCANDIR_TAIL): New macro.
5214         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5215         (SCANDIR_TAIL): New macro.
5217         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5218         * dirent/scandir-cancel.c: ... to this new file.
5219         * dirent/Makefile (routines): Add it.
5220         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5221         * sysdeps/unix/sysv/linux/i386/scandir64.c
5222         (SKIP_SCANDIR_CANCEL): Macro removed.
5223         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5225         * dirent/tst-scandir.c: New file.
5226         * dirent/tst-scandir64.c: New file.
5227         * dirent/Makefile (tests): Add them.
5229 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5231         [BZ #18409]
5232         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5234 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5236         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5237         list.
5239 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5241         * benchtests/bench-strcoll.c: New benchmark.
5242         * benchtests/Makefile: Generate locales and run benchmark.
5243         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5244         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5245         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5246         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5247         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5248         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5249         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5250         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5251         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5252         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5253         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5254         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5255         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5256         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5257         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5258         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5259         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5260         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5261         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5262         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5263         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5264         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5265         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5266         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5268 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5270         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5271         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5273 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5275         * posix/uname-values.h: New file.
5276         * posix/uname.c: Include that instead of <config-name.h>.
5277         * sysdeps/nacl/uname-values.h: New file.
5278         * sysdeps/arm/nacl/uname-values.h: New file.
5280 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5282         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5283         splitting into fields.
5285 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5287         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5288         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5289         * locale/localeinfo.h: Add enum collation_encoding_type.
5290         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5291         * programs/ld-collate.c (collate_output): Add encoding type info.
5292         * string/strcoll_l.c (STRDIFF): New function.
5293         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5294         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5296 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5298         [BZ #18397]
5299         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5300         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5301         <fpu_control.h> instead of <math/fpu_control.c>.
5302         * sysdeps/mips/mips32/fpu/Makefile: New file.
5304 2015-05-11  Andreas Schwab  <schwab@suse.de>
5306         [BZ #18007]
5307         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5308         nss_endgrent.
5309         (_nss_compat_endgrent): Call nss_endgrent.
5310         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5311         nss_endpwent.
5312         (_nss_compat_endpwent): Call nss_endpwent.
5313         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5314         needent, call nss_setspent only if non-zero.
5315         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5316         (internal_endspent): Don't call nss_endspent.
5317         (_nss_compat_endspent): Call nss_endspent.
5318         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5319         Remove.  All uses removed.
5320         (internal_setent): Remove parameter stayopen, add parameter
5321         stream.  Use it instead of global variable.
5322         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5323         (internal_endent, internal_getent): Add parameter stream.  Use it
5324         instead of global variable.
5325         (CONCAT(_nss_files_end,ENTNAME))
5326         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5327         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5328         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5329         uses removed.
5330         (internal_setent, internal_endent): Add parameter stream.  Use it
5331         instead of global variable.
5332         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5333         stream.
5334         (get_next_alias): Add parameter stream.
5335         (_nss_files_getaliasent_r): Pass global stream.
5336         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5337         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5338         (_nss_files_gethostbyname4_r): Pass local stream to
5339         internal_setent, internal_getent and internal_endent.  Remove
5340         locking.
5342 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5344         * tst-strfmon1.c (tests): Update expected currency symbol.
5346 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5348         * sysdeps/nacl/gethostname.c: New file.
5350 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5352         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5353         and sinh.
5354         * math/auto-libm-test-out: Regenerated.
5355         * sysdeps/i386/fpu/libm-test-ulps: Update.
5356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5358 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5360         [BZ #18125]
5361         * stdlib/tst-setcontext3.c: New file.
5362         * stdlib/tst-setcontext3.sh: New file.
5363         * stdlib/Makefile (tests): Add tst-setcontext3.
5364         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5365         to verify test program created output file.
5366         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5367         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5368         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5369         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5371 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5373         [BZ #18383]
5374         * elf/tst-tlsalign.c: New file.
5375         * elf/tst-tlsalign-static.c: New file.
5376         * elf/tst-tlsalign-lib.c: New file.
5377         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5378         (tests-static): Add tst-tlsalign-static.
5379         (modules-names): Add tst-tlsalign-lib.
5380         (test-xfail-tst-tlsalign): New variable.
5381         (test-xfail-tst-tlsalign-static): New variable.
5383         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5384         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5386 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5388         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5389         csqrt, erfc, sin and sincos.
5390         * math/auto-libm-test-out: Regenerated.
5391         * sysdeps/i386/fpu/libm-test-ulps: Update.
5392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5394 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5396         * sysdeps/aarch64/libm-test-ulps: Update.
5398 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5400         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5401         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5402         * math/auto-libm-test-out: Regenerated.
5403         * sysdeps/i386/fpu/libm-test-ulps: Update.
5404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5406 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5408         [BZ #18265]
5409         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5410         (wcsncpy): Likewise.
5412 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5414         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5415         Assume __ASSUME_FALLOCATE is always true.
5416         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5417         (__posix_fallocate64_l64): Likweise.
5418         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5419         (posix_fallocate): Likewise.
5420         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5421         (__posix_fallocate64_l64): Likewise.
5422         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5423         [!__ASSUME_FALLOCATE]: Add comment.
5425 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5427         * sysdeps/unix/sysv/linux/i386/Makefile
5428         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5429         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5430         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5431         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5432         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5433         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5434         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5436 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5438         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5439         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5440         tgamma.
5441         * math/auto-libm-test-out: Regenerated.
5442         * sysdeps/i386/fpu/libm-test-ulps: Update.
5443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5445 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5447         * math/auto-libm-test-in: Add more tests of tgamma.
5448         * math/auto-libm-test-out: Regenerated.
5449         * sysdeps/i386/fpu/libm-test-ulps: Update.
5450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5452         * math/auto-libm-test-in: Add more tests of tanh.
5453         * math/auto-libm-test-out: Regenerated.
5454         * sysdeps/i386/fpu/libm-test-ulps: Update.
5455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5457         * math/auto-libm-test-in: Add more tests of tan.
5458         * math/auto-libm-test-out: Regenerated.
5459         * sysdeps/i386/fpu/libm-test-ulps: Update.
5460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5462         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5463         * math/auto-libm-test-out: Regenerated.
5464         * sysdeps/i386/fpu/libm-test-ulps: Update.
5465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5467         * math/auto-libm-test-in: Add another test of pow.
5468         * math/auto-libm-test-out: Regenerated.
5469         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5471         * math/auto-libm-test-in: Add more tests of lgamma.
5472         * math/auto-libm-test-out: Regenerated.
5473         * sysdeps/i386/fpu/libm-test-ulps: Update.
5474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5476         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5477         log1p.
5478         * math/auto-libm-test-out: Regenerated.
5479         * sysdeps/i386/fpu/libm-test-ulps: Update.
5480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5482 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5484         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5485         Elf64_Chdr structs and ELFCOMPRESS constants.
5487 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5489         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5490         expm1.
5491         * math/auto-libm-test-out: Regenerated.
5492         * sysdeps/i386/fpu/libm-test-ulps: Update.
5493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5495         * math/auto-libm-test-in: Add more tests of erf and erfc.
5496         * math/auto-libm-test-out: Regenerated.
5497         * sysdeps/i386/fpu/libm-test-ulps: Update.
5498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5500 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5502         * config.h.in (HAVE_AARCH64_BE): Add.
5504 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5506         * math/auto-libm-test-in: Add more tests of csqrt.
5507         * math/auto-libm-test-out: Regenerated.
5508         * sysdeps/i386/fpu/libm-test-ulps: Update.
5509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5511         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5512         * math/auto-libm-test-out: Regenerated.
5513         * sysdeps/i386/fpu/libm-test-ulps: Update.
5514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5516         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5518 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5520         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5521         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5523         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5524         (euidaccess, eaccess): Define as weak aliases.
5526         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5527         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5528         but __suseconds_t is often 'long int' so some sources assume that
5529         type is being used (e.g. they use %ld to print tv_usec).
5531 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5533         [BZ #18007]
5534         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5535         (CVE-2014-8121)
5536         * nss/tst-nss-getpwent.c: New file.
5537         * nss/Makefile (tests): Add new test.
5539 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5541         [BZ #18346]
5542         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5543         exponents less than 48 as cases where high part of mantissa needs
5544         examining to determine whether argument is integral.
5545         * math/libm-test.inc (round_test_data): Add more tests.
5547 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5549         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5551 2015-04-27  David S. Miller  <davem@davemloft.net>
5553         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5554         __tls_get_addr.
5555         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5557 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5559         [BZ#18333]
5560         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5562 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5564         [BZ#18333]
5565         * time/tzset.c (parse_tzname): Return error on memory allocation
5566         failure.
5567         * test-skeleton.c (struct temp_name_list): Change type of name
5568         member to non-const.
5569         (add_temp_file): Create a copy of the file name.
5570         (delete_temp_files): Deallocate memory.
5571         (create_temp_file): Add comment.
5573 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5575         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5576         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5578 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5580         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5581         * sysdeps/arm/configure: Regenerated.
5583 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5585         [BZ #17715]
5586         * time/tzfile.c (__tzfile_read): Check for large values of
5587         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5588         * time/tzset.c (__tzstring_len): New function, based on the old
5589         __tzstring function.
5590         (__tzstring): Call __tzstring_len.
5591         (parse_tzname): New helper function extracted from
5592         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5593         the input string.
5594         (parse_offset): New helper function extracted from
5595         __tzset_parse_tz.  Replace switch with fallthrough with
5596         initialization before sscanf.
5597         (parse_rule): Likewise.
5598         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5599         new-style function definition.
5600         * timezone/Makefile (tests): Add tst-tzset.
5601         (tst-tzset.out): Dependencies on time zone files.
5602         (tst-tzset-ENV): Set TZDIR.
5603         (testdata/XT%): Copy crafted time zone files.
5604         * timezone/README: Mention crafted time zone files.
5605         * timezone/testdata/XT1, timezone/testdata/XT2,
5606         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5607         files.
5608         * timezone/tst-tzset.c: New test.
5610 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5612         * Makeconfig (+gccwarn): Remove -Winline.
5614 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5616         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5618 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5620         * NEWS: Mention sysconf() cache information support for s390.
5621         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5623 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5625         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5626         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5627         (__nearbyint): Likewise.
5628         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5629         (copysignl): Likewise.
5631 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5633         [BZ #18287]
5634         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5635         based on padding.  (CVE-2015-1781)
5637 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5639         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5640         libc-vdso.h.
5641         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5642         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5643         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5644         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5645         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5646         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5647         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5648         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5649         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5650         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5651         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5652         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5653         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5654         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5655         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5656         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5657         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5658         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5659         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5660         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5661         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5662         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5663         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5665 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5667         * stdlib/setenv.c (__add_to_environ):
5668         Dump core quickly if setenv (..., NULL, ...) is called.
5669         This time, do it the right way, and pacify GCC with a pragma.
5671 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5673         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5674         IMAP->l_prev cannot be null, and #if out the code for the contrary
5675         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5676         believe that NS (&_dl_ns[NSID]) could point outside the array.
5678         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5679         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5680         before using NSID as an index.
5682 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5684         [BZ #17825]
5685         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5686         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5687         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5689 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5691         Add preliminary port to Google Native Client on ARM.
5692         * abi-tags (.*-.*-nacl.*): New entry.
5693         * sysdeps/arm/nacl: New directory.
5694         * sysdeps/nacl: New directory.
5696 2015-04-16  David S. Miller  <davem@davemloft.net>
5698         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5699         lowlevellock-futex.h
5701 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5703         * sysdeps/tile/configure.ac: New file.
5704         * sysdeps/tile/configure: Regenerated.
5706 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5708         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5709         conditionals for weak_alias and libc_hidden_weak.
5710         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5711         libc_hidden_weak and weak_alias.
5712         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5713         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5714         and weak_alias for static one.
5716 2015-04-15  David S. Miller  <davem@davemloft.net>
5718         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5720 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5722         [BZ #18206]
5723         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5724           Use signed comparision instead of substraction to avoid
5725           overflow bug.
5726         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5727           Take the sign of ret.
5728         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5729           Do not expect precise return values. Only the sign matters.
5730         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5731         * wcsmbs/test-wcsncmp.c: New File.
5732         * string/test-strncmp.c: Add wcsncmp support.
5734 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5736         [BZ #6792]
5737         * math/w_log1p.c: New file.
5738         * math/w_log1pf.c: Likewise.
5739         * math/w_log1pl.c: Likewise.
5740         * math/Makefile (libm-calls): Add w_log1p.
5741         * math/s_log1pl.c (log1pl): Remove weak_alias.
5742         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5743         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5744         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5745         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5746         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5747         [NO_LONG_DOUBLE] (log1pl): Likewise.
5748         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5749         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5750         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5751         (log1p): Remove long_double_symbol.
5752         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5753         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5754         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5755         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5756         remove weak_alias for corresponding log1p function.
5757         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5758         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5759         * sysdeps/ia64/fpu/w_log1p.c: New file.
5760         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5761         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5762         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5764 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5766         [BZ #18247]
5767         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5768         decimal exponent by 1.
5769         * stdlib/tst-strtod-round-data: Add more tests.
5770         * stdlib/tst-strtod-round.c (tests): Regenerated.
5772 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5774         * math/auto-libm-test-in: Add more tests of clog and clog10.
5775         * math/auto-libm-test-out: Regenerated.
5776         * sysdeps/i386/fpu/libm-test-ulps: Update.
5777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5779 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5781         * Makeconfig (module-cppflags): Exclude all .v.i files.
5782         (skip-module-cppflags): Variable removed.
5784         * configure.ac (libc_config_ok): Initialize before reading
5785         preconfigure scripts, not after.
5786         * configure: Regenerated.
5788         * test-skeleton.c (TIMEOUT): Move #define to top level.
5789         (main): Grok environment variable TEST_DIRECT.  If set, print
5790         test expectation details into that file and then behave as if
5791         given --direct.
5793 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5795         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5796         warning on 32-bit.
5798 2015-04-08  David S. Miller  <davem@davemloft.net>
5800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5802 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5804         * math/auto-libm-test-in: Add more tests of atanh.
5805         * math/auto-libm-test-out: Regenerated.
5806         * sysdeps/i386/fpu/libm-test-ulps: Update.
5807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5809         * math/auto-libm-test-in: Add more tests of atan.
5810         * math/auto-libm-test-out: Regenerated.
5811         * sysdeps/i386/fpu/libm-test-ulps: Update.
5812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5814 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5816         * elf/pldd.c (main): Rewrite to use struct
5817         scratch_buffer instead of extend_alloca.
5818         * elf/pldd-xx.c (find_maps): Likewise.
5819         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5820         <alloca.h>.
5821         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5822         scratch_buffer instead of extend_alloca.
5823         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5824         grp/compat-initgroups.c.
5825         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5826         Rewrite to use struct scratch_buffer instead of extend_alloca.
5827         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5828         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5830 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5832         * math/auto-libm-test-in: Add more tests of cbrt.
5833         * math/auto-libm-test-out: Regenerated.
5834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5836         * math/auto-libm-test-in: Add more tests of cabs.
5837         * math/auto-libm-test-out: Regenerated.
5838         * sysdeps/i386/fpu/libm-test-ulps: Update.
5839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5841         [BZ #18210]
5842         [BZ #18211]
5843         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5844         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5845         computations.
5846         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5847         clog10.
5848         * math/auto-libm-test-out: Regenerated.
5849         * sysdeps/i386/fpu/libm-test-ulps: Update.
5850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5852         [BZ #18197]
5853         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5854         (atan): Set FE_TONEAREST mode for internal computations.
5855         * math/auto-libm-test-in: Add more tests of atan.
5856         * math/auto-libm-test-out: Regenerated.
5858 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5860         [BZ #17930]
5861         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5863 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5865         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5867 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5869         * include/scratch_buffer.h: New file.
5870         * malloc/scratch_buffer_grow.c: Likewise.
5871         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5872         * malloc/scratch_buffer_set_array_size.c: Likewise.
5873         * malloc/tst-scratch_buffer.c: Likewise.
5874         * malloc/Makefile (routines): Add scratch_buffer_grow.
5875         (tests): Add test case.
5876         * malloc/Versions (GLIBC_PRIVATE): Export
5877         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5878         __libc_scratch_buffer_set_array_size.
5880 2015-04-06  Richard Henderson  <rth@redhat.com>
5882         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5883         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5885         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5886         unsigned int before printing.
5888 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5890         [BZ #17596]
5891         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5892         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5894 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5896         * include/libc-internal.h (libc_max_align_t): Define.
5898 2015-04-02  Andreas Schwab  <schwab@suse.de>
5900         [BZ #16850]
5901         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5903 2015-04-02  Mel Gorman  <mgorman@suse.de>
5905         [BZ #17195]
5906         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5907         as well as the main arena.
5909 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5911         [BZ #18185]
5912         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5913         sharing L2 cache to 2 for Silvermont/Knights Landing.
5915 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5917         [BZ #17711]
5918         * config.make.in (have-protected-data): New.
5919         * configure.ac: Check linker support for protected data symbol.
5920         * configure: Regenerated.
5921         * elf/Makefile (modules-names): Add tst-protected1moda and
5922         tst-protected1modb if $(have-protected-data) is yes.
5923         (tests): Add tst-protected1a and tst-protected1b if
5924         $(have-protected-data) is yes.
5925         ($(objpfx)tst-protected1a): New.
5926         ($(objpfx)tst-protected1b): Likewise.
5927         (tst-protected1modb.so-no-z-defs): Likewise.
5928         * elf/tst-protected1a.c: New file.
5929         * elf/tst-protected1b.c: Likewise.
5930         * elf/tst-protected1mod.h: Likewise.
5931         * elf/tst-protected1moda.c: Likewise.
5932         * elf/tst-protected1modb.c: Likewise.
5934 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5936         [BZ #17711]
5937         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5938         indicates it is called from do_lookup_x on relocation against
5939         protected data, skip the data definion in the executable from
5940         copy reloc.
5941         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5942         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5943         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5944         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5945         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5946         otherwise to 0.
5947         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5948         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5949         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5950         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5951         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5952         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5954 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5956         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5957         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5959 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5961         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5962         THREAD_SETMEM_NC.
5963         * sysdeps/x86_64/nptl/tls.h: Ditto.
5965 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5967         * dlfcn/tststatic.c (main): Converted to ...
5968         (do_test): ... this.
5969         (TEST_FUNCTION): New macro.
5970         Include test-skeleton.c.
5972 2015-03-26  Alan Modra  <amodra@gmail.com>
5974         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5975         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5976         zero for undefined weak.
5977         (elf_machine_plt_conflict): Similarly.
5979 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5981         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5982         atanh.
5983         * math/auto-libm-test-out: Regenerated.
5984         * sysdeps/i386/fpu/libm-test-ulps: Update.
5985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5987         * math/auto-libm-test-in: Add another test of asin.
5988         * math/auto-libm-test-out: Regenerated.
5989         * sysdeps/i386/fpu/libm-test-ulps: Update.
5990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5992         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5993         Remove macro.
5994         (LLL_EBX_REG): Likewise.
5995         (LLL_ENTER_KERNEL): Likewise.
5997         * math/auto-libm-test-in: Add more tests of asin.
5998         * math/auto-libm-test-out: Regenerated.
5999         * sysdeps/i386/fpu/libm-test-ulps: Update.
6000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6002         [BZ #18138]
6003         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6004         libc_do_syscall_args): New structure.
6005         (INTERNAL_SYSCALL_MAIN_0): New macro.
6006         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6007         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6008         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6009         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6010         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6011         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6012         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6013         Replace conditional definitions by conditional definitions of ....
6014         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6015         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6016         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6017         (libpthread-sysdep_routines): Add libc-do-syscall.
6018         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6019         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6020         to __NR_futex not 240.
6022 2015-03-25  Alan Modra  <amodra@gmail.com>
6024         * NEWS: Advertise TLS optimization.
6025         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6026         (DT_PPC_NUM): Increment.
6027         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6028         (CHECK_STATIC_TLS): Use here.
6029         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6030         TLS descriptors.
6031         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6032         * sysdeps/powerpc/dl-tls.c: New file.
6033         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6034         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6035         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6036         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6041 2015-03-25  Alan Modra  <amodra@gmail.com>
6043         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6044         for overlapping .opd entries" to "support...".
6045         * sysdeps/powerpc/powerpc64/configure: Regenerate
6047 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6049         * math/auto-libm-test-in: Add more tests of acos.
6050         * math/auto-libm-test-out: Regenerated.
6051         * sysdeps/i386/fpu/libm-test-ulps: Update.
6052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6054         * math/auto-libm-test-in: Add more tests of expm1.
6055         * math/auto-libm-test-out: Regenerated.
6056         * sysdeps/i386/fpu/libm-test-ulps: Update.
6057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6059 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6061         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6062         * math/auto-libm-test-out: Regenerated.
6063         * sysdeps/i386/fpu/libm-test-ulps: Update.
6064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6066         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6069         * math/auto-libm-test-in: Add more tests of log2.
6070         * math/auto-libm-test-out: Regenerated.
6071         * sysdeps/i386/fpu/libm-test-ulps: Update.
6072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6074 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6076         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6077         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6078         _IO_IS_APPENDING bit in READ_WRITE instead.
6080 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6082         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6083         (__determine_cpumask_size): Replace extend_alloca with a
6084         variable-length array.  Do not treat res == 0 as an error.
6086 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6088         [BZ #18100]
6089         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6090         and integer overflow.
6091         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6092         (main): Add integer overflow tests.
6093         * manual/pattern.texi (Calling Wordexp): Document additional use
6094         for WRDE_SYNTAX.
6096 2015-03-23  Alan Modra  <amodra@gmail.com>
6098         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6099         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6100         and false branch of conditional.
6101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6102         Likewise.
6104 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6106         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6107         libc-modules.h
6108         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6109         unused declaration of _hurd_intr_rpc_msg_in_trap.
6110         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6111         defined instead of whether it is non-zero.
6112         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6113         input constraint instead of both input and output constraint.  Use ecx
6114         clobber instead of %ecx.
6115         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6116         mutex_unlock): Use a statement expression instead of an expression list.
6117         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6118         type to vm_size_t instead of vm_address_t.
6119         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6120         defined instead of whether it is non-zero.
6121         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6122         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6123         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6124         comparisons with mapaddr.
6125         * nscd/nscd-client.h: Include <time.h>.
6126         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6127         9th parameter to __vm_region instead of int.
6128         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6129         * scripts/check-local-headers.sh (exclude): Add device/,
6130         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6131         cthreads.h.
6133 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6135         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6136         to account for alignment padding.
6137         * sysdeps/arm/memmove.S: Likewise.
6139 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6141         * sysdeps/unix/sysv/linux/generic/README: New file.
6143 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6145         [BZ #18138]
6146         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6147         (futex_abstimed_wait)
6148         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6149         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6150         of lll_futex_timed_wait.
6152 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6154         [BZ #17542]
6155         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6157 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6159         [BZ #17090]
6160         [BZ #17620]
6161         [BZ #17621]
6162         [BZ #17628]
6163         * NEWS: Update.
6164         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6165         entries with Static TLS too.  Skip entries past the end of the
6166         allocated DTV, from Alan Modra.
6167         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6168         Static TLS DTV entry set up from...
6169         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6170         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6171         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6172         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6173         for Static TLS.
6174         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6175         that the slot we find is associated with the given map before
6176         using its generation count.
6177         * nptl_db/db_info.c: Include ldsodefs.h.
6178         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6179         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6180         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6181         (link_map::l_tls_offset): New struct field.
6182         (dtv_t::counter): Likewise.
6183         (rtld_global): New struct.
6184         (_rtld_global): New rtld variable.
6185         (dl_tls_dtv_slotinfo_list): New rtld global field.
6186         (dtv_slotinfo_list): New struct.
6187         (dtv_slotinfo): Likewise.
6188         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6189         (td_lookup): Rename to...
6190         (td_mod_lookup): ... this.  Use new mod parameter instead of
6191         LIBPTHREAD_SO.
6192         * nptl_db/td_thr_tlsbase.c: Include link.h.
6193         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6194         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6195         addresses even if the DTV is out of date or missing them.
6196         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6197         index zero-length arrays.
6198         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6199         (td_lookup): Make it a macro implemented in terms of...
6200         (td_mod_lookup): ... this declaration.
6201         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6202         (DB_MAIN_VARIABLE): Likewise.
6204 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6206         [BZ #18134]
6207         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6209 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6211         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6213 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6215         [BZ #18128]
6216         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6217         (atomic_add, atomic_increment_and_test)
6218         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6220 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6222         * stdlib/setenv.c (__add_to_environ):
6223         Dump core quickly if setenv (..., NULL, ...) is called.
6225 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6227         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6228         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6229         all the necessary asm magic in one place.
6230         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6231         using those.
6233 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6235         [BZ #14906]
6236         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6237         traced file mtime. Use consistent log message.
6238         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6239         (register_traced_file): Call install_watches. Always set mtime.
6240         (invalidate_cache): Iterate over all trace files. Call install_watches.
6241         (inotify_check_files): Don't inline. Handle watching parent
6242         directories and configuration file movement in and out.
6243         (handle_inotify_events): New function.
6244         (main_loop_poll): Call handle_inotify_events.
6245         (main_loop_epoll): Likewise.
6246         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6247         (struct traced_file): Use array of inotify fds. Add parent directory,
6248         and basename.
6249         (struct database_dyn): Remove unused file_mtime.
6250         (init_traced_file): New inline function.
6251         (define_traced_file): New macro.
6252         * nss/nss_db/db-init.c: Use define_traced_file.
6253         (_nss_db_init): Use init_traced_file.
6254         * nss/nss_files/files-init.c: Use define_traced_file.
6255         (_nss_files_init): Use init_traced_file.
6257 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6259         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6260         [_LIBC]: Do not include <stdlib.h>.
6261         [!_LIBC] (abort): Remove declaration.
6262         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6263         _FP_STATIC_ASSERT instead of conditionally calling abort.
6264         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6265         (_FP_EXTEND_CNAN): Likewise.
6266         (FP_TRUNC): Likewise.
6267         (__FP_CLZ): Likewise.
6268         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6270 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6272         * manual/string.texi (XPG basename): Fix prototype.
6274 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6276         [BZ #18080]
6277         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6278         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6279         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6280         (__setcontext): Likewise.
6281         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6282         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6283         Call rt_sigprocmask syscall one time to set new signal mask
6284         and retrieve the current signal mask instead of two calls.
6285         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6286         (__swapcontext): Likewise.
6287         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6288         * stdlib/tst-setcontext2.c: New file.
6290 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6292         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6294 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6296         [BZ #18093]
6297         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6298         the wrong size.
6300 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6302         [BZ #18043]
6303         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6305 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6307         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6308         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6309         Remove define.
6310         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6311         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6312         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6313         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6314         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6315         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6316         define.
6317         * nptl_db/td_symbol_list.c (td_lookup): Remove
6318         HAVE_ASM_GLOBAL_DOT_NAME code.
6319         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6320         HAVE_ASM_GLOBAL_DOT_NAME check.
6321         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6322         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6323         (DOT_LABEL): Remove define.
6324         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6325         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6326         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6327         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6328         (__TLS_GET_ADDR): Likewise.
6329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6330         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6332 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6334         [BZ #18111]
6335         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6336         (_FPU_SETCW): Initialize cw from fpsr before storing.
6337         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6338         (fesetexceptflag): Rewrite using fpu_control.h.
6339         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6341 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6343         [BZ #18110]
6344         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6345         asms.
6346         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6348 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6350         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6351         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6352         abort.
6353         (_FP_FMA): Likewise.
6354         (_FP_DIV): Likewise.
6356 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6358         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6359         with 0 in that case.
6360         * Makefile (summarize-tests): New canned sequence, factored out of
6361         commands for targets tests and xtests.  Display summary lines that
6362         don't start with PASS: or XFAIL: rather than ones that do start with
6363         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6364         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6365         do start with ERROR: or FAIL:.
6366         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6367         (except for [$(build-shared) = yes]).
6368         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6369         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6370         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6371         * nptl/Makefile: Revert 2015-03-04 changes.
6372         [$(CXX) empty] (tests-unsupported): New variable.
6373         * debug/Makefile: Likewise.
6375         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6376         gnulib file.  Replace __attribute with __attribute__ throughout.
6378 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6380         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6382 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6384         [BZ #18104]
6385         * math/auto-libm-test-in: Add another test of pow.
6386         * math/auto-libm-test-out: Regenerated.
6388 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6390         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6391         $(config-cflags-nofma).
6393 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6395         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6396         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6397         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6398         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6399         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6400         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6401         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6402         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6403         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6404         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6405         Add comment on closing #endif.
6407 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6409         * posix/wordexp.c (CHAR_IN_SET): New macro.
6410         (parse_param): Use it.
6412 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6414         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6416 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6418         [BZ #18043]
6419         * posix/wordexp.c (parse_param): Fix buffer overflow.
6420         * posix/wordexp-test.c (test_case): Add test case.
6422 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6424         [BZ #18042]
6425         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6426         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6428 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6430         [BZ #18043]
6431         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6432         (do_bz18043): Delete.
6433         (at_page_end): New.
6434         (testit): Refactor to have words at the edge of unreadable page.
6436 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6438         [BZ #16734]
6439         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6440         Cleanup read-only streams as well.
6441         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6443 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6445         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6446         <bits/libc-lockP.h>
6448 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6450         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6451         on [__KERNEL__].
6452         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6453         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6454         * soft-fp/op-common.h (_FP_DECL): Likewise.
6456 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6458         * elf/ifuncdep2.c (global): Replace
6459         __attribute__((visibility("protected"))) with
6460         asm (".protected global").
6461         * elf/ifuncmod1.c (global): Likewise.
6462         * elf/ifuncmod5.c (global): Likewise.
6464 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6466         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6467         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6469 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6471         * manual/install.texi (Configuring and compiling):
6472         Document test-wrapper-env-only.
6473         * INSTALL: Regenerated.
6475 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6477         [BZ #18043]
6478         * posix/wordexp.c (parse_param): Fix buffer overflow.
6479         * posix/wordexp-test.c (do_bz18043): Add test case.
6481 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6483         * time/tst-strptime2.c (do_test): Ensure failing tests are
6484         reported correctly.
6485         * time/tst-strptime3.c (do_test): Likewise.
6487 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6489         Fix aio_error thread-safety.
6490         * sysdeps/pthread/aio_error.c: New file
6491         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6492         synchronization.
6494 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6496         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6497         (group_number, vfprintf): Use it.
6498         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6499         (JUMP, REF): Use it.
6500         (WORK_BUFFER_SIZE): New enum constant.
6501         (process_arg, vfprintf): Use it.
6503 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6505         * manual/errno.texi (Error Messages): Complete example function
6506         by adding missing #define.
6507         (program_invocation_name): Add statement indicating GNU
6508         extension and reference which header file declares the variable.
6509         (program_invocation_short_name): Likewise.
6511 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6513         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6514         compatibility note.
6516 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6518         * Makeconfig (test-wrapper-env-only): New variable.
6519         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6520         then use that with $(test-wrapper-env-only) rather than using
6521         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6523 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6525         [BZ #18082]
6526         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6527         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6528         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6529         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6530         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6531         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6532         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6533         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6534         Likewise.
6535         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6536         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6537         Likewise.
6538         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6539         Likewise.
6540         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6541         Likewise.
6542         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6543         Likewise.
6544         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6545         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6546         Likewise.
6547         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6548         Likewise.
6549         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6550         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6552 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6554         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6555         (ETH_ALEN): New macro.
6556         (struct ether_addr): Use it for length of ether_addr_octet.
6558         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6559         (setdb): Don't call __nss_configure_lookup for "rpc".
6560         (do_test): Don't call test_rpc.
6561         (output_rpcent, test_rpc): Functions moved ...
6562         * sunrpc/test-rpcent.c: ... to this new file.
6563         * sunrpc/Makefile (tests): Add it.
6565         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6566         __xpg_sigpause.
6567         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6568         * nptl/tst-signal6.c: Likewise.
6569         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6570         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6572         * configure.ac (libc_cv_cxx_link_ok): New check.
6573         Reset CXX to empty if it fails to link.
6574         * configure: Regenerated.
6575         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6576         bug-atexit3-lib only if $(CXX) is nonempty.
6577         * nptl/Makefile (tests): Likewise for tst-cancel24.
6578         (tests, tests-static): Likewise for tst-cancel24-static.
6579         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6580         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6581         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6582         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6584 2015-03-04  Andreas Schwab  <schwab@suse.de>
6586         [BZ #17631]
6587         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6588         for non-GCC compilers.
6589         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6590         Likewise.
6592 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6594         [BZ #17776]
6595         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6596         integer before bitwise and assembly operations.
6597         (feclearexcept): Likewise.
6598         * math/test-fenvinline.c: New file.
6599         * math/Makefile: Add test-fenvinline test.
6601 2015-03-03  Alan Modra  <amodra@gmail.com>
6603         [BZ #16512]
6604         * scripts/localplt.awk: Strip off symbol version.
6605         * NEWS: Mention bug fix.
6607 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6609         * sysdeps/pthread/timer_routines.c
6610         (timer_free_list, thread_free_list, thread_active_list): Make static.
6612 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6614         [BZ #17779]
6615         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6616         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6617         Undefine.
6618         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6619         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6620         Likewise.
6621         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6622         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6623         Likewise.
6625 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6627         [BZ #18036]
6628         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6629         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6631 2015-03-02  Andreas Schwab  <schwab@suse.de>
6633         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6634         variable name.
6636 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6638         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6639         Return error status.
6641 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6643         [BZ #15969]
6644         * locale/findlocale.c (_nl_find_locale): Introduce const
6645         version of loc_name and drop unsafe type casts.
6647 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6649         * dlfcn/tststatic2.c (main): Converted to ...
6650         (do_test): ... this.
6651         (TEST_FUNCTION): New macro.
6652         Include test-skeleton.c.
6654 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6656         [BZ #17711]
6657         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6658         (tests-pie): Add vismain.
6659         (CFLAGS-vismain.c): New.
6660         * elf/vismain.c: Add comments for PIE requirement.
6662 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6664         [BZ #18046]
6665         [BZ #18047]
6666         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6667         0x1p-56L as threshold for just returning the argument.
6668         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6669         0x1p-32L as threshold for just returning the argument.
6670         * math/auto-libm-test-in: Add more tests of atanh.
6671         * math/auto-libm-test-out: Regenerated.
6672         * sysdeps/i386/fpu/libm-test-ulps: Update.
6673         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6675 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6677         * string/bcopy.c (bcopy): Call memmove for performance.
6679 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6681         * string/bzero.c (__bzero): Call memset for performance.
6683 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6685         [BZ #18068]
6686         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6687         to 00100000.
6689 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6691         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6693 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6695         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6696         (__kernel_standard): Use CSTR macro when setting exc.name.
6697         * sysdeps/ieee754/Makefile [$(subdir) = math]
6698         (CFLAGS-k_standard.c): Remove variable.
6700         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6701         setting p and q from "else if" to "else".
6702         (qzero): Likewise.
6703         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6704         (qone): Likewise.
6705         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6706         (qzerof): Likewise.
6707         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6708         (qonef): Likewise.
6709         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6710         (qzero): Likewise.
6711         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6712         (qone): Likewise.
6714         [BZ #18038]
6715         [BZ #18039]
6716         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6717         return pi/2 for arguments below 0x1p-113L.
6718         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6719         return pi/2 for arguments below 0x1p-106L.
6720         * math/auto-libm-test-in: Add more tests of acos.
6721         * math/auto-libm-test-out: Regenerated.
6723         [BZ #16351]
6724         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6725         (MO): New macro.
6726         (__ieee754_asin): Force underflow exception for results with small
6727         absolute value.
6728         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6729         (MO): New macro.
6730         (__ieee754_asinf): Force underflow exception for results with
6731         small absolute value.
6732         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6733         (__ieee754_asin): Force underflow exception for results with small
6734         absolute value.
6735         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6736         (__ieee754_asinf): Force underflow exception for results with
6737         small absolute value.
6738         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6739         (__ieee754_asinl): Force underflow exception for results with
6740         small absolute value.
6741         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6742         (__ieee754_asinl): Force underflow exception for results with
6743         small absolute value.
6744         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6745         (__ieee754_asinl): Force underflow exception for results with
6746         small absolute value.
6747         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6748         Include <math.h>.
6749         * math/auto-libm-test-in: Do not mark underflow exceptions as
6750         possibly missing for bug 16351.
6751         * math/auto-libm-test-out: Regenerated.
6753         [BZ #18030]
6754         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6755         of power of 2 down when low part has opposite sign.
6756         * math/libm-test.inc (logb_test_data): Add more tests.
6758 2015-02-26  Andreas Schwab  <schwab@suse.de>
6760         [BZ #18032]
6761         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6762         over collating symbol inside a bracket expression.  Minor cleanup.
6763         * posix/tst-fnmatch3.c (do_test): Add test case.
6765 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6767         [BZ #18029]
6768         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6769         Adjust exponent of power of 2 down when low part has opposite
6770         sign.
6771         * math/libm-test.inc (ilogb_test_data): Add more tests.
6773 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6775         [BZ #15969]
6776         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6777         the previous change.
6779         [BZ #15969]
6780         * locale/findlocale.c (_nl_find_locale): Retry archive search
6781         after alias expansion.
6783 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6785         * iconv/tst-iconv3.c (main): Converted to ...
6786         (do_test): ... this.
6787         (TEST_FUNCTION): New macro.
6788         Include test-skeleton.c.
6790         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6791         (convert): Make function static.
6792         (test_unalign): Likewise.  Add const to argument pointee types.
6793         (main): Replace with static function do_test.
6794         Print "Succeeded." only if RET is zero.
6795         (TEST_FUNCTION): New macro.
6796         Include test-skeleton.c.
6798         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6799         returns a null pointer.
6801 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6803         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6804         to __memcpy_ppc only for static builds.
6806 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6808         [BZ #18020]
6809         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6810         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6811         * math/auto-libm-test-in: Add more tests of asinh.
6812         * math/auto-libm-test-out: Regenerated.
6813         * sysdeps/i386/fpu/libm-test-ulps: Update.
6814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6816 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6818         [BZ #15850]
6819         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6820         and ip6_mtuinfo definitions here.
6821         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6822         in this define too.  Update comment.
6824 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6826         * elf/sprof.c (load_shobj): Tweak error message to match others.
6828 2015-02-24  Kevin Easton  <kevin@guarana.org>
6830         [BZ #16145] (partial fix)
6831         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6832         to reduce lock contention.
6834 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6836         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6837         (struct timex): Update time comment.
6838         (ADJ_SETOFFSET): Define.
6840 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6842         [BZ #18019]
6843         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6844         2**56 not 2**28 as threshold for log (2x) formula.
6845         * math/auto-libm-test-in: Add more tests of acosh.
6846         * math/auto-libm-test-out: Regenerated.
6847         * sysdeps/i386/fpu/libm-test-ulps: Update.
6848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6850 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6852         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6853         parenthesis around the buf assignment.
6854         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6856 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6858         [BZ #16783]
6859         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6860         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6861         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6862         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6863         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6864         * math/libm-test.inc (scalb_test_data): Add more tests.
6866 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6868         [BZ #17916]
6869         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6870         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6872 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6874         [BZ #17523]
6875         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6876         * io/bits/fcntl2.h (open): Use it.
6877         (openat): Likewise.
6878         * io/open.c (__libc_open): Likewise.
6879         * io/open64.c (__libc_open64): Likewise.
6880         * io/open64_2.c (__open64_2): Likewise.
6881         * io/open_2.c (__open_2): Likewise.
6882         * io/openat.c (__openat): Likewise.
6883         * io/openat64.c (__openat64): Likewise.
6884         * io/openat64_2.c (__openat64_2): Likewise.
6885         * io/openat_2.c (__openat_2): Likewise.
6886         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6887         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6888         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6889         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6890         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6891         (__open_nocancel): Likewise.
6892         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6893         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6894         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6896 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6898         [BZ #14841]
6899         * resolv/gethnamaddr.c (getanswer): Skip logging if
6900         RES_USE_DNSSEC is set.
6901         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6903 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6905         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6907 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6909         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6910         201304L, for Unicode 7.
6912 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6914         [BZ #17836]
6915         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6916         shared library.  Add gmon-start.os otherwise.
6917         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6918         $(objpfx)gmon-start.os if builing shared library.
6919         ($(objpfx)g$(static-start-installed-name)): Likewise.
6921 2015-02-23  Andreas Schwab  <schwab@suse.de>
6923         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6925 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6927         [BZ #17269]
6928         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6929         (enlarge_userbuf): Likewise.
6931 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6933         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6934         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6935         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6936         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6938 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6940         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6941         expression inside statement expression.
6943 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6945         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6946         <sysdeps/nptl/lowlevellock.h> and remove macros and
6947         functions that are now defined there.
6948         (SYS_futex): Remove.
6949         (lll_compare_and_swap): Remove.
6950         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6952 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6954         [BZ #17999]
6955         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6956         instead of scandirat.
6957         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6958         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6959         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6960         __scandirat.
6961         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6962         (__scandirat): Declare.  Use libc_hidden_proto.
6963         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6964         Remove variable.
6965         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6967 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6969         [BZ #15319]
6970         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6971         (MO): New macro.
6972         (__ieee754_atan2): For results with small absolute value, force
6973         underflow exception and remove excess range and precision from
6974         return value.
6975         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6976         (MO): New macro.
6977         (__ieee754_atan2f): For results with small absolute value, force
6978         underflow exception and remove excess range and precision from
6979         return value.
6980         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6981         (MO): New macro.
6982         (__atan): For results with small absolute value, force underflow
6983         exception and remove excess range and precision from return value.
6984         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6985         (MO): New macro.
6986         (__atanf): For results with small absolute value, force underflow
6987         exception and remove excess range and precision from return value.
6988         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6989         <math.h>.
6990         (__ieee754_atan2): Force underflow exception for results with
6991         small absolute value.
6992         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6993         <math_private.h>.
6994         (atan): Force underflow exception for results with small absolute
6995         value.
6996         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6997         (__atanf): Force underflow exception for results with small
6998         absolute value.
6999         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7000         <math.h>.
7001         (__atanl): Force underflow exception for results with small
7002         absolute value.
7003         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7004         (__atanl): Force underflow exception for results with small
7005         absolute value.
7006         * sysdeps/x86/fpu/bits/mathinline.h
7007         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7008         (__ieee754_atan2): Only define inline for long double.
7009         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7010         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7011         * math/auto-libm-test-in: Do not mark underflow exceptions as
7012         possibly missing for bug 15319.  Add more tests of atan2.
7013         * math/auto-libm-test-out: Regenerated.
7014         * math/libm-test.inc (casin_test_data): Do not mark underflow
7015         exceptions as possibly missing for bug 15319.
7016         (casinh_test_data): Likewise.
7017         * sysdeps/i386/fpu/libm-test-ulps: Update.
7019 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7021         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7022         * sysdeps/mips/bits/endian.h: Fix comments.
7024 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7026         [BZ #17996]
7027         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7028         (hdestroy_r): Likewise.
7029         (hsearch_r): Likewise.
7030         (__hcreate_r): Declare and use libc_hidden_proto.
7031         (__hdestroy_r): Likewise.
7032         (__hsearch_r): Likewise.
7033         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7034         (hcreate): Call __hcreate_r instead of hcreate_r.
7035         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7036         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7037         as weak alias of __hcreate_r.
7038         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7039         __hdestroy_r.
7040         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7041         __hsearch_r.
7042         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7043         Remove variable.
7044         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7045         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7046         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7047         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7049 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7051         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7052         arena_lock into a single arena_get.
7054 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7056         * dl-reloc.c: Inlucde libc-internal.h.
7057         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7058         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7059         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7060         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7061         (grow_heap): Likewise.
7062         * malloc/malloc.c: Include libc-internal.h.
7063         (do_check_malloc): Call powerof2.
7064         (sysmalloc): Use pagesize. Call ALIGN_UP.
7065         (systrim): Use pagesize.
7066         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7067         (__libc_valloc): Use pagesize.
7068         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7070 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7072         [BZ #17991]
7073         * include/sys/resource.h (__getrlimit64): Declare.  Use
7074         libc_hidden_proto.
7075         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7076         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7077         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7078         getrlimit64.
7079         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7080         __getrlimit64.
7081         [!getrlimit64] (getrlimit64): Define as weak alias of
7082         __getrlimit64.  Use libc_hidden_weak.
7083         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7084         using __getrlimit64 not __new_getrlimit64.
7085         (__GI_getrlimit64): Likewise.
7086         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7087         Likewise.
7088         (__GI_getrlimit64): Likewise.
7089         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7091         (getrlimit): Add __getrlimit64 alias.
7092         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7093         Likewise.
7094         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7095         Remove variable.
7096         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7097         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7099 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7101         * libio/fileops.c: Add missing sys/mman.h
7102         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7104 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7106         * manual/math.texi (Errors in Math Functions): Clarify goals
7107         regarding inexact and underflow exceptions.
7109 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7111         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7112         * sysdeps/mips/memset.S: Ditto.
7114 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7116         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7118 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7120         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7121         (__v1longjmp): Remove versioned symbol.
7122         (__v1siglongjmp): Remove alias and versioned symbol.
7123         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7124         (__v2siglongjmp): Likewise.
7126 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7128         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7130 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7132         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7134 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7136         [BZ #17987]
7137         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7138         zero result does not depend on the sign resulting from
7139         subtraction.
7140         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7141         Likewise.
7142         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7143         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7144         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7145         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7146         * math/libm-test.inc (remquo_test_data): Add more tests.
7148 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7150         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7151         Problem reported by J William Piggott.
7153 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7155         [BZ #17978]
7156         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7157         products 4 * y and 2 * y where those would overflow.
7158         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7159         Likewise.
7160         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7161         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7162         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7163         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7164         * math/libm-test.inc (remquo_test_data): Add more tests.
7166         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7168         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7169         [defined _COMPILING_NEWLIB].
7170         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7171         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7173         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7174         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7176 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7178         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7179         acquired.
7181 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7183         [BZ #17792]
7184         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7185         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7186         HOST_STACK_END_ADDR): Likewise.
7188 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7190         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7191         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7192         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7194 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7196         * sysdeps/generic/c++-types.data: New file.
7197         * sysdeps/generic/ld.abilist: New file.
7198         * sysdeps/generic/libBrokenLocale.abilist: New file.
7199         * sysdeps/generic/libanl.abilist: New file.
7200         * sysdeps/generic/libc.abilist: New file.
7201         * sysdeps/generic/libcrypt.abilist: New file.
7202         * sysdeps/generic/libdl.abilist: New file.
7203         * sysdeps/generic/libm.abilist: New file.
7204         * sysdeps/generic/libpthread.abilist: New file.
7205         * sysdeps/generic/libresolv.abilist: New file.
7206         * sysdeps/generic/librt.abilist: New file.
7208 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7210         [BZ #17569]
7211         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7212         Compute absolute value of x as modified by fmod, not original
7213         value of x.
7214         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7215         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7216         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7217         RUN_TEST_ffI_f1_mod8.
7218         (remquo_test_data): Add more tests.
7220 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7222         * sysdeps/init_array/pt-crti.S: New file.
7224 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7226         [BZ #17967]
7227         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7228         __builtin_fmaf instead of relying on contraction of a * b + c.
7230 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7232         [BZ #17969]
7233         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7234         node.
7236 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7238         [BZ #17964]
7239         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7240         __builtin_fma instead of relying on contraction of a * b + c.
7242 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7244         * Makeconfig (ASFLAGS): Add -Werror=undef.
7245         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7246         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7247         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7249         * Makeconfig (after-link): New variable.
7250         (+link-pie, +link-pie-tests): Use it.
7251         (+link-static, +link-static-tests): Likewise.
7252         (+link, +link-tests): Likewise.
7253         * Makerules (build-module, build-module-asneeded): Likewise.
7254         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7255         Likewise.
7256         * elf/Makefile ($(objpfx)ld.so): Likewise.
7258 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7260         [BZ #17965]
7261         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7262         both struct timeval and struct timespec.
7264 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7266         [BZ #16560]
7267         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7268         and redefine.
7269         (__ieee754_exp2l): Do not multiply small fractional parts by
7270         M_LN2l.
7271         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7272         small argument.
7273         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7274         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7275         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7276         * math/auto-libm-test-in: Add more tests of exp2.
7277         * math/auto-libm-test-out: Regenerated.
7279 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7281         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7282         unaligned path.
7284 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7286         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7287         little endian.
7289 2015-02-12  Andreas Schwab  <schwab@suse.de>
7291         [BZ #15790]
7292         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7293         Filter out elision flags from value returned in kind.
7294         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7295         * nptl/tst-pthread-mutexattr.c: New file.
7297 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7299         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7300         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7301         into gnu-gnu, and update comment to refer to abi-tags.
7303 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7305         [BZ #15467]
7306         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7307         (__sincos): Set errno to EDOM for infinite argument.
7308         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7309         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7310         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7311         (__sincosl): Set errno to EDOM for infinite argument.
7312         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7313         (__sincosl): Set errno to EDOM for infinite argument.
7314         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7315         (__sincosl): Set errno to EDOM for infinite argument.
7316         * math/libm-test.inc (sincos_test_data): Test errno setting.
7318 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7320         * string/strxfrm_l.c: Remove #define STRCMP.
7321         * string/strcoll_l.c: Remove #define STRLEN.
7322         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7323         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7325 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7327         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7328         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7329         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7330         * sysdeps/mips/mips64/Makefile: ... here.
7331         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7332         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7333         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7334         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7335         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7336         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7337         * sysdeps/mips/mips64/n64/Implies: Likewise.
7339 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7341         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7342         <sys/time.h>, <string.h>, and <errno.h>.
7343         (dest_offset, dest_address, value, zero): Remove unused variables.
7344         (ldouble): Remove typedef.
7345         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7346         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7347         1).  Fix code style.
7348         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7349         (check): Function removed.
7350         (CHECK): New macro.
7351         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7352         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7353         Don't call set_sigaction_FP and remove_sigaction_FP here.
7354         (ldouble_test): Just use 'long double' as macro argument, no need for
7355         the 'ldouble' typedef.
7356         (do_test): Set up SIGFPE handler at start, using plain signal rather
7357         than sigaction.  Fix code style.
7359 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7361         [BZ #17949]
7362         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7363         jump label.
7365 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7367         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7368         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7370         * sysdeps/powerpc/configure.ac: Remove file.
7371         * sysdeps/powerpc/configure: Likewise.
7373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7374         [sysdep_routines]: Remove wordcopy-power6 object.
7375         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7376         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7377         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7378         (__memmove_ppc32): Likewise.
7379         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7380         file.
7381         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7382         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7383         Remove preprocessor.
7385         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7386         [sysdep_routines]: Remove wide chars objects.
7387         [wcsmbs]: New rule for wide char objects.
7389         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7390         Remove wordcopy-power6 obejct.
7391         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7392         Use local call for wordcopy and memcpy symbols.
7393         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7394         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7395         implementation for loader.
7396         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7398         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7399         Remove wordcopy-power7 object.
7400         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7401         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7402         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7403         (_wordcopy_fwd_dest_aligned): Likewise.
7404         (_wordcopy_bwd_aligned): Likewise.
7405         (_wordcopy_bwd_dest_aligned): Likewise.
7407         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7408         Rewrite to call __memmove_ppc instead of include default
7409         implementation.
7411         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7412         Remove wide chars objects.
7413         [wcsmbs]: New rule for wide char objects.
7415 2015-02-09  Andreas Schwab  <schwab@suse.de>
7417         [BZ #17912]
7418         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7419         in terms of __O_DIRECTORY.
7421 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7423         * time/getdate.c: Include <stdbool.h>.
7424         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7425         call PTR_MANGLE.
7426         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7427         PTR_DEMANGLE.
7429 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7431         Add ersatz _Static_assert on older C hosts
7432         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7433         pre-C11 C platform that is not known to support _Static_assert.
7435 2015-02-07  Richard Braun  <rbraun@sceen.net>
7437         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7438         sigstate.
7439         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7441 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7443         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7444         priority against unexistent AIO_PRIO_DELTA_MAX.
7445         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7446         instead of int.
7447         * misc/fchflags.c (fchflags): Likewise.
7448         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7449         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7450         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7451         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7452         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7453         Declare macros.
7454         [__USE_MISC] (chflags, fchflags): Declare functions.
7455         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7456         EINVAL when nfds is greater than FD_SETSIZE.
7457         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7458         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7459         45.
7460         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7461         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7462         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7463         MACH_RCV_TIMED_OUT.
7464         * hurd/hurd/signal.h (_hurd_self_sigstate,
7465         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7466         Explicit casts from void *.
7467         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7468         * abi-tags: Rename gnu-gnu os into gnu.
7470         [BZ #4719]
7471         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7472         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7473         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7474         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7475         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7476         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7478         [BZ #17944]
7479         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7480         duplicates ADDR->sun_path with sockaddr LEN limitation.
7481         * sysdeps/mach/hurd/connect.c: Include <string.h>
7482         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7483         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7484         * sysdeps/mach/hurd/sendto.c: Likewise.
7485         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7486         implementing it by hand.
7488 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7490         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7491         Use sfi_breg on ldr.
7492         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7493         Likewise.
7495         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7496         it's defined.
7497         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7498         Test SIGSETXID only if it's defined.
7500         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7502         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7503         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7505         * nptl/tst-align2.c: Moved ...
7506         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7507         * nptl/Makefile (tests): Remove tst-align2.
7508         * sysdeps/unix/sysv/linux/Makefile
7509         [$(subdir) = nptl] (tests): Add tst-align-clone.
7510         * nptl/tst-getpid1.c: Moved ...
7511         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7512         * nptl/tst-getpid2.c: Moved ...
7513         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7514         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7515         * sysdeps/unix/sysv/linux/Makefile
7516         [$(subdir) = nptl] (tests): ... here.
7517         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7518         * sysdeps/unix/sysv/linux/Makefile
7519         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7521         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7522         Drop trailing \n from perror argument.  Use return rather than exit.
7524         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7525         on [SA_SIGINFO].
7526         * nptl/tst-cancel21.c (do_test): Likewise.
7527         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7528         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7529         [!SA_SIGINFO]: Make it a stub test.
7531         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7532         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7534         * posix/tst-getlogin.c: Move to ...
7535         * login/tst-getlogin.c: ... here.
7536         * posix/Makefile (tests): Move tst-getlogin to ...
7537         * login/Makefile (tests): ... here.
7539         * libio/tst-atime.c (do_test): Move local variables SV and E
7540         inside [ST_NOATIME] conditional.
7542         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7544         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7546         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7547         (wait_code): New function replaces macro.
7548         Call nanosleep rather than syscall.
7550         * nptl/pt-system.c: Rewritten.  Put everything under
7551         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7552         Use IFUNC to redirect when possible.
7554         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7555         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7556         Use IFUNC to redirect when possible.
7558         * nptl/pt-fork.c: Rewritten.  Put everything under
7559         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7560         Use IFUNC to redirect when possible.
7561         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7563         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7564         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7565         unconditionally nowadays.  This included the only reference to
7566         __vdso_clock_gettime that appears outside libc proper.
7567         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7568         Remove version set (containing only __vdso_clock_gettime).
7569         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7570         Add attribute_hidden.
7571         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7572         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7573         libc_hidden_data_def.
7574         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7575         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7577         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7578         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7579         setrpcent, and getrpcport to ...
7580         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7581         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7582         getrpcbynumber_r, and getrpcent_r to ...
7583         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7584         * inet/getrpcbyname.c: Moved ...
7585         * sunrpc/getrpcbyname.c: ... here.
7586         * inet/getrpcbyname_r.c: Moved ...
7587         * sunrpc/getrpcbyname_r.c: ... here.
7588         * inet/getrpcbynumber.c: Moved ...
7589         * sunrpc/getrpcbynumber.c: ... here.
7590         * inet/getrpcbynumber_r.c: Moved ...
7591         * sunrpc/getrpcbynumber_r.c: ... here.
7592         * inet/getrpcent.c: Moved ...
7593         * sunrpc/getrpcent.c: ... here.
7594         * inet/getrpcent_r.c: Moved ...
7595         * sunrpc/getrpcent_r.c: ... here.
7596         * inet/Makefile (routines): Move those to ...
7597         * sunrpc/Makefile (routines): ... here.
7598         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7599         the $(subdirs) list.
7600         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7601         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7602         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7603         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7605         * elf/Makefile (routines): Include $(all-dl-routines), not just
7606         $(dl-routines).
7607         (rtld-routines): Likewise.  Use = rather than :=.
7608         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7609         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7610         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7611         * sysdeps/arm/Makefile: Likewise.
7612         * sysdeps/i386/Makefile: Likewise.
7613         * sysdeps/x86_64/Makefile: Likewise.
7614         * sysdeps/hppa/Makefile [$(subdir) = elf]
7615         (sysdep_routines, sysdep-rtld-routines): Don't add
7616         $(sysdep-dl-routines) to these.
7617         * sysdeps/ia64/Makefile: Likewise.
7618         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7619         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7620         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7621         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7622         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7623         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7624         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7625         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7626         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7627         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7628         these; sysdep-dl-routines alone is enough.
7630 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7632         [BZ #17932]
7633         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7634         where multiplication results in zero and third argument is finite
7635         and nonzero.
7636         * math/auto-libm-test-in: Add more tests of fma.
7637         * math/auto-libm-test-out: Regenerated.
7639         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7640         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7641         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7642         (_FP_CMP_EQ): Likewise.
7643         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7645         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7646         extra argument CHECK_NAN.  Redefine as wrapper around
7647         _FP_EXTEND_CNAN.
7649 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7651         * version.h (RELEASE): Set to "stable".
7652         (VERSION): Set to "2.21"
7653         * include/features.h (__GLIBC_MINOR__): Set to 21.
7655         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7657 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7658             Paul Eggert  <eggert@cs.ucla.edu>
7660         [BZ #16618]
7661         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7662         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7663         size in bytes. Store needed elements in wpmax. Use needed size
7664         in bytes for extend_alloca.
7666 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7668         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7669         binutls 2.25, and texinfo 5.2.
7670         * INSTALL: Regenerate.
7671         * sysdeps/nios2/configure: Regenerate.
7672         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7673         * manual/contrib.texi: Update.
7674         * po/be.po: Update.
7675         * po/bg.po: Update.
7676         * po/ca.po: Update.
7677         * po/cs.po: Update.
7678         * po/da.po: Update.
7679         * po/de.po: Update.
7680         * po/el.po: Update.
7681         * po/eo.po: Update.
7682         * po/es.po: Update.
7683         * po/fi.po: Update.
7684         * po/fr.po: Update.
7685         * po/gl.po: Update.
7686         * po/hr.po: Update.
7687         * po/hu.po: Update.
7688         * po/ia.po: Update.
7689         * po/id.po: Update.
7690         * po/it.po: Update.
7691         * po/ja.po: Update.
7692         * po/ko.po: Update.
7693         * po/lt.po: Update.
7694         * po/nb.po: Update.
7695         * po/nl.po: Update.
7696         * po/pl.po: Update.
7697         * po/pt_BR.po: Update.
7698         * po/ru.po: Update.
7699         * po/rw.po: Update.
7700         * po/sk.po: Update.
7701         * po/sl.po: Update.
7702         * po/sv.po: Update.
7703         * po/tr.po: Update.
7704         * po/uk.po: Update.
7705         * po/vi.po: Update.
7706         * po/zh_CN.po: Update.
7707         * po/zh_TW.po: Update.
7709         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7710         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7711         * sysdeps/hppa/dl-irel.h: Remove #warning.
7712         * sysdeps/hppa/entry.h: Provide prototype for
7713         __canonicalize_funcptr_for_compare and cast argument.
7714         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7715         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7716         * sysdeps/hppa/sotruss-lib.c: New file.
7717         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7718         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7719         (atomic_compare_and_exchange_bool_acq): Likewise.
7720         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7721         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7723         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7724         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7725         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7727 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7729         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7730         called function in non-PIC case.
7732 2015-01-31  David S. Miller  <davem@davemloft.net>
7734         * sysdeps/sparc/sparc32/bits/atomic.h
7735         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7736         unlock not after it.
7737         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7738         volatile register usage warnings from the compiler.
7740         * sysdeps/sparc/nptl/sem_init.c: Delete.
7741         * sysdeps/sparc/nptl/sem_post.c: Delete.
7742         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7743         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7744         * sysdeps/sparc/sparc32/sem_init.c: New file.
7745         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7746         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7747         padding explicitly initialized.
7748         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7749         padding for in-semaphore spinlock.
7750         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7751         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7752         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7753         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7754         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7755         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7756         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7757         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7758         version.
7759         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7760         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7762 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7764         [BZ #17801]
7765         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7766         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7767         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7768         New.
7769         (index_AVX_Fast_Unaligned_Load): Likewise.
7770         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7771         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7772         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7773         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7774         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7775         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7776         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7777         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7778         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7780 2015-01-29  Andreas Schwab  <schwab@suse.de>
7782         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7784 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7786         [BZ #17892]
7787         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7789 2015-01-28  Martin Sebor  <msebor@redhat.com>
7791         * math/README.libm-test: Clarify. Add "How to read the test output."
7793 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7795         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7796         Define to 0.
7798 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7800         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7801         (__HAVE_64B_ATOMICS): Define to 0.
7803 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7805         [BZ #17885]
7806         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7807         value to set as new flag.
7809         [BZ #16576]
7810         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7811         and use _ARCH_PPCSQ instead.
7812         (__ieee754_sqrt): Likewise.
7813         (__ieee754_sqrtf): Likewise.
7814         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7815         _ARCH_PPCSQ is defined.
7816         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7817         fsqrt instruction.
7818         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7819         _ARCH_PPCSQ is defined.
7820         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7821         fsqrts instruction.
7822         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7824 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7826         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7827         bug (GCC BZ #64739).
7829 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7831         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7832         Mark _retval as used.
7833         (lll_futex_wake_unlock): Likewise.
7834         (lll_futex_timed_wait_requeue_pi): Likewise.
7836         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7837         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7838         register variables.
7840         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7841         libm_hidden_def.
7843         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7844         (__bswap_64): Mark as __always_inline.
7846 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7848         [BZ #15378]
7849         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7850         when none of the search directories exist.
7852 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7854         [BZ #17869]
7855         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7856         power8 in .machine directive.
7858         [BZ #17868]
7859         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7860         set dependency from opd value.
7862 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7865         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7866         architecture.
7868 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7870         [BZ #17870]
7871         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7872         with uint64_t.
7873         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7874         (uint64_t) 1.
7875         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7876         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7877         Replace 1UL with (uint64_t) 1.
7878         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7879         int with uint64_t.
7881 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7883         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7884         (if_freenameindex): Likewise.
7886         * resource/getrlimit64.c: Add missing libc_hidden_def.
7888 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7890         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7891         __label__.
7892         (_FP_FMA): Likewise.
7893         (_FP_TO_INT_ROUND): Likewise.
7894         (_FP_FROM_INT): Likewise.
7896 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7898         [BZ #16418]
7899         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7900         Make code racy and cancel safe.
7902 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7904         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7905         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7906         attribution.
7908         * pwd/tst-getpw.c: Rewrite.
7910         [BZ #17702]
7911         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7912         (modules-names): Add moddummy1 and moddummy2.
7913         ($(objpfx)tst-rec-dlopen): Define.
7914         * dlfcn/moddummy1.c: New file.
7915         * dlfcn/moddummy2.c: New file.
7916         * dlfcn/tst-rec-dlopen.c: New file.
7917         * elf/dl-cache.c (_dl_load_cache_lookup):
7918         Return char*. Copy result with alloca/strcpy/strdup.
7919         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7920         returns char*. Free cached. If not saving realname
7921         free cached.
7922         * elf/dl-open.c (dl_open_worker): Do not assert that
7923         _r_debug->r_state is RT_CONSISTENT.
7924         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7925         returns char*.
7927 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7928             Carlos O'Donell  <carlos@redhat.com>
7930         [BZ #12674]
7931         * nptl/sem_waitcommon.c: New file.
7932         * nptl/sem_wait.c: Include sem_waitcommon.c.
7933         (__sem_wait_cleanup, do_futex_wait): Remove.
7934         (__new_sem_wait): Adapt.
7935         (__new_sem_trywait): New function.
7936         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7937         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7938         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7939         (sem_timedwait): Adapt.
7940         * nptl/sem_post.c (__new_sem_post): Adapt.
7941         (futex_wake): New function.
7942         (__old_sem_post): Add release MO fence.
7943         * nptl/sem_open.c (sem_open): Adapt.
7944         * nptl/sem_init.c (__new_sem_init): Adapt.
7945         (futex_private_if_supported): New function.
7946         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7947         (__old_sem_getvalue): Add using previous code.
7948         * sysdeps/nptl/internaltypes.h: Adapt.
7949         * nptl/tst-sem13.c (do_test): Adapt.
7950         * nptl/tst-sem11.c (main): Adapt.
7951         * nptl/sem_trywait.c: Remove.
7952         * nptl/DESIGN-sem.txt: Remove.
7953         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7954         (gen-as-const-headers): Remove structsem.sym.
7955         * nptl/structsem.sym: Remove.
7956         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7957         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7958         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7959         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7960         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7961         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7962         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7963         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7964         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7965         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7966         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7967         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7968         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7969         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7970         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7971         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7972         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7973         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7974         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7975         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7976         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7977         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7979 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7981         * INSTALL: Regenerated.
7983         * po/libc.pot: Regenerated.
7985 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7986             Sandra Loosemore  <sandra@codesourcery.com>
7987             Andrew Jenner  <andrew@codesourcery.com>
7988             Joseph Myers  <joseph@codesourcery.com>
7989             Nathan Sidwell  <nathan@codesourcery.com>
7991         * NEWS: Mention new Nios II port.
7992         * sysdeps/nios2/Implies: New file.
7993         * sysdeps/nios2/Makefile: New file.
7994         * sysdeps/nios2/Subdirs: New file.
7995         * sysdeps/nios2/Versions: New file.
7996         * sysdeps/nios2/__longjmp.S: New file.
7997         * sysdeps/nios2/abort-instr.h: New file.
7998         * sysdeps/nios2/backtrace.c: New file.
7999         * sysdeps/nios2/bits/endian.h: New file.
8000         * sysdeps/nios2/bits/fenv.h: New file.
8001         * sysdeps/nios2/bits/link.h: New file.
8002         * sysdeps/nios2/bits/setjmp.h: New file.
8003         * sysdeps/nios2/bsd-_setjmp.S: New file.
8004         * sysdeps/nios2/bsd-setjmp.S: New file.
8005         * sysdeps/nios2/configure: New generated file.
8006         * sysdeps/nios2/configure.ac: New file.
8007         * sysdeps/nios2/crti.S: New file.
8008         * sysdeps/nios2/crtn.S: New file.
8009         * sysdeps/nios2/dl-init.c: New file.
8010         * sysdeps/nios2/dl-machine.h: New file.
8011         * sysdeps/nios2/dl-sysdep.h: New file.
8012         * sysdeps/nios2/dl-tls.h: New file.
8013         * sysdeps/nios2/dl-trampoline.S: New file.
8014         * sysdeps/nios2/gccframe.h: New file.
8015         * sysdeps/nios2/gmp-mparam.h: New file.
8016         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8017         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8018         * sysdeps/nios2/ldsodefs.h: New file.
8019         * sysdeps/nios2/libc-tls.c: New file.
8020         * sysdeps/nios2/libm-test-ulps: New file.
8021         * sysdeps/nios2/machine-gmon.h: New file.
8022         * sysdeps/nios2/math-tests.h: New file.
8023         * sysdeps/nios2/math_private.h: New file.
8024         * sysdeps/nios2/memusage.h: New file.
8025         * sysdeps/nios2/nptl/Makefile: New file.
8026         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8027         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8028         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8029         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8030         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8031         * sysdeps/nios2/nptl/tls.h: New file.
8032         * sysdeps/nios2/preconfigure: New file.
8033         * sysdeps/nios2/s_fma.c: New file.
8034         * sysdeps/nios2/s_fmaf.c: New file.
8035         * sysdeps/nios2/setjmp.S: New file.
8036         * sysdeps/nios2/sfp-machine.h: New file.
8037         * sysdeps/nios2/sotruss-lib.c: New file.
8038         * sysdeps/nios2/stackguard-macros.h: New file.
8039         * sysdeps/nios2/stackinfo.h: New file.
8040         * sysdeps/nios2/start.S: New file.
8041         * sysdeps/nios2/sysdep.h: New file.
8042         * sysdeps/nios2/tls-macros.h: New file.
8043         * sysdeps/nios2/tst-audit.h: New file.
8044         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8045         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8046         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8047         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8048         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8049         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8050         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8051         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8052         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8053         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8054         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8055         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8056         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8057         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8058         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8059         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8060         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8061         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8062         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8063         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8064         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8065         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8066         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8067         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8068         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8069         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8070         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8071         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8072         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8073         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8074         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8075         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8076         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8077         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8078         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8079         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8080         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8081         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8082         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8083         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8084         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8085         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8086         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8087         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8089 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8091         [BZ #17844]
8092         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8093         (getutent): Use weak_alias in non SHARED case
8094         and default_symbol_version in SHARED case.
8095         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8096         (getutent_r, pututline): Likewise.
8097         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8098         (getutid): Likewise.
8099         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8100         (getutid_r): Likewise.
8101         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8102         (getutline): Likewise.
8103         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8104         (getutline_r): Likewise.
8105         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8106         (updwtmp): Likewise.
8108 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8110         [BZ #17848]
8111         * sysdeps/s390/s390-32/memcmp.S
8112         (memcmp_g5): Rename to __memcmp_g5.
8113         * sysdeps/s390/s390-32/memcpy.S
8114         (memcpy_g5): Rename to __memcpy_g5.
8115         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8116         (memcpy_mvcle) Rename to __memcpy_mvcle.
8117         * sysdeps/s390/s390-32/memset.S
8118         (memset_g5): Rename to __memset_g5.
8119         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8120         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8121         and use prefixed functions.
8122         * sysdeps/s390/s390-32/multiarch/memcmp.S
8123         (memcmp_z196): Rename to __memcmp_z196.
8124         (memcmp_z10): Rename to __memcmp_z10.
8125         (memcmp): Set alias to __memcmp_g5.
8126         (bcmp): Set alias to __memcmp_g5.
8127         * sysdeps/s390/s390-32/multiarch/memcpy.S
8128         (memcpy_z196): Rename to __memcpy_z196.
8129         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8130         (memcpy_z10): Rename to __memcpy_z10.
8131         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8132         (memcpy): Set alias to __memcpy_g5.
8133         * sysdeps/s390/s390-32/multiarch/memset.S
8134         (memset_z196): Rename to __memset_z196.
8135         Jump to __memset_mvcle instead of memset_mvcle.
8136         (memset_z10): Rename to __memset_z10.
8137         Jump to __memset_mvcle instead of memset_mvcle.
8138         (memset_mvcle) Rename to __memset_mvcle.
8139         (memset): Set alias to __memset_g5.
8140         * sysdeps/s390/s390-64/memcmp.S
8141         (memcmp_z900): Rename to __memcmp_z900.
8142         * sysdeps/s390/s390-64/memcpy.S
8143         (memcpy_z900): Rename to __memcpy_z900.
8144         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8145         (memcpy_mvcle) Rename to __memcpy_mvcle.
8146         * sysdeps/s390/s390-64/memset.S
8147         (memset_z900): Rename to __memset_z900.
8148         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8149         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8150         and use prefixed functions.
8151         * sysdeps/s390/s390-64/multiarch/memcmp.S
8152         (memcmp_z196): Rename to __memcmp_z196.
8153         (memcmp_z10): Rename to __memcmp_z10.
8154         (memcmp): Set alias to __memcmp_z900.
8155         (bcmp): Set alias to __memcmp_z900.
8156         * sysdeps/s390/s390-64/multiarch/memcpy.S
8157         (memcpy_z196): Rename to __memcpy_z196.
8158         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8159         (memcpy_z10): Rename to __memcpy_z10.
8160         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8161         (memcpy): Set alias to __memcpy_z900.
8162         * sysdeps/s390/s390-64/multiarch/memset.S
8163         (memset_z196): Rename to __memset_z196.
8164         Jump to __memset_mvcle instead of memset_mvcle.
8165         (memset_z10): Rename to __memset_z10.
8166         Jump to __memset_mvcle instead of memset_mvcle.
8167         (memset_mvcle) Rename to __memset_mvcle.
8168         (memset): Set alias to __memset_z900.
8170 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8172         [BZ #17748]
8173         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8174         __fesetenv instead of fesetenv.
8176 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8178         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8179         macro.
8181 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8183         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8184         regression on LE.
8186         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8187         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8188         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8189         strncmp-power8 object.
8190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8191         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8192         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8193         * NEWS: Update.
8195 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8196             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8198         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8199         trailing byte check.
8201 2015-01-13  David S. Miller  <davem@davemloft.net>
8203         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8205 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8207         * login/logout.c (logout): Use memset rather than bzero.
8208         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8209         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8210         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8211         (_gethtbyaddr): Likewise.
8212         * locale/programs/simple-hash.c (bcopy): Macro removed.
8214 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8216         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8217         Add strcmp-power8 object.
8218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8219         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8220         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8221         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8222         __strcmp_power8 implementation.
8223         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8224         * NEWS: Update.
8226         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8227         Add strncpy-power8 and stpncpy-power8 objects.
8228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8229         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8230         implementations.
8231         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8232         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8233         __stpncpy_power8 implementation.
8234         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8235         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8236         __strncpy_power8 implementation.
8237         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8238         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8239         * NEWS: Update.
8241         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8242         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8243         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8245         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8246         strncat-power8 object.
8247         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8248         __strcat_power8 implementation.
8249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8250         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8251         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8252         optimized strcat for power8.
8254         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8255         strcpy-power8 and stpcpy-power8 objects.
8256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8257         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8258         implementations.
8259         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8260         multiarch stpcpy implementation for POWER8.
8261         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8262         multiarch strcpy implementation for POWER8.
8263         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8264         __strcpy_power8 function.
8265         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8266         stpcpy for POWER8.
8267         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8268         strcpy for POWER8.
8269         * NEWS: Update.
8271 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8273         [BZ #16009]
8274         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8275         weights and rules. Use do_xfrm_cached if data fits in cache,
8276         do_xfrm otherwise.  Moved former main loop to...
8277         * (do_xfrm_cached): New function.
8278         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8279         find_idx, find_position and stack_push.
8280         * (find_idx): New function.
8281         * (find_position): Likewise.
8282         * localedata/sort-test.sh: Added test run for do_xfrm.
8283         * localedata/xfrm-test.c (main): Added command line option
8284         -nocache to run the test with strings that are too large for
8285         the STRXFRM cache.
8287 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8289         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8290         variable to lll_futex_wake call, not the value itself.
8292 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8294         [BZ #17803]
8295         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8296         twom64.  Adjust value to 0x1p-64L.
8297         (__scalblnl): Only return standard underflowing result for K <=
8298         -64 not K <= -63; adjust exponent for underflowing result by 64
8299         not 63.
8300         * math/libm-test.inc (scalbn_test_data): Add more tests.
8301         (scalbln_test_data): Likewise.
8303         [BZ #17834]
8304         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8305         0x1p63L.
8306         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8307         not HX.
8308         * math/libm-test.inc (scalbn_test_data): Add more tests.
8309         (scalbln_test_data): Likewise.
8311 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8312             Stefani Seibold  <stefani@seibold.net>
8314         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8315         (sysdep_routines): Add dl-vdso here, ...
8316         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8317         (sysdep_routines): ... not here.
8318         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8319         fallback when vDSO is not presented.
8320         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8321         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8322         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8323         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8324         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8325         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8326         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8327         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8328         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8329         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8330         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8331         fallback configurable symbol when vDSO is not available.
8332         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8333         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8334         be able to redefine fallback symbol when vDSO is not available.
8335         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8336         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8338 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8340         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8341         (TLS_INIT_TP): Add tm_capable initialization.
8342         (TLS_DEFINE_INIT_TP): Likewise.
8343         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8344         TCB.
8345         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8346         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8347         calculation.
8348         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8349         transactoion is lock elision is built and TCB tm_capable is set.
8350         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8352         (INTERNAL_SYSCALL_NCS): Likewise.
8353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8354         (INTERNAL_SYSCALL_NCS): Likewise.
8355         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8357         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8358         for powerpc.
8359         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8360         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8361         and remove it for 32 bits case.
8362         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8363         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8364         initialization.
8365         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8366         Disable lock elision with rdlocks if elision is not available.
8368         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8369         (sysdep_routines): Add lock elision objects.
8370         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8371         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8372         [pthread_mutex_t] (__elision): Add field.
8373         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8374         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8375         elision definitions for powerpc.
8376         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8377         implementation of lock elision for powerpc.
8378         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8379         implementation of timed lock elision for powerpc.
8380         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8381         implementation of trylock with lock elision for powerpc.
8382         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8383         implementaion of unlock for lock elision for powerpc.
8384         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8385         automatic enable lock elision for mutexes.
8386         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8387         transaction execution definitions for powerpc.
8388         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8389         definitions.
8390         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8391         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8392         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8393         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8394         * NEWS: Update.
8396 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8398         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8399         for #include of <shm-directory.h>.
8401 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8403         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8404         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8406 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8408         [BZ #17791]
8409         * NEWS: Mention bug fix.
8410         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8411         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8412         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8414 2015-01-09  Torvald Riegel <triegel@redhat.com>
8416         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8418 2015-01-09  Torvald Riegel <triegel@redhat.com>
8420         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8422 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8424         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8425         pointer and cast to uintptr_t.
8427 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8429         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8430         removed.
8431         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8433 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8435         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8436         of 0.
8438 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8440         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8441         <nptl/pthreadP.h> instead.
8442         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8444         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8445         already defined.
8446         [__SIGRTMIN] (init): Function removed.
8447         [__SIGRTMIN] (initialized): Variable removed.
8448         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8449         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8450         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8451         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8452         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8453         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8454         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8455         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8456         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8457         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8458         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8459         * sysdeps/nptl/allocrtsig.c: New file.
8460         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8461         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8462         * sysdeps/generic/testrtsig.h: File removed.
8464         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8465         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8467         * nptl/nptl-init.c (pthread_functions): Conditionalize
8468         .ptr__nptl_setxid initialization on [SIGSETXID].
8470         * sysdeps/nptl/sys/procfs.h: New file.
8471         * nptl_db/Makefile (headers): Add it.
8472         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8474         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8475         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8476         * nptl/pthread_attr_setaffinity.c: Include it.
8477         * nptl/pthread_setattr_default_np.c: Likewise.
8478         * nptl/check-cpuset.h: New file.
8480 2015-01-08  Richard Henderson  <rth@redhat.com>
8482         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8483         (CFLAGS-tst-execstack-prog.c): Likewise.
8484         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8486 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8487             Sandra Loosemore  <sandra@codesourcery.com>
8488             Andrew Jenner  <andrew@codesourcery.com>
8489             Joseph Myers  <joseph@codesourcery.com>
8490             Nathan Sidwell  <nathan@codesourcery.com>
8492         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8493         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8494         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8495         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8496         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8497         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8498         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8499         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8500         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8501         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8502         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8503         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8504         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8505         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8506         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8507         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8508         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8510 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8512         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8513         timespec struct member in syscall macro.
8514         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8515         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8516         first timeval struct member in syscall macro.
8517         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8519 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8521         [BZ #17748]
8522         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8523         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8524         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8525         __feupdateenv and define as weak alias of __feupdateenv.  Use
8526         libm_hidden_weak.
8527         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8528         libm_hidden_def.
8529         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8530         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8531         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8532         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8533         libm_hidden_def.
8534         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8535         __feupdateenv and define as weak alias of __feupdateenv.  Use
8536         libm_hidden_weak.
8537         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8538         libm_hidden_def.
8539         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8540         __feupdateenv and define as weak alias of __feupdateenv.  Use
8541         libm_hidden_weak.
8542         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8543         libm_hidden_def.
8544         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8545         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8546         (__feupdateenv): Likewise.
8547         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8548         __feupdateenv and define as weak alias of __feupdateenv.  Use
8549         libm_hidden_weak.
8550         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8551         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8552         libm_hidden_def.
8553         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8554         function.
8555         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8556         libm_hidden_def.
8557         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8558         __feupdateenv instead of feupdateenv.
8559         (default_libc_feupdateenv_test): Likewise.
8560         (libc_feresetround_ctx): Likewise.
8562 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8564         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8565         prototype.
8567 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8569         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8570         COLL_SYM in a couple of places to avoid uninitialized variable
8571         wanings on tilegx gcc 4.8.2.
8573 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8575         * sysdeps/aarch64/strcpy.S: New file.
8576         * sysdeps/aarch64/stpcpy.S: New file.
8577         * NEWS: Updated.
8579 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8581         * sysdeps/aarch64/strrchr.S: New file.
8582         * NEWS: Updated.
8584 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8586         [BZ #17658]
8587         * stdlib/setenv.c: Fix memory leak when setting large,
8588         duplicate string.
8590 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8592         [BZ #17273]
8593         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8594         and tabs from buffer before parsing fstab entry.
8595         * misc/tst-mntent.c (main): Add test for mount entry with
8596         trailing spaces and tabs.
8598 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8600         [BZ #17748]
8601         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8602         * math/fesetround.c (fesetround): Rename to __fesetround and
8603         define as weak alias of __fesetround.  Use libm_hidden_weak.
8604         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8605         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8606         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8607         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8608         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8609         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8610         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8611         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8612         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8613         __fesetround_inline.
8614         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8615         __fesetround_inline instead of __fesetround.
8616         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8617         __fesetround and define as weak alias of __fesetround.  Use
8618         libm_hidden_weak.  Call __fesetround_inline instead of
8619         __fesetround.
8620         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8621         __fesetround and define as weak alias of __fesetround.  Use
8622         libm_hidden_weak.
8623         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8624         Likewise.
8625         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8626         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8627         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8628         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8629         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8630         __fesetround and define as weak alias of __fesetround.  Use
8631         libm_hidden_weak.
8632         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8633         __fesetround instead of fesetround.
8634         (default_libc_feholdexcept_setround): Likewise.
8635         (libc_feholdsetround_ctx): Likewise.
8636         (libc_feholdsetround_noex_ctx): Likewise.
8638         [BZ #17748]
8639         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8640         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8641         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8642         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8643         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8644         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8645         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8646         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8647         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8648         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8649         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8650         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8651         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8652         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8653         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8654         libm_hidden_def.
8655         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8656         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8657         Likewise.
8658         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8659         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8660         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8661         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8662         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8663         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8664         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8665         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8666         __fesetenv instead of fesetenv.
8667         (libc_feresetround_noex_ctx): Likewise.
8668         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8669         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8670         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8671         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8672         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8673         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8674         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8675         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8676         (__feupdateenv): Likewise.
8677         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8678         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8679         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8680         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8682 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8684         [BZ #17806]
8685         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8686         addresses have been freed.
8688 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8690         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8691         and nservall.
8693 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8695         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8696         Clean up check_pf allocation pattern. addresses
8698 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8700         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8701         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8702         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8703         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8704         * nptl/pthread_join.c (pthread_join): Likewise.
8705         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8706         * sysdeps/posix/waitid.c (__waitid): Likewise.
8707         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8708         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8709         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8710         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8711         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8712         Likewise.
8713         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8714         (__libc_pread64): Likewise.
8715         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8716         (__libc_pwrite): Likewise.
8717         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8718         (__libc_pwrite64): Likewsie.
8719         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8720         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8721         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8722         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8723         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8724         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8725         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8727         Likewise.
8728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8729         (__libc_pread64): Likewise.
8730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8731         Likewise.
8732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8733         (__libc_pwrite64): Likewise.
8734         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8735         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8736         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8737         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8738         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8739         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8740         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8741         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8742         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8743         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8744         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8745         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8746         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8747         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8748         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8749         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8750         Likewise.
8752 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8754         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8755         (CFLAGS-test-double.c): Likewise.
8756         (CFLAGS-test-ldouble.c): Likewise.
8757         (CPPFLAGS-test-ifloat.c): Likewise.
8758         (CPPFLAGS-test-idouble.c): Likewise.
8759         (CPPFLAGS-test-ildoubl.c): Likewise.
8760         (CFLAGS-test-test-fenv.c): Remove variable.
8761         (CFLAGS-test-misc.c): Likewise.
8763 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8765         [BZ #17797]
8766         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8767         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8768         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8769         CLOCKS_PER_SEC == 1000000.
8770         * time/clocktest.c (main): Replace %ld with %jd and cast to
8771         intmax_t.
8773 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8775         * sysdeps/generic/unwind-resume.h: New file.
8776         * sysdeps/gnu/unwind-resume.c: Include it.
8777         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8778         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8779         argument list.
8780         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8781         global rather than static.
8782         (_Unwind_Resume): Update user.
8783         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8784         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8785         rather than static.  Add __attribute__ ((cold)).
8786         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8787         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8788         * sysdeps/arm/arm-unwind-resume.S: New file.
8789         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8790         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8791         * sysdeps/arm/Makefile [$(subdir) = csu]
8792         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8793         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8794         Add rt-arm-unwind-resume.
8795         [$(subdir) = nptl]
8796         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8797         Add pt-arm-unwind-resume.
8798         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8799         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8801 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8803         [BZ #17748]
8804         * include/fenv.h (__feholdexcept): Declare.  Use
8805         libm_hidden_proto.
8806         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8807         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8808         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8809         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8810         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8811         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8812         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8813         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8814         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8815         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8816         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8817         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8818         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8819         (feholdexcept): Likewise.
8820         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8821         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8822         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8823         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8824         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8825         __feholdexcept instead of feholdexcept.
8826         (default_libc_feholdexcept_setround): Likewise.
8828 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8830         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8831         to avoid using stl/str to align destination.
8833 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8835         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8837 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8839         [BZ #17796]
8840         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8841         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8842         Define as weak alias not strong alias.
8844 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8846         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8847         bltzal with addiupc.
8848         (RTLD_START): Ditto.
8850 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8852         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8853         for __vdso_* functions in declarations.
8854         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8855         definitions.
8856         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8857         INTERNAL_VSYSCALL): Use struct return types to check for error.
8859         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8860         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8861         function with cast from llround().
8862         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8863         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8864         Define.
8866 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8868         [BZ #17793]
8869         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8870         Define as weak alias not strong alias.
8872         [BZ #17635]
8873         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8874         ...
8875         * ctype/ctype-extn.c: ... here.
8876         (__isblank_l): Move to ...
8877         * ctype/ctype-c99_l.c: ... here.  New file.
8878         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8879         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8880         Remove variable.
8881         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8882         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8883         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8884         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8885         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8887         [BZ #17777]
8888         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8889         (posix_fadvise64): Define as weak alias not strong alias.
8890         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8891         (posix_fallocate64): Likewise.
8892         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8893         Remove variable.
8894         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8895         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8896         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8897         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8898         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8900 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8902         [BZ #16191]
8903         * NEWS: Mention bug fix.
8904         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8905         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8906         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8907         (HOST_STACK_END_ADDR): Likewise.
8909 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8911         [BZ #17748]
8912         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8913         * math/fegetround.c (fegetround): Rename to __fegetround and
8914         define as weak alias of __fegetround.  Use libm_hidden_weak.
8915         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8916         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8917         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8918         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8919         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8920         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8921         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8922         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8923         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8924         Undefine after rather than before function definition; use
8925         parentheses around function name in definition.
8926         (__fegetround): Also undefine macro after function definition.
8927         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8928         __fegetround and define as weak alias of __fegetround.  Use
8929         libm_hidden_weak.  Do not undefine as macro.
8930         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8931         Likewise.
8932         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8933         __fegetround and define as weak alias of __fegetround.  Use
8934         libm_hidden_weak.
8935         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8936         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8937         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8938         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8939         __fegetround and define as weak alias of __fegetround.  Use
8940         libm_hidden_weak.
8941         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8942         __fegetround instead of fegetround.
8944         [BZ #17782]
8945         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8946         Condition macro definition on [__USE_MISC].
8948         [BZ #17781]
8949         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8950         (struct sigaction): Change type of sa_flags field to int.
8952         [BZ #17780]
8953         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8954         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8955         __glibc_reserved0.
8957         * nptl/version.c (banner): Use single year in copyright notice.
8959         * NEWS: Update copyright dates.
8960         * catgets/gencat.c (print_version): Likewise.
8961         * csu/version.c (banner): Likewise.
8962         * debug/catchsegv.sh: Likewise.
8963         * debug/pcprofiledump.c (print_version): Likewise.
8964         * debug/xtrace.sh (do_version): Likewise.
8965         * elf/ldconfig.c (print_version): Likewise.
8966         * elf/ldd.bash.in: Likewise.
8967         * elf/pldd.c (print_version): Likewise.
8968         * elf/sotruss.sh: Likewise.
8969         * elf/sprof.c (print_version): Likewise.
8970         * iconv/iconv_prog.c (print_version): Likewise.
8971         * iconv/iconvconfig.c (print_version): Likewise.
8972         * locale/programs/locale.c (print_version): Likewise.
8973         * locale/programs/localedef.c (print_version): Likewise.
8974         * login/programs/pt_chown.c (print_version): Likewise.
8975         * malloc/memusage.sh (do_version): Likewise.
8976         * malloc/memusagestat.c (print_version): Likewise.
8977         * malloc/mtrace.pl: Likewise.
8978         * manual/libc.texinfo: Likewise.
8979         * nptl/version.c (banner): Likewise.
8980         * nscd/nscd.c (print_version): Likewise.
8981         * nss/getent.c (print_version): Likewise.
8982         * nss/makedb.c (print_version): Likewise.
8983         * posix/getconf.c (main): Likewise.
8984         * scripts/test-installation.pl: Likewise.
8985         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8987 2015-01-02  Will Newton  <will.newton@linaro.org>
8989         * sysdeps/arm/armv7/configure: Removed.
8990         * sysdeps/arm/armv7/configure.ac: Likewise.
8992 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8994         * All files with FSF copyright notices: Update copyright dates
8995         using scripts/update-copyrights.
8996         * intl/plural.c: Regenerated.
8997         * locale/programs/charmap-kw.h: Likewise.
8998         * locale/programs/locfile-kw.h: Likewise.
9000 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9002         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9004 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9006         [BZ #17748]
9007         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9008         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9009         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9010         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9011         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9012         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9013         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9014         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9015         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9016         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9017         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9018         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9019         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9020         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9021         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9022         libm_hidden_def.
9023         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9024         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9025         Likewise.
9026         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9027         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9028         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9029         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9030         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9031         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9032         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9033         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9034         __fegetenv instead of fegetenv.
9035         (libc_feholdsetround_noex_ctx): Likewise.
9037 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9039         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9040         (Elf_MIPS_ABIFlags_v0): New structure.
9041         (EF_MIPS_FP64): Define.
9042         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9043         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9044         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9045         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9046         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9047         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9048         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9049         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9050         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9051         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9052         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9053         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9054         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9055         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9056         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9057         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9058         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9059         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9060         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9061         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9062         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9063         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9064         field.
9065         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9066         EF_MIPS_FP64.
9067         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9068         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9069         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9070         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9071         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9072         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9073         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9074         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9075         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9076         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9077         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9078         record the current FP ABI extension.
9079         (mips-mode-switch): Define to show if kernel headers support mode
9080         switching.
9081         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9082         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9083         supported SYSV ABI version to 3.
9084         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9085         feature.
9087 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9088             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9090         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9091         path.
9092         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9094 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9096         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9097         __fegetround and redefine to call __fegetround.  Remove condition
9098         on [!__NO_MATH_INLINES].
9099         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9100         function.
9101         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9102         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9103         Remove macro.
9104         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9105         instead of <fenv_libc.h>.
9106         (__llrintl): Call fegetround instead of __fegetround.
9107         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9108         instead of <fenv_libc.h>.
9109         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9110         (__lrintl): Call fegetround instead of __fegetround.
9111         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9112         instead of <fenv_libc.h>.
9113         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9114         (__rintl): Call fegetround instead of __fegetround.
9116 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9118         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9119         arrays.
9121 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9123         [BZ #17775]
9124         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9125         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9126         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9128 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9130         * sysdeps/i386/tls-macros.h: Include <features.h>.
9131         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9132         (TLS_IE): Likewise.
9133         (TLS_LD): Likewise.
9134         (TLS_GD): Likewise.
9135         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9136         define for GCC >= 5.0.
9138 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9140         * math/test-fenv.c (test_single_exception, set_single_exc,
9141         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9142         feexcp_mask_test, feenable_test, fe_single_test): Add
9143         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9144         case where they are not used.
9145         * math/libm-test.inc: Likewise.
9146         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9147         unused in the absence of FP rounding/exception support.
9148         * stdio-common/tst-printf-round.c: Likewise.
9149         * stdlib/tst-strtod-round.c: Likewise.
9150         * stdlib/tst-strtod-underflow.c: Likewise.
9152 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9154         [BZ #17723]
9155         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9156         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9157         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9158         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9159         libm_hidden_weak.
9160         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9161         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9162         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9163         libm_hidden_def.
9164         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9165         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9166         libm_hidden_weak.
9167         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9168         Likewise.
9169         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9170         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9171         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9172         libm_hidden_weak.
9173         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9174         libm_hidden_def.
9175         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9176         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9177         (__feraiseexcept): Likewise.
9178         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9179         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9180         libm_hidden_weak.
9181         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9182         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9183         libm_hidden_def.
9184         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9185         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9186         Use libm_hidden_def.
9187         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9188         libm_hidden_def.
9189         (feraiseexcept): Define as weak not strong alias.  Use
9190         libm_hidden_weak.
9191         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9192         New inline function.  Factored out of ...
9193         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9194         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9195         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9196         feraiseexcept.
9197         * math/w_acos.c (__acos): Likewise.
9198         * math/w_asin.c (__asin): Likewise.
9199         * math/w_ilogb.c (__ilogb): Likewise.
9200         * math/w_j0.c (y0): Likewise.
9201         * math/w_j1.c (y1): Likewise.
9202         * math/w_jn.c (yn): Likewise.
9203         * math/w_log.c (__log): Likewise.
9204         * math/w_log10.c (__log10): Likewise.
9205         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9206         * sysdeps/aarch64/fpu/math_private.h
9207         (libc_feupdateenv_test_aarch64): Likewise.
9208         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9209         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9210         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9211         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9212         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9213         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9214         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9215         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9216         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9217         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9219 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9221         [BZ #17732]
9222         * io/test-utime.c (main): Replace %ld with %jd and cast to
9223         intmax_t.
9224         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9225         * nptl/tst-mutex5.c: Include <stdint.h>.
9226         (do_test): Replace %ld with %jd and cast to intmax_t.
9227         * posix/tst-regex.c (run_test): Likewise.
9228         (run_test_backwards): Likewise.
9229         * rt/tst-clock.c: Include <stdint.h>.
9230         (clock_test): Replace %ld with %jd and cast to intmax_t.
9231         * rt/tst-cpuclock1.c: Include <stdint.h>.
9232         (do_test): Replace %lu with %ju and cast to uintmax_t.
9233         * rt/tst-cpuclock2.c: Include <stdint.h>.
9234         (do_test): Replace %lu with %ju and cast to uintmax_t.
9235         * rt/tst-mqueue1.c: Include <stdint.h>.
9236         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9237         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9238         intmax_t.
9239         * rt/tst-mqueue4.c (do_test): Likewise.
9240         * rt/tst-timer4.c: Include <stdint.h>.
9241         (check_ts): Replace %ld with %jd and cast to intmax_t.
9242         (do_test): Likewise.
9243         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9244         and cast to intmax_t.
9245         * sysdeps/pthread/tst-timer.c (main): Likewise.
9246         * time/clocktest.c (main): Likewise.
9247         * time/tst-posixtz.c (do_test): Likewise.
9248         * timezone/tst-timezone.c (main): Likewise.
9250 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9251             H.J. Lu  <hongjiu.lu@intel.com>
9253         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9254         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9255         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9256         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9257         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9258         version if bit_Fast_Unaligned_Load is set.
9259         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9260         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9261         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9262         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9263         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9264         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9265         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9266         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9267         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9268         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9269         to 4.
9270         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9271         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9272         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9273         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9275 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9277         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9278         instead of #if to avoid a Wundef warning.
9279         * stdlib/tst-limits.c (do_test): Likewise.
9281         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9282         parallel other exception macros.
9283         (fegetenv): Convert from macro to extern inline so that it applies
9284         retroactively to inline functions already seen by the compiler.
9285         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9287         * posix/Makefile (before-compile): Use $(objpfx) for
9288         posix-conf-vars-def.h.
9290 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9292         * posix/getconf.c (main): Use size_t for type of I.
9293         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9294         NSPEC.
9296         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9297         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9298         * posix/posix-envs.def: Likewise.
9299         * sysdeps/posix/sysconf.c: Likewise.
9300         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9301         (specs): Remove array.
9302         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9303         array.
9305         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9306         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9307         (__sysconf): Use CONF_IS_* macros.
9309         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9310         ($(objpfx)posix-conf-vars-def.h): New target.
9311         * posix/posix-conf-vars.list: New file.
9312         * posix/posix-conf-vars.h: New file.
9313         * posix/confstr.c: Include posix-conf-vars.h.
9314         (confstr): Use CONF_IS_* macros.
9315         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9316         CONF_IS_* macros.
9317         * scripts/gen-posix-conf-vars.awk: New file.
9319 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9321         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9322         fegetround): Add no-op macros to avoid linknamespace issues.
9324         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9325         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9327         * sysdeps/unix/sysv/linux/tile/sysdep.h
9328         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9329         assembly-specific section to avoid a redefinition warning.
9331         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9332         long before casting to pointer to avoid a cast warning.
9334 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9336         * sysdeps/tile/tilegx/Implies: New file.
9338 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9340         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9342 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9344         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9346 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9348         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9349         not define.
9350         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9351         <kernel-features.h>.
9352         (__utimes) [__NR_utimes]: Make code unconditional.
9353         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9354         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9355         (__ASSUME_UTIMES): Do not undefine.
9356         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9357         (__ASSUME_UTIMES): Likewise.
9358         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9359         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9360         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9361         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9363 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9365         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9367 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9369         [BZ #17747]
9370         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9371         alias to weak alias for j0l, y0l.
9372         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9373         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9375         [BZ #17746]
9376         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9377         conversion.
9379 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9381         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9382         to zero if not already defined.
9384 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9386         [BZ #17724]
9387         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9388         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9389         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9390         (char *) casts added.
9391         * sysdeps/ieee754/k_standardf.c: New file.
9392         * sysdeps/ieee754/k_standardl.c: Likewise.
9393         * math/Makefile (libm-support): Remove k_standard.
9394         (libm-calls): Add k_standard.
9396 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9398         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9399         Optimize to avoid an unnecessary FPCR read.
9401 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9403         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9404         Optimize to reduce FPCR/FPSR accesses.
9406 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9408         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9409         Call libc_fetestexcept_aarch64.
9411 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9413         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9414         Call libc_fesetround_aarch64.
9416 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9418         [BZ #17733]
9419         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9420         (__bind): Do not define as weak alias.
9421         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9422         define.
9423         (__getsockname): Do not define as weak alias.
9425 2014-12-22  Will Newton  <will.newton@linaro.org>
9427         * manual/install.texi: Document that we require bison 2.7
9428         or above.
9429         * INSTALL: Regenerate.
9430         * configure.ac: Use AC_CHECK_PROG_VER instead of
9431         AC_PATH_PROG when checking for bison and check for
9432         version 2.7 or above.
9433         * configure: Regenerate.
9435 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9437         [BZ #17745]
9438         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9439         * sysdeps/tile/ffsll.c (ffsll): To here.
9441         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9443 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9445         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9446         if not defined.
9447         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9448         definition.
9449         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9450         hidden ___tls_get_addr.
9451         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9452         hidden __tls_get_addr.
9453         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9454         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9455         Likewise.
9457 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9459         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9460         _dl_init call.
9462 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9464         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9465         from "call _dl_init@PLT".
9466         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9468 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9470         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9471         guarantees.
9473 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9475         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9477 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9479         [BZ #17744]
9480         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9481         strnlen.
9483 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9485         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9486         of multu on MIPSr6.
9487         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9488         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9489         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9490         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9491         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9493 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9495         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9496         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9497         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9498         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9499         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9500         mips32r6/mips64r6.
9501         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9503 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9505         * string/strncat.c (STRNCAT): Simplify implementation.
9507 2014-12-19  David S. Miller  <davem@davemloft.net>
9509         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9510         access the quad as both a long double and as a series of 4 words.
9512         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9513         link_map->l_info array access.
9515 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9517         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9519         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9520         * math/atest-exp2.c (TIMEOUT): Likewise.
9521         * math/atest-sincos.c (TIMEOUT): Likewise.
9523 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9525         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9526         -Wno-error with -fno-builtin-lround.
9528 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9530         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9531         Contains futex constants and functions moved over from ...
9532         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9533         <lowlevellock-futex.h>.
9534         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9535         (lll_timedwait_tid): Add comments and parentheses around macro
9536         arguments.
9538 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9540         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9541         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9542         (__lll_private_flag): Remove.
9543         (lll_futex_wait): Likewise.
9544         (lll_futex_timed_wait): Likewise.
9545         (lll_futex_wake): Likewise.
9546         (lll_futex_requeue): Likewise.
9547         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9548         (__lll_timedwait_tid): Spell out argument names.
9549         (lll_timedwait_tid): Add comments and parentheses around macro
9550         arguments.
9551         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9552         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9554 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9556         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9557         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9558         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9559         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9560         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9561         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9562         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9563         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9564         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9565         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9566         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9567         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9568         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9569         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9570         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9571         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9572         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9573         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9574         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9576 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9578         * sysdeps/x86_64/x32/Makefile: New file.
9580 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9582         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9583         1L with (mp_limb_t) 1.
9585 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9587         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9588         * nptl/libc_pthread_init.c: ... here.
9589         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9590         * nptl/register-atfork.c: ... here.
9592         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9593         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9594         Use assert_perror to check its return value.
9595         (__gai_create_helper_thread): Likewise.
9597         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9599         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9601 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9603         [BZ #17725]
9604         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9605         __profil_counter.
9606         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9607         Likewise.
9608         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9609         Likewise.
9610         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9611         Likewise.
9612         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9613         (profil_counter): Likewise.
9614         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9615         (profil_counter): Likewise.
9616         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9617         Likewise.
9618         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9619         Likewise.
9620         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9621         (profil_counter): Likewise.
9622         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9623         Likewise.
9624         [!__profil_counter] (profil_counter): Define as weak alias of
9625         __profil_counter.
9626         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9627         (profil_counter): Rename to __profil_counter.
9628         [!__profil_counter] (profil_counter): Define as weak alias of
9629         __profil_counter.
9630         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9631         (profil_counter): Rename to __profil_counter.
9632         [!__profil_counter] (profil_counter): Define as weak alias of
9633         __profil_counter.
9634         * sysdeps/posix/profil.c: Update comment referring to
9635         profil_counter.
9636         (__profil): Use __profil_counter instead of profil_counter.
9637         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9638         __profil_counter.  Use __profil_counter_ushort and
9639         __profil_counter_uint in definitions.
9640         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9641         instead of profil_counter_uint and profil_counter_ushort.
9643         [BZ #17722]
9644         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9645         define as weak alias of __inet_makeaddr.
9646         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9647         as weak alias of __inet_addr.
9648         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9649         as weak alias of __inet_pton.  Use libc_hidden_weak.
9650         * include/arpa/inet.h (__inet_pton): Declare.  Use
9651         libc_hidden_proto.
9652         (inet_makeaddr): Don't use libc_hidden_proto.
9653         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9654         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9655         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9656         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9657         Remove variable.
9658         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9659         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9661 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9663         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9665 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9667         * stdio-common/bug-vfprintf-nargs.c (do_test):
9668         Cast value to intptr_t to avoid format warning
9669         for usage with PRIdPTR printing macro.
9671 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9673         * libio/tst-widetext.c (do_test):
9674         Use format type %td instead of %Zd for ptrdiff_t
9675         in order to avoid format warning.
9677 2014-12-17  Andreas Schwab  <schwab@suse.de>
9679         * nscd/mem.c (gc): Add size_t cast to match printf format.
9681 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9683         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9684         (init): Apply PTR_MANGLE to pointers before storing them.
9685         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9686         before using them.
9688 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9690         [BZ #17719]
9691         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9692         define as weak alias of __memrchr.
9693         (__memrchr): Do not define as strong alias of memrchr.
9694         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9695         Remove variable.
9696         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9697         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9698         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9700         [BZ #17717]
9701         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9702         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9703         (if_indextoname): Rename to __if_indextoname and define as weak
9704         alias of __if_indextoname.  Use libc_hidden_weak.
9705         (if_freenameindex): Rename to __if_freenameindex and define as
9706         weak alias of __if_freenameindex.
9707         (if_nameindex): Rename to __if_nameindex and define as weak alias
9708         of __if_nameindex.
9709         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9710         __if_nametoindex and define as weak alias of __if_nametoindex.
9711         Use libc_hidden_weak.
9712         (if_freenameindex): Rename to __if_freenameindex and define as
9713         weak alias of __if_freenameindex.
9714         (if_nameindex): Rename to __if_nameindex and define as weak alias
9715         of __if_nameindex.
9716         (if_indextoname): Rename to __if_indextoname and define as weak
9717         alias of __if_indextoname.  Use libc_hidden_weak.
9718         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9719         __if_nametoindex and define as weak alias of __if_nametoindex.
9720         Use libc_hidden_weak.
9721         (if_freenameindex): Rename to __if_freenameindex and define as
9722         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9723         (if_nameindex_netlink): Use __if_freenameindex instead of
9724         if_freenameindex.
9725         (if_nameindex): Rename to __if_nameindex and define as weak alias
9726         of __if_nameindex.  Use libc_hidden_weak.
9727         (if_indextoname): Rename to __if_indextoname and define as weak
9728         alias of __if_indextoname.  Use libc_hidden_weak.
9729         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9730         libc_hidden_proto.
9731         [!_ISOMAC] (__if_freenameindex): Likewise.
9732         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9733         if_nametoindex.
9734         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9735         variable.
9736         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9737         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9738         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9739         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9740         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9741         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9742         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9744         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9745         Remove variable.
9746         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9747         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9749 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9751         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9752         subscript above bounds'
9754         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9755         bounds.
9757 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9759         * libio/tst-fopenloc.c: Use test-skeleton.c.
9761         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9762         (entry): Rename to ITEM.
9763         (do_test, comp): Adjust.
9765         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9767 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9769         * string/tester.c: Include <libc-internal.h>.
9770         (test_memset): Ignore -Wmemset-transposed-args.
9772 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9774         * misc/tst-mntent2.c (do_test): Fix warning.
9776 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9778         * elf/tst-unique4lib.cc(a): Mark as used.
9780 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9782         [BZ #17630]
9783         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9784         names.
9786 2014-12-16  Allan McRae  <allan@archlinux.org>
9788         * stdio-common/Makefile (tests): Re-add bug26.
9790 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9792         [BZ #17657]
9793         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9794         static array.
9796 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9798         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9799         (__lll_lock_wait): Likewise.
9800         (__lll_timedlock_wait): Likewise.
9801         (__lll_timedwait_tid): Likewise.
9802         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9803         (__lll_robust_timedlock_wait): Likewise.
9804         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9805         (lll_cond_trylock): Likewise.
9806         (__lll_lock): Likewise.
9807         (__lll_robust_lock): Likewise.
9808         (__lll_cond_lock): Likewise.
9809         (lll_robust_cond_lock): Likewise.
9810         (__lll_timedlock): Likewise.
9811         (__lll_robust_timedlock): Likewise.
9812         (__lll_unlock): Likewise.
9813         (__lll_robust_unlock): Likewise.
9814         (lll_wait_tid): Likewise.
9815         (lll_timedwait_tid): Likewise.
9817 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9819         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9821 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9823         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9825 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9827         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9828         * stdio-common/tst-sprintf.c: Likewise.
9830 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9832         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9834 2014-12-15  Jeff Law  <law@redhat.com>
9836         [BZ #16617]
9837         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9838         on the heap.  (CVE-2012-3406)
9839         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9840         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9841         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9843 2014-12-15  Will Newton  <will.newton@linaro.org>
9845         * manual/install.texi: Bump required version of texinfo
9846         to 4.7 from 4.5.
9847         * INSTALL: Regenerated.
9848         * configure.ac: Check for makeinfo version 4.7 and above.
9849         * configure: Regenerated.
9851 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9853         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9854         PREFIX, string constant to insert between directory and name.
9855         * sysdeps/posix/shm_open.c: Update caller.
9856         * sysdeps/posix/shm_unlink.c: Likewise.
9857         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9858         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9859         (SEM_SHM_PREFIX): New macro.
9860         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9861         [$(have-thread-library) = no].
9862         * nptl/Makefile (libpthread-routines): Add shm-directory.
9863         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9864         * sysdeps/nptl/shm-directory.h: New file.
9865         * sysdeps/posix/shm-directory.c
9866         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9867         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9868         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9869         INTERNAL_SYSCALL.
9870         (__where_is_shmfs): Function removed.
9871         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9872         Variables removed.
9873         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9874         Use SHM_GET_NAME.
9875         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9877         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9878         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9879         unconditional for use inside libpthread.
9880         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9882 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9884         * nptl/pthread_getaffinity.c: New file.
9885         * nptl/pthread_setaffinity.c: New file.
9886         * nptl/pthread_getname.c: New file.
9887         * nptl/pthread_setname.c: New file.
9889         * nptl/pthread_create.c (START_THREAD_DEFN)
9890         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9892 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9893             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9895         * resolv/res_send.c (send_vc): Disable warning resplen may
9896         be used uninitialized.
9898 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9900         * nptl/tst-mutex6.c
9901         (ATTR_NULL): New define checks ATTR against NULL.
9902         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9903         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9905 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9907         [BZ #17581]
9908         * malloc/hooks.c
9909         (mem2mem_check): Revert my previous change.
9910         (malloc_check_get_size): Revert my previous change.
9911         (mem2chunk_check): Revert my previous change.
9913 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9915         * sysdeps/posix/shm-directory.c: New file.
9916         * sysdeps/posix/shm-directory.h: New file.
9917         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9918         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9919         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9920         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9921         Transmute EPERM to EACCES.
9922         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9923         from ...
9924         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9925         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9927 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9929         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9930         pointer and cast to uintptr_t.
9931         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9932         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9933         Add cast to avoid warning.
9934         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9936 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9938         * nptl/semaphore.h: Move to ...
9939         * sysdeps/pthread/semaphore.h: ... here.
9940         * Makefile (installed-headers): Change nptl/semaphore.h to
9941         sysdeps/pthread/semaphore.h.
9943 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9945         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9946         generated error format strings.
9948         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9949         -Wformat-extra-args warnings for scanf formats.
9950         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9951         test of zero-length format (duh).
9952         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9953         corner-case scanf format test.
9954         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9955         generated fprintf format string.
9956         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9957         corner-case sprintf format tests.
9958         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9959         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9960         -Wformat-extra-args warnings throughout.
9961         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9962         (CFLAGS-scanf4.c): Likewise.
9963         (CFLAGS-scanf7.c): Likewise.
9964         (CFLAGS-tst-sprintf.c): Likewise.
9965         (CFLAGS-tst-printf.c): Likewise.
9966         (CFLAGS-tst-printfsz.c): Likewise.
9968 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9970         * include/cpio.h: New file.
9971         * include/fmtmsg.h: Likewise.
9973         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9974         corresponding format argument to size_t.
9975         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9976         arguments.
9977         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9978         corresponding format argument to size_t.
9979         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9980         arguments.
9981         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9982         corresponding format argument to size_t.
9983         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9984         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9985         (CFLAGS-tst-mbswcs2.c): Likewise.
9986         (CFLAGS-tst-mbswcs3.c): Likewise.
9987         (CFLAGS-tst-mbswcs4.c): Likewise.
9988         (CFLAGS-tst-mbswcs5.c): Likewise.
9989         (CFLAGS-tst-trans.c): Likewise
9991 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9993         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9994         rather than assuming they won't contain any '%'s.
9996 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9998         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9999         inhibit_loop_to_libcall to avoid recursive calls.
10000         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10001         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10003 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10005         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10006         prototype.
10008 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10010         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10011         integer value instead of boolean.
10013 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10015         * malloc/malloc.c: Fix powerof2 check.
10017 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10019         * locale/programs/locfile.h (maybe_swap_uint32):
10020         Remove inline and add unused attribute.
10022 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10024         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10025         Truncating assembler expression to a .long expression.
10027 2014-12-11  Andreas Schwab  <schwab@suse.de>
10029         * elf/rtld.c (struct map_args): Constify str member.
10030         (do_preload): Constify fname argument.
10032 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10034         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10035         constants definition.
10037 2014-12-11  Andreas Schwab  <schwab@suse.de>
10039         [BZ #16657]
10040         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10041         FORCE_ELISION instead of DO_ELISION.
10042         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10043         Remove.
10044         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10045         Likewise.
10047         * iconvdata/gconv-modules: Remove duplicate entry.
10049 2014-12-11  Will Newton  <will.newton@linaro.org>
10051         Merge gettext 0.19.3 into intl/.
10053         This involves a number of cosmetic changes to comments
10054         and ANSI function definitions and prototypes throughout
10055         all the files. The gettext copyright header is used but
10056         with the date ranges taken from the glibc copy.
10058         * NEWS: Add gettext merge to 2.21.
10059         * intl/bindtextdom.c: Switch to gettext copyright.
10060         Use ANSI definitions and prototypes.
10061         Use gl_* locking primitives rather than __libc_* ones.
10062         Use __builtin_expect rather than __glibc_likely/unlikely.
10063         * intl/dcgettext.c: Switch to gettext copyright.
10064         Use ANSI definitions and prototypes.
10065         * intl/dcigettext.c: Switch to gettext copyright.
10066         Use ANSI definitions and prototypes.
10067         (INTDIV0_RAISES_SIGFPE): New define.
10068         Use gl_* locking primitives rather than __libc_* ones.
10069         Include eval-plural.h instead of plural-eval.c.
10070         Use __builtin_expect rather than __glibc_likely/unlikely.
10071         * intl/dcngettext.c: Switch to gettext copyright.
10072         Use ANSI definitions and prototypes.
10073         * intl/dgettext.c: Likewise.
10074         * intl/dngettext.c: Likewise.
10075         * intl/plural-eval.c: Renamed to...
10076         * intl/eval-plural.h: ...this.
10077         * intl/explodename.c: Switch to gettext copyright.
10078         Use ANSI definitions and prototypes.
10079         (_nl_explode_name): Use strchr instead of __rawmemchr.
10080         * intl/finddomain.c: Switch to gettext copyright.
10081         Use ANSI definitions and prototypes.
10082         Use gl_* locking primitives rather than __libc_* ones.
10083         (_nl_find_domain): Use malloc rather than alloca for
10084         allocation of temporary locale name.
10085         * intl/gettext.c: Switch to gettext copyright.
10086         Use ANSI definitions and prototypes.
10087         * intl/gettextP.h: Switch to gettext copyright.
10088         Use ANSI definitions and prototypes.
10089         Use gl_* locking primitives rather than __libc_* ones.
10090         * intl/gmo.h: Switch to gettext copyright.
10091         (struct sysdep_string): Move struct segment_pair outside of
10092         struct definition.
10093         * intl/hash-string.c: Use ANSI definitions and prototypes.
10094         * intl/hash-string.h: Switch to gettext copyright.
10095         Use ANSI definitions and prototypes.
10096         * intl/l10nflist.c: Switch to gettext copyright.
10097         Use ANSI definitions and prototypes.
10098         (_nl_normalize_codeset): Avoid integer overflow.
10099         * intl/loadinfo.h: Switch to gettext copyright.
10100         Use ANSI definitions and prototypes.
10101         (LIBINTL_DLL_EXPORTED): New define.
10102         (PATH_SEPARATOR): New define.
10103         * intl/loadmsgcat.c: Switch to gettext copyright.
10104         * intl/localealias.c: Switch to gettext copyright.
10105         Use ANSI definitions and prototypes.
10106         (_nl_expand_alias): Use PATH_SEPARATOR.
10107         * intl/ngettext.c: Switch to gettext copyright.
10108         Use ANSI definitions and prototypes.
10109         * intl/plural-exp.c: Likewise.
10110         * intl/plural-exp.h: Switch to gettext copyright.
10111         Use ANSI definitions and prototypes.
10112         (struct expression): Move definition of enum operator outside
10113         of struct definition.
10114         * intl/plural.c: Regenerate.
10115         * intl/plural.y: Switch to gettext copyright.
10116         Use ANSI definitions and prototypes.
10117         Port to bison 3.0.
10118         * intl/textdomain.c: Switch to gettext copyright.
10119         Use ANSI definitions and prototypes.
10120         Use gl_* locking primitives rather than __libc_* ones.
10122 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10124         * debug/warning-nop.c: Add used atrribute.
10126 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10128         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10130         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10131         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10132         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10134 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10135             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10137         [BZ #17634]
10138         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10139         Undefine after defining function.  Define as weak alias of
10140         __wcschr.  Use libc_hidden_weak.
10141         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10142         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10143         (libc_hidden_def): Also define __GI___wcschr alias.
10144         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10145         __wcschr and define as weak alias of __wcschr.
10146         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10147         __wcschr.
10148         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10149         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10150         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10151         libc_hidden_weak.  Do not use libc_hidden_def.
10152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10153         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10154         __GI___wcschr alias.
10155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10156         [IS_IN (libc)] (wcschr): Define as macro expanding to
10157         __redirect_wcschr.
10158         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10159         [IS_IN (libc)] (__wcschr_power6): Likewise.
10160         [IS_IN (libc)] (__wcschr_power7): Likewise.
10161         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10162         instead of wcschr.
10163         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10164         __libc_wcschr.
10165         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10166         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10167         __wcschr and define as weak alias of __wcschr.  Use
10168         libc_hidden_builtin_def.
10169         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10170         as weak alias of __wcschr.  Use libc_hidden_weak.
10171         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10172         wcschr.
10173         * time/era.c (_nl_init_era_entries): Likewise.
10174         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10175         variable.
10176         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10177         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10179 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10181         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10182         format for long int variable.
10184 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10186         [BZ #10672]
10187         * manual/search.texi: (Array Sort Function): Remove claim how to make
10188         qsort stable.
10190 2014-12-10  Andreas Schwab  <schwab@suse.de>
10192         [BZ #12847]
10193         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10194         user-controlled locks.
10196 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10198         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10199         register.
10201 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10203         * configure.ac (--disable-werror): New configure option.
10204         (enable_werror): New AC_SUBST.
10205         * configure: Regenerated.
10206         * config.make.in (enable-werror): New variable.
10207         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10208         -Wno-error=undef.
10209         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10210         * manual/install.texi (Configuring and compiling): Document
10211         --disable-werror.
10212         * INSTALL: Regenerated.
10213         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10214         (CFLAGS-tst-chk2.c): Likewise.
10215         (CFLAGS-tst-chk3.c): Likewise.
10216         (CFLAGS-tst-chk4.cc): Likewise.
10217         (CFLAGS-tst-chk5.cc): Likewise.
10218         (CFLAGS-tst-chk6.cc): Likewise.
10219         (CFLAGS-tst-lfschk1.c): Likewise.
10220         (CFLAGS-tst-lfschk2.c): Likewise.
10221         (CFLAGS-tst-lfschk3.c): Likewise.
10222         (CFLAGS-tst-lfschk4.cc): Likewise.
10223         (CFLAGS-tst-lfschk5.cc): Likewise.
10224         (CFLAGS-tst-lfschk6.cc): Likewise.
10226         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10227         (main): Disable -Wdeprecated-declarations around calls to
10228         register_printf_function.
10230         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10231         (do_test): Disable -Wdiv-by-zero around some calls to
10232         fwrite_unlocked and fread_unlocked.
10234         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10235         (DIAG_POP_NEEDS_COMMENT): Likewise.
10236         (_DIAG_STR1): Likewise.
10237         (_DIAG_STR): Likewise.
10238         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10239         * stdio-common/bug21.c: Include <libc-internal.h>.
10240         (do_test): Disable -Wformat around call to sscanf.
10241         * stdio-common/scanf14.c: Include <libc-internal.h>.
10242         (main): Disable -Wformat around some calls to scanf functions.
10244 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10246         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10248 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10250         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10251         stack variable alignment.
10253 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10255         [BZ #17682]
10256         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10257         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10258         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10259         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10260         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10261         __getrlimit instead of getrlimit.
10262         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10263         __gettimeofday instead of gettimeofday.
10264         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10265         Likewise.
10266         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10267         Likewise.
10268         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10269         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10270         Remove variable.
10271         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10272         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10274 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10276         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10277         for wide-character tests.
10279 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10281         * io/openat64.c: #include <libc-internal.h>
10282         (__openat64): Prototypify.  Use ignore_value on MODE.
10283         * io/openat.c: Likewise.
10284         * misc/reboot.c: #include <libc-internal.h>
10285         (reboot): Prototypify.  Use ignore_value on HOWTO.
10286         * misc/ptrace.c: #include <libc-internal.h>
10287         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10289 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10291         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10292         XPG4, UNIX98 and XOPEN2K.
10293         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10294         Remove variable.
10295         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10297 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10299         * libio/fileops.c: Use ISO C style for function definitions.
10300         * libio/iofopen.c: Likewise.
10301         * libio/wfileops.c: Likewise.
10303         [BZ #17653]
10304         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10305         offset on EOF.
10306         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10307         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10308         (fgets_func): Function pointer to fgets and fgetws.
10309         (do_ftell_test): Add test to verify ftell value after read
10310         EOF.
10311         (do_test): Set fgets_func.
10313         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10314         O_TRUNC flag for w and w+ modes.
10315         (do_rewind_test): Likewise.
10316         (do_ftell_test): Likewise.
10317         (do_write_test): Likewise.
10319         [BZ #17647]
10320         * libio/fileops.c (do_ftell): Seek only when there are
10321         unflushed writes.
10322         * libio/wfileops.c (do_ftell_wide): Likewise.
10323         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10324         test case.
10325         (do_one_test): Call it.
10327 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10329         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10330         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10331         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10332         Remove variable.
10333         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10334         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10335         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10337 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10339         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10340         Remove variable.
10341         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10343         [BZ #17668]
10344         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10345         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10346         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10347         __freeifaddrs.  Use libc_hidden_weak.
10348         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10349         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10350         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10351         __freeifaddrs.  Use libc_hidden_weak.
10352         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10353         __getifaddrs and define as weak alias of __getifaddrs.  Use
10354         libc_hidden_weak.
10355         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10356         __freeifaddrs.  Use libc_hidden_weak.
10357         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10358         Remove variable.
10359         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10360         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10362 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10364         [BZ #17601]
10365         * sysdeps/mips/start.S (__start): Use indirect jump to call
10366         __libc_start_main.
10368 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10370         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10372         * nptl/tst-mutex1.c: Include <stdbool.h>.
10373         [!ATTR] (ATTR_NULL): New macro.
10374         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10375         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10376         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10378         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10379         to char *.
10381         [BZ #17665]
10382         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10383         Change conditional to [__USE_MISC].
10385         [BZ #17664]
10386         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10387         fgets_unlocked.
10388         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10389         __fgets_unlocked.
10390         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10391         fgets_unlocked.
10392         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10393         Remove variable.
10394         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10395         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10396         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10397         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10398         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10399         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10400         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10401         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10402         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10404         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10406 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10408         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10409         Remove strpbrk objects.
10410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10411         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10412         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10413         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10414         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10415         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10417         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10418         Remove strcspn objects.
10419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10420         (__libc_ifunc_impl_list): Remove strcspn implementation.
10421         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10422         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10423         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10424         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10426         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10427         Remove strspn objetcs.
10428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10429         (__libc_ifunc_impl_list): Remove strspn implementation.
10430         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10431         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10432         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10433         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10435 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10437         [BZ #17581]
10438         * malloc/hooks.c
10439         (mem2mem_check): Add a terminator to the chain of checking blocks.
10440         (malloc_check_get_size): Use it here.
10441         (mem2chunk_check): Ditto.
10443 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10445         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10446         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10448 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10450         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10452         * nptl/nptl-init.c: Include libc-internal.h.
10453         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10455         * elf/ldconfig.c (search_dir): Expand comment.
10457 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10459         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10460         variable.
10461         (linknamespace-symlist-stdlibs-tests): Likewise.
10462         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10463         instead of $(objpfx)symlist-stdlibs.
10464         (linknamespace-libs-isoc): New variable.
10465         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10466         (linknamespace-libs-ISO): New variable.
10467         (linknamespace-libs-ISO99): Likewise.
10468         (linknamespace-libs-ISO11): Likewise.
10469         (linknamespace-libs-XPG3): Likewise.
10470         (linknamespace-libs-XPG4): Likewise.
10471         (linknamespace-libs-POSIX): Likewise.
10472         (linknamespace-libs-UNIX98): Likewise.
10473         (linknamespace-libs-XOPEN2K): Likewise.
10474         (linknamespace-libs-POSIX2008): Likewise.
10475         (linknamespace-libs-XOPEN2K8): Likewise.
10476         ($(objpfx)symlist-stdlibs): Replace by
10477         $(linknamespace-symlist-stdlibs-tests).  Use
10478         $(linknamespace-libs-$*) as set of libraries.
10479         ($(linknamespace-header-tests)): Update dependencies.  Use
10480         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10481         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10482         * conform/linknamespace.pl: Remove comment about considering
10483         definitions of symbols from irrelevant libraries.
10485 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10487         [BZ #13862]
10488         * elf/dl-tls.c: Include <atomic.h>.
10489         (oom): Remove #ifdef SHARED/#endif.
10490         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10491         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10492         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10493         big enough.
10494         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10495         * nptl/Makefile (tests): Add tst-stack4.
10496         (modules-names): Add tst-stack4mod.
10497         ($(objpfx)tst-stack4): New.
10498         (tst-stack4mod.sos): Likewise.
10499         ($(objpfx)tst-stack4.out): Likewise.
10500         ($(tst-stack4mod.sos)): Likewise.
10501         (clean): Likewise.
10502         * nptl/tst-stack4.c: New file.
10503         * nptl/tst-stack4mod.c: Likewise.
10505 2014-11-27  J. Brown  <jb999@gmx.de>
10507         * sysdeps/x86/bits/string.h: Add recent CPUs.
10509 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10511         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10512         sigblock.
10514         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10515         feof.
10517         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10518         variable.
10520 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10522         * nscd/connections.c: Include libc-internal.h because of macro
10523         usage ignore_value.
10525 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10527         * string/bits/string3.h (__warn_memset_zero_len): Don't
10528         declare for gcc newer than 5.0.
10529         (memset): Don't test for zero-length __LEN for gcc newer than
10530         5.0.
10532 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10534         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10535         size_t for %zu format.
10537         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10538         difference, not %ju.
10540 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10542         * include/libc-internal.h (ignore_value): New macro.
10543         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10544         with ignore_value.
10546         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10547         definition.
10549         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10550         pthread_cleanup_push to void *.
10552         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10553         Undefine.
10555         [BZ #16619]
10556         [BZ #16740]
10557         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10558         instead of 1L << 52.
10560         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10561         * libio/bug-rewind2.c (do_test): Likewise.
10563         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10564         * debug/test-strcpy_chk-ifunc.c: Likewise.
10565         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10566         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10567         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10568         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10569         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10570         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10571         * Rules [$(multi-arch) = no] (tests): Do not filter out
10572         $(tests-ifunc).
10573         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10574         * debug/Makefile (tests-ifunc): Remove variable.
10575         (tests): Do not add $(tests-ifunc).
10576         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10577         (tests): Do not add $(tests-ifunc).
10578         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10579         [TEST_IFUNC]: Remove conditionals.
10580         * string/test-string.h (TEST_IFUNC): Remove macro.
10581         [TEST_IFUNC]: Remove conditionals.
10583         * string/test-strchr.c [!WIDE] (L): New macro.
10584         [WIDE] (L): Likewise.
10585         (check1): Use CHAR instead of char.  Use L on string and character
10586         constants.
10588 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10590         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10591         tests.
10592         * sysdeps/powerpc/bits/atomic.h
10593         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10594         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10595         (atomic_exchange_and_add_acq): Likewise.
10596         (atomic_exchange_and_add_rel): Likewise.
10597         * sysdeps/powerpc/powerpc32/bits/atomic.h
10598         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10599         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10600         * sysdeps/powerpc/powerpc64/bits/atomic.h
10601         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10602         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10604 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10606         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10607         Change synchronization of __sched_fifo_min_prio and
10608         __sched_fifo_max_prio.
10609         * nptl/pthread_mutexattr_getprioceiling.c
10610         (pthread_mutexattr_getprioceiling): Likewise.
10611         * nptl/pthread_mutexattr_setprioceiling.c
10612         (pthread_mutexattr_setprioceiling): Likewise.
10613         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10614         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10615         Likewise.
10617 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10619         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10620         void.
10622 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10624         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10625         third argument const.
10627 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10629         fnmatch: work around GCC compiler warning bug with uninit var
10630         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10631         This works around a bug with x86-64 GCC 4.9.2 and earlier
10632         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10633         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10634         used uninitialized in this function [-Wmaybe-uninitialized]".
10636 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10638         * posix/bug-regex31.c (main): Return RES not 0.
10640 2014-11-25  Anton Blanchard <anton@samba.org>
10642         * sysdeps/powerpc/bits/atomic.h
10643         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10645 2014-11-24  Sterling Augustine  <saugustine@google.com>
10647         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10649 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10651         [BZ #17608]
10652         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10654 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10656         [BZ #17633]
10657         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10658         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10659         variable.
10660         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10661         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10663 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10665         * string/strncpy.c (strncpy): Improve performance by using memset.
10667 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10669         * string/strcpy.c (strcpy):
10670         Improve performance by using strlen and memcpy.
10672 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10674         * string/strcoll_l.c (get_next_seq): __always_inline.
10675         * string/strcoll_l.c (do_compare): __always_inline.
10677 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10679         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10680         defined.
10681         * include/mqueue.h: Likewise.
10682         * include/stdlib.h: Likewise.
10684         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10685         (get_null_defines): Adjust.
10686         * sunrpc/Makefile: Adjust comment.
10687         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10688         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10689         (CFLAGS-interp.c): Likewise.
10690         (CFLAGS-ldconfig.c): Likewise.
10691         (CPPFLAGS-.os): Likewise.
10692         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10693         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10694         * extra-modules.mk (extra-modules.mk): Likewise.
10695         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10696         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10697         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10698         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10699         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10700         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10701         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10702         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10703         * iconvdata/Makefile (CPPFLAGS): Likewise.
10704         (cpp-srcs-left): Add libof for all iconvdata routines.
10705         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10706         * include/assert.h: Likewise.
10707         * include/ctype.h: Likewise.
10708         * include/errno.h: Likewise.
10709         * include/libc-symbols.h: Likewise.
10710         * include/math.h: Likewise.
10711         * include/netdb.h: Likewise.
10712         * include/resolv.h: Likewise.
10713         * include/stdio.h: Likewise.
10714         * include/stdlib.h: Likewise.
10715         * include/string.h: Likewise.
10716         * include/sys/stat.h: Likewise.
10717         * include/wctype.h: Likewise.
10718         * intl/l10nflist.c: Likewise.
10719         * libidn/idn-stub.c: Likewise.
10720         * libio/libioP.h: Likewise.
10721         * nptl/libc_multiple_threads.c: Likewise.
10722         * nptl/pthreadP.h: Likewise.
10723         * posix/regex_internal.h: Likewise.
10724         * resolv/res_hconf.c: Likewise.
10725         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10726         * sysdeps/arm/memmove.S: Likewise.
10727         * sysdeps/arm/sysdep.h: Likewise.
10728         * sysdeps/generic/_itoa.h: Likewise.
10729         * sysdeps/generic/symbol-hacks.h: Likewise.
10730         * sysdeps/gnu/errlist.awk: Likewise.
10731         * sysdeps/gnu/errlist.c: Likewise.
10732         * sysdeps/i386/i586/memcpy.S: Likewise.
10733         * sysdeps/i386/i586/memset.S: Likewise.
10734         * sysdeps/i386/i686/memcpy.S: Likewise.
10735         * sysdeps/i386/i686/memmove.S: Likewise.
10736         * sysdeps/i386/i686/mempcpy.S: Likewise.
10737         * sysdeps/i386/i686/memset.S: Likewise.
10738         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10739         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10740         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10741         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10742         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10743         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10744         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10745         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10746         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10747         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10748         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10749         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10750         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10751         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10752         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10753         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10754         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10755         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10756         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10757         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10758         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10759         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10760         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10761         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10762         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10763         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10764         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10765         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10766         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10767         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10768         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10769         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10770         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10771         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10772         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10773         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10774         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10775         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10776         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10777         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10778         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10779         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10780         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10781         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10782         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10783         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10784         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10785         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10786         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10787         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10788         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10789         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10790         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10791         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10792         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10793         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10794         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10795         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10796         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10797         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10798         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10799         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10800         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10801         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10802         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10803         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10804         * sysdeps/posix/closedir.c: Likewise.
10805         * sysdeps/posix/opendir.c: Likewise.
10806         * sysdeps/posix/readdir.c: Likewise.
10807         * sysdeps/posix/rewinddir.c: Likewise.
10808         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10809         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10810         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10811         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10812         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10813         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10814         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10815         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10816         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10817         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10818         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10819         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10820         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10821         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10822         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10823         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10824         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10825         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10826         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10827         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10828         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10829         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10830         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10831         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10832         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10833         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10834         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10835         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10836         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10837         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10839         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10842         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10843         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10844         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10845         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10846         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10847         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10848         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10849         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10850         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10851         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10852         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10853         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10854         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10855         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10856         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10857         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10858         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10859         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10860         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10861         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10862         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10863         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10864         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10865         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10866         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10867         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10868         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10869         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10870         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10871         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10872         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10873         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10874         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10875         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10876         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10877         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10878         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10879         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10880         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10881         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10882         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10883         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10884         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10885         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10886         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10887         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10888         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10889         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10890         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10891         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10892         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10893         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10894         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10895         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10896         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10897         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10898         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10899         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10900         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10901         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10902         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10903         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10904         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10905         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10906         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10907         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10908         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10909         * sysdeps/unix/alpha/sysdep.S: Likewise.
10910         * sysdeps/unix/alpha/sysdep.h: Likewise.
10911         * sysdeps/unix/make-syscalls.sh: Likewise.
10912         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10913         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10914         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10915         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10916         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10917         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10918         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10919         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10920         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10921         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10922         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10923         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10924         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10925         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10926         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10927         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10928         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10929         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10930         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10931         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10932         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10933         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10934         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10935         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10936         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10937         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10938         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10941         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10942         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10943         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10944         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10945         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10946         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10947         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10948         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10950         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10951         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10952         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10953         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10954         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10955         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10956         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10957         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10958         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10959         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10960         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10961         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10962         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10963         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10964         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10965         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10966         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10967         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10968         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10969         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10970         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10971         * sysdeps/x86_64/memcpy.S: Likewise.
10972         * sysdeps/x86_64/memmove.c: Likewise.
10973         * sysdeps/x86_64/memset.S: Likewise.
10974         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10975         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10976         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10977         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10978         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10979         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10980         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10981         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10982         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10983         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10984         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10985         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10986         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10987         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10988         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10989         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10990         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10991         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10992         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10993         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10994         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10995         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10996         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10997         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10998         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10999         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11000         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11001         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11002         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11003         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11004         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11005         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11006         * sysdeps/x86_64/strcmp.S: Likewise.
11008         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11010         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11011         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11012         * elf/rtld-Rules: Likewise.
11013         * elf/setup-vdso.h: Likewise.
11014         * include/assert.h: Likewise.
11015         * include/bits/stdlib-float.h: Likewise.
11016         * include/errno.h: Likewise.
11017         * include/sys/stat.h: Likewise.
11018         * include/unistd.h: Likewise.
11019         * sysdeps/aarch64/setjmp.S: Likewise.
11020         * sysdeps/alpha/setjmp.S: Likewise.
11021         * sysdeps/arm/__longjmp.S: Likewise.
11022         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11023         * sysdeps/arm/setjmp.S: Likewise.
11024         * sysdeps/arm/sysdep.h: Likewise.
11025         * sysdeps/generic/_itoa.h: Likewise.
11026         * sysdeps/generic/dl-sysdep.h: Likewise.
11027         * sysdeps/generic/ldsodefs.h: Likewise.
11028         * sysdeps/i386/dl-tls.h: Likewise.
11029         * sysdeps/i386/setjmp.S: Likewise.
11030         * sysdeps/m68k/setjmp.c: Likewise.
11031         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11032         * sysdeps/mach/hurd/opendir.c: Likewise.
11033         * sysdeps/posix/getcwd.c: Likewise.
11034         * sysdeps/posix/opendir.c: Likewise.
11035         * sysdeps/posix/profil.c: Likewise.
11036         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11037         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11038         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11039         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11040         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11041         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11042         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11043         * sysdeps/s390/dl-tls.h: Likewise.
11044         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11045         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11046         * sysdeps/sh/sh3/setjmp.S: Likewise.
11047         * sysdeps/sh/sh4/setjmp.S: Likewise.
11048         * sysdeps/unix/alpha/sysdep.h: Likewise.
11049         * sysdeps/unix/arm/sysdep.S: Likewise.
11050         * sysdeps/unix/i386/sysdep.S: Likewise.
11051         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11052         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11053         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11054         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11055         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11056         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11057         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11058         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11059         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11060         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11061         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11062         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11063         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11066         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11067         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11068         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11069         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11070         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11071         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11072         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11073         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11074         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11075         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11076         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11077         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11078         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11079         * sysdeps/x86_64/setjmp.S: Likewise.
11081         * include/math.h: Use IS_IN instead of IS_IN_libm.
11082         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11083         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11084         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11085         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11086         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11087         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11088         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11089         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11090         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11091         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11092         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11093         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11094         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11095         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11096         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11097         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11098         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11099         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11100         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11101         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11102         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11103         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11104         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11105         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11106         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11107         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11108         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11109         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11110         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11111         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11112         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11113         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11114         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11116         Likewise.
11117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11118         Likewise.
11119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11120         Likewise.
11121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11122         Likewise.
11123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11124         Likewise.
11125         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11126         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11127         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11128         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11129         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11130         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11136         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11137         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11138         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11139         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11140         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11141         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11142         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11143         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11144         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11145         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11146         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11147         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11148         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11149         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11151         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11153         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11154         * nptl/pthreadP.h: Likewise.
11155         * nptl_db/structs.def: Likewise.
11156         * sysdeps/arm/sysdep.h: Likewise.
11157         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11158         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11159         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11160         * sysdeps/unix/alpha/sysdep.h: Likewise.
11161         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11162         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11163         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11164         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11165         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11166         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11167         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11168         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11169         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11170         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11171         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11172         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11173         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11174         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11177         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11178         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11179         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11180         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11181         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11182         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11183         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11184         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11185         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11186         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11188         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11189         * nptl/pthreadP.h: Likewise.
11190         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11191         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11192         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11193         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11194         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11195         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11196         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11197         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11198         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11199         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11200         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11201         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11203         Likewise.
11204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11205         Likewise.
11206         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11207         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11208         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11209         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11210         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11211         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11212         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11213         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11215         * dlfcn/dladdr.c: Use IS_IN.
11216         * dlfcn/dladdr1.c: Likewise.
11217         * dlfcn/dlclose.c: Likewise.
11218         * dlfcn/dlerror.c: Likewise.
11219         * dlfcn/dlinfo.c: Likewise.
11220         * dlfcn/dlmopen.c: Likewise.
11221         * dlfcn/dlopen.c: Likewise.
11222         * dlfcn/dlsym.c: Likewise.
11223         * dlfcn/dlvsym.c: Likewise.
11225         * include/ifaddrs.h: Use IS_IN.
11226         * inet/check_pf.c: Likewise.
11227         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11228         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11230         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11231         IS_IN_ldconfig.
11232         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11233         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11235         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11236         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11237         IS_IN (libc).
11239         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11241         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11242         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11243         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11244         * include/libc-symbols.h (IS_IN_LIB): New macro.
11245         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11246         * include/netdb.h: Likewise.
11247         * include/stap-probe.h: Remove all uses of IN_LIB.
11249         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11250         instead of IN_MODULE.
11251         * include/libc-symbols.h (IN_MODULE): Define using
11252         MODULE_NAME.
11253         (PASTE_NAME, PASTE_NAME1): New macros.
11254         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11255         of IN_LIB.
11256         (STAP_PROBE_ASM): Likewise.
11258 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11260         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11261         __mach_init in dlopened libc.
11263 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11265         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11266         * sysdeps/arm/preconfigure: Regenerate.
11268 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11270         * nptl/pthread_create.c (__pthread_create_2_1): Set
11271         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11272         when copying values from IATTR into PD.
11274 2014-11-21  Will Newton  <will.newton@linaro.org>
11275             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11277         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11278         Refactor inline-asm.  Also add comment.
11280         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11281         ElfW macro instead of hardcoded Elf64 types.
11282         (la_aarch64_gnu_pltenter): Likewise.
11283         * sysdeps/aarch64/dl-machine.h
11284         (elf_machine_runtime_setup): Use ElfW(Addr).
11286         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11287         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11288         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11289         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11290         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11291         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11292         (R_AARCH64_TLS_DTPMOD): This.
11293         (R_AARCH64_TLS_DTPREL64): Rename to ...
11294         (R_AARCH64_TLS_DTPREL): This.
11295         (R_AARCH64_TLS_TPREL64): Rename to ...
11296         (R_AARCH64_TLS_TPREL): This.
11297         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11298         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11299         R_AARCH64_TLS_TPREL64.
11300         (elf_machine_rela): Likewise.
11302 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11304         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11305         by setting it to 0.  64b atomics are not supported currently.
11307 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11309         [BZ #16469]
11310         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11311         search domain names.
11313 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11315         [BZ #16469]
11316         * NEWS: Update.
11317         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11318         trailing dot.
11319         * posix/tst-getaddrinfo5.c: New.
11320         * posix/Makefile (tests): Add it.
11322 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11324         [BZ #14498]
11325         * NEWS: Fixed.
11326         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11327         after parsing line but before break_if_match.
11328         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11329         if there is a protocol mismatch.
11331 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11333         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11334         because the potential race is on the user-supplied stream.
11336 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11338         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11339         string literal if not passed a buffer.
11340         * manual/job.texi (ctermid): Update reasoning, note deviation
11341         from posix, suggest mtasurace when not passed a buffer, for
11342         future non-preliminary safety notes.
11344 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11346         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11347         of not passing it a buffer.
11348         Reported by Peng Haitao.
11350 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11352         * manual/Makefile ($(objpfx)stamp-summary): Require
11353         check-safety.sh to pass.
11354         * manual/check-safety.sh: Wish for verification that every
11355         @deftypefn and @deftypefun is followed by a @safety remark.
11357 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11359         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11361         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11362         PTHREAD_CANCEL_ASYNCHRONOUS.
11363         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11364         send SIGCANCEL.
11366         * nptl/default-sched.h: New file.
11367         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11368         * nptl/pthread_create.c: Include it.
11369         (__pthread_create_2_1): Use collect_default_sched instead of making
11370         Linux syscalls here directly.
11372 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11374         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11375         __pthread_once): Use C11 atomics.
11377 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11379         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11381 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11383         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11384         atomic_thread_fence_acquire, atomic_thread_fence_release,
11385         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11386         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11387         atomic_compare_exchange_weak_relaxed,
11388         atomic_compare_exchange_weak_acquire,
11389         atomic_compare_exchange_weak_release,
11390         atomic_exchange_acquire, atomic_exchange_release,
11391         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11392         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11393         atomic_fetch_and_acquire,
11394         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11396 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11398         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11399         USE_ATOMIC_COMPILER_BUILTINS): Define.
11400         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11401         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11402         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11403         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11404         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11405         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11406         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11407         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11408         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11409         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11410         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11411         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11412         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11413         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11414         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11415         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11416         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11417         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11418         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11419         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11420         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11421         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11422         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11423         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11424         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11425         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11426         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11427         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11428         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11429         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11430         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11431         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11432         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11433         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11434         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11435         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11436         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11437         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11438         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11439         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11441 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11443         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11444         the sched_priority value here.  It was already checked when the user
11445         called pthread_attr_setschedparam.
11447         * nptl/tst-bad-schedattr.c: New file.
11448         * nptl/Makefile (tests): Add it.
11450 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11451             Florian Weimer  <fweimer@redhat.com>
11452             Joseph Myers  <joseph@codesourcery.com>
11453             Adam Conrad  <adconrad@0c3.net>
11454             Andreas Schwab  <schwab@suse.de>
11455             Brooks  <bmoses@google.com>
11457         [BZ #17625]
11458         * wordexp-test.c (__dso_handle): Add prototype.
11459         (__register_atfork): Likewise.
11460         (__app_register_atfork): New function.
11461         (registered_forks): New global.
11462         (register_fork): New function.
11463         (test_case): Add 3 new tests for WRDE_CMDSUB.
11464         (main): Call __app_register_atfork.
11465         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11466         fork count is non-zero fail the test.
11467         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11468         is set.
11469         (parse_dollars): Remove check for WRDE_NOCMD.
11470         (parse_dquote): Likewise.
11472 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11474         * Makeconfig (built-modules): List non-library modules to be
11475         built.
11476         (module-cppflags): Include libc-modules.h for
11477         everything except shlib-versions.v.i.
11478         (CPPFLAGS): Use it.
11479         (before-compile): Add libc-modules.h.
11480         ($(common-objpfx)libc-modules.h,
11481         $(common-objpfx)libc-modules.stmp): New targets.
11482         (common-generated): Add libc-modules.h and libc-modules.stmp.
11483         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11484         * include/libc-symbols.h: Don't include libc-modules.h.
11485         * include/libc-modules.h: Remove file.
11486         * scripts/gen-libc-modules.awk: New script to generate
11487         libc-modules.h.
11488         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11489         Depend on libc-modules.stmp.
11491         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11493         * Makeconfig (in-module): Get value of libof set for the
11494         translation unit.
11495         (CPPFLAGS): Use $(in-module).
11496         * Makerules: Don't suffix routine names for nonlib.
11497         * include/libc-modules.h: New file.
11498         * include/libc-symbols.h: Include libc-modules.h
11499         (IS_IN): New macro to replace IS_IN_* macros.
11500         * elf/Makefile: Set libof-* for each routine.
11501         * elf/rtld-Rules: Likewise.
11502         * extra-modules.mk: Likewise.
11503         * iconv/Makefile: Likewise.
11504         * iconvdata/Makefile: Likewise.
11505         * locale/Makefile: Likewise.
11506         * malloc/Makefile: Likewise.
11507         * nss/Makefile: Likewise.
11508         * sysdeps/gnu/Makefile: Likewise.
11509         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11510         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11511         * sysdeps/s390/s390-64/Makefile: Likewise.
11512         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11513         CPPFLAGS for nscd instead of nonlib.
11515 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11517         * nptl/createthread.c: New file.
11519         * nptl/createthread.c: Moved ...
11520         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11522         * nptl/createthread.c: Add proper top-line comment.
11523         (do_clone): Folded into ...
11524         (create_thread): ... here.  Take new arguments STOPPED_START and
11525         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11526         increment __nptl_threads, do event-reporting logic, do
11527         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11528         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11529         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11530         just send SIGCANCEL.
11531         * nptl/pthread_create.c: Forward-declare create_thread before
11532         including createthread.c.
11533         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11534         declaration, and new macro START_THREAD_SELF to replace argument.
11535         Remove return statement.
11536         (report_thread_creation): New function.
11537         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11538         synchronization logic, and __nptl_nthreads increment here, around
11539         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11540         PD->parent_cancelhandling here, before create_thread.  When
11541         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11542         __deallocate_stack, and ENOMEM translation here.
11544 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11546         [BZ #17616]
11547         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11548         (mptwo): Rename to __mptwo.
11549         (__inv): Use __mptwo instead of mptwo.
11550         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11551         (mptwo): Rename to __mptwo.
11552         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11553         of mpone and __mptwo instead of mptwo.
11554         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11555         instead of mpone.
11556         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11557         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11558         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11559         of mpone and __mptwo instead of mptwo.
11560         (__mpranred): Use __mpone instead of mpone.
11561         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11562         variable.
11563         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11564         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11565         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11566         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11567         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11568         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11569         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11570         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11571         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11572         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11573         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11574         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11575         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11576         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11577         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11578         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11579         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11580         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11581         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11583 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11585         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11586         replace BSD Handler xref with BSD Signal Handling.
11588 2014-11-17  Richard Henderson  <rth@redhat.com>
11590         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11591         (_FP_PACK_RAW_2): Remove.
11592         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11593         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11594         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11595         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11596         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11597         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11598         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11599         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11600         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11601         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11602         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11603         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11604         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11605         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11606         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11607         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11609 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11611         * signal/signal.h [__USE_MISC]
11612         (struct sigvec): Remove type.
11613         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11614         (sigvec): Remove declaration.
11615         * sysdeps/posix/sigvec.c: Moved ...
11616         * signal/sigvec.c: ... here, replacing old file.
11617         (struct sigvec): New type, copied from old signal.h definition.
11618         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11619         (__sigvec): Convert definition to prototype.
11620         (sigvec): Replace weak_alias with compat_symbol.
11621         * signal/Versions (libc: GLIBC_2.21): New version set.
11622         * include/signal.h: Remove __sigvec declaration.
11623         * sysdeps/unix/bsd/sigvec.c: Remove file.
11624         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11625         * manual/signal.texi (BSD Handler): Remove subsection.
11626         Move siginterrupt up to ...
11627         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11628         (Blocking in BSD): Fold subsection into its parent.
11629         * NEWS: Mention sigvec removal.
11631 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11633         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11634         (DLA_FMS): Make definition conditional only on [__FMA4__].
11635         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11636         definition.
11638         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11639         Make definition conditional only on [PROF].
11640         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11641         definition.
11642         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11643         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11645         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11646         !__GNUC__].
11647         * include/signal.h (__sigpause): Move declaration above call to
11648         libc_hidden_proto.
11649         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11650         variable.
11651         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11652         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11654 2014-11-14  David S. Miller  <davem@davemloft.net>
11656         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11657         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11659 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11661         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11662         * configure: Regenerated.
11663         * manual/install.texi (Tools for Compilation): Document a
11664         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11665         compiler verified to work.
11666         * INSTALL: Regenerated.
11668         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11669         redeclare with asm name.
11670         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11671         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11672         including <string.h>.
11673         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11674         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11675         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11676         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11677         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11678         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11679         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11681 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11683         * stdlib/strtol.c (__strtol): Use prototype definition.
11685         [BZ #17594]
11686         * stdlib/strtol.c (SYM__): New macro.
11687         (SYM__1): Likewise.
11688         (__strtol): Likewise.
11689         (strtol): Rename to __strtol and define as weak alias of
11690         __strtol.  Use libc_hidden_weak.
11692 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11694         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11695         Use numbered labels in inline assembly.
11697 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11699         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11700         Add setjmp LIBC_PROBE.
11701         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11702         Likewise.
11703         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11704         Add longjmp, longjmp_target LIBC_PROBE.
11705         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11706         Likewise.
11708 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11710         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11711         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11712         to get rid of unused variable warning.
11714 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11716         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11717         Check for unwind_backtrace ==  NULL only in SHARED case.
11718         (__backchain_backtrace): Compile only in SHARED case.
11719         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11720         Likewise.
11721         (__backchain_backtrace): Declare as static.
11723 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11725         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11726         (__libc_multiple_threads_ptr): Variable moved ...
11727         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11729 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11731         * conform/GlibcConform.pm: New file.
11732         * conform/conformtest.pl: Use GlibcConform module.
11733         * conform/linknamespace.pl: New file.
11734         * conform/list-header-symbols.pl: Likewise.
11735         * conform/Makefile (linknamespace-symlists-base): New variable.
11736         (linknamespace-symlists-tests): Likewise.
11737         (linknamespace-header-base): Likewise.
11738         (linknamespace-header-tests): Likewise.
11739         (tests-special): Add new tests.
11740         ($(linknamespace-symlists-tests)): New rule.
11741         (linknamespace-libs): New variable.
11742         ($(objpfx)symlist-stdlibs): New rule.
11743         ($(linknamespace-header-tests)): Likewise.
11744         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11745         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11746         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11747         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11748         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11749         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11750         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11751         (test-xfail-ISO/math.h/linknamespace): Likewise.
11752         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11753         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11754         (test-xfail-ISO/time.h/linknamespace): Likewise.
11755         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11756         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11757         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11758         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11759         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11760         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11761         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11762         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11763         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11764         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11765         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11766         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11767         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11768         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11769         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11770         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11771         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11772         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11773         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11774         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11775         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11776         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11777         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11778         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11779         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11780         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11781         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11782         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11783         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11784         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11785         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11786         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11787         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11788         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11789         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11790         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11791         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11792         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11793         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11794         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11795         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11796         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11797         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11798         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11799         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11800         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11801         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11802         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11803         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11804         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11805         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11806         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11807         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11808         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11809         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11810         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11811         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11812         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11813         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11814         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11815         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11816         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11817         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11818         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11819         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11820         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11821         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11822         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11823         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11824         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11825         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11826         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11827         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11828         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11829         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11830         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11831         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11832         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11833         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11834         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11835         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11836         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11837         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11838         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11839         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11840         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11841         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11842         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11843         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11844         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11845         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11846         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11847         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11848         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11849         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11850         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11851         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11852         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11853         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11854         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11855         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11856         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11857         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11858         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11859         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11860         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11861         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11862         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11863         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11864         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11865         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11866         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11867         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11868         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11869         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11870         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11871         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11872         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11873         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11874         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11875         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11876         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11877         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11878         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11879         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11880         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11881         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11882         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11883         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11884         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11885         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11886         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11887         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11888         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11889         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11890         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11891         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11892         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11893         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11894         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11895         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11896         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11897         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11898         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11899         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11900         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11901         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11902         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11903         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11904         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11906         [BZ #17589]
11907         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11908         of fgets_unlocked.
11910         [BZ #17585]
11911         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11912         (memmem): Rename to __memmem and define as weak alias of
11913         __memmem.  Use libc_hidden_weak.
11914         (__memmem): Use libc_hidden_def.
11915         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11916         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11917         memmem.
11919         [BZ #17582]
11920         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11921         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11922         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11923         and define as weak alias of __fgets_unlocked.  Use
11924         libc_hidden_weak.
11925         (__fgets_unlocked): Use libc_hidden_def.
11926         * include/stdio.h (__fgets_unlocked): Declare.  Use
11927         libc_hidden_proto.
11928         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11929         __fgets_unlocked instead of fgets_unlocked.
11930         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11931         (GET_NPROCS_CONF_PARSER): Likewise.
11932         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11933         (GET_NPROCS_CONF_PARSER): Likewise.
11935         [BZ #17574]
11936         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11937         weak alias of __wmemset.  Use libc_hidden_weak.
11938         (__wmemset): Use libc_hidden_def.
11939         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11940         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11941         of wmemset.
11943         [BZ #17573]
11944         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11945         with asm name __mempcpy.
11946         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11948         [BZ #17572]
11949         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11950         and define as weak alias of __rawmemchr.
11951         (__rawmemchr): Do not define as strong alias of rawmemchr.
11953         [BZ #17571]
11954         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11955         alias of __qsort_r.
11956         (qsort): Call __qsort_r instead of qsort_r.
11957         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11958         (__qsort_r): Declare.  Call libc_hidden_proto.
11959         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11960         instead of qsort_r.
11961         * nscd/gai.c (__qsort_r): Define to qsort_r.
11962         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11963         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11964         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11966         [BZ #17570]
11967         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11968         define as weak alias of __malloc_info.
11970         [BZ #17584]
11971         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11972         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11973         (__rewinddir): Use libc_hidden_def.
11974         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11975         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11976         (__rewinddir): Use libc_hidden_def.
11977         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11978         weak alias of __rewinddir.  Don't use libc_hidden_def.
11979         (__rewinddir): Use libc_hidden_def.
11980         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11981         (__rewinddir): Use libc_hidden_proto.
11982         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11983         rewinddir.
11984         (__getcwd): Use __rewinddir instead of rewinddir.
11986         [BZ #17583]
11987         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11988         alias of __fileno.  Use libc_hidden_weak.
11989         (__fileno): Use libc_hidden_def.
11990         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11991         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11992         alias of __ftello.
11993         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11994         __ftello.
11995         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11996         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11997         libc_hidden_def.
11998         (fread_unlocked): Don't use libc_hidden_ver.
11999         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12000         and define as weak alias of __fread_unlocked.  Don't use
12001         libc_hidden_def.
12002         (__fread_unlocked): Use libc_hidden_def.
12003         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12004         (ftello): Don't use libc_hidden_proto.
12005         (__ftello): Declare.  Use libc_hidden_proto.
12006         (fread_unlocked): Don't use libc_hidden_proto.
12007         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12008         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12009         and __ftello instead of fileno, fread_unlocked and ftello.
12011 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12013         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12014         GOT12.
12015         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12016         Likewise.
12017         (_dl_start_user): Likewise.
12018         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12020 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12021             Siddhesh Poyarekar  <siddhesh@redhat.com>
12023         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12024         Move argv and envp down instead of moving argc up.
12025         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12027 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12029         [BZ #17506]
12030         * test-skeleton.c (main): Return successful if one of
12031         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12032         * string/tst-strcoll-overflow.c: Define expected status.
12034 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12036         [BZ #17475]
12037         * locale/iso-639.def: Define Bhili and Tulu language codes.
12039 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12041         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12043 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12045         [BZ #17555]
12046         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12048 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12050         * configure.ac: Updated check of minimal required version to
12051         2.22.
12052         * manual/install.texi (Tools for Compilation): Updated version
12053         number.
12054         * configure: Regenerated.
12055         * INSTALL: Likewise.
12057 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12059         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12060         __tls_get_addr.
12062 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12064         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12065         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12066         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12067         libc_hidden_weak.
12068         (waitpid): Define as alias of __waitpid.
12069         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12070         __waitpid.
12071         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12072         libc_hidden_weak.
12073         (waitpid): Define as alias of __waitpid.
12074         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12075         __libc_waitpid alias.
12076         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12077         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12078         Likewise.
12079         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12080         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12081         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12082         alias.
12083         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12084         __waitpid.
12085         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12086         libc_hidden_weak.
12087         (waitpid): Define as alias of __waitpid.
12089 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12091         * manual/llio.texi: Add comment that write safety has been
12092         fixed in Linux.
12094         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12095         (localplt-build-dso): Add elf/ld.so.
12096         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12097         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12098         and free for ld.so.
12099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12100         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12102         Likewise.
12103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12104         Likewise.
12105         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12106         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12107         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12108         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12109         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12110         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12111         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12112         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12113         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12114         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12115         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12117 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12119         [BZ #14132]
12120         * include/libc-symbols.h (INTUSE): Remove macro.
12121         (INTDEF): Likewise.
12122         (INTVARDEF): Likewise.
12123         (_INTVARDEF): Likewise.
12124         (INTDEF2): Likewise.
12125         (INTVARDEF2): Likewise.
12126         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12127         rtld_hidden_def instead of INTVARDEF.
12128         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12129         (_dl_starting_up_internal): Remove declaration.
12130         (_dl_starting_up): Use rtld_hidden_proto.
12131         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12132         declaration.
12133         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12134         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12135         _dl_starting_up.
12136         * elf/dl-writev.h (_dl_writev): Likewise.
12137         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12138         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12139         _dl_starting_up_internal.
12141 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12143         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12144         test-skeleton.c.
12146 2014-11-05  Will Newton  <will.newton@linaro.org>
12148         * benchtests/Makefile: (bench-malloc): Add malloc thread
12149         scalability benchmark.
12150         * benchtests/bench-malloc-threads.c: New file.
12152 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12154         * sysdeps/aarch64/strchrnul.S: New file.
12156 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12158         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12159         definition.
12160         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12161         Likwise.
12162         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12163         Likewise.
12164         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12165         Likewise.
12166         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12167         Likewise.
12168         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12169         Likewise.
12171 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12173         * catgets/test-gencat.c: Use test-skeleton.c.
12174         * catgets/tst-catgets.c: Likewise.
12175         * csu/tst-empty.c: Likewise.
12176         * elf/tst-audit2.c: Likewise.
12177         * elf/tst-global1.c: Likewise.
12178         * elf/tst-pathopt.c: Likewise.
12179         * elf/tst-piemod1.c: Likewise.
12180         * elf/tst-tls10.c: Likewise.
12181         * elf/tst-tls11.c: Likewise.
12182         * elf/tst-tls12.c: Likewise.
12183         * gnulib/tst-gcc.c: Likewise.
12184         * iconvdata/tst-e2big.c: Likewise.
12185         * iconvdata/tst-loading.c: Likewise.
12186         * iconv/tst-iconv1.c: Likewise.
12187         * iconv/tst-iconv2.c: Likewise.
12188         * inet/test-inet6_opt.c: Likewise.
12189         * inet/tst-gethnm.c: Likewise.
12190         * inet/tst-network.c: Likewise.
12191         * inet/tst-ntoa.c: Likewise.
12192         * intl/tst-codeset.c: Likewise.
12193         * intl/tst-gettext2.c: Likewise.
12194         * intl/tst-gettext3.c: Likewise.
12195         * intl/tst-ngettext.c: Likewise.
12196         * intl/tst-translit.c: Likewise.
12197         * io/test-stat.c: Likewise.
12198         * libio/test-fmemopen.c: Likewise.
12199         * libio/tst-freopen.c: Likewise.
12200         * libio/tst-sscanf.c: Likewise.
12201         * libio/tst-ungetwc1.c: Likewise.
12202         * libio/tst-ungetwc2.c: Likewise.
12203         * libio/tst-widetext.c: Likewise.
12204         * localedata/tst-ctype.c: Likewise.
12205         * localedata/tst-digits.c: Likewise.
12206         * localedata/tst-leaks.c: Likewise.
12207         * localedata/tst-mbswcs1.c: Likewise.
12208         * localedata/tst-mbswcs2.c: Likewise.
12209         * localedata/tst-mbswcs3.c: Likewise.
12210         * localedata/tst-mbswcs4.c: Likewise.
12211         * localedata/tst-mbswcs5.c: Likewise.
12212         * localedata/tst-setlocale.c: Likewise.
12213         * localedata/tst-trans.c: Likewise.
12214         * localedata/tst-wctype.c: Likewise.
12215         * localedata/tst-xlocale1.c: Likewise.
12216         * login/tst-grantpt.c: Likewise.
12217         * malloc/tst-calloc.c: Likewise.
12218         * malloc/tst-malloc.c: Likewise.
12219         * malloc/tst-mallocstate.c: Likewise.
12220         * malloc/tst-mcheck.c: Likewise.
12221         * malloc/tst-mtrace.c: Likewise.
12222         * malloc/tst-obstack.c: Likewise.
12223         * math/atest-exp2.c: Likewise.
12224         * math/atest-exp.c: Likewise.
12225         * math/atest-sincos.c: Likewise.
12226         * math/test-matherr.c: Likewise.
12227         * math/test-misc.c: Likewise.
12228         * math/test-powl.c: Likewise.
12229         * math/tst-definitions.c: Likewise.
12230         * misc/tst-dirname.c: Likewise.
12231         * misc/tst-efgcvt.c: Likewise.
12232         * misc/tst-fdset.c: Likewise.
12233         * misc/tst-hsearch.c: Likewise.
12234         * misc/tst-mntent2.c: Likewise.
12235         * nptl/tst-sem7.c: Likewise.
12236         * nptl/tst-sem8.c: Likewise.
12237         * nptl/tst-sem9.c: Likewise.
12238         * nss/test-netdb.c: Likewise.
12239         * posix/tst-fnmatch.c: Likewise.
12240         * posix/tst-getlogin.c: Likewise.
12241         * posix/tst-gnuglob.c: Likewise.
12242         * posix/tst-mmap.c: Likewise.
12243         * pwd/tst-getpw.c: Likewise.
12244         * resolv/tst-inet_ntop.c: Likewise.
12245         * rt/tst-timer.c: Likewise.
12246         * stdio-common/test-fseek.c: Likewise.
12247         * stdio-common/test-popen.c: Likewise.
12248         * stdio-common/test-vfprintf.c: Likewise.
12249         * stdio-common/tst-cookie.c: Likewise.
12250         * stdio-common/tst-fileno.c: Likewise.
12251         * stdio-common/tst-gets.c: Likewise.
12252         * stdio-common/tst-obprintf.c: Likewise.
12253         * stdio-common/tst-perror.c: Likewise.
12254         * stdio-common/tst-sprintf2.c: Likewise.
12255         * stdio-common/tst-sprintf3.c: Likewise.
12256         * stdio-common/tst-sprintf.c: Likewise.
12257         * stdio-common/tst-swprintf.c: Likewise.
12258         * stdio-common/tst-tmpnam.c: Likewise.
12259         * stdio-common/tst-unbputc.c: Likewise.
12260         * stdio-common/tst-wc-printf.c: Likewise.
12261         * stdlib/tst-environ.c: Likewise.
12262         * stdlib/tst-fmtmsg.c: Likewise.
12263         * stdlib/tst-limits.c: Likewise.
12264         * stdlib/tst-rand48-2.c: Likewise.
12265         * stdlib/tst-rand48.c: Likewise.
12266         * stdlib/tst-random2.c: Likewise.
12267         * stdlib/tst-random.c: Likewise.
12268         * stdlib/tst-strtol.c: Likewise.
12269         * stdlib/tst-strtoll.c: Likewise.
12270         * stdlib/tst-tls-atexit.c: Likewise.
12271         * stdlib/tst-xpg-basename.c: Likewise.
12272         * string/test-ffs.c: Likewise.
12273         * string/tst-bswap.c: Likewise.
12274         * string/tst-inlcall.c: Likewise.
12275         * string/tst-strtok.c: Likewise.
12276         * string/tst-strxfrm.c: Likewise.
12277         * sysdeps/x86_64/tst-audit10.c: Likewise.
12278         * sysdeps/x86_64/tst-audit3.c: Likewise.
12279         * sysdeps/x86_64/tst-audit4.c: Likewise.
12280         * sysdeps/x86_64/tst-audit5.c: Likewise.
12281         * time/tst-ftime_l.c: Likewise.
12282         * time/tst-getdate.c: Likewise.
12283         * time/tst-mktime3.c: Likewise.
12284         * time/tst-mktime.c: Likewise.
12285         * time/tst-posixtz.c: Likewise.
12286         * time/tst-strptime2.c: Likewise.
12287         * time/tst-strptime3.c: Likewise.
12288         * wcsmbs/tst-btowc.c: Likewise.
12289         * wcsmbs/tst-mbrtowc.c: Likewise.
12290         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12291         * wcsmbs/tst-wchar-h.c: Likewise.
12292         * wcsmbs/tst-wcpncpy.c: Likewise.
12293         * wcsmbs/tst-wcrtomb.c: Likewise.
12294         * wcsmbs/tst-wcsnlen.c: Likewise.
12295         * wcsmbs/tst-wcstof.c: Likewise.
12297 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12299         [BZ #14132]
12300         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12301         INTDEF.
12302         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12303         declaration.
12304         (_dl_mcount): Use rtld_hidden_proto.
12305         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12306         _dl_mcount.
12307         * elf/rtld.c (_rtld_global_ro): Likewise.
12309         [BZ #14132]
12310         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12311         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12312         of _dl_init_internal.
12313         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12314         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12315         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12316         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12317         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12318         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12319         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12320         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12321         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12322         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12323         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12324         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12325         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12326         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12327         * sysdeps/tile/dl-start.S (_start): Likewise.
12328         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12329         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12331         [BZ #14132]
12332         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12333         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12334         (rtld_progname): Make macro definition unconditional.
12335         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12336         INTDEF.
12337         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12338         (dl_main): Likewise.
12339         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12340         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12341         instead of _dl_argv_internal.
12342         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12343         __GI__dl_argv instead of INTUSE(_dl_argv).
12344         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12345         __GI__dl_argv instead of _dl_argv_internal.
12347         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12348         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12349         macro.
12350         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12351         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12352         New macro.
12353         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12354         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12355         macro.
12356         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12357         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12359 2014-11-04  Andreas Schwab  <schwab@suse.de>
12361         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12363 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12365         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12366         mtvsrd instruction in binary form.
12368 2014-11-03  Andreas Schwab  <schwab@suse.de>
12370         [BZ #17522]
12371         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12372         for less than MB_LEN_MAX use a local buffer of that size.
12373         * libio/tst-fputws.c: New file.
12374         * libio/Makefile (tests): Add tst-fputws.
12376 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12378         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12379         the size of the fpu_fr.fpu_dregs[] array.
12381 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12383         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12384         (__nanosleep): Do not define as alias.
12385         (nanosleep): Define as alias of __nanosleep.
12386         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12387         __libc_nanosleep name.
12389 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12391         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12392         install.texi in comment.
12394 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12396         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12397         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12398         ... add here and use lwsync or sync ...
12399         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12400         ... and add here using lwsync.
12402 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12404         * elf/dl-machine-reject-phdr.h: New file.
12405         * elf/dl-load.c: #include that.
12406         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12407         if that returned true.
12409 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12411         [BZ #17496]
12412         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12413         gen-as-const-headers chunk.  Add a big scare comment after the last
12414         safe place to touch before-compile.
12416 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12418         * manual/install.texi (Tools for Compilation): Update autoconf
12419         version requirements.
12420         * INSTALL: Regenerated.
12422         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12423         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12424         (__libc_pselect): Likewise.
12426         [BZ #14138]
12427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12432 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12434         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12435         correct barrier instruction.
12436         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12437         Likewise.
12438         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12439         Likewise.
12441 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12443         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12444         after defining inlines.  Instead, just use parens to defeat macro
12445         expansion of __isctype in its declaration.
12447 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12449         * include/sys/uio.h (__libc_readv): Remove declaration.
12450         (__libc_writev): Likewise.
12451         * misc/readv.c (__libc_readv): Rename to __readv.
12452         (__readv): Do not define as alias.
12453         (readv): Define as alias of __readv.
12454         * misc/writev.c (__libc_writev): Rename to __writev.
12455         (__writev): Do not define as alias.
12456         (writev): Define as alias of __writev.
12457         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12458         (__readv): Do not define as alias.
12459         (readv): Define unconditionally as alias of __readv.
12460         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12461         (__writev): Do not define as alias.
12462         (writev): Define unconditionally as alias of __writev.
12463         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12464         name.
12465         (writev): Do not define __libc_writev name.
12467 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12469         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12470         (convert_charseq): New function, broken out of ...
12471         (use_from_charmap): ... here.  Call it.
12472         (use_to_charmap): Use convert_charseq and free instead of duplicating
12473         its code with a variable-length stack struct.
12475 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12477         * include/fcntl.h (__libc_creat): Remove declaration.
12478         * io/creat.c (__libc_creat): Rename to creat.
12479         (creat): Do not define as alias.
12480         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12481         of creat instead of __libc_creat.
12482         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12483         to creat.
12484         (creat): Do not define as alias.
12485         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12486         __libc_creat.
12487         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12488         __libc_creat name.
12489         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12490         Likewise.
12492 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12494         * manual/llio.texi: Add comments discussing why write() may be
12495         considered MT-unsafe on Linux.
12497 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12499         * dl-load.c (local_strdup): Remove.
12500         (expand_dynamic_string_token): Use __strdup.
12501         (decompose_rpath): Likewise.
12502         (_dl_map_object): Likewise.
12504 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12506         [BZ #14132]
12507         * sysdeps/generic/unwind-dw2-fde.c
12508         (__register_frame_info_bases_internal): Do not declare.
12509         (__register_frame_info_table_bases_internal): Likewise.
12510         (__deregister_frame_info_bases_internal): Likewise.
12511         (__register_frame_info_bases): Declare and use hidden_proto before
12512         definition.  Use hidden_def instead of INTDEF.
12513         (__register_frame_info_table_bases): Likewise.
12514         (__deregister_frame_info_bases): Likewise.
12515         (__register_frame_info): Do not use INTUSE.
12516         (__register_frame): Likewise.
12517         (__register_frame_info_table): Likewise.
12518         (__register_frame_table): Likewise.
12519         (__deregister_frame_info): Likewise.
12520         (__deregister_frame): Likewise.
12522 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12524         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12525         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12526         not undefine.
12527         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12528         Likewise.
12529         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12530         Likewise.
12532 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12534         [BZ #14138]
12535         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12536         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12537         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12538         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12539         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12540         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12541         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12542         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12543         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12544         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12545         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12546         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12547         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12548         syscall.
12549         (setfsuid): Likewise.
12550         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12551         (setfsuid): Likewise.
12552         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12553         (setfsuid): Likewise.
12554         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12555         Likewise.
12556         (setfsuid): Likewise.
12557         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12558         (setfsuid): Likewise.
12559         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12560         Likewise.
12561         (setfsuid): Likewise.
12563 2014-10-27  Andreas Schwab  <schwab@suse.de>
12565         [BZ #17501]
12566         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12567         check for Slow_SSE4_2 feature bit.
12568         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12569         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12570         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12571         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12573 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12575         * configure.ac: Validate compiler version with a empirical test of
12576         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12577         $CC -v output.
12578         * configure: Regenerated.
12580         * inet/htons.c (htons): Prototypify.
12581         * inet/htonl.c (htonl): Likewise.
12583 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12585         * string/strncat.c (strncat): Improve performance by using strlen.
12587 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12589         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12591 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12593         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12594         Call libc_fetestexcept_aarch64.
12596 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12598         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12599         Call libc_feholdexcept_aarch64.
12601 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12603         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12604         Call get_rounding_mode.
12606 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12608         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12609         Simplify logic.
12611 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12613         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12614         Simplify logic.
12616 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12618         [BZ #14138]
12619         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12620         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12621         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12622         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12623         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12624         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12625         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12626         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12627         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12628         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12629         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12630         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12631         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12632         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12633         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12634         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12635         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12636         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12637         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12638         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12639         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12640         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12641         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12642         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12643         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12644         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12645         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12646         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12647         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12648         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12649         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12650         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12651         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12652         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12653         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12654         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12655         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12656         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12657         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12658         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12659         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12660         syscall.
12661         (geteuid): Likewise.
12662         (getgid): Likewise.
12663         (getuid): Likewise.
12664         (getresgid): Likewise.
12665         (getresuid): Likewise.
12666         (getgroups): Likewise.
12667         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12668         (geteuid): Likewise.
12669         (getgid): Likewise.
12670         (getuid): Likewise.
12671         (getresgid): Likewise.
12672         (getresuid): Likewise.
12673         (getgroups): Likewise.
12674         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12675         (geteuid): Likewise.
12676         (getgid): Likewise.
12677         (getuid): Likewise.
12678         (getresgid): Likewise.
12679         (getresuid): Likewise.
12680         (getgroups): Likewise.
12681         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12682         Likewise.
12683         (geteuid): Likewise.
12684         (getgid): Likewise.
12685         (getuid): Likewise.
12686         (getresgid): Likewise.
12687         (getresuid): Likewise.
12688         (getgroups): Likewise.
12689         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12690         (geteuid): Likewise.
12691         (getgid): Likewise.
12692         (getuid): Likewise.
12693         (getresgid): Likewise.
12694         (getresuid): Likewise.
12695         (getgroups): Likewise.
12696         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12697         Likewise.
12698         (geteuid): Likewise.
12699         (getgid): Likewise.
12700         (getuid): Likewise.
12701         (getgroups): Likewise.
12703         [BZ #14138]
12704         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12705         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12706         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12707         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12708         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12709         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12710         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12711         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12712         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12713         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12714         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12715         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12716         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12717         __chown.
12718         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12719         (lchown): Likewise.
12720         (fchown): Likewise.
12721         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12722         Likewise.
12723         (lchown): Likewise.
12724         (fchown): Likewise.
12725         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12726         (lchown): Likewise.
12727         (fchown): Likewise.
12728         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12729         Likewise.
12730         (lchown): Likewise.
12731         (fchown): Likewise.
12733 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12735         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12736         Simplify logic.
12738 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12740         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12741         Cleanup logic.
12743 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12745         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12746         Remove unused include.
12748 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12750         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12751         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12752         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12753         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12755 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12756             Helge Deller <deller@gmx.de>
12758         [BZ #17508]
12759         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12760         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12761         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12763 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12765         [BZ #14132]
12766         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12767         Remove macro definition.
12768         (__ashrdi3_v_glibc20): Likewise.
12769         (__lshrdi3_v_glibc20): Likewise.
12770         (__cmpdi2_v_glibc20): Likewise.
12771         (__ucmpdi2_v_glibc20): Likewise.
12772         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12773         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12774         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12775         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12776         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12777         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12779 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12781         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12782         old GNU extension [0] syntax.
12783         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12784         alloca rather than an array member with variable length.
12785         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12786         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12787         (parse_opt): ... here.  Likewise use alloca there.
12788         Validate the -i argument before checking for rootness.
12789         (send_shutdown): New function, broken out of ...
12790         (parse_opt): ... here.
12792 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12794         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12795         macro to get at the _rt_local_ro field.
12796         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12797         ([PIC] case) or _dl_hwcap ([!PIC] case).
12798         * sysdeps/arm/setjmp.S: Likewise.
12800         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12801         * sysdeps/arm/configure.ac: New check to define it.
12802         * sysdeps/arm/configure: Regenerated.
12803         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12804         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12805         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12806         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12807         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12808         Use move/movt pair instead of a load.
12809         (LDST_GLOBAL): Macro removed.
12810         (LDR_GLOBAL): New macro replaces it.
12811         (LDR_HIDDEN): New macro.
12812         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12813         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12815         * setjmp/tst-setjmp-static.c: New file.
12816         * setjmp/Makefile (tests): Add it.
12817         (tests-static): New variable.
12819 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12821         [BZ #17485]
12822         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12824 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12826         [BZ #14132]
12827         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12829 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12831         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12833 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12835         * io/fts.c (dirent_not_directory): New function.
12836         (fts_build): Call it.
12838 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12840         * nptl/version.c (__nptl_main): Use normal __write rather than
12841         INTERNAL_SYSCALL.
12842         (banner): Update copyright years.
12844         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12845         gettimeofday.
12846         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12847         * nptl/pthread_cond_timedwait.c: Likewise.
12848         * nptl/pthread_mutex_timedlock.c: Likewise.
12849         * nptl/sem_timedwait.c: Likewise.
12851         * sysdeps/nptl/bits/libc-lock.h
12852         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12853         (__libc_lock_init_recursive): Return void, not 0.
12854         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12855         (__libc_rwlock_init): Likewise.
12856         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12858 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12860         [BZ #15215]
12861         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12862         (__pthread_once_slow): ... here.
12863         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12864         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12866 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12868         [BZ #15215]
12869         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12870         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12871         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12872         * nptl/pthread_once.c (__pthread_once): Likewise.
12873         Update comments.
12875 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12877         [BZ #14138]
12878         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12879         name.
12880         (writev): Use __libc_writev as strong name.
12881         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12882         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12884 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12886         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12888         * sysdeps/i386/nptl/tls.h
12889         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12890         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12891         New macros.
12892         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12893         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12894         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12895         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12896         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12897         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12899         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12900         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12901         on [__NR_futex].
12902         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12903         broken out of ...
12904         (__pthread_mutex_init): ... here.  Call it.
12905         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12906         Conditionalize PI cases on [__NR_futex].
12907         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12908         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12909         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12911         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12912         conditional on [SIGSETXID].
12913         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12914         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12915         is defined.  Likewise for SIGSETXID.
12916         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12917         Conditionalize definitions on [SIGSETXID].
12918         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12919         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12920         unblocking on [SIGCANCEL].
12922         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12923         [__NR_set_robust_list].
12925 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12927         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12928         (do_compare): Likewise.
12930 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12932         [BZ #15884]
12933         * string/strcoll_l.c: Don't include stdio.h.
12934         (coll_seq): Remove members idxarr and rulearr.
12935         (get_next_seq_cached): Remove function.
12936         (get_next_seq): Likewise.
12937         (get_next_seq_nocache): Rename to get_next_seq.
12938         (do_compare): Remove function.
12939         (do_compare_nocache): Rename to do_compare.
12940         (STRCOLL): Remove weight and rules cache.
12942 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12944         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12945         * sysdeps/arm/sfp-machine.h: ... to here.
12946         * sysdeps/arm/Implies: Remove arm/soft-fp.
12948 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12950         * conform/data/sys/utsname.h-data (*_t): Allow.
12951         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12952         [POSIX] (WEXITED): Do not expect constant.
12953         [POSIX] (WSTOPPED): Likewise.
12954         [POSIX] (WNOHANG): Likewise.
12955         [POSIX] (WNOWAIT): Likewise.
12956         [POSIX] (siginfo_t): Do not expect type or elements.
12957         [POSIX] (pid_t): Do not expect type.
12958         [POSIX] (signal.h): Do not allow header.
12959         [POSIX] (sys/resource.h): Likewise.
12960         [POSIX] (si_*): Do not allow pattern.
12961         [POSIX] (W*): Likewise.
12962         [POSIX] (P_*): Likewise.
12963         [POSIX] (BUS_*): Likewise.
12964         [POSIX] (CLD_*): Likewise.
12965         [POSIX] (FPE_*): Likewise.
12966         [POSIX] (ILL_*): Likewise.
12967         [POSIX] (POLL_*): Likewise.
12968         [POSIX] (SEGV_*): Likewise.
12969         [POSIX] (SI_*): Likewise.
12970         [POSIX] (TRAP_*): Likewise.
12971         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12972         variable.
12974 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12976         [BZ #12926]
12977         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12978         infinite loop when __recvmsg returns 0.
12980 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12982         * CANCEL-FCT-WAIVE: Remove file.
12983         * CANCEL-FILE-WAIVE: Likewise.
12985         [BZ #14132]
12986         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12987         instead of INTVARDEF.
12988         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12989         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12990         rtld_hidden_data_def instead of INTVARDEF.
12991         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12992         * elf/dl-deps.c (expand_dst): Likewise.
12993         * elf/dl-load.c (_dl_dst_count): Likewise.
12994         (_dl_dst_substitute): Likewise.
12995         (decompose_rpath): Likewise.
12996         (_dl_init_paths): Likewise.
12997         (open_path): Likewise.
12998         (_dl_map_object): Likewise.
12999         * elf/rtld.c (dl_main): Likewise.
13000         (process_dl_audit): Likewise.
13001         (process_envvars): Likewise.
13002         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13003         Remove declaration.
13004         (__libc_enable_secure): Use rtld_hidden_proto.
13006 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13008         * elf/dl-load.c
13009         (add_path): New function broken out of _dl_rtld_di_serinfo.
13010         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13012 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13014         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13015         parentheses around macro arguments.
13016         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13017         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13018         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13019         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13020         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13021         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13022         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13023         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13024         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13025         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13026         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13027         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13028         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13029         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13030         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13031         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13032         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13033         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13034         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13035         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13036         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13037         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13038         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13039         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13040         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13041         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13042         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13043         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13044         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13045         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13046         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13047         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13048         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13049         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13050         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13051         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13052         Likewise.
13053         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13054         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13055         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13056         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13057         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13058         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13059         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13060         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13061         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13062         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13063         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13064         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13065         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13066         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13067         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13068         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13069         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13070         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13071         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13072         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13073         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13074         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13075         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13076         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13077         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13078         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13079         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13080         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13081         (_FP_FRAC_SRS_1): Likewise.
13082         (_FP_FRAC_CLZ_1): Likewise.
13083         (_FP_MUL_MEAT_1_imm): Likewise.
13084         (_FP_MUL_MEAT_1_wide): Likewise.
13085         (_FP_MUL_MEAT_1_hard): Likewise.
13086         (_FP_SQRT_MEAT_1): Likewise.
13087         (_FP_FRAC_ASSEMBLE_1): Likewise.
13088         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13089         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13090         (__FP_CLZ_2): Likewise.
13091         (_FP_MUL_MEAT_2_wide): Likewise.
13092         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13093         (_FP_MUL_MEAT_2_gmp): Likewise.
13094         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13095         (_FP_SQRT_MEAT_2): Likewise.
13096         (_FP_FRAC_ASSEMBLE_2): Likewise.
13097         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13098         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13099         (_FP_FRAC_CLZ_4): Likewise.
13100         (_FP_MUL_MEAT_4_wide): Likewise.
13101         (_FP_MUL_MEAT_4_gmp): Likewise.
13102         (_FP_SQRT_MEAT_4): Likewise.
13103         (_FP_FRAC_ASSEMBLE_4): Likewise.
13104         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13105         * soft-fp/op-common.h (_FP_CMP): Likewise.
13106         (_FP_CMP_EQ): Likewise.
13107         (_FP_CMP_UNORD): Likewise.
13108         (_FP_TO_INT): Likewise.
13109         (_FP_FROM_INT): Likewise.
13110         [!__FP_CLZ] (__FP_CLZ): Likewise.
13111         (_FP_DIV_HELP_imm): Likewise.
13112         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13113         Likewise.
13114         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13115         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13116         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13117         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13118         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13119         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13120         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13121         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13122         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13123         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13124         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13125         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13126         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13127         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13128         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13129         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13130         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13131         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13132         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13133         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13134         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13135         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13136         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13137         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13138         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13139         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13140         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13141         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13142         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13143         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13144         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13145         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13146         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13147         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13148         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13149         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13150         (FP_UNPACK_RAW_SP): Likewise.
13151         (FP_PACK_RAW_S): Likewise.
13152         (FP_PACK_RAW_SP): Likewise.
13153         (FP_UNPACK_S): Likewise.
13154         (FP_UNPACK_SP): Likewise.
13155         (FP_UNPACK_SEMIRAW_S): Likewise.
13156         (FP_UNPACK_SEMIRAW_SP): Likewise.
13157         (FP_PACK_S): Likewise.
13158         (FP_PACK_SP): Likewise.
13159         (FP_PACK_SEMIRAW_S): Likewise.
13160         (FP_PACK_SEMIRAW_SP): Likewise.
13161         (_FP_SQRT_MEAT_S): Likewise.
13162         (FP_CMP_S): Likewise.
13163         (FP_CMP_EQ_S): Likewise.
13164         (FP_CMP_UNORD_S): Likewise.
13165         (FP_TO_INT_S): Likewise.
13166         (FP_FROM_INT_S): Likewise.
13168         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13170         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13171         (FP_EX_INVALID_IMZ): Likewise.
13172         (FP_EX_INVALID_IMZ_FMA): Likewise.
13173         (FP_EX_INVALID_ISI): Likewise.
13174         (FP_EX_INVALID_ZDZ): Likewise.
13175         (FP_EX_INVALID_IDI): Likewise.
13176         (FP_EX_INVALID_SQRT): Likewise.
13177         (FP_EX_INVALID_CVI): Likewise.
13178         (FP_EX_INVALID_VC): Likewise.
13179         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13180         "invalid" exceptions.
13181         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13182         (_FP_ADD_INTERNAL): Likewise.
13183         (_FP_MUL): Likewise.
13184         (_FP_FMA): Likewise.
13185         (_FP_DIV): Likewise.
13186         (_FP_CMP_CHECK_NAN): Likewise.
13187         (_FP_SQRT): Likewise.
13188         (_FP_TO_INT): Likewise.
13189         (FP_EXTEND): Likewise.
13191 2014-10-09  Allan McRae  <allan@archlinux.org>
13193         * po/fr.po: Update French translation from translation project.
13195 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13197         [BZ #14132]
13198         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13199         of INTDEF.
13200         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13201         (__cxa_atexit): Use libc_hidden_proto.
13202         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13204         [BZ #14132]
13205         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13206         declaration.
13207         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13208         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13209         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13210         [!_ISOMAC] (__iswctype_internal): Likewise.
13211         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13212         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13213         alias.
13214         (fcntl): Remove __fcntl_internal alias.
13215         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13216         __connect_internal alias.
13217         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13218         Likewise.
13220         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13221         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13222         FP_DENORM_ZERO.
13223         (_FP_CHECK_FLUSH_ZERO): New macro.
13224         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13225         (_FP_CMP): Likewise.
13226         (_FP_CMP_EQ): Likewise.
13227         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13228         FP_DENORM_ZERO.
13229         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13230         (FP_TRUNC): Likewise.
13232         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13233         treated as invalid conversion, not as normal exponent.
13235         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13236         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13237         (_FP_CMP_EQ): Likewise.
13238         (_FP_CMP_UNORD): Likewise.
13239         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13240         (FP_CMP_EQ_D): Likewise.
13241         (FP_CMP_UNORD_D): Likewise.
13242         * soft-fp/extended.h (FP_CMP_E): Likewise.
13243         (FP_CMP_EQ_E): Likewise.
13244         (FP_CMP_UNORD_E): Likewise.
13245         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13246         (FP_CMP_EQ_Q): Likewise.
13247         (FP_CMP_UNORD_Q): Likewise.
13248         * soft-fp/single.h (FP_CMP_S): Likewise.
13249         (FP_CMP_EQ_S): Likewise.
13250         (FP_CMP_UNORD_S): Likewise.
13251         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13252         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13253         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13254         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13255         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13256         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13257         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13258         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13259         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13260         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13261         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13262         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13263         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13264         to FP_CMP_Q.
13265         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13266         FP_CMP_Q.
13267         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13268         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13269         FP_CMP_EQ_Q.
13270         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13271         FP_CMP_Q.
13272         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13273         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13274         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13275         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13276         FP_CMP_EQ_Q.
13277         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13278         FP_CMP_Q.
13279         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13280         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13281         FP_CMP_EQ_Q.
13282         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13283         FP_CMP_Q.
13284         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13285         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13286         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13287         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13288         FP_CMP_EQ_Q.
13290         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13291         a subnormal result, set the underflow exception if trapping on
13292         underflow is enabled.
13293         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13294         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13295         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13296         redefine to 0.
13297         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13298         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13299         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13300         * soft-fp/extendxftf2.c (__extendxftf2): Use
13301         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13303         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13304         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13305         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13306         FP_HANDLE_EXCEPTIONS.
13307         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13308         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13309         FP_HANDLE_EXCEPTIONS.
13310         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13311         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13312         FP_HANDLE_EXCEPTIONS.
13313         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13314         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13315         FP_HANDLE_EXCEPTIONS.
13317 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13319         [BZ #14132]
13320         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13321         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13322         use INTUSE.
13323         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13324         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13325         Remove alias.
13326         (__adjtimex): Define using libc_hidden_ver.
13327         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13328         Remove declaration.
13329         (ntp_gettime): Call __adjtimex directly.
13330         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13331         Remove declaration.
13332         (ntp_gettimex): Call __adjtimex directly.
13333         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13334         __adjtimex_internal alias.
13336 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13338         [BZ #17460]
13339         * nscd/nscd.c (more_help): Rewrite list of tables collection
13340         using xstrdup and asprintf.
13342         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13344 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13345             Roland McGrath  <roland@hack.frob.com>
13347         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13348         (do_lookup_unique): ... local function 'enter' here; update callers.
13350 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13352         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13353         compat_symbol calls on [SHARED].
13354         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13355         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13356         Remove.
13357         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13358         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13359         (oldsetrlimit): Remove.
13360         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13362         (lchown): New syscall entry.
13363         (oldsetrlimit): Remove.
13364         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13365         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13366         (oldsetrlimit): Remove.
13367         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13369         [BZ #14138]
13370         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13371         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13372         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13373         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13374         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13375         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13376         (fchown): Likewise.
13377         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13378         (fchown): Likewise.
13379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13380         Likewise.
13382 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13384         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13385         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13386         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13387         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13388         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13389         Likewise.
13390         (__old_sem_post): Likewise.
13392 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13394         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13395         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13396         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13397         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13398         Use INLINE_VSYSCALL macro.
13399         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13400         __vdso_clock_gettime.
13401         * sysdeps/unix/sysv/linux/tile/init-first.c
13402         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13403         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13404         __vdso_clock_gettime.
13406         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13407         to set up frame more cleanly.
13409         * sysdeps/tile/memcmp.c: New file.
13411         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13413         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13414         * sysdeps/tile/tilegx/strcasestr.c: New file.
13415         * sysdeps/tile/tilegx/strnlen.c: New file.
13416         * sysdeps/tile/tilegx/strstr.c: New file.
13418         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13420 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13422         * nptl/tst-setuid3.c: Write errors to stdout.
13424 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13426         * elf/dl-deps.c
13427         (preload): New functions broken out of _dl_map_object_deps.
13428         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13430 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13432         [BZ #14138]
13433         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13434         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13436 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13438         * sysdeps/mips/strcmp.S: New.
13440 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13442         [BZ #14138]
13443         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13444         (linkat): Likewise.
13445         (mkdirat): Likewise.
13446         (readlinkat): Likewise.
13447         (renameat): Likewise.
13448         (symlinkat): Likewise.
13449         (unlinkat): Likewise.
13450         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13451         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13452         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13453         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13454         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13455         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13456         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13458 2014-09-30  Will Newton  <will.newton@linaro.org>
13460         * math/math.h: Define long double math functions if
13461         _LIBC_TEST is defined.
13462         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13464         * localedata/Makefile: Move assignment to tests-special
13465         into an ifdef testing run-built-tests.
13466         * timezone/Makefile: Likewise.
13468 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13470         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13471         with $(BASH) not $(SHELL).
13473 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13474             Matthew LeGendre  <legendre1@llnl.gov>
13476         [BZ #17411]
13477         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13478         l_reloc_result.
13480 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13482         * stdio-common/printf_fp.c
13483         (hack_digit): New function, broken out of ...
13484         (__printf_fp): ... local function here.  Update call sites.
13485         hack_digit now takes an additional parameter that is a pointer
13486         to a struct of the referenced locals.  Those locals moved inside
13487         the struct and references updated.
13489 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13491         * aclocal.m4: Require autoconf 2.69.
13492         * configure: Regenerated.
13493         * sysdeps/aarch64/configure: Likewise.
13494         * sysdeps/alpha/configure: Likewise.
13495         * sysdeps/arm/armv7/configure: Likewise.
13496         * sysdeps/arm/configure: Likewise.
13497         * sysdeps/ia64/configure: Likewise.
13498         * sysdeps/mach/configure: Likewise.
13499         * sysdeps/mips/configure: Likewise.
13500         * sysdeps/s390/configure: Likewise.
13501         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13504         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13505         file.
13506         * sysdeps/ia64/configure.ac: Likewise.
13508 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13511         specify symbol version for ld.so.  Do not include entry for
13512         libpthread.
13513         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13514         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13515         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13517         [BZ #14171]
13518         * Makeconfig [$(build-shared) = yes]
13519         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13520         makefiles.
13521         [$(build-shared) = yes && $(soversions.mk-done) = t]
13522         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13523         [$(build-shared) = yes && $(soversions.mk-done) = t]
13524         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13525         to Makerules.
13526         [$(build-shared) = yes && $(soversions.mk-done) = t]
13527         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13528         here.
13529         [$(build-shared) = yes && $(soversions.mk-done) = t]
13530         (common-generated): Don't append gnu/lib-names.h and
13531         gnu/lib-names.stmp here.
13532         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13533         (lib-names-h-abi): New variable.
13534         [$(build-shared) = yes && $(soversions.mk-done) = t]
13535         (lib-names-stmp-abi): Likewise.
13536         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13537         abi-variants] (before-compile): Append
13538         $(common-objpfx)$(lib-names-h-abi).
13539         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13540         abi-variants] (common-generated): Append gnu/lib-names.h.
13541         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13542         abi-variants] (install-others-nosubdir): Depend on
13543         $(inst_includedir)/$(lib-names-h-abi).
13544         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13545         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13546         [$(build-shared) = yes && $(soversions.mk-done) = t]
13547         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13548         [$(build-shared) = yes && $(soversions.mk-done) = t]
13549         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13550         [$(build-shared) = yes && $(soversions.mk-done) = t]
13551         (common-generated): Append $(lib-names-h-abi) and
13552         $(lib-names-stmp-abi).
13553         * scripts/lib-names.awk: Do not handle multi being set.
13554         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13555         Remove variable.
13556         (abi-lp64_be-ld-soname): Likewise.
13557         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13558         Likewise.
13559         (abi-hard-ld-soname): Likewise.
13560         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13561         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13562         Remove variable.
13563         (abi-o32_hard-ld-soname): Likewise.
13564         (abi-o32_soft_2008-ld-soname): Likewise.
13565         (abi-o32_hard_2008-ld-soname): Likewise.
13566         (abi-n32_soft-ld-soname): Likewise.
13567         (abi-n32_hard-ld-soname): Likewise.
13568         (abi-n32_soft_2008-ld-soname): Likewise.
13569         (abi-n32_hard_2008-ld-soname): Likewise.
13570         (abi-n64_soft-ld-soname): Likewise.
13571         (abi-n64_hard-ld-soname): Likewise.
13572         (abi-n64_soft_2008-ld-soname): Likewise.
13573         (abi-n64_hard_2008-ld-soname): Likewise.
13574         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13575         Likewise.
13576         (abi-64-v2-ld-soname): Likewise.
13577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13578         ld.so entries.
13579         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13580         variable.
13581         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13582         entry.
13583         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13584         variable.
13585         (abi-64-ld-soname): Likewise.
13586         (abi-x32-ld-soname): Likewise.
13587         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13588         entry.
13589         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13591 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13593         [BZ #14138]
13594         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13595         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13596         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13597         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13598         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13599         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13600         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13601         syscall entry for GLIBC_2.2 symbol version.
13602         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13603         Likewise.
13604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13605         (setrlimit): Likewise.
13606         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13607         Likewise.
13609 2014-09-23  Will Newton  <will.newton@linaro.org>
13611         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13612         _LINUX_ARM_SYSDEP_H include guard too.
13613         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13614         define.
13616 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13618         * sysdeps/unix/sysv/linux/eventfd.c:
13619         Make first argument unsigned.
13620         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13621         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13623 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13625         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13626         * socket/sys/socket.h: Likewise
13627         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13629 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13631         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13633 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13635         * time/tst-ftime.c: New test.
13636         * time/Makefile (tests): Add tst-ftime.
13638 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13640         * soft-fp/extended.h: Fix comment formatting.
13641         * soft-fp/op-1.h: Likewise.
13642         * soft-fp/op-2.h: Likewise.
13643         * soft-fp/op-4.h: Likewise.
13644         * soft-fp/op-8.h: Likewise.
13645         * soft-fp/op-common.h: Likewise.
13646         * soft-fp/soft-fp.h: Likewise.
13648         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13650 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13652         [BZ #6652]
13653         * Makeconfig (soversions-default-setname): Remove variable.
13654         ($(common-objpfx)soversions.i): Don't pass default_setname to
13655         soversions.awk.
13656         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13657         oldest_abi to abi-versions.awk.
13658         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13659         * config.make.in (oldest-abi): Remove variable.
13660         * configure.ac (--enable-oldest-abi): Remove configure option.
13661         * configure: Regenerated.
13662         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13663         text.
13664         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13665         * scripts/soversions.awk: Do not handle default_setname variable.
13666         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13667         variable.
13668         * sysdeps/mach/hurd/configure: Regenerated.
13669         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13670         variable.
13671         * sysdeps/unix/sysv/linux/configure: Regenerated.
13673 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13675         * elf/Makefile (CFLAGS-interp.c): Remove.
13676         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13677         path string.
13678         * elf/interp.c: Include generated runtime-linker.h
13680         * Makerules (lib%.so): Don't include $(+interp) in
13681         prerequisites.
13682         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13683         * dlfcn/eval.c: Remove file.
13685         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13686         macros.
13688         [BZ #17266]
13689         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13690         4.2 and newer.
13692         [BZ #17370]
13693         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13695 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13696             Jakub Jelinek  <jakub@redhat.com>
13698         [BZ #17266]
13699         * libio/stdio.h: Check definition of __fortify_function
13700         instead of __extern_always_inline to include bits/stdio2.h.
13701         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13702         check if __extern_always_inline is defined.
13703         [__USE_MISC || __USE_XOPEN]: Likewise.
13704         [__USE_ISOC99] Likewise.
13705         * misc/sys/cdefs.h (__fortify_function): Define only if
13706         __extern_always_inline is defined.
13707         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13708         __extern_always_inline and __extern_inline only for g++-4.3
13709         and newer or a compatible gcc.
13711 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13713         [BZ #17371]
13714         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13715         last change to handle zero prefix length.
13717 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13719         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13720         _SC_REGEX_VERSION.
13722         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13723         _POSIX_RAW_SOCKETS.
13725 2014-09-13  Allan McRae  <allan@archlinux.org>
13727         * po/ru.po: Update Russian translation from translation project.
13729 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13731         * locale/programs/locale.c (show_locale_vars): Inline local function
13732         into its sole call site.  Clean up some style nits.
13733         (print_item): New function, broken out of ...
13734         (show_info): ... local function here.  Clean up style nits.
13736         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13737         out of ...
13738         (set_class_defaults): ... local function set_default here.
13739         Define set_default as a macro locally to pass constant parameters.
13740         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13741         rather than a shared local.
13743         * stdlib/rpmatch.c (try): New function, broken out of ...
13744         (rpmatch): ... local function here.  Also, prototypify definition.
13746 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13748         * scripts/soversions.awk: Do not handle configuration names.
13749         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13750         vendor and os variables to soversions.awk.
13751         * configure.ac: Do not modify gnu-* host_os.
13752         * configure: Regenerated
13753         * shlib-versions: Remove first column with configuration names.
13754         * nptl/shlib-versions: Likewise.
13755         * nptl_db/shlib-versions: Likewise.
13756         * sysdeps/hppa/shlib-versions: Likewise.
13757         * sysdeps/m68k/shlib-versions: Likewise.
13758         * sysdeps/mach/hurd/shlib-versions: Likewise.
13759         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13760         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13761         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13762         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13763         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13764         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13765         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13766         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13768         Likewise.
13769         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13770         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13771         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13772         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13773         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13774         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13775         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13776         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13779         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13781         Regenerated.
13782         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13784         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13786         * shlib-versions: Remove OS-specific entries.  Moved to files in
13787         sysdeps.
13788         * sysdeps/mach/hurd/shlib-versions: New file.
13789         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13791         * nptl/shlib-versions: Remove architecture-specific entries.
13792         Moved to files in sysdeps.
13793         * shlib-versions: Likewise.
13794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13795         file.
13796         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13797         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13798         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13799         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13801         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13802         (UDP_NO_CHECK6_RX): Likewise.
13804 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13806         * sysdeps/posix/sysconf.c (__sysconf): Spell
13807         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13809 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13811         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13812         loading.
13813         * iconv/Versions (__gconv_transliterate): Export for use from
13814         gconv modules.
13815         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13816         (struct __gconv_trans_data, __gconv_trans_fct,
13817         __gconv_trans_context_fct, __gconv_trans_query_fct,
13818         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13819         definitions.
13820         (struct __gconv_step_data): Remove __trans member.
13821         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13822         longer hidden.  Remove unused trans_data argument.
13823         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13824         (__gconv_translit_find): Remove declaration.
13825         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13826         prototype.
13827         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13828         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13829         trans_data argument.  Add hidden definition.
13830         (__gconv_translit_find): Remove.
13831         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13832         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13833         * iconv/skeleton.c: Remove transliteration initialization.
13834         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13835         __gconv_step_data initialization.
13836         * libio/iofwide.c (__libio_translit_): Remove.
13837         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13838         * wcsmbs/btowc.c (__btowc): Likewise.
13839         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13840         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13841         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13842         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13843         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13844         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13845         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13846         * wcsmbs/wctob.c (wctob): Likewise.
13848 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13850         [BZ #16194]
13851         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13852         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13853         register usage.
13854         * sysdeps/x86/Makefile: Adjust.
13856 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13857             Roland McGrath  <roland@hack.frob.com>
13859         * locale/weight.h: Add include guard.
13860         (findidx): Make static rather than auto; take new parameters
13861         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13862         * locale/weightwc.h: Likewise.
13863         * posix/fnmatch_loop.c
13864         (FCT): Change type of EXTRA from int32_t to wint_t.
13865         Don't include either header inside the function.
13866         Call FINDIDX rather than findidx, and pass new arguments.
13867         #undef FINDIDX at the end of the file.
13868         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13869         FINDIDX before including fnmatch_loop.c for the non-wide version.
13870         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13871         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13872         for the wide version.
13873         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13874         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13875         Pass new arguments to findidx.
13876         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13877         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13878         Don't #include it inside the function.  Pass new arguments to findidx.
13879         * posix/regex_internal.h
13880         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13881         (re_string_elem_size_at): Don't #include it inside the function.
13882         Pass new arguments to findidx.
13883         * string/strcoll_l.c: #include WEIGHT_H at top level.
13884         (get_next_seq): Don't #include it inside the function.
13885         Pass new arguments to findidx.
13886         (get_next_seq_nocache): Likewise.
13887         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13888         (STRXFRM): Don't #include it inside the function.
13889         Pass new arguments to findidx.
13891 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13893         [BZ #17344]
13894         * malloc/malloc.c (unlink): Turn asserts into a call to
13895         malloc_printerr.
13897 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13899         [BZ #17370]
13900         * libio/wfileops (do_ftell_wide): Free OUT.
13902 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13904         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13906 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13908         [BZ #17363]
13909         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13910         group if the current group is empty.
13912 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13914         * benchtests/bench-memset.c (test_main): Add more test from size
13915         from 32 to 512 bytes.
13916         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13917         Add POWER8 memset object.
13918         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13919         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13920         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13921         implementation.
13922         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13923         Likewise.
13924         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13925         multiarch POWER8 memset optimization.
13926         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13927         POWER8 memset optimization.
13929         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13930         Remove bzero multiarch objects.
13931         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13932         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13933         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13934         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13935         Remove define.
13936         [__bzero]: Redefine to specific name.
13937         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13938         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13939         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13940         define.
13941         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13942         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13944 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13946         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13947         warnings into errors.
13949         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13950         __cxa_thread_atexit_impl prototype.
13952 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13954         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13955         Fix capitalization of error message.
13957 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13959         * sysdeps/mips/preconfigure: Modify ABI tests.
13961 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13963         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13965 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13966             Carlos O'Donell  <carlos@systemhalted.org>
13968         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13969         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13970         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13971         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13972         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13973         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13974         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13975         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13976         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13977         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13978         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13979         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13980         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13981         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13982         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13983         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13984         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13985         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13986         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13987         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13988         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13989         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13990         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13991         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13992         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13993         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13994         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13995         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13996         Deconditionalize the code that was previously under [RESET_PID].
13997         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13998         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13999         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14000         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14001         include sysdep.h.
14003 2014-09-08  Allan McRae  <allan@archlinux.org>
14005         * version.h (RELEASE): Set to "development".
14006         (VERSION): Set to "2.20.90"
14008 2014-09-07  Allan McRae  <allan@archlinux.org
14010         * version.h (RELEASE): Set to "stable".
14011         (VERSION): Set to "2.20"
14012         * include/features.h (__GLIBC_MINOR__): Set to 20.
14014         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14015         Liebler.
14017         * po/ko.po: Update Korean translation from translation project.
14019 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14021         [BZ #17354]
14022         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14023         macro for handling signed relocations.
14025 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14027         [BZ #17325]
14028         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14029         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14030         assert.
14031         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14032         * iconvdata/ibm935.c (BODY): Likewise.
14033         * iconvdata/ibm937.c (BODY): Likewise.
14034         * iconvdata/ibm939.c (BODY): Likewise.
14035         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14036         assert.
14037         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14038         script.
14039         * iconvdata/run-iconv-test.sh: New test loop for checking for
14040         decoder crashers.
14042 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14044         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14045         libm_hidden_ver.
14047 2014-09-01  Allan McRae  <allan@archlinux.org>
14049         * po/eo.po: Update Esperanto translation from translation project.
14051         * po/ca.po: Update Catalan translation from translation project.
14053 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14055         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14056         __proc_dostop call.
14058 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14060         [BZ #17319]
14061         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14062         to call set_thread_area instead of hand written asm.
14063         (__NR_set_thread_area): Removed define.
14064         (TLS_FLAG_WRITABLE): Likewise.
14065         (__ASSUME_SET_THREAD_AREA): Remove check.
14066         (TLS_EBX_ARG): Remove define.
14067         (TLS_LOAD_EBX): Likewise.
14069 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14071         Simplify atomicity of socket creation in bind.
14073         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14074         looking up the name after linking the file.
14076 2014-08-27  Allan McRae  <allan@archlinux.org>
14078         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14080 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14082         [BZ #17187]
14083         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14084         trans_compare, open_translit, __gconv_translit_find):
14085         Remove module loading code.
14087 2014-08-26  Allan McRae  <allan@archlinux.org>
14089         * po/vi.po: Update Vietnamese translation from translation project.
14091         * po/uk.po: Update Ukrainian translation from translation project.
14093         * po/fr.po: Update French translation from translation project.
14095         * po/ru.po: Update Russian translation from translation project.
14097         * po/pl.po: Update Polish translation from translation project.
14099         * po/cs.po: Update Czech translation from translation project.
14101         * po/de.po: Update German translation from translation project.
14103         * po/bg.po: Update Bulgarian translation from translation project.
14105         * po/sv.po: Update Sweedish translation from translation project.
14107         * po/nl.po: Update Dutch translation from translation project.
14109         * po/es.po: Update Spanish translation from translation project.
14111 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14113         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14115         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14116         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14117         (CPPFLAGS-iconvconfig): Likewise.
14118         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14120         * include/libc-symbols.h: Remove unnecessary check for
14121         NOT_IN_libc.
14122         * nptl/pthreadP.h: Likewise.
14123         * sysdeps/aarch64/setjmp.S: Likewise.
14124         * sysdeps/alpha/setjmp.S: Likewise.
14125         * sysdeps/arm/sysdep.h: Likewise.
14126         * sysdeps/i386/setjmp.S: Likewise.
14127         * sysdeps/m68k/setjmp.c: Likewise.
14128         * sysdeps/posix/getcwd.c: Likewise.
14129         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14130         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14131         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14132         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14133         * sysdeps/sh/sh3/setjmp.S: Likewise.
14134         * sysdeps/sh/sh4/setjmp.S: Likewise.
14135         * sysdeps/unix/alpha/sysdep.h: Likewise.
14136         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14137         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14138         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14139         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14142         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14143         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14144         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14145         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14146         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14147         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14148         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14149         * sysdeps/x86_64/setjmp.S: Likewise.
14151 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14153         [BZ #17263]
14154         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14155         <stdint.h>.
14156         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14157         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14159 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14161         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14163         [BZ #17262]
14164         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14165         and __x86_64__ when disabling x87 inline functions.
14167 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14169         [BZ #17259]
14170         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14171         asm statement with __cpuid_count.
14173 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14175         * configure.ac: Change __ehdr_start code to dereference the struct.
14176         Run readelf on the output to look for relocations.
14177         * configure: Regenerated.
14179 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14181         [BZ #17261]
14182         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14183         value to 0.
14184         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14186 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14188         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14190 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14192         [BZ #16892]
14193         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14194         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14196 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14198         * malloc/malloc.c: Fix typo in comment.
14200 2014-08-09  Allan McRae  <allan@archlinux.org>
14202         * Regenerate libc.po.
14204 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14206         * intl/tst-gettext2.sh: Check every lang file for creation.
14208 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14210         * sysdeps/aarch64/fpu/math_private.h
14211         (libc_feholdsetround_noex_aarch64_ctx): New function.
14213 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14215         * sysdeps/arm/armv6/strcpy.S (strcpy):
14216         Fix performance issue in misaligned cases.
14218 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14220         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14221         Move definition from termios.h.
14222         (struct termio): Likewise.
14223         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14224         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14225         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14226         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14227         Likewise.
14228         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14229         Move definition to ioctl-types.h
14230         (struct termio): Likewise.
14231         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14232         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14233         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14234         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14235         Likewise.
14237 2014-08-05  Richard Henderson  <rth@redhat.com>
14239         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14240         exceptions.
14241         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14242         Add fraiseexcpt.
14243         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14244         Use __feraiseexcept.
14245         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14246         Protect libm symbols with IS_IN_libm.
14248         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14250 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14252         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14254 2014-08-04  Will Newton  <will.newton@linaro.org>
14256         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14257         file.
14259 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14261         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14262         variants for each function.
14264 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14266         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14267         appended ...
14268         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14269         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14270         appended ...
14271         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14272         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14273         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14274         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14275         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14276         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14277         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14278         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14279         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14280         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14281         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14282         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14283         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14284         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14285         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14286         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14287         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14288         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14289         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14290         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14291         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14292         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14293         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14294         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14295         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14296         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14297         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14298         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14299         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14300         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14301         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14302         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14303         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14304         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14305         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14306         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14307         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14308         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14309         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14310         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14311         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14312         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14313         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14314         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14315         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14316         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14317         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14318         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14319         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14320         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14321         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14322         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14323         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14324         Update #include.
14325         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14326         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14328 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14330         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14331         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14332         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14333         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14334         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14335         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14337 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14339         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14340         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14341         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14342         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14344 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14346         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14347         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14348         (__libc_vfork): Define function under this name.
14349         (__vfork): Define as an alias.
14350         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14351         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14353 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14355         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14356         that was previously under [RESET_PID].
14357         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14359 2014-08-04  Andreas Schwab  <schwab@suse.de>
14361         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14363 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14365         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14366         (main): Likewise.
14368 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14370         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14372 2014-08-01  Richard Henderon  <rth@redhat.com>
14374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14375         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14376         typo in exact zero test.
14377         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14378         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14379         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14381 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14383         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14384         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14385         * sysdeps/arm/sysdep.h: ... here.
14386         [!__ASSEMBLER__]: Include <stdint.h>.
14388 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14390         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14391         (HAVE_WCTYPE_H): Likewise.
14392         (HAVE_ISWCTYPE): Likewise.
14393         (ENABLE_NLS): Likewise.
14394         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14395         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14397         * posix/regex_internal.c: Check if DEBUG is defined and is
14398         set.
14400         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14401         (HAVE_MBSRTOWCS): Likewise.
14402         * posix/fnmatch.c: Include string.h unconditionally.
14404 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14406         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14407         reversal.
14409 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14411         * sysdeps/generic/safe-fatal.h: New file.
14412         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14413         * nptl/forward.c: Include it.
14414         (__pthread_unwind): Use __safe_fatal as default action, rather
14415         than a bogus use of INTERNAL_SYSCALL that could never work.
14417         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14418         * configure.ac (libc_cv_builtin_trap): New test.
14419         * configure: Regenerated.
14420         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14421         (ABORT_INSTRUCTION): Define using __builtin_trap.
14423         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14424         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14425         * sysdeps/nptl/nptl-signals.h: New file.
14426         * nptl/pthreadP.h: Include <nptl-signals.h>.
14428 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14430         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14431         (ONE_DIRECTION): Define.
14432         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14433         (ONE_DIRECTION): Define.
14434         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14435         (ONE_DIRECTION): Define.
14437 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14439         * sysdeps/s390/Makefile: Delete file.
14440         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14441         * sysdeps/s390/__longjmp.c: Delete file.
14442         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14443         Remove fields __flags and __reserved.
14444         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14445         and add versioning.
14446         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14447         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14448         * sysdeps/s390/rtld-setjmp.S: Likewise.
14449         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14450         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14451         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14452         * sysdeps/s390/s390-32/setjmp.S: ... here.
14453         Add versioning.
14454         (__sigsetjmp): Remove setting __flags field.
14455         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14456         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14457         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14458         * sysdeps/s390/s390-64/setjmp.S: ... here.
14459         Add versioning.
14460         (__sigsetjmp): Remove setting __flags field.
14461         * sysdeps/s390/setjmp.S: Delete file.
14462         * sysdeps/s390/sigjmp.c: Likewise.
14463         * sysdeps/s390/v1-longjmp.c: Likewise.
14464         * sysdeps/s390/v1-setjmp.h: Likewise.
14465         * sysdeps/s390/v1-sigjmp.c: Likewise.
14466         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14467         Remove v1-longjmp_chk.
14468         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14469         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14470         Include debug/longjmp_chk.c and add versioning.
14471         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14472         Include nptl/pt-longjmp.c and add versioning.
14473         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14474         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14475         Include __longjmp.c.
14476         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14477         Move to ...
14478         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14479         (__getcontext): Remove setting __flags field.
14480         Add versioning.
14481         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14482         Don't restore upper high grps.
14483         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14484         Likewise.
14485         (__swapcontext): Remove setting uc_flags field.
14486         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14487         Delete file.
14488         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14489         Include __longjmp.c.
14490         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14491         Move to ...
14492         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14493         (__getcontext): Remove setting __flags field.
14494         Add versioning.
14495         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14496         (__swapcontext): Remove setting uc_flags field.
14497         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14498         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14499         Remove fields uc_high_gprs and __reserved.
14500         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14501         New file with reverted content.
14502         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14503         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14504         Regenerated.
14505         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14506         Regenerated.
14508 2014-07-31  Andreas Schwab  <schwab@suse.de>
14510         * config.h.in (HAVE_IFUNC): Define to 0.
14511         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14512         definedness.
14514 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14516         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14517         memmove-avx-unaligned, memcpy-avx-unaligned and
14518         mempcpy-avx-unaligned.
14519         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14520         Add tests for AVX memcpy functions.
14521         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14522         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14523         memcpy_chk.
14524         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14525         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14526         memmove_chk.
14527         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14528         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14529         mempcpy_chk.
14530         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14531         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14532         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14534 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14536         [BZ #17213]
14537         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14538         powerpc64le.
14540 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14542         [BZ #16839]
14543         * manual/llio.texi: Add section about open file description locks.
14544         * manual/examples/ofdlocks.c: Example of open file description
14545         lock usage.
14546         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14547         F_OFD_SETLK, and F_OFD_SETLKW.
14549 2014-07-23  Allan McRae  <allan@archlinux.org>
14551         * po/es.po: Update Spanish translation from translation project.
14553 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14555         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14557 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14559         [BZ #17078]
14560         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14561         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14562         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14564 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14566         [BZ #17088]
14567         * math/fesetenv.c (__fesetenv)
14568         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14569         * math/feupdateenv.c (__feupdateenv)
14570         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14572         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14573         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14574         (__ASSUME_SOCKETCALL): Do not define.
14576         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14577         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14578         (__ASSUME_SOCKETCALL): Do not define.
14579         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14580         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14581         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14582         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14583         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14584         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14585         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14586         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14588         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14589         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14590         (__ASSUME_SOCKETCALL): Do not define.
14591         (__ASSUME_IPC64): Define unconditionally.
14592         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14593         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14594         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14595         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14596         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14597         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14598         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14599         Likewise.
14601         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14602         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14603         (__ASSUME_SOCKETCALL): Do not define.
14604         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14605         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14606         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14607         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14608         (__ASSUME_REQUEUE_PI): Define unconditionally.
14609         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14610         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14611         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14612         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14613         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14614         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14616         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14617         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14618         (__ASSUME_SOCKETCALL): Do not define.
14619         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14620         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14621         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14622         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14623         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14624         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14626         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14627         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14628         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14629         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14630         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14631         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14632         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14633         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14634         (__ASSUME_GETCPU_SYSCALL): Likewise.
14636         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14637         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14638         cases for individual architectures.
14639         * sysdeps/gnu/configure: Regenerated.
14640         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14641         LIBC_SLIBDIR_RTLDDIR.
14642         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14643         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14644         LIBC_SLIBDIR_RTLDDIR.
14645         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14647         LIBC_SLIBDIR_RTLDDIR.
14648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14649         Regenerated.
14650         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14651         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14652         file.
14653         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14654         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14655         file.
14656         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14657         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14658         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14659         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14661         * sysdeps/aarch64/shlib-versions: Move to ...
14662         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14663         * sysdeps/alpha/shlib-versions: Move to ...
14664         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14665         * sysdeps/arm/shlib-versions: Move to ...
14666         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14667         * sysdeps/hppa/shlib-versions: Move all contents except for
14668         libgcc_s entry to ...
14669         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14670         entry from ...
14671         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14672         * sysdeps/ia64/shlib-versions: Move to ...
14673         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14674         entry from ...
14675         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14676         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14677         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14678         * sysdeps/microblaze/shlib-versions: Move to ...
14679         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14680         * sysdeps/mips/shlib-versions: Move to ...
14681         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14682         entry from ...
14683         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14684         * sysdeps/tile/shlib-versions: Move to ...
14685         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14686         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14687         from ...
14688         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14689         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14690         entry from ...
14691         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14693 2014-07-17  Will Newton  <will.newton@linaro.org>
14695         * sysdeps/arm/bits/atomic.h
14696         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14697         (__arch_compare_and_exchange_bool_16_int): Likewise.
14698         (__arch_compare_and_exchange_bool_64_int): Likewise.
14700         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14701         into an #else block.
14703 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14705         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14706         just Linux configurations.  Test empirically that the compiler sets
14707         __ARM_EABI__, rather than using the tuple to decide.
14708         * sysdeps/arm/preconfigure: Regenerated.
14709         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14710         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14711         contents appended ...
14712         * sysdeps/arm/configure.ac: ... here.
14713         * sysdeps/arm/configure: Regenerated.
14715 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14717         * nptl/pthread_kill.c: New file.
14718         * nptl/pthread_sigmask.c: New file.
14719         * nptl/pthread_sigqueue.c: New file.
14721         * sysdeps/nptl/lowlevellock.h: New file.
14722         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14723         * sysdeps/nptl/lowlevellock-futex.h: New file.
14725         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14726         Remove dead declarations.
14728 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14730         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14731         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14732         config-cflags-avx2.
14733         * sysdeps/x86_64/configure.ac: Likewise.
14734         * sysdeps/i386/configure: Regenerated.
14735         * sysdeps/x86_64/configure: Likewise.
14736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14737         memset-avx2 only if config-cflags-avx2 is yes.
14738         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14739         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14740         defined.
14741         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14742         only if HAVE_AVX2_SUPPORT is defined.
14743         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14745 2014-07-14  Alan Modra  <amodra@gmail.com>
14747         [BZ #17153]
14748         * elf/elf.h (DT_PPC64_NUM): Correct value.
14749         * NEWS: Add to fixed bug list.
14751 2014-07-13  Jim Meyering  <meyering@fb.com>
14753         [BZ 17150]
14754         regex: don't deref NULL upon heap allocation failure
14755         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14756         failure in one more place.
14757         To trigger the segfault, configure grep -with-included-regex,
14758         build it, and run these commands:
14759         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14761 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14763         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14765 2014-07-11  Richard Henderson  <rth@redhat.com>
14767         * sysdeps/aarch64/libm-test-ulps: Update.
14769 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14771         [BZ #17135]
14772         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14773         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14774         (__nptl_setxid): Initialize error member.  Call
14775         __nptl_setxid_error.
14776         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14777         * nptl/descr.h (struct xid_command): Add error member.
14778         * nptl/tst-setuid3.c: New file.
14779         * nptl/Makefile (tests): Add it.
14781 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14783         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14784         New define.
14785         (__lll_trylock): Use __lll_base_trylock.
14786         (__lll_cond_trylock): Likewise.
14788 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14790         * nptl/pthread_create.c (start_thread): Use atomic_or and
14791         lll_futex_wake directly rather than lll_robust_dead.
14792         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14793         (lll_robust_dead): Macro removed.
14794         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14795         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14796         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14797         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14798         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14799         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14800         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14801         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14802         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14803         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14804         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14805         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14806         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14807         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14808         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14810         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14811         Use atomic_compare_and_exchange_val_acq directly rather than
14812         lll_robust_trylock.
14813         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14814         (__lll_robust_trylock, lll_robust_trylock): Removed.
14815         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14816         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14817         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14818         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14819         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14820         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14821         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14822         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14823         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14824         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14825         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14826         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14827         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14828         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14830 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14832         * manual/locale.texi (Locale Names): New section documenting
14833         locale name syntax.  Adjust menu and node chaining accordingly.
14834         (Choosing Locale): Reference Locale Names, Locale Categories.
14835         Mention setting LC_ALL=C.  Reflect that name syntax is now
14836         documented.
14837         (Locale Categories): New section title.  Reference Locale Names.
14838         LC_ALL is an environment variable, but not a category.
14839         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14840         description, now in Locale Name.  Reference that section.  Locale
14841         name syntax is now documented.
14843 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14845         [BZ #17137]
14846         * locale/findlocale.c (name_present, valid_locale_name): New
14847         functions.
14848         (_nl_find_locale): Use the loc_name variable to store name
14849         candidates.  Call name_present and valid_locale_name to check and
14850         validate locale names.  Return an error if the locale is invalid.
14852 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14854         * locale/setlocale.c (setlocale): Use strdup for allocating
14855         composite name copy.
14857 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14859         Sync up with gnulib.
14860         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14861         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14862         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14863         and _GL_ARG_NONNULL.
14864         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14865         [!_LIBC]: Include code for Windows and Cygwin.
14866         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14867         Include prototype for int strerror_r.
14868         [!_LIBC] (is_open): New function.
14869         (flush_stdout): New function.
14870         (print_errno_message): Use it.
14871         (error): Likewise.
14872         (error_at_line): Likewise.
14873         (error_tail) Add function attribute macros.  Use
14874         __builtin_expect.
14876         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14878         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14880         * io/ftw.c: Include sys/param.h unconditionally.
14882         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14884         [BZ #17125]
14885         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14886         libc_freeres_ptr.
14887         (freecache): New function to free CACHE on exit.
14889         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14890         initialization.
14892 2014-07-09  David S. Miller  <davem@davemloft.net>
14894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14896         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14897         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14898         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14899         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14900         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14901         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14902         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14903         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14904         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14905         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14906         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14907         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14908         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14910 2014-07-09  Andreas Schwab  <schwab@suse.de>
14912         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14913         output.
14914         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14915         (do_test): Likewise.
14917         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14919 2014-07-09  Will Newton  <will.newton@linaro.org>
14921         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14922         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14923         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14924         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14925         * sysdeps/hppa/start.S (_start): Likewise.
14927 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14929         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14931         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14932         defined.
14934 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14936         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14937         after checking that it is non-NULL.
14939         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14941 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14943         * sysdeps/powerpc/memmove.c: Remove file.
14944         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14945         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14946         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14947         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14948         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14949         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14950         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14951         string memmove instead of removed powerpc one.
14953         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14954         [weak_alias]: Fix compiler warning due trailing data.
14955         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14956         [weak_alias]: Likewise.
14957         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14958         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14961         (__libc_ifunc_impl_list): Add memmove functions.
14963 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14965         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14966         Remove code.
14967         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14968         Likewise
14969         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14970         Likewise
14971         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14972         Likewise
14973         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14974         Likewise
14975         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14976         Likewise
14977         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14978         Likewise
14979         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14980         Likewise
14981         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14982         Likewise
14983         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14984         Likewise
14985         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14986         Likewise
14987         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14988         Likewise
14989         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14990         Likewise
14991         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14992         Likewise
14993         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14994         Likewise
14995         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14996         Likewise
14997         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14998         Likewise
15000 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15002         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15003         to avoid alignment traps in non-cacheable memory.
15004         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15007         multiarch objects.
15008         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15009         file: multiarch power7 memmove.
15010         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15011         multiarch default memmove.
15012         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15013         multiarch memove for powerpc32/power4.
15015         * string/bcopy.c: Use full path to include memmove.c.
15016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15017         multiarch objects.
15018         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15019         bcopy for powerpc64.
15020         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15021         bcopy for powerpc64.
15022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15023         and memmove implementations.
15024         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15025         optimized multiarch memmove for POWER7/powerpc64.
15026         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15027         default multiarch memmove for powerpc64.
15028         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15029         multiarch for powerpc64.
15030         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15031         for POWER7/powerpc64.
15032         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15033         memmove for POWER7/powerpc64.
15035         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15036         glibc default one.
15038         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15039         __ELF_NATIVE_CLASS equal to 64.
15041 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15043         * sysdeps/nptl/lowlevellock.h: File removed.
15045         * NEWS: NPTL is no longer an add-on!
15046         * nptl/internaltypes.h: Moved ...
15047         * sysdeps/nptl/internaltypes.h: ... here.
15048         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15049         * sysdeps/nptl/fork.c: Likewise.
15050         * sysdeps/nptl/gai_misc.h: Likewise.
15051         * sysdeps/nptl/librt-cancellation.c: Likewise.
15052         * sysdeps/nptl/jmp-unwind.c: Likewise.
15053         * sysdeps/nptl/setxid.h: Likewise.
15054         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15055         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15056         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15057         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15058         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15059         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15060         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15061         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15062         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15063         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15064         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15065         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15066         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15067         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15068         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15069         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15070         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15071         * nptl/Makeconfig: Moved ...
15072         * sysdeps/nptl/Makeconfig: ... here.
15073         * nptl/configure: File removed.
15074         * nptl/ANNOUNCE: File removed.
15075         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15076         * sysdeps/unix/sysv/linux/configure: Regenerated.
15078         * nptl/Makefile (routines): Add libc_pthread_init,
15079         libc_multiple_threads, register-atfork and unregister-atfork.
15080         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15081         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15082         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15083         pthread-pi-defines.sym, structsem.sym.
15084         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15085         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15086         [$(subdir) = nptl] (tests): Add tst-setgetname.
15087         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15088         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15089         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15090         [!LIBC_SIGACTION]: Remove aliases.
15091         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15092         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15093         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15094         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15095         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15096         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15097         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15098         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15099         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15100         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15101         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15102         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15103         __libc_allocate_rtsig_private.
15104         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15105         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15106         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15107         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15108         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15109         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15110         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15111         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15112         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15113         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15114         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15115         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15116         * nptl/internaltypes.h: ... here.
15117         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15118         * sysdeps/nptl/jmp-unwind.c: ... here.
15119         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15120         * nptl/libc-lowlevellock.c: ... here.
15121         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15122         * nptl/libc_multiple_threads.c: ... here.
15123         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15124         * nptl/libc_pthread_init.c: ... here.
15125         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15126         * nptl/lowlevelbarrier.sym: ... here.
15127         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15128         * nptl/lowlevelcond.sym: ... here.
15129         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15130         * nptl/lowlevellock.c: ... here.
15131         * nptl/lowlevellock.h: Moved ...
15132         * sysdeps/nptl/lowlevellock.h: ... here.
15133         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15134         * nptl/lowlevelrobustlock.c: ... here.
15135         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15136         * nptl/lowlevelrobustlock.sym: ... here.
15137         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15138         * nptl/lowlevelrwlock.sym: ... here.
15139         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15140         * nptl/pt-fork.c: ... here.
15141         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15142         * nptl/pthread-pi-defines.sym: ... here.
15143         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15144         * nptl/pthread_attr_getaffinity.c: ... here.
15145         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15146         * nptl/pthread_attr_setaffinity.c: ... here.
15147         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15148         * nptl/pthread_mutex_cond_lock.c: ... here.
15149         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15150         Update #include.
15151         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15152         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15153         * nptl/pthread_once.c: ... here, replacing old file.
15154         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15155         * nptl/pthread_yield.c: ... here.
15156         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15157         * nptl/register-atfork.c: ... here.
15158         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15159         * nptl/sem_post.c: ... here.
15160         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15161         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15162         * nptl/sem_timedwait.c: ... here.
15163         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15164         * nptl/sem_trywait.c: ... here.
15165         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15166         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15167         * nptl/sem_wait.c: ... here.
15168         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15169         * nptl/structsem.sym: ... here.
15170         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15171         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15172         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15173         * nptl/unregister-atfork.c: ... here.
15174         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15175         * nptl/unwindbuf.sym: ... here.
15176         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15177         * sysdeps/nptl/fork.c: ... here.
15178         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15179         * sysdeps/nptl/fork.h: ... here.
15180         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15181         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15182         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15183         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15184         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15185         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15186         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15187         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15188         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15189         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15190         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15191         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15192         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15193         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15194         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15195         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15196         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15197         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15198         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15199         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15200         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15201         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15202         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15203         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15204         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15205         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15206         * sysdeps/unix/sysv/linux/raise.c: ... here.
15207         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15208         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15209         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15210         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15211         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15212         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15213         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15214         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15215         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15216         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15217         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15218         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15219         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15220         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15221         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15223 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15225         * sysdeps/generic/memcopy.h: Add comment for
15226         MEMCPY_OK_FOR_FWD_MEMMOVE.
15228 2014-07-04  Will Newton  <will.newton@linaro.org>
15230         * string/memchr.c: Merge from gnulib.
15231         [_LIBC]: Remove conditionals.
15232         (__ptr_t): Remove define.
15233         (LONG_MAX_32_BITS): Likewise.
15234         (LONG_MAX): Likewise.
15235         (MEMCHR): Use ANSI prototype and optimize algorithm.
15237         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15239 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15241         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15242         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15244         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15245         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15246         in a bare environment with no <stdlib.h> installed.
15247         * sysdeps/nptl/configure: Regenerated.
15249         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15251         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15252         AC_EGREP_CPP for kernel header checks, so they only succeed if
15253         including <linux/version.h> actually works right.
15254         * sysdeps/unix/sysv/linux/configure: Regenerated.
15256         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15257         value so it's not diagnosed as unused.
15259         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15260         thing) with "ifeq ($(subdir),rt)".
15262 2014-07-03  Richard Henderson  <rth@redhat.com>
15264         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15265         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15266         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15268         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15269         (math_force_eval): New.
15271         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15272         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15274         * sysdeps/alpha/fpu/s_round.c: Remove file.
15275         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15277         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15278         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15279         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15280         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15281         (_dl_start, print_statistics): Likewise.
15282         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15283         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15285         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15286         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15287         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15288         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15289         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15290         (HP_SMALL_TIMING_AVAIL): Define.
15291         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15292         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15293         (HP_SMALL_TIMING_AVAIL): Define.
15294         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15295         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15297         * sysdeps/aarch64/hp-timing.h: New file.
15299         * sysdeps/generic/hp-timing.h: Remove dead comment.
15300         * sysdeps/generic/hp-timing-common.h: New file.
15301         * sysdeps/alpha/hp-timing.h: Include it.
15302         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15303         * sysdeps/i386/i686/hp-timing.h: Likewise.
15304         * sysdeps/ia64/hp-timing.h: Likewise.
15305         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15306         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15307         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15308         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15309         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15310         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15311         (hp_timing_t): New.
15313         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15314         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15315         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15316         * elf/rtld.c (_dl_start_final): Likewise.
15317         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15318         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15319         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15320         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15321         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15322         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15323         (HP_TIMING_DIFF_INIT): Remove.
15324         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15325         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15326         (HP_TIMING_DIFF_INIT): Remove.
15327         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15328         * sysdeps/i386/i686/hp-timing.c: Remove file.
15329         * sysdeps/x86_64/hp-timing.c: Remove file.
15330         * sysdeps/ia64/hp-timing.c: Remove file.
15331         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15332         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15333         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15334         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15336         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15337         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15338         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15339         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15340         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15341         (HP_TIMING_ACCUM): Remove.
15342         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15343         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15344         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15346         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15347         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15348         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15349         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15350         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15351         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15352         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15353         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15355         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15357 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15359         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15361 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15363         Sync up with gettext.
15364         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15365         [_MSC_VER]: Include malloc.h
15366         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15367         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15368         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15369         TEMP_FAILURE_RETRY.  Cast return of alloca.
15370         [!_LIBC] Call gl_rwlock_init.
15371         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15373 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15375         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15376         before checking its value.
15378 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15380         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15382         * debug/memcpy_chk.c: Don't include pagecopy.h.
15383         * debug/mempcpy_chk.c: Likewise.
15384         * string/memcpy.c: Likewise.
15385         * string/memmove.c: Likewise.
15386         * sysdeps/powerpc/memmove.c: Likewise.
15387         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15388         definition of PAGE_COPY_FWD_MAYBE here...
15389         * sysdeps/generic/pagecopy.h: ... from here.
15390         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15392 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15393             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15395         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15396         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15397         optimizations.
15398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15399         (__libc_ifunc_impl_list): Likewise.
15400         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15401         multiarch strcat for PPC64.
15402         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15403         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15405 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15407         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15409 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15411         * intl/loadmsgcat.c: Remove declaration of
15412         get_sysdep_segment_value.
15413         (get_sysdep_segment_value): Use ISO C style.
15414         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15415         semicolon.  Fix typo and formatting in comment.
15416         (_nl_unload_domain): Use ISO C style.
15418         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15420 2014-07-02  Will Newton  <will.newton@linaro.org>
15422         * malloc/obstack.c: Merge from gnulib master.
15423         [HAVE_CONFIG_H]: Remove conditional code.
15424         [!_LIBC]: Include config.h.
15425         [!ELIDE_CODE]: Don't include inttypes.h, include
15426         stdint.h unconditionally.
15427         (print_and_abort): Mark as _Noreturn.
15428         (_obstack_allocated_p): Mark as __attribute_pure__.
15429         (obstack_free): Rename to __obstack_free.
15430         [!__attribute__]: Remove conditional code.
15431         * malloc/obstack.h: Merge from gnulib master.
15432         [__cplusplus]: Move conditional down.
15433         [!__attribute_pure__]: Define __attribute_pure__ here
15434         if it is not already defined.
15435         (_obstack_memory_used): Mark as __attribute_pure__.
15436         [!__obstack_free]: Define as obstack_free.
15437         [__GNUC__]: Remove check for ancient NeXT gcc.
15439 2014-07-02  Will Newton  <will.newton@linaro.org>
15440             Paul Eggert  <eggert@cs.ucla.edu>
15442         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15444 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15446         * resolv/gethnamaddr.c: Add comment warning that the file is
15447         not maintained.
15449 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15451         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15452         entries.
15454         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15455         entry for aio_cancel and aio_cancel64.
15456         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15457         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15458         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15459         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15460         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15461         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15462         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15463         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15464         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15465         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15466         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15467         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15468         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15470 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15472         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15473         * nptl/pthread_mutex_lock.c: Likewise.
15474         * nptl/pthread_mutex_timedlock.c: Likewise.
15475         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15477 2014-07-01  Richard henderson  <rth@redhat.com>
15479         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15480         (__isnan, __isnanl): Remove.
15481         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15483         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15485 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15487         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15489 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15491         * resolv/nss_dns/dns-host.c (getanswer_r)
15492         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15494 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15496         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15497         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15498         undefine.
15499         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15500         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15502 2014-07-01  Roland McGrath <roland@hack.frob.com>
15504         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15505         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15507         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15508         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15510         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15511         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15512         ... here.
15513         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15514         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15516         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15517         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15518         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15519         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15521         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15522         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15523         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15524         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15525         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15526         Moved ...
15527         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15528         ... here.
15529         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15530         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15531         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15532         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15533         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15534         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15535         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15536         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15537         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15538         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15539         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15540         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15541         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15542         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15543         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15544         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15545         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15546         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15547         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15548         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15549         ... here.
15550         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15551         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15552         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15553         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15554         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15555         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15556         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15557         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15559 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15561         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15562         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15563         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15564         Add sysdep.
15566 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15570 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15572         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15573         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15575         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15577         * sysdeps/arm/libm-test-ulps: Regenerated.
15579 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15580             Roland McGrath <roland@hack.frob.com>
15582         * test-skeleton.c (signal_handler): Kill the whole process group
15583         before killing the child individually.
15584         (main): Report any failure on `setpgid'.
15586 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15588         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15589         from _TLS_H to _ARM_NPTL_TLS_H.
15590         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15591         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15593 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15595         [BZ #16539]
15596         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15597         (__expm1l): Return argument unchanged when small but not
15598         subnormal.
15600         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15601         include macro name.
15602         (_FP_UNPACK_RAW_1_P): Likewise.
15603         (_FP_PACK_RAW_1): Likewise.
15604         (_FP_PACK_RAW_1_P): Likewise.
15605         (_FP_MUL_MEAT_1_wide): Likewise.
15606         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15607         (_FP_MUL_MEAT_1_hard): Likewise.
15608         (_FP_DIV_MEAT_1_imm): Likewise.
15609         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15610         (_FP_DIV_MEAT_1_udiv): Likewise.
15611         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15612         (_FP_UNPACK_RAW_2): Likewise.
15613         (_FP_UNPACK_RAW_2_P): Likewise.
15614         (_FP_PACK_RAW_2): Likewise.
15615         (_FP_PACK_RAW_2_P): Likewise.
15616         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15617         (_FP_MUL_MEAT_2_wide): Likewise.
15618         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15619         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15620         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15621         (_FP_MUL_MEAT_2_gmp): Likewise.
15622         (_FP_DIV_MEAT_2_udiv): Likewise.
15623         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15624         (_FP_FRAC_SRL_4): Likewise.
15625         (_FP_FRAC_SRST_4): Likewise.
15626         (_FP_FRAC_SRS_4): Likewise.
15627         (_FP_UNPACK_RAW_4): Likewise.
15628         (_FP_UNPACK_RAW_4_P): Likewise.
15629         (_FP_PACK_RAW_4): Likewise.
15630         (_FP_PACK_RAW_4_P): Likewise.
15631         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15632         (_FP_MUL_MEAT_4_wide): Likewise.
15633         (_FP_MUL_MEAT_4_gmp): Likewise.
15634         (umul_ppppmnnn): Likewise.
15635         (_FP_DIV_MEAT_4_udiv): Likewise.
15636         (__FP_FRAC_ADD_4): Likewise.
15637         (__FP_FRAC_SUB_3): Likewise.
15638         (__FP_FRAC_SUB_4): Likewise.
15639         (__FP_FRAC_DEC_3): Likewise.
15640         (__FP_FRAC_DEC_4): Likewise.
15641         (__FP_FRAC_ADDI_4): Likewise.
15642         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15643         (_FP_FRAC_SRL_8): Likewise.
15644         (_FP_FRAC_SRS_8): Likewise.
15646         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15647         include macro name.
15648         (FP_UNPACK_RAW_EP): Likewise.
15649         (FP_PACK_RAW_E): Likewise.
15650         (FP_PACK_RAW_EP): Likewise.
15651         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15652         (_FP_ISSIGNAN): Likewise.
15653         (_FP_ADD_INTERNAL): Likewise.
15654         (_FP_FMA): Likewise.
15655         (_FP_CMP): Likewise.
15656         (_FP_SQRT): Likewise.
15657         (_FP_TO_INT): Likewise.
15658         (_FP_FROM_INT): Likewise.
15659         (FP_EXTEND): Likewise.
15660         (_FP_DIV_MEAT_N_loop): Likewise.
15662 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15664         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15665         throughout.
15667 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15669         [BZ #17097]
15670         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15671         result with correct sign in case of exponents that produce
15672         overflow except for X very close to 1.
15674 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15676         mktime: merge #if/#ifdef usage from glibc
15677         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15678         as that works with both Glibc's and Gnulib's style.
15679         See thread starting at Siddhesh Poyarekar's bug report at:
15680         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15682 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15684         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15685         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15686         * sysdeps/tile/tilegx/memmove.c: Remove file.
15688 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15690         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15691         abi-name definition.
15692         * scripts/soversions.awk: Do not handle or generate ABI lines.
15693         * shlib-versions: Remove ABI entries.
15694         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15695         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15697 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15699         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15700         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15701         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15702         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15703         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15704         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15705         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15706         Moved ...
15707         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15708         ... here.
15709         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15710         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15711         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15712         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15713         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15714         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15715         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15716         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15717         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15718         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15719         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15720         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15721         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15722         Moved ...
15723         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15724         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15725         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15726         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15727         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15728         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15729         Moved ...
15730         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15731         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15732         Moved ...
15733         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15734         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15735         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15736         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15737         Moved ...
15738         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15739         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15740         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15741         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15742         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15743         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15744         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15745         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15746         Moved ...
15747         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15748         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15749         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15750         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15751         Moved ...
15752         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15753         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15754         Moved ...
15755         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15756         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15757         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15758         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15759         Moved ...
15760         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15761         ... here.
15762         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15763         Identical file removed.
15764         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15765         Moved ...
15766         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15767         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15768         Identical file removed.
15769         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15770         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15771         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15772         Moved ...
15773         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15774         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15775         Identical file removed.
15776         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15777         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15778         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15779         Identical file removed.
15780         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15781         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15782         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15783         Identical file removed.
15784         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15785         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15786         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15787         Identical file removed.
15788         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15789         Moved ...
15790         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15791         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15792         Identical file removed.
15793         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15794         Moved ...
15795         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15796         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15797         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15798         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15799         Identical file removed.
15800         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15801         Moved ...
15802         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15803         ... here.
15804         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15805         Identical file removed.
15806         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15807         Moved ...
15808         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15809         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15810         Identical file removed.
15811         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15812         Moved ...
15813         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15814         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15815         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15816         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15817         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15818         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15819         Moved ...
15820         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15821         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15822         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15824         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15825         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15826         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15827         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15828         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15830 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15832         [BZ #17092]
15833         * nscd/nscd.c (monitor_child): Return exit status of child
15834         instead of return value from wait syscall.
15836 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15838         * configure.ac (libc_commonpagesize): Remove variable.
15839         (libc_relro_required): Likewise.
15840         (libc_cv_z_relro): Remove configure test.
15841         * configure: Regenerated.
15842         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15843         variable.
15844         (libc_relro_required): Likewise.
15845         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15846         (libc_relro_required): Likewise.
15847         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15848         (libc_relro_required): Likewise.
15849         * sysdeps/arm/preconfigure: Regenerated.
15850         * sysdeps/ia64/preconfigure: Remove file.
15851         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15852         variable.
15853         (libc_relro_required): Likewise.
15855         [BZ #16561]
15856         [BZ #16562]
15857         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15858         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15859         recompute overflowing results in original rounding mode.
15860         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15861         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15862         recompute overflowing results in original rounding mode.
15863         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15864         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15865         recompute overflowing results in original rounding mode.
15866         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15867         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15868         recompute overflowing results in original rounding mode.
15869         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15870         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15871         recompute overflowing results in original rounding mode.
15872         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15873         (libc_feholdsetround_ctx): New macro.
15874         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15875         * sysdeps/i386/fpu/libm-test-ulps: Update.
15876         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15878 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15880         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15881         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15882         corresponding .cpsetup call.
15884 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15886         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15887         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15888         * sysdeps/arm/Makefile [$(subdir) = csu]
15889         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15890         (static-only-routines): Add aeabi_read_tp here.
15891         (shared-only-routines): Add libc-aeabi_read_tp here.
15892         (CFLAGS-libc-start.c): Add -fexceptions here.
15893         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15894         (sysdep_routines, static-only-routines, shared-only-routines):
15895         Don't add to these here.
15896         (CFLAGS-libc-start.c): Likewise.
15898         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15899         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15900         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15901         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15902         * sysdeps/arm/Makefile [$(subdir) = rt]
15903         (librt-sysdep_routines, librt-shared-only-routines):
15904         Append rt-aeabi_unwind_cpp_pr1 here.
15905         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15906         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15907         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15908         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15909         Append nptl-aeabi_unwind_cpp_pr1 here.
15910         (tests): Filter out tst-cleanupx4 here.
15911         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15912         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15913         Don't do those here.
15915 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15917         * scripts/list-sources.sh: Do not handle ports specially.
15919 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15921         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15922         * sysdeps/arm/feupdateenv.c: Likewise.
15924         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15926 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15928         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15929         trailing whitespace removed.
15930         * scripts/config.guess: Update to version 2014-03-23.
15931         * scripts/config.sub: Update to version 2014-05-01
15932         * scripts/install-sh: Update to version 2013-12-25.23.
15933         * scripts/move-if-change: Update from gnulib.
15935 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15937         * debug/memmove_chk.c: Remove pagecopy.h include.
15939 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15941         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15942         identical to gnulib mktime.
15944 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15946         * configure.ac: Do not test for machine being rs6000.  Do not test
15947         for powerpc*-*soft.
15948         * configure: Regenerated.
15950         [BZ #11505]
15951         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15952         test.
15953         * configure: Regenerated.
15954         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15955         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15956         Remove configure test.
15957         * sysdeps/arm/configure: Regenerated.
15958         * sysdeps/nptl/configure.ac: Do not check
15959         libc_cv_asm_cfi_directives.
15960         * sysdeps/nptl/configure: Regenerated.
15961         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15962         * sysdeps/x86_64/nptl/configure: Remove generated file.
15963         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15964         unconditional.
15965         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15967 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15969         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15970         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15971         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15972         it is defined.
15974         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15975         instead of whether it is defined.
15976         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15977         * sysdeps/hppa/dl-machine.h: Likewise.
15978         * sysdeps/ia64/dl-machine.h: Likewise.
15979         * sysdeps/m68k/dl-machine.h: Likewise.
15980         * sysdeps/microblaze/dl-machine.h: Likewise.
15981         * sysdeps/mips/dl-machine.: Likewise.
15982         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15983         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15984         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15985         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15986         * sysdeps/sh/dl-machine.h: Likewise.
15987         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15988         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15989         * sysdeps/tile/dl-machine.h: Likewise.
15990         * sysdeps/x86_64/dl-machine.h: Likewise.
15992         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15993         code.
15994         (verify_persistent_db): Likewise.
15996 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15999         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16001         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16003         Moved ...
16004         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16005         ... here.
16006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16007         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16009         Identical file removed.
16010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16011         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16013         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16015         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16017         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16019         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16021         Moved ...
16022         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16024         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16026         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16028         Moved ...
16029         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16031         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16033         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16035         Identical file removed.
16036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16037         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16039         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16041         Moved ...
16042         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16043         ... here.
16044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16045         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16047         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16049         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16051         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16053         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16055         Moved ...
16056         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16058         Moved ...
16059         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16061         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16063         Moved ...
16064         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16066         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16068         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16069         folded into ...
16070         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16071         * sysdeps/unix/sysv/linux/s390/Versions
16072         (libpthread: GLIBC_2.19): New version set.
16073         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16074         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16075         (librt: GLIBC_2.3.3): New version set.
16076         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16077         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16078         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16079         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16080         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16081         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16082         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16083         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16084         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16085         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16086         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16087         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16088         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16089         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16090         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16091         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16092         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16093         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16094         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16095         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16096         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16097         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16098         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16099         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16100         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16101         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16102         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16103         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16104         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16105         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16106         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16107         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16108         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16109         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16110         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16111         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16112         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16113         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16114         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16115         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16116         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16117         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16118         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16119         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16120         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16122         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16123         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16124         (__libc_vfork): Define the function under this name.
16125         [!NOT_IN_libc] (__vfork): Make this an alias.
16126         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16127         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16128         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16129         (__libc_vfork): Define the function under this name.
16130         [!NOT_IN_libc] (__vfork): Make this an alias.
16131         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16132         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16133         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16134         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16135         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16136         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16138         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16139         code that was previously under [RESET_PID].
16140         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16141         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16142         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16144         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16145         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16146         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16147         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16148         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16149         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16150         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16151         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16152         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16153         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16154         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16155         Moved ...
16156         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16157         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16158         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16159         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16160         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16161         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16162         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16163         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16164         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16165         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16166         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16167         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16168         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16169         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16170         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16171         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16172         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16173         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16174         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16175         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16176         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16177         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16178         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16179         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16180         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16181         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16182         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16183         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16184         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16186 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16188         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16189         that was previously under [RESET_PID].
16190         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16192 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16194         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16195         not undefine and redefine.
16196         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16197         [O_CLOEXEC]: Make code unconditional.
16198         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16199         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16200         <kernel-features.h>.
16201         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16202         conditional variable definition.
16203         (shm_open) [O_CLOEXEC]: Make code unconditional.
16204         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16205         code.
16207         * configure.ac (USE_REGPARMS): Don't define here.
16208         * configure: Regenerated.
16209         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16210         * sysdeps/i386/configure: Regenerated.
16212         * nptl/createthread.c: Don't include kernel-features.h.
16213         * nptl/pthread_cancel.c: Likewise.
16214         * nptl/pthread_condattr_setclock.c: Likewise.
16215         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16216         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16217         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16218         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16219         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16220         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16221         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16222         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16223         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16224         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16225         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16226         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16227         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16228         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16229         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16230         * nscd/gai.c: Likewise.
16231         * nss/nss_db/db-open.c: Likewise.
16232         * sysdeps/generic/ldsodefs.h: Likewise.
16233         * sysdeps/sh/nptl/tls.h: Likewise.
16234         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16235         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16236         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16237         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16238         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16239         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16240         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16241         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16242         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16243         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16244         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16245         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16246         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16247         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16248         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16249         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16250         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16251         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16252         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16253         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16254         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16255         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16256         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16257         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16258         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16259         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16260         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16261         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16262         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16263         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16264         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16265         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16266         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16267         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16268         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16269         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16270         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16271         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16272         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16273         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16274         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16275         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16276         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16277         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16278         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16279         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16280         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16281         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16282         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16283         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16284         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16285         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16286         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16287         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16288         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16289         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16290         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16291         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16314         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16315         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16316         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16317         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16318         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16319         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16320         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16321         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16322         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16323         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16324         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16325         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16326         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16327         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16328         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16329         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16330         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16331         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16332         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16333         * sysdeps/unix/sysv/linux/system.c: Likewise.
16334         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16335         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16336         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16337         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16338         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16339         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16340         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16342         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16343         * configure: Regenerated.
16344         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16346         * configure.ac (base_machine): Do not set specially for particular
16347         machines here.
16348         * configure: Regenerated.
16349         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16350         settings from configure.ac.
16351         * sysdeps/i386/preconfigure: New file.
16352         * sysdeps/s390/preconfigure: Likewise.
16353         * sysdeps/sh/preconfigure: Likewise.
16354         * sysdeps/sparc/preconfigure: Likewise.
16356 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16358         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16359         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16360         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16361         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16362         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16363         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16364         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16365         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16366         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16367         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16368         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16369         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16370         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16371         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16372         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16373         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16374         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16375         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16376         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16378         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16379         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16380         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16381         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16382         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16383         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16384         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16385         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16386         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16387         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16388         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16389         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16390         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16391         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16392         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16393         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16394         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16395         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16396         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16397         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16398         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16399         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16400         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16401         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16402         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16403         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16404         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16405         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16406         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16407         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16408         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16409         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16410         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16411         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16412         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16413         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16414         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16415         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16418         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16420         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16422         Moved ...
16423         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16424         ... here.
16425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16426         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16428         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16430         Moved ...
16431         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16433         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16435         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16437         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16439         Moved ...
16440         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16442         Moved ...
16443         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16445         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16447         Moved ...
16448         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16450         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16452         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16454         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16456         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16458         Moved ...
16459         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16460         ... here.
16461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16462         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16464         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16466         Moved ...
16467         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16469         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16471         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16473         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16475         Moved ...
16476         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16478         Moved ...
16479         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16481         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16483         Moved ...
16484         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16486         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16488         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16490 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16492         * timezone/checktab.awk: Update from tzcode 2014e.
16493         * timezone/private.h: Likewise.
16494         * timezone/tzfile.h: Likewise.
16495         * timezone/zdump.c: Likewise.
16496         * timezone/zic.c: Likewise.
16498         * sysdeps/unix/sysv/linux/kernel-features.h
16499         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16500         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16501         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16502         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16503         Remove conditional code.
16505 2014-06-25  Will Newton  <will.newton@linaro.org>
16507         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16508         (_dl_arm_cap_flags): Add HWCAP2 values.
16509         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16510         (_DL_HWCAP_COUNT): Increase to 37.
16511         (_DL_HWCAP_LAST): New define.
16512         (_DL_HWCAP2_LAST): New define.
16513         (_dl_procinfo): Add support for printing
16514         AT_HWCAP2 entries.
16515         (_dl_string_hwcap): Use _dl_hwcap_string.
16517 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16521 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16523         * README: Do not mention ports directory.
16525         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16526         Remove macro.
16527         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16528         <kernel-features.h>.
16529         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16530         conditional variable definition.
16531         (__futimes): Update comment.
16532         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16533         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16535         [BZ #16560]
16536         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16537         arguments close to 0.
16538         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16539         Likewise.
16540         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16541         Likewise.
16542         * math/auto-libm-test-in: Add more tests of exp10.
16543         * math/auto-libm-test-out: Regenerated.
16544         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16546         * sysdeps/unix/sysv/linux/kernel-features.h
16547         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16548         * sysdeps/unix/sysv/linux/readv.c: Do not include
16549         <kernel-features.h>.
16550         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16551         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16552         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16553         unconditional.
16554         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16555         conditional code.
16556         * sysdeps/unix/sysv/linux/writev.c: Do not include
16557         <kernel-features.h>.
16558         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16559         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16560         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16561         unconditional.
16562         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16563         conditional code.
16565 2014-06-25  Will Newton  <will.newton@linaro.org>
16567         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16568         comment changes throughout the file.  Remove checks
16569         for HAVE_*_H definitions that are not required.
16570         (__gen_tempname): Call abort if an unknown kind value is
16571         passed.
16573 2014-06-25  Andreas Schwab  <schwab@suse.de>
16575         [BZ #17086]
16576         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16577         scalbln, scalblnf, scalblnl in libc.
16579 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16581         [BZ #17086]
16582         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16583         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16584         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16586 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16588         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16589         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16590         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16591         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16592         Update #include.
16593         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16594         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16595         Update #include.
16596         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16597         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16598         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16599         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16600         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16601         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16602         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16603         * sysdeps/x86/bits/semaphore.h: ... here.
16604         * sysdeps/x86/nptl/elide.h: Moved ...
16605         * sysdeps/x86/elide.h: ... here.
16606         * sysdeps/x86_64/nptl/Implies: File removed.
16607         * sysdeps/i386/nptl/Implies: File removed.
16609 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16611         [BZ #16539]
16612         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16613         return the argument for normal arguments with exponent below -64.
16614         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16615         Likewise.
16616         * math/auto-libm-test-in: Add another test of expm1.
16617         * math/auto-libm-test-out: Regenerated.
16619         [BZ #16287]
16620         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16621         calling __erfcl for arguments at least 16.
16622         * math/auto-libm-test-in: Add more tests of erf.
16623         * math/auto-libm-test-out: Regenerated.
16625         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16626         individual architectures.
16627         * sysdeps/unix/sysv/linux/configure: Regenerated.
16628         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16629         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16630         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16631         (ldd_rewrite_script): Define variable.
16632         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16634         file.
16635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16636         generated file.
16637         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16638         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16639         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16640         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16641         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16642         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16643         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16644         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16646 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16648         [BZ #17084]
16649         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16650         Rename member __data.d to __data.__elision_data.
16652 2014-06-24  Wilco  <wdijkstr@arm.com>
16654         * NEWS: Add 16918 to fixed bug list.
16656 2014-06-24  Wilco  <wdijkstr@arm.com>
16658         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16660 2014-06-24  Wilco  <wdijkstr@arm.com>
16662         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16663         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16664         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16665         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16666         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16667         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16668         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16669         Use _FPU_MASK_RM.
16671 2014-06-24  Wilco  <wdijkstr@arm.com>
16673         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16675 2014-06-24  Wilco  <wdijkstr@arm.com>
16677         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16678         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16679         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16680         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16682 2014-06-24  Wilco  <wdijkstr@arm.com>
16684         [BZ #16918]
16685         * sysdeps/arm/feupdateenv.c (feupdateenv):
16686         Rewrite to reduce FPSCR accesses and fix return value.
16688 2014-06-24  Wilco  <wdijkstr@arm.com>
16690         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16691         Optimize to avoid unnecessary FPSCR writes.
16692         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16693         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16694         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16695         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16697 2014-06-24  Wilco  <wdijkstr@arm.com>
16699         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16700         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16701         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16702         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16703         Call libc_fetestexcept_vfp.
16704         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16705         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16706         __SOFTFP__ ifdef so that they can be built for softfp.
16708 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16710         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16711         argument type signed char.
16713         * Makerules (check-abi): Dump diff of symlist if the test
16714         fails.
16716 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16718         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16719         using abort.
16721         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16722         Remove unused variable ST.
16724 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16726         [BZ #16354]
16727         [BZ #17061]
16728         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16729         small arguments before calling __expm1.
16730         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16731         small arguments before calling __expm1f.
16732         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16733         small arguments before calling __expm1l.
16734         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16735         Likewise.
16736         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16737         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16738         spurious underflow for some cosh tests.
16739         * math/auto-libm-test-out: Regenerated.
16740         * sysdeps/i386/fpu/libm-test-ulps: Update.
16742         [BZ #17050]
16743         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16744         (__ieee754_y1): Set errno if return value overflows.
16745         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16746         (__ieee754_y1f): Set errno if return value overflows.
16747         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16748         (__ieee754_y1l): Set errno if return value overflows.
16749         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16750         (__ieee754_y1l): Set errno if return value overflows.
16751         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16752         * math/auto-libm-test-out: Regenerated.
16754         * math/gen-auto-libm-tests.c: Document use of
16755         ignore-zero-inf-sign.
16756         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16757         (input_flags): Add ignore-zero-inf-sign.
16758         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16759         * math/gen-libm-test.pl (generate_testfile): Handle
16760         ignore-zero-inf-sign.
16761         * math/auto-libm-test-in: Mark some cpow tests with
16762         ignore-zero-inf-sign and some with xfail-rounding.
16763         * math/auto-libm-test-out: Regenerated.
16764         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16765         * sysdeps/i386/fpu/libm-test-ulps: Update.
16766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16768         [BZ #16315]
16769         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16770         overflowing or underflowing operations take place with sign of
16771         result.
16772         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16773         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16774         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16775         (__ieee754_pow): Recompute overflowing and underflowing results in
16776         original rounding mode.
16777         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16778         (__powl_helper): Allow negative argument X and scale negated value
16779         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16780         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16781         overflowing or underflowing operations take place with sign of
16782         result.
16783         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16784         Include <math.h>.
16785         * math/auto-libm-test-in: Add more tests of pow.
16786         * math/auto-libm-test-out: Regenerated.
16787         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16788         (pow_tonearest_test_data): Remove.
16789         (pow_test_tonearest): Likewise.
16790         (pow_towardzero_test_data): Likewise.
16791         (pow_test_towardzero): Likewise.
16792         (pow_downward_test_data): Likewise.
16793         (pow_test_downward): Likewise.
16794         (pow_upward_test_data): Likewise.
16795         (pow_test_upward): Likewise.
16796         (main): Don't call removed functions.
16797         * sysdeps/i386/fpu/libm-test-ulps: Update.
16798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16800 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16803         Moved ...
16804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16806         Moved ...
16807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16809         Moved ...
16810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16812         Moved ...
16813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16815         File removed.
16816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16817         File removed.
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16819         File removed.
16820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16821         File removed.
16822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16823         File removed.
16824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16825         File removed.
16826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16827         File removed.
16828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16829         File removed.
16830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16831         File removed.
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16833         File removed.
16834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16835         File removed.
16836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16837         File removed.
16838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16839         Moved ...
16840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16842         Moved ...
16843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16844         ... here.
16845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16846         Moved ...
16847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16849         Moved ...
16850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16852         Moved ...
16853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16855         Moved ...
16856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16858         Moved ...
16859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16861         Moved ...
16862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16864         Moved ...
16865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16868         ... here.
16869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16870         Moved ...
16871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16873         Moved ...
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16875         ... here.
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16877         Moved ...
16878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16879         ... here.
16880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16881         Moved ...
16882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16883         ... here.
16884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16885         Moved ...
16886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16888         Moved ...
16889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16893         Moved ...
16894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16895         ... here.
16896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16897         Moved ...
16898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16899         ... here.
16900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16901         Moved ...
16902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16904         Moved ...
16905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16907         Moved ...
16908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16910         Moved ...
16911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16913         Moved ...
16914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16915         ... here.
16916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16917         Moved ...
16918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16920         Moved ...
16921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16923         Moved ...
16924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16926         Moved ...
16927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16931         Moved ...
16932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16934         Moved ...
16935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16937         Moved ...
16938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16939         ... here.
16940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16941         Moved ...
16942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16943         ... here.
16944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16945         Moved ...
16946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16947         ... here.
16948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16949         Moved ...
16950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16952         Moved ...
16953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16955         Moved ...
16956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16958         Moved ...
16959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16960         ... here.
16961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16962         Moved ...
16963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16964         ... here.
16965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16966         Moved ...
16967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16968         ... here.
16969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16970         Moved ...
16971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16973         Moved ...
16974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16976 2014-06-23  Will Newton  <will.newton@linaro.org>
16977             Wilco  <wdijkstr@arm.com>
16979         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16980         implementation.  Include get-rounding-mode.h.
16981         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16982         [!libc_feholdsetround_noex_ctx]: Define
16983         libc_feholdsetround_noex_ctx.
16984         [!libc_feholdsetround_noexf_ctx]: Define
16985         libc_feholdsetround_noexf_ctx.
16986         [!libc_feholdsetround_noexl_ctx]: Define
16987         libc_feholdsetround_noexl_ctx.
16988         (libc_feholdsetround_ctx): New function.
16989         (libc_feresetround_ctx): New function.
16990         (libc_feholdsetround_noex_ctx): New function.
16991         (libc_feresetround_noex_ctx): New function.
16993 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16995         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16996         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16997         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16998         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16999         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17000         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17002         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17003         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17004         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17005         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17006         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17007         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17008         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17009         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17010         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17011         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17012         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17013         Moved ...
17014         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17015         ... here.
17016         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17017         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17018         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17019         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17020         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17021         Moved ...
17022         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17023         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17024         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17025         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17026         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17027         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17028         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17029         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17030         Moved ...
17031         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17032         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17033         Moved ...
17034         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17035         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17036         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17037         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17038         Moved ...
17039         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17040         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17041         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17042         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17043         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17044         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17045         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17046         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17047         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17048         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17049         Moved ...
17050         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17051         ... here.
17052         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17053         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17054         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17055         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17056         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17057         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17058         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17059         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17060         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17061         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17062         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17063         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17064         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17065         Moved ...
17066         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17067         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17068         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17069         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17070         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17071         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17072         Moved ...
17073         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17074         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17075         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17076         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17077         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17079         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17080         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17081         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17082         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17083         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17084         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17085         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17086         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17087         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17088         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17089         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17090         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17091         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17092         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17093         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17094         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17095         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17096         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17097         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17098         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17099         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17100         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17101         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17102         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17103         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17104         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17105         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17106         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17108 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17110         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17111         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17112         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17113         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17114         (IPV6_PMTUDISC_INTERFACE): Likewise.
17115         (IPV6_PMTUDISC_OMIT): Likewise.
17117 2014-06-23  Andreas Schwab  <schwab@suse.de>
17119         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17120         Remove unused errout label.
17122 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17124         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17125         macro: hardware supports Vector Crypto instructions.
17127 2014-06-23  Will Newton  <will.newton@linaro.org>
17129         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17130         rather than __builtin_expect.
17132         * elf/dl-lookup.c (undefined_msg): Remove variable.
17133         (_dl_lookup_symbol_x): Replace undefined_msg with string
17134         literal.
17136         * elf/dl-lookup.c (do_lookup_unique): New function.
17137         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17138         to a separate function.
17140 2014-06-23  Andreas Schwab  <schwab@suse.de>
17142         [BZ #17079]
17143         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17144         before reading the next line.
17146 2014-06-23  Will Newton  <will.newton@linaro.org>
17148         * test-skeleton.c (signal_handler): Use printf and %m
17149         rather than perror.  Use printf rather than fprintf to
17150         stderr.  Use puts rather than fputs to stderr.
17151         (main): Likewise.
17153 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17155         * nscd/nscd.c (thread_info_t): Remove typedef.
17156         (thread_info): Remove variable.
17158 2014-06-21  Allan McRae  <allan@archlinux.org>
17160         * NEWS: Mention CVE-2014-4043.
17162 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17164         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17165         * nptl/smp.h: ... here.
17167         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17169         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17170         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17171         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17172         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17174         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17175         * nptl/stack-aliasing.h: New file.
17176         * sysdeps/i386/i686/stack-aliasing.h: New file.
17177         * sysdeps/i386/i686/nptl/Makefile: File removed.
17178         * sysdeps/x86_64/stack-aliasing.h: New file.
17179         * sysdeps/x86_64/nptl/Makefile
17180         (CFLAGS-pthread_create.c): Variable removed.
17182         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17183         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17184         old file.
17185         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17186         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17187         old file.
17189 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17191         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17192         (__ASSUME_SIGFRAME_V2): Remove macro.
17193         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17194         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17195         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17196         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17197         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17198         Declare as function.  Remove conditional macro definitions.
17199         (__default_rt_sa_restorer): Likewise.
17200         (__default_sa_restorer_v1): Remove declaration.
17201         (__default_sa_restorer_v2): Likewise.
17202         (__default_rt_sa_restorer_v1): Likewise.
17203         (__default_rt_sa_restorer_v2): Likewise.
17204         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17205         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17206         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17208 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17210         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17211         (libpthread-routines): Add sysdep.
17212         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17213         * sysdeps/unix/sysv/linux/sparc/Versions
17214         (libpthread: GLIBC_2.3.3): New version set.
17215         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17216         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17217         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17218         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17219         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17220         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17221         Moved ...
17222         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17223         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17224         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17225         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17226         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17227         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17228         * sysdeps/sparc/nptl/sem_init.c: ... here.
17229         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17230         * sysdeps/sparc/nptl/sem_post.c: ... here.
17231         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17232         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17233         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17234         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17235         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17236         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17237         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17238         (libpthread-routines): Add cpu_relax.
17239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17240         File removed.
17241         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17242         (librt: GLIBC_2.3.3): New version set.
17243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17244         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17245         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17246         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17247         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17248         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17249         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17250         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17251         Moved ...
17252         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17253         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17254         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17255         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17256         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17258         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17260         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17262         Moved ...
17263         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17264         Update #include.
17265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17266         Moved ...
17267         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17268         Update #include.
17269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17270         Moved ...
17271         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17272         Update #include.
17273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17274         Moved ...
17275         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17276         Update #include.
17277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17278         Moved ...
17279         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17280         Update #include.
17281         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17282         Moved ...
17283         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17284         Update #include.
17285         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17286         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17287         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17289         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17290         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17291         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17292         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17293         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17294         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17296         Moved ...
17297         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17299         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17301         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17303 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17305         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17306         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17307         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17308         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17309         * nscd/nscd.c: Likewise.
17310         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17311         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17312         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17313         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17315         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17316         <kernel-features.h>.
17317         (init_mq_netlink): Remove conditional have_sock_cloexec
17318         definitions.  Remove code conditional on have_sock_cloexec < 0.
17319         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17320         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17321         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17322         <kernel-features.h>.
17323         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17324         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17326 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17329         Add tests for memset_chk and memset.
17331         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17332         with AVX2_Usable.
17334 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17336         [BZ #16046]
17337         * elf/tst-dl-iter-static.c: New file.
17338         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17340         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17341         error.
17343 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17345         * sysdeps/unix/sysv/linux/kernel-features.h
17346         (__ASSUME_F_GETOWN_EX): Remove macro.
17347         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17348         <kernel-features.h>.
17349         (miss_F_GETOWN_EX): Remove variable or macro.
17350         (do_fcntl): Do not check miss_F_GETOWN_EX.
17351         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17353         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17354         Remove macro.
17355         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17356         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17357         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17359         * sysdeps/unix/sysv/linux/kernel-features.h
17360         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17361         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17362         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17363         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17365 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17367         [BZ #17075]
17368         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17369         Fix calculation of the symbol's value.
17370         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17371         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17372         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17373         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17374         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17375         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17376         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17377         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17378         (modules-names): Add `tst-armtlsdescmod',
17379         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17380         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17381         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17382         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17383         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17384         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17385         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17386         ($(objpfx)tst-armtlsdescloc): New dependency.
17387         ($(objpfx)tst-armtlsdescextnow): Likewise.
17388         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17389         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17390         TLS scheme support.
17391         * sysdeps/arm/configure: Regenerate.
17393 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17395         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17396         (__atfct_seterrno_2): Likewise.
17397         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17398         <kernel-features.h>.
17399         (__ASSUME_ATFCTS): Do not undefine and redefine.
17400         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17401         (__have_atfcts): Remove conditional definition.
17402         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17403         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17404         unreachable if [__ASSUME_ATFCTS].
17405         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17406         not undefine and redefine.
17407         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17408         <kernel-features.h>.
17409         (faccessat) [__NR_faccessat]: Make code unconditional.
17410         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17411         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17412         <kernel-features.h>.
17413         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17414         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17415         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17416         <kernel-features.h>.
17417         (fchownat) [__NR_fchownat]: Make code unconditional.
17418         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17419         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17420         <kernel-features.h>.
17421         (futimesat) [__NR_futimesat]: Make code unconditional.
17422         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17423         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17424         <kernel-features.h>.
17425         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17426         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17427         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17428         <kernel-features.h>.
17429         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17430         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17431         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17432         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17433         <kernel-features.h>.
17434         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17435         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17436         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17437         <kernel-features.h>.
17438         (linkat) [__NR_linkat]: Make code unconditional.
17439         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17440         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17441         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17442         <kernel-features.h>.
17443         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17444         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17445         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17446         <kernel-features.h>.
17447         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17448         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17449         * sysdeps/unix/sysv/linux/openat.c: Do not include
17450         <kernel-features.h>.
17451         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17452         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17453         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17454         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17455         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17456         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17457         <kernel-features.h>.
17458         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17459         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17460         result of INLINE_SYSCALL directly, not via int variable.
17461         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17462         <kernel-features.h>.
17463         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17464         (renameat) [__NR_renameat]: Make code unconditional.
17465         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17466         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17467         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17468         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17469         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17470         (__ASSUME_ATFCTS): Do not undefine and redefine.
17471         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17472         <kernel-features.h>.
17473         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17474         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17475         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17476         <kernel-features.h>.
17477         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17478         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17479         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17480         (__ASSUME_ATFCTS): Do not undefine and redefine.
17481         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17482         <kernel-features.h>.
17483         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17484         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17485         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17486         <kernel-features.h>.
17487         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17488         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17490 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17492         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17494 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17496         [BZ #17069]
17497         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17498         constructed tree before returning error.
17499         * posix/bug-regexp36.c: Expand test case.
17501 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17503         [BZ #6803]
17504         * math/libm-test.inc (scalbln_test_date):
17505         Add errno expectations.
17506         * math/w_scalblnf.c: New File.
17507         Add wrapper which checks for setting errno to ERANGE.
17508         Add weak_alias for corresponding scalbln function.
17509         * math/w_scalbln.c: Likewise.
17510         * math/w_scalblnl.c: Likewise.
17511         * math/Makefile (libm-calls): Add w_scalbln.
17512         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17513         Remove weak_alias for corresponding scalbln function.
17514         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17515         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17516         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17517         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17518         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17519         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17520         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17521         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17522         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17523         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17524         Remove long_double_symbol for scalblnl function in libm, libc.
17525         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17526         Add wrapper which checks for setting errno to ERANGE.
17527         Add long_double_symbol for scalblnl function in libm, libc.
17528         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17529         Remove long_double_symbol for scalblnl in libm.
17530         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17531         Add wrapper which checks for setting errno to ERANGE.
17532         Add long_double_symbol for scalblnl function in libm.
17533         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17534         Do not use wrapper because of own implementation.
17536 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17538         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17539         3 bytes for __pad1 for x32.
17540         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17542 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17543             H.J. Lu  <hongjiu.lu@intel.com>
17545         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17546         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17547         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17548         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17549         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17551 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17553         [BZ #17069]
17554         * posix/regcomp.c (parse_expression): Deallocate partially
17555         constructed tree before returning error.
17556         * posix/Makefile.c (tests): Add bug-regex36.
17557         (generated): Add bug-regex36.mtrace.
17558         (tests-special): Add $(objpfx)bug-regex36-mem.out
17559         (bug-regex36-ENV): New variable.
17560         ($(objpfx)bug-regex36-mem.out): New rule.
17561         * posix/bug-regex36.c: New file.
17563 2014-06-19  Will Newton  <will.newton@linaro.org>
17565         * malloc/malloc.c (systrim): If extra is zero then return
17566         early.
17568 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17570         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17572 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17574         * sysdeps/aarch64/strchr.S: New file.
17576 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17578         [BZ #17022]
17579         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17580         from arguments -2 or below.
17581         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17582         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17584 2014-06-18  Andreas Schwab  <schwab@suse.de>
17586         [BZ #17062]
17587         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17588         of a bracket expr not to run off the end of the string.
17589         * posix/Makefile (tests): Add tst-fnmatch3.
17590         * posix/tst-fnmatch3.c: New file.
17592 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17594         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17595         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17596         [$(cross-compiling) = no]: Likewise.
17597         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17598         [$(cross-compiling) = no]: Likewise.
17600 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17602         [BZ #17031]
17603         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17604         double, adjusted for any remainder from the high double.
17605         * math/libm-test.inc (nearbyint): Add tests.
17606         (rint): Likewise.
17608 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17610         * nptl/sysdeps/powerpc/Makefile: Moved ...
17611         * sysdeps/powerpc/nptl/Makefile: ... here.
17612         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17613         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17614         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17615         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17616         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17617         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17618         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17619         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17620         * nptl/sysdeps/powerpc/tls.h: Moved ...
17621         * sysdeps/powerpc/nptl/tls.h: ... here.
17623 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17625         [BZ #16681]
17626         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17627         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17628         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17629         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17630         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17631         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17632         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17633         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17634         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17636 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17638         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17640 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17642         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17643         defined operator.
17645         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17646         $TIMEOUTFACTOR.
17648 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17650         [BZ #17058]
17651         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17652         non-executed part of the test.
17654 2014-06-16  Andreas Schwab  <schwab@suse.de>
17656         * string/bits/string2.h (strdup, strndup): Update feature guard.
17658 2014-06-14  David S. Miller  <davem@davemloft.net>
17660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17662 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17664         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17665         that was previously under [RESET_PID].
17666         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17668         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17669         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17670         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17671         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17672         (__libc_vfork): New strong alias.
17673         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17675 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17677         * sysdeps/generic/elide.h: New file.
17679 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17681         * Makefile (installed-headers): Adjust path of pthread.h header.
17683 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17685         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17686         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17687         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17688         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17690         * nptl/sysdeps/s390/Makefile: Moved ...
17691         * sysdeps/s390/nptl/Makefile: ... here.
17692         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17693         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17694         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17695         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17696         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17697         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17698         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17699         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17700         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17701         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17702         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17703         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17704         * nptl/sysdeps/s390/tls.h: Moved ...
17705         * sysdeps/s390/nptl/tls.h: ... here.
17707         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17708         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17710 2014-06-13  David S. Miller  <davem@davemloft.net>
17712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17715         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17719         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17720         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17721         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17722         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17723         Remove RESET_PID cpp guards.
17724         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17725         Remove RESET_PID cpp guards.
17726         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17728 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17730         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17731         __sp to uintptr_t.
17733 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17735         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17736         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17737         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17738         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17739         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17740         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17741         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17742         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17743         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17744         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17745         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17746         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17747         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17748         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17749         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17750         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17751         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17752         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17753         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17754         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17756         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17757         (pthread_rwlock_rdlock): Add elision.
17758         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17759         (pthread_rwlock_wrlock): Add elision.
17760         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17761         (pthread_rwlock_trywrlock): Add elision.
17762         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17763         (pthread_rwlock_tryrdlock): Add elision.
17764         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17765         (pthread_rwlock_tryrdlock): Add elision unlock.
17766         * nptl/sysdeps/pthread/pthread.h:
17767         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17768         (PTHREAD_RWLOCK_INITIALIZER,
17769         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17770         Handle new elision field.
17771         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17772         * sysdeps/arm/nptl/bits/pthreadtypes.h
17773         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17774         * sysdeps/sh/nptl/bits/pthreadtypes.h
17775         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17776         * sysdeps/tile/nptl/bits/pthreadtypes.h
17777         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17778         * sysdeps/a/nptl/bits/pthreadtypes.h
17779         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17780         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17781         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17782         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17783         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17784         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17785         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17786         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17787         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17788         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17789         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17790         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17791         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17792         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17793         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17794         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17795         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17796         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17797         (elision_init): Set try_xbegin to zero when no RTM.
17798         * sysdeps/x86/nptl/bits/pthreadtypes.h
17799         (pthread_rwlock_t): Change __pad1 to __rwelision.
17800         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17802 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17804         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17805         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17806         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17807         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17809 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17811         [BZ #16996]
17812         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17813         that the cached result has been set before returning it.
17815 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17817         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17818         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17819         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17820         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17821         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17822         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17824         * nptl/sysdeps/sparc/Makefile: Moved ...
17825         * sysdeps/sparc/nptl/Makefile: ... here.
17826         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17827         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17828         * nptl/sysdeps/sparc/tls.h: Moved ...
17829         * sysdeps/sparc/nptl/tls.h: ... here.
17830         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17831         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17832         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17833         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17834         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17835         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17836         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17837         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17838         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17839         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17840         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17841         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17842         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17843         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17844         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17845         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17846         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17847         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17848         Update #include.
17849         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17850         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17851         Update #include.
17852         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17853         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17854         Update #include.
17855         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17856         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17857         Update #include.
17859         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17861         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17862         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17864         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17865         (struct list_links): Type removed.
17866         (struct thread_node, struct timer_node): Replace struct list_links
17867         with struct list_head.
17868         (list_unlink_ip): Likewise.
17869         * sysdeps/pthread/timer_routines.c
17870         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17871         (list_append, list_insbefore): Likewise.
17872         (list_init): Function removed.
17873         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17874         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17875         * sysdeps/pthread/Makefile: ... here, new file.
17877         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17878         * sysdeps/nptl/Implies: ... here.
17879         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17880         * nptl/sysdeps/pthread/list.h: Moved ...
17881         * include/list.h: ... here.
17882         * nptl/sysdeps/pthread/createthread.c: Moved ...
17883         * nptl/createthread.c: ... here.
17884         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17885         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17886         * nptl/pt-longjmp.c: ... here.
17887         * nptl/sysdeps/pthread/Makefile: Moved ...
17888         * sysdeps/nptl/Makefile: ... here.
17889         * nptl/sysdeps/pthread/Subdirs: Moved ...
17890         * sysdeps/nptl/Subdirs: ... here.
17891         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17892         * sysdeps/nptl/aio_misc.h: ... here.
17893         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17894         * sysdeps/nptl/bits/libc-lock.h: ... here.
17895         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17896         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17897         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17898         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17899         * nptl/sysdeps/pthread/configure: Moved ...
17900         * sysdeps/nptl/configure: ... here.
17901         * nptl/sysdeps/pthread/configure.ac: Moved ...
17902         * sysdeps/nptl/configure.ac: ... here.
17903         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17904         * sysdeps/nptl/gai_misc.h: ... here.
17905         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17906         * sysdeps/nptl/librt-cancellation.c: ... here.
17907         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17908         * sysdeps/nptl/malloc-machine.h: ... here.
17909         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17910         * sysdeps/nptl/pthread-functions.h: ... here.
17911         * nptl/sysdeps/pthread/pthread.h: Moved ...
17912         * sysdeps/nptl/pthread.h: ... here.
17913         * nptl/sysdeps/pthread/setxid.h: Moved ...
17914         * sysdeps/nptl/setxid.h: ... here.
17915         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17916         * sysdeps/nptl/sigfillset.c: ... here.
17917         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17918         * sysdeps/nptl/tcb-offsets.h: ... here.
17919         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17920         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17921         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17922         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17923         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17924         * sysdeps/pthread/allocalim.h: ... here.
17925         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17926         * sysdeps/pthread/bits/sigthread.h: ... here.
17927         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17928         * sysdeps/pthread/flockfile.c: ... here.
17929         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17930         * sysdeps/pthread/ftrylockfile.c: ... here.
17931         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17932         * sysdeps/pthread/funlockfile.c: ... here.
17933         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17934         * sysdeps/pthread/posix-timer.h: ... here.
17935         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17936         * sysdeps/pthread/timer_create.c: ... here.
17937         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17938         * sysdeps/pthread/timer_delete.c: ... here.
17939         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17940         * sysdeps/pthread/timer_getoverr.c: ... here.
17941         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17942         * sysdeps/pthread/timer_gettime.c: ... here.
17943         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17944         * sysdeps/pthread/timer_routines.c: ... here.
17945         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17946         * sysdeps/pthread/timer_settime.c: ... here.
17947         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17948         * sysdeps/pthread/tst-timer.c: ... here.
17949         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17950         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17952         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17953         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17955         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17956         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17957         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17958         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17959         Update #include target.
17960         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17961         * sysdeps/i386/i686/nptl/Makefile: ... here.
17962         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17963         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17964         Update #include target.
17965         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17966         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17967         * nptl/sysdeps/i386/Makefile: Moved ...
17968         * sysdeps/i386/nptl/Makefile: ... here.
17969         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17970         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17971         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17972         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17973         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17974         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17975         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17976         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17977         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17978         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17979         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17980         * nptl/sysdeps/i386/tls.h: Moved ...
17981         * sysdeps/i386/nptl/tls.h: ... here.
17983         * sysdeps/sh/Makefile [$(subdir) = csu]
17984         (gen-as-const-headers): Add tcb-offsets.sym.
17985         * nptl/sysdeps/sh/Makefile: File removed.
17986         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17987         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17988         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17989         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17990         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17991         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17992         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17993         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17994         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17995         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17996         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17997         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17998         * nptl/sysdeps/sh/tls.h: Moved ...
17999         * sysdeps/sh/nptl/tls.h: ... here.
18000         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18001         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18002         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18003         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18004         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18005         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18006         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18007         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18008         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18009         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18010         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18011         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18012         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18013         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18014         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18015         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18016         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18017         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18018         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18019         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18020         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18021         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18022         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18023         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18024         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18025         Moved ...
18026         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18027         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18028         Moved ...
18029         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18030         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18031         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18032         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18033         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18034         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18035         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18036         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18037         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18038         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18039         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18040         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18041         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18042         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18043         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18044         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18045         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18046         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18047         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18049 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18051         * posix/spawn_faction_addopen.c: Include string.h.
18053 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18055         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18056         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18057         * nptl/sysdeps/x86_64/Makefile: Moved ...
18058         * sysdeps/x86_64/nptl/Makefile: ... here.
18059         * nptl/sysdeps/x86_64/configure: Moved ...
18060         * sysdeps/x86_64/nptl/configure: ... here.
18061         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18062         * sysdeps/x86_64/nptl/configure.ac: ... here.
18063         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18064         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18065         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18066         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18067         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18068         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18069         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18070         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18071         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18072         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18073         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18074         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18075         * nptl/sysdeps/x86_64/tls.h: Moved ...
18076         * sysdeps/x86_64/nptl/tls.h: ... here.
18077         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18078         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18079         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18080         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18082         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18084 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18088 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18090         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18091         type.
18092         [POSIX] (off_t): Likewise.
18093         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18094         [POSIX] (S_ISBLK): Require macro.
18095         [POSIX] (S_ISCHR): Likewise.
18096         [POSIX] (S_ISDIR): Likewise.
18097         [POSIX] (S_ISFIFO): Likewise.
18098         [POSIX] (S_ISREG): Likewise.
18099         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18100         optional-macro.
18101         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18102         type.
18103         [POSIX] (time_t): Likewise.
18104         [POSIX] (timer_t): Likewise.
18106 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18108         [BZ #17048]
18109         * posix/spawn_int.h (struct __spawn_action): Make the path string
18110         non-const to support deallocation.
18111         * posix/spawn_faction_addopen.c
18112         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18113         * posix/spawn_faction_destroy.c
18114         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18115         path in all spawn_do_open actions.
18116         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18117         posix_spawn_file_actions_addopen.
18119 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18121         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18122         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18123         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18124         conditional code always true.
18125         (__libc_vfork): New alias.
18127 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18129         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18130         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18132         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18134         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18135         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18137         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18138         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18140         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18141         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18143 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18145         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18146         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18147         multiarch strcmp for PPC64.
18148         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18149         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18151         multiarch optimizations.
18152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18153         (__libc_ifunc_impl_list): Likewise.
18155 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18157         * benchtests/scripts/validate_benchout.py: New script.
18158         * benchtests/Makefile (bench-func): Call it.
18159         * benchtests/scripts/benchout.schema.json: New file.
18161 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18163         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18164         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18165         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18166         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18167         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18168         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18169         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18170         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18171         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18172         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18173         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18174         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18175         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18176         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18177         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18178         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18180         Moved ...
18181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18182         ... here.
18183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18184         Moved ...
18185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18187         Moved ...
18188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18189         ... here.
18190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18191         Moved ...
18192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18193         ... here.
18194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18195         Moved ...
18196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18198         Moved ...
18199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18200         ... here.
18201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18202         Moved ...
18203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18204         ... here.
18205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18206         Moved ...
18207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18209         Moved ...
18210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18211         ... here.
18212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18213         Moved ...
18214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18215         ... here.
18216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18217         Moved ...
18218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18219         ... here.
18220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18221         Moved ...
18222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18224         Moved ...
18225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18226         ... here.
18227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18228         Moved ...
18229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18230         ... here.
18231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18232         Moved ...
18233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18234         ... here.
18235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18236         Moved ...
18237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18239         Moved ...
18240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18241         ... here.
18242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18243         Moved ...
18244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18245         ... here.
18246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18247         Moved ...
18248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18250         Moved ...
18251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18252         ... here.
18253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18254         Moved ...
18255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18257         Moved ...
18258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18260         Moved ...
18261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18262         ... here.
18263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18264         Moved ...
18265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18266         ... here.
18267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18268         Moved ...
18269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18270         ... here.
18271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18272         Moved ...
18273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18275         Moved ...
18276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18277         ... here.
18278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18279         Moved ...
18280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18281         ... here.
18282         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18283         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18284         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18285         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18286         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18287         Moved ...
18288         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18289         ... here.
18290         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18291         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18292         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18293         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18294         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18295         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18296         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18297         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18298         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18299         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18300         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18301         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18302         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18303         Moved ...
18304         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18305         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18306         Moved ...
18307         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18308         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18309         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18310         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18311         Moved ...
18312         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18313         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18314         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18315         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18316         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18317         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18318         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18320 2014-06-10  Wilco  <wdijkstr@arm.com>
18322         * math/test-fenv-return.c: New file.
18323         * math/Makefile: Add new test test-fenv-return.
18325 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18327         [BZ #17042]
18328         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18329         when x - 1 is zero.
18330         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18331         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18332         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18333         0.0L for an argument of 1.0L.
18334         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18335         Likewise.
18336         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18337         value when x - 1 is zero.
18338         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18339         * sysdeps/i386/fpu/libm-test-ulps: Update.
18340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18342 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18344         [BZ #15119]
18345         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18347 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18349         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18350         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18352 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18354         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18355         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18357         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18358         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18360         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18361         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18363         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18364         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18366         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18367         if not already defined.
18368         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18369         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18370         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18371         (TLS_INIT_TP): Use it.
18372         (TLS_DEFINE_INIT_TP): New macro.
18373         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18375 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18377         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18378         constant.
18379         [POSIX] (IXANY): Likewise.
18380         [POSIX] (OLCUC): Likewise.
18381         [POSIX || POSIX2008] (CBAUD): Do not allow.
18382         [POSIX || POSIX2008] (DEFECHO): Likewise.
18383         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18384         [POSIX || POSIX2008] (ECHOKE): Likewise.
18385         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18386         [POSIX || POSIX2008] (EXTA): Likewise.
18387         [POSIX || POSIX2008] (EXTB): Likewise.
18388         [POSIX || POSIX2008] (FLUSHO): Likewise.
18389         [POSIX || POSIX2008] (LOBLK): Likewise.
18390         [POSIX || POSIX2008] (PENDIN): Likewise.
18391         [POSIX || POSIX2008] (SWTCH): Likewise.
18392         [POSIX || POSIX2008] (VDISCARD): Likewise.
18393         [POSIX || POSIX2008] (VDSUSP): Likewise.
18394         [POSIX || POSIX2008] (VLNEXT): Likewise.
18395         [POSIX || POSIX2008] (VREPRINT): Likewise.
18396         [POSIX || POSIX2008] (VSTATUS): Likewise.
18397         [POSIX || POSIX2008] (VWERASE): Likewise.
18398         (B*): Change to B[0123456789]*.
18399         * conform/data/time.h-data [POSIX || UNIX98]
18400         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18401         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18402         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18403         [POSIX] (tm_*): Do not allow.
18405 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18407         * Makefile (install): Don't set LANGUAGE.
18408         * Makefile.in (install): Likewise.
18409         * assert/Makefile (test-assert-ENV): Remove variable.
18410         (test-assert-perr-ENV): Likewise.
18411         * elf/Makefile (neededtest4-ENV): Likewise.
18412         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18413         [$(cross-compiling) = no]: Don't set LANGUAGE.
18414         * io/ftwtest-sh (LANG): Remove variable.
18415         * libio/Makefile (tst-widetext-ENV): Likewise.
18416         * manual/install.texi (Running make install): Don't refer to
18417         environment settings for make install.
18418         * INSTALL: Regenerated.
18419         * nptl/tst-tls6.sh: Don't set LANG.
18420         * posix/globtest.sh (LANG): Remove variable.
18421         * string/Makefile (tester-ENV): Likewise.
18422         (inl-tester-ENV): Likewise.
18423         (noinl-tester-ENV): Likewise.
18424         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18425         [$(cross-compiling) = no]: Don't set LANGUAGE.
18426         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18427         without explicit environment settings.
18429 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18431         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18432         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18433         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18434         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18436 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18438         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18439         other files in the crypt directory.
18440         * crypt/crypt.c: Remove duplicate includes.
18441         * crypt/crypt-entry.c: Likewise.
18442         * crypt/crypt_util.c: Likewise.
18444 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18446         * Makeconfig (run-program-env): New variable.
18447         (run-program-prefix-before-env): Likewise.
18448         (run-program-prefix-after-env): Likewise.
18449         (run-program-prefix): Define in terms of new variables.
18450         (built-program-cmd-before-env): New variable.
18451         (built-program-cmd-after-env): Likewise.
18452         (built-program-cmd): Define in terms of new variables.
18453         (test-program-prefix-before-env): New variable.
18454         (test-program-prefix-after-env): Likewise.
18455         (test-program-prefix): Define in terms of new variables.
18456         (test-program-cmd-before-env): New variable.
18457         (test-program-cmd-after-env): Likewise.
18458         (test-program-cmd): Define in terms of new variables.
18459         * Rules (make-test-out): Use $(run-program-env).
18460         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18461         (help): Do not mention environment variables.  Mention
18462         --timeoutfactor option.
18463         (timeoutfactor): New variable.
18464         (blacklist_exports): Remove function.
18465         (exports): Remove variable.
18466         (command): Do not include ${exports}.
18467         * manual/install.texi (Configuring and compiling): Do not mention
18468         test wrappers preserving environment variables.  Mention that last
18469         assignment to a variable must take precedence.
18470         * INSTALL: Regenerated.
18471         * benchtests/Makefile (run-bench): Use $(run-program-env).
18472         * catgets/Makefile ($(objpfx)test1.cat): Use
18473         $(built-program-cmd-before-env), $(run-program-env) and
18474         $(built-program-cmd-after-env).
18475         ($(objpfx)test2.cat): Do not specify environment variables
18476         explicitly.
18477         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18478         $(run-program-env) and $(built-program-cmd-after-env).
18479         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18480         $(run-program-env) and $(test-program-cmd-after-env).
18481         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18482         explicitly.
18483         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18484         run_program_env and test_program_cmd_after_env arguments.
18485         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18486         * elf/tst-pathopt.sh: Use run_program_env argument.
18487         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18488         $(test-wrapper-env) and $(run-program-env).
18489         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18490         run_program_env arguments.
18491         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18492         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18493         $(test-program-prefix-before-env), $(run-program-env) and
18494         $(test-program-prefix-after-env).
18495         ($(objpfx)tst-gettext2.out): Likewise.
18496         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18497         run_program_env and test_program_prefix_after_env arguments.
18498         * intl/tst-gettext2.sh: Likewise.
18499         * intl/tst-gettext4.sh: Do not set environment variables
18500         explicitly.
18501         * intl/tst-gettext6.sh: Likewise.
18502         * intl/tst-translit.sh: Likewise.
18503         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18504         $(test-program-prefix-before-env), $(run-program-env) and
18505         $(test-program-prefix-after-env).
18506         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18507         run_program_env and test_program_prefix_after_env arguments.
18508         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18509         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18510         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18511         explicitly with each use of ${test_wrapper_env}.
18512         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18513         $(test-program-prefix-before-env), $(run-program-env) and
18514         $(test-program-prefix-after-env).
18515         * posix/tst-getconf.sh: Do not set environment variables
18516         explicitly.
18517         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18518         run_program_env and test_program_prefix_after_env arguments.
18519         * stdio-common/tst-printf.sh: Do not set environment variables
18520         explicitly.
18521         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18522         $(test-program-prefix-before-env), $(run-program-env) and
18523         $(test-program-prefix-after-env).
18524         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18525         run_program_env and test_program_prefix_after_env arguments.
18526         Split $test calls into $test_pre and $test.
18527         * timezone/Makefile (build-testdata): Use
18528         $(built-program-cmd-before-env), $(run-program-env) and
18529         $(built-program-cmd-after-env).
18531 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18533         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18534         strlen for non SHARED builds.
18536 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18538         * nptl/allocatestack.c (check_list): Inlined function...
18539         (__reclaim_stacks): ... here.
18541 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18543         [BZ #15698]
18544         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18545         memory overrun.
18547 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18549         * Rules (make-test-out): Include
18550         LOCPATH=$(common-objpfx)localedata in default environment.
18551         * debug/Makefile (tst-chk1-ENV): Remove variable.
18552         (tst-chk2-ENV): Likewise.
18553         (tst-chk3-ENV): Likewise.
18554         (tst-chk4-ENV): Likewise.
18555         (tst-chk5-ENV): Likewise.
18556         (tst-chk6-ENV): Likewise.
18557         (tst-lfschk1-ENV): Likewise.
18558         (tst-lfschk2-ENV): Likewise.
18559         (tst-lfschk3-ENV): Likewise.
18560         (tst-lfschk4-ENV): Likewise.
18561         (tst-lfschk5-ENV): Likewise.
18562         (tst-lfschk6-ENV): Likewise.
18563         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18564         (tst-iconv7-ENV): Likewise.
18565         * intl/Makefile (LOCPATH-ENV): Likewise.
18566         (tst-codeset-ENV): Likewise.
18567         (tst-gettext3-ENV): Likewise.
18568         (tst-gettext5-ENV): Likewise.
18569         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18570         (tst-fopenloc-ENV): Likewise.
18571         (tst-fgetws-ENV): Remove variable.
18572         (tst-ungetwc1-ENV): Likewise.
18573         (tst-ungetwc2-ENV): Likewise.
18574         (bug-ungetwc2-ENV): Likewise.
18575         (tst-swscanf-ENV): Likewise.
18576         (bug-ftell-ENV): Likewise.
18577         (tst-fgetwc-ENV): Likewise.
18578         (tst-fseek-ENV): Likewise.
18579         (tst-ftell-partial-wide-ENV): Likewise.
18580         (tst-ftell-active-handler-ENV): Likewise.
18581         (tst-ftell-append-ENV): Likewise.
18582         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18583         (tst-regexloc-ENV): Likewise.
18584         (bug-regex1-ENV): Likewise.
18585         (tst-regex-ENV): Likewise.
18586         (tst-regex2-ENV): Likewise.
18587         (bug-regex5-ENV): Likewise.
18588         (bug-regex6-ENV): Likewise.
18589         (bug-regex17-ENV): Likewise.
18590         (bug-regex18-ENV): Likewise.
18591         (bug-regex19-ENV): Likewise.
18592         (bug-regex20-ENV): Likewise.
18593         (bug-regex22-ENV): Likewise.
18594         (bug-regex23-ENV): Likewise.
18595         (bug-regex25-ENV): Likewise.
18596         (bug-regex26-ENV): Likewise.
18597         (bug-regex30-ENV): Likewise.
18598         (bug-regex32-ENV): Likewise.
18599         (bug-regex33-ENV): Likewise.
18600         (bug-regex34-ENV): Likewise.
18601         (bug-regex35-ENV): Likewise.
18602         (tst-rxspencer-ENV): Likewise.
18603         (tst-rxspencer-no-utf8-ENV): Likewise.
18604         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18605         (tst-sscanf-ENV): Likewise.
18606         (tst-swprintf-ENV): Likewise.
18607         (tst-swscanf-ENV): Likewise.
18608         (test-vfprintf-ENV): Likewise.
18609         (scanf13-ENV): Likewise.
18610         (bug14-ENV): Likewise.
18611         (tst-grouping-ENV): Likewise.
18612         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18613         (tst-strtod3-ENV): Likewise.
18614         (tst-strtod4-ENV): Likewise.
18615         (tst-strtod5-ENV): Likewise.
18616         (testmb2-ENV): Likewise./
18617         * string/Makefile (tst-strxfrm-ENV): Likewise.
18618         (tst-strxfrm2-ENV): Likewise.
18619         (bug-strcoll1-ENV): Likewise.
18620         (test-strcasecmp-ENV): Likewise.
18621         (test-strncasecmp-ENV): Likewise.
18622         * time/Makefile (tst-strptime-ENV): Likewise.
18623         (tst-ftime_l-ENV): Likewise.
18624         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18625         (tst-mbrtowc-ENV): Likewise.
18626         (tst-wcrtomb-ENV): Likewise.
18627         (tst-mbrtowc2-ENV): Likewise.
18628         (tst-c16c32-1-ENV): Likewise.
18629         (tst-mbsnrtowcs-ENV): Likewise.
18631 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18633         * manual/resource.texi (How to get information about the memory
18634         subsystem?): Fix typo.
18635         Reported by Peon de la Parra Ivan <peon@keba.com>
18637 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18639         [BZ #16882]
18640         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18641         (pthread_spin_lock): Branch out of spin loop to proper location.
18642         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18643         (pthread_spin_lock): Likewise.
18645         * nptl/tst-spin4.c: New test.
18646         * nptl/Makefile (tests): Add tst-spin4.
18648 2014-06-03  Andreas Schwab  <schwab@suse.de>
18650         [BZ #15946]
18651         * resolv/res_send.c (send_dg): Reload file descriptor after
18652         calling reopen.
18654 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18656         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18658 2014-06-03  Richard Henderson  <rth@redhat.com>
18660         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18661         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18662         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18663         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18664         in the SAVE_PID block.
18665         (__libc_vfork): New alias.
18666         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18668         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18669         child in registers, not on the stack.  Remove RESET_PID conditionals.
18670         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18672 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18674         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18676 2014-06-03  Wilco  <wdijkstr@arm.com>
18678         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18679         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18680         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18681         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18682         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18683         Likewise.
18685 2014-06-03  Wilco  <wdijkstr@arm.com>
18687         * sysdeps/aarch64/fpu/math_private.h
18688         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18689         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18690         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18691         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18692         Fix declarations.
18694 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18696         * crypt/crypt-private.h: Include ufc-crypt.h.
18697         (__b64_from_24bit): Declare extern.
18698         * crypt/crypt_util.c(__b64_from_24bit): New function.
18699         (b64t): New static const variable.
18700         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18701         (b64t): Remove variable.
18702         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18703         * crypt/sha256-crypt.c: Include crypt-private.h.
18704         (b64t): Remove variable.
18705         (__sha256_crypt_r): Remove b64_from_24bit and replace
18706         with __b64_from_24bit.
18707         * crypt/sha512-crypt.c: Likewise.
18709 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18711         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18712         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18713         Label the code __libc_vfork rather than __vfork.
18714         [!NOT_IN_libc] (vfork): Define as weak alias.
18715         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18716         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18717         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18719 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18721         * malloc/malloc.c (malloc_info): Fix format specifier for
18722         n_mmaps.
18724 2014-06-02  Wilco  <wdijkstr@arm.com>
18726         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18727         FPCR write.
18729 2014-06-02  Wilco  <wdijkstr@arm.com>
18731         [BZ #17009]
18732         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18733         Rewrite to reduce FPCR/FPSR accesses.
18735 2014-06-01  David S. Miller  <davem@davemloft.net>
18737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18739 2014-05-31  David S. Miller  <davem@davemloft.net>
18741         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18742         to occur in round to nearest mode when |x| >= 2.0
18744 2014-05-30  Richard Henderson  <rth@twiddle.net>
18746         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18747         (PSEUDO_RET_NOERRNO): Remove.
18748         (ret): Don't redefine.
18749         (ret_NOERRNO): Define in terms of ret.
18750         (ret_ERRVAL): Likewise.
18752         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18753         use of PSEUDO_RET; perform the error check directly.
18755 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18757         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18758         with __int128_t.
18760 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18762         * malloc/malloc (malloc_info): Fix formatting.
18764 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18765             Roland McGrath  <roland@hack.frob.com>
18767         * malloc/malloc (malloc_info): Also print mmapped statistics.
18769 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18771         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18772         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18774 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18776         * malloc/malloc.c (malloc_info): Inline mi_arena.
18778 2014-05-29  Richard Henderson  <rth@twiddle.net>
18780         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18781         Remove comma before expanding ASM_ARGS_##nr.
18782         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18783         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18784         of ASM_ARGS_##nr.
18785         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18786         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18787         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18788         (ASM_ARGS_1): Add leading comma.
18790         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18791         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18792         to __errno_location.
18793         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18794         Remove the expected plt for __errno_location.
18796         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18797         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18798         call to __read_tp.
18800         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18801         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18802         it and break it down.
18803         (DOCARGS_0, DOCARGS_1): Do nothing.
18804         (DOCARGS_2): Update to store into the new stack frame.
18805         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18806         (UNDOCARGS_1): Update to restore from the new stack frame.
18807         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18808         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18810         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18811         (SINGLE_THREAD_P): New parameter for result regno.
18812         (PSEUDO): Update to match; use cbz instead of beq.
18814         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18815         Use ENTRY to define the _nocancel entry point.  Share the syscall
18816         and syscall error check paths with the cancel path.
18817         (PSEUDO_END): New.
18819         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18820         whitespace; tabs before and after asm mnemonics.
18822 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18824         [BZ #15132]
18825         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18826         Call fstat64 or stat64 internally, depending on arguments passed.
18827         Replace stat buffer argument with file descriptor argument.
18828         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18829         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18830         Pass fd to __internal_statvfs instead of calling fstat64.
18831         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18832         Pass fd to __internal_statvfs64 instead of calling fstat64.
18833         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18834         Pass -1 to __internal_statvfs instead of calling stat64.
18835         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18836         Pass -1 to __internal_statvfs64 instead of calling stat64.
18838 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18840         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18841         that was previously under [RESET_PID].
18842         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18844         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18845         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18847 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18849         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18851         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18852         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18854 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18856         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18858 2014-05-27  Andreas Schwab  <schwab@suse.de>
18860         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18861         TLS_INIT_TP macro.
18862         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18863         * elf/rtld.c (init_tls, dl_main): Likewise.
18864         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18865         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18866         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18867         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18868         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18869         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18870         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18871         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18872         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18873         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18874         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18875         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18876         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18877         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18878         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18879         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18880         * sysdeps/generic/tls.h: Update description.
18882 2014-05-27  Will Newton  <will.newton@linaro.org>
18884         [BZ #16990]
18885         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18886         and restore r2 rather than just restoring.
18888 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18890         [BZ #16724]
18891         * libio/tst-ftell-append.c: New test case.
18892         * libio/Makefile (tests): Add test case.
18893         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18894         append mode.
18895         * libio/wfileops.c (do_ftell_wide): Likewise.
18897 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18901         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18902         ...
18903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18905         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18906         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18907         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18908         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18909         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18910         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18911         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18912         Moved ...
18913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18914         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18915         Moved ...
18916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18917         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18918         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18919         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18920         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18921         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18922         ...
18923         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18924         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18925         Moved ...
18926         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18927         here.
18928         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18929         ...
18930         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18931         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18932         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18934         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18935         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18936         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18937         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18939         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18940         merge into ...
18941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18942         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18943         ...
18944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18945         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18946         ...
18947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18948         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18949         Moved ...
18950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18951         here.
18952         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18953         Moved ...
18954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18955         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18956         Moved ...
18957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18960         conditional [RESET_PID].
18961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18962         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18963         removed.
18964         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18965         removed.
18967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18968         <tcb-offsets.h>.
18969         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18970         (__libc_vfork): New strong alias.
18971         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18972         removed.
18973         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18974         Removed.
18976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18977         <tcb-offsets.h>.
18978         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18979         (__libc_vfork): New strong alias.
18980         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18981         removed.
18982         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18983         removed.
18985 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18987         * malloc/malloc.c (mi_arena): New function.
18988         (malloc_info): Remove nested function mi_arena. Call non-nosted
18989         function mi_arena.
18991 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18993         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18994         by insrwi.
18995         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18996         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18997         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18998         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18999         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19000         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19001         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19003 2014-05-26  Andreas Schwab  <schwab@suse.de>
19005         [BZ #16984]
19006         * locale/programs/repertoire.c (repertoire_read): Add slash
19007         between I18NPATH element and file name.
19008         * locale/programs/locfile.c (locfile_read): Likewise.
19010 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19012         * nptl/pthread_mutexattr_settype.c
19013         (__pthread_mutexattr_settype):
19014         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19016 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19018         * nptl/tst-mutex5 (do_test):
19019         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19021 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19023         * benchtests/README: Document 'init' directive.
19024         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19025         BENCH_INIT.
19026         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19027         (parse_file): Recognize 'init' directive.
19029 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19031         [BZ #16796]
19032         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19033         alignment of struct pthread.
19035 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19037         [BZ #16878]
19038         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19039         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19040         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19041         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19043 2014-05-25  Richard Henderson  <rth@twiddle.net>
19045         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19046         (SINGLE_THREAD_P_PIC): Remove.
19047         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19048         (SINGLE_THREAD_P_PIC): Remove.
19050         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19051         branch to syscall error ...
19052         (PSEUDO): ... here.
19053         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19054         from __local_syscall_error to .Lsyscall_error.
19055         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19056         (SYSCALL_ERROR): Update label name.
19058         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19059         Do not use DOARGS/UNDOARGS.
19060         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19061         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19062         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19063         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19064         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19066         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19067         block comment.
19069         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19070         define if !NOT_IN_libc.
19071         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19072         define with non-default symbol versions.
19074 2014-05-23  Richard Henderson  <rth@twiddle.net>
19076         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19077         (vfork, __vfork): Define via compat_symbol.
19079         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19080         [!HAVE_IFUNC] (vfork_compat): Remove.
19081         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19083 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19085         [BZ #16978]
19086         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19087         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19088         variable.
19090 2014-05-23  Richard Henderson  <rth@twiddle.net>
19092         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19093         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19094         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19095         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19097         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19098         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19099         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19100         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19101         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19102         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19103         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19104         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19105         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19106         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19107         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19108         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19109         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19110         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19111         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19112         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19113         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19114         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19115         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19116         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19117         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19118         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19119         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19120         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19121         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19122         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19123         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19124         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19125         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19126         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19127         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19128         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19129         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19130         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19131         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19132         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19133         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19134         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19135         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19136         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19137         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19138         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19139         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19140         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19141         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19142         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19143         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19144         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19145         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19146         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19147         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19148         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19149         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19150         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19151         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19152         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19154         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19155         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19156         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19157         before exiting on error.
19158         (__libc_vfork): New strong alias.
19159         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19160         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19162         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19163         that was previously under [RESET_PID].
19164         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19166         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19168 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19170         [BZ #16977]
19171         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19172         value when x - 1 is zero.
19173         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19174         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19175         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19176         0.0L for an argument of 1.0L.
19177         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19178         Likewise.
19179         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19180         value when x - 1 is zero.
19181         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19182         * sysdeps/i386/fpu/libm-test-ulps: Update.
19183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19185 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19187         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19188         alphasort and versionsort.
19190 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19192         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19193         macro.
19194         [copysignf]: Likewise.
19196 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19198         * crypt/md5-crypt.c: Fix formatting.
19200 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19202         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19203         (b64_from_24bit): New function.
19205 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19207         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19208         libc_hidden_builtin_def to ifunc.
19209         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19210         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19212 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19214         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19215         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19217 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19219         * nscd/Depend (linuxthreads): Remove.
19220         (nptl): Add.
19221         * resolv/Depend (linuxthreads): Remove.
19222         * rt/Depend (linuxthreads): Remove.
19224         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19225         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19226         $(common-objpfx)elf/.
19227         (link-libc-before-gnulib): Likewise.
19228         (elfobjdir): Remove variable.
19229         * Makefile (install): Use $(elf-objpfx) instead of
19230         $(common-objpfx)elf/.
19231         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19232         $(elfobjdir)/.
19233         (link-libc-deps): Likewise.
19234         ($(common-objpfx)libc.so): Likewise.
19235         ($(common-objpfx)linkobj/libc.so): Likewise.
19236         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19237         instead of $(common-objpfx)elf/.
19238         (symbolic-link-list): Likewise.
19239         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19240         [$(cross-compiling) = no]: Likewise.
19241         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19242         $(elfobjdir)/.
19243         (static-gnulib-arch): Likewise.
19244         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19245         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19246         $(common-objpfx)elf/.
19248 2014-05-21  Richard Henderson  <rth@redhat.com>
19250         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19251         (SINGLE_THREAD_P): Use the correct width load.  Fold
19252         into the ldr offset.
19254         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19255         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19257 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19259         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19260         (libgcc_s_resume): Use __attribute_used__.
19261         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19262         Likewise.
19264 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19266         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19267         optimization when used with float constants.
19269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19271 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19273         [BZ #16915]
19274         * locale/nl_langinfo_l.c: Make direct reference to every
19275         _nl_current_CATEGORY symbol.
19276         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19277         (tests-static): Add tst-langinfo-static.
19278         (tests-special): Add tst-langinfo-static.out.
19279         ($(objpfx)tst-langinfo.out): Redirect output.
19280         ($(objpfx)tst-langinfo-static.out): New.
19281         * localedata/tst-langinfo.sh: Send output to stdout.
19282         * localedata/tst-langinfo-static.c: New file.
19284         [BZ #16965]
19285         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19286         when the shift amount is modulo the limb size.
19288 2014-05-20  Richard Henderson  <rth@redhat.com>
19290         [BZ #16967]
19291         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19292         Change type of sa_flags from unsigned int to int.
19294         [BZ #16966]
19295         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19297         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19299 2014-05-20  Will Newton  <will.newton@linaro.org>
19301         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19302         Test the return value of the system call in the nocancel case.
19304 2014-05-20  Will Newton  <will.newton@linaro.org>
19305             Yvan Roux  <yvan.roux@linaro.org>
19307         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19308         #include of asm/ptrace.h.
19309         (PTRACE_GET_THREAD_AREA): Remove #undef.
19310         (PTRACE_GETHBPREGS): Likewise.
19311         (PTRACE_SETHBPREGS): Likewise.
19312         (struct user_regs_struct): New structure.
19313         (struct user_fpsimd_struct): New structure.
19314         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19315         #include of asm/ptrace.h and second #include of sys/user.h.
19316         (PTRACE_GET_THREAD_AREA): Remove #undef.
19317         (PTRACE_GETHBPREGS): Likewise.
19318         (PTRACE_SETHBPREGS): Likewise.
19319         (ELF_NGREG): Use new struct user_regs_struct.
19320         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19322 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19324         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19325         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19327 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19329         [BZ #16958]
19330         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19331         membar to avoid block loads/stores to overlap previous stores.
19333 2014-05-17  Richard Henderson  <rth@redhat.com>
19335         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19336         Create the __##syscall_name##_nocancel entry point.
19337         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19338         Remove; let the sysdep-cancel.h code create it.
19340 2014-05-17  David S. Miller  <davem@davemloft.net>
19342         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19343         Protect with __USE_GNU.
19344         (TIOCSET_TEMPT): Likewise.
19345         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19346         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19347         these are already provided in bits/ioctl-types.h
19349 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19351         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19352         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19354         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19355         Use wait4 regardless of [__NR_waitpid].
19357 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19359         PR libgcc/60166
19360         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19361         (_FP_NANSIGN_Q): Set the quiet bit.
19363 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19365         * benchtests/Makefile
19366         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19367         not $(common-objpfx)math/libm.so.
19368         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19369         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19370         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19371         $(common-objpfx)dlfcn/libdl.so.
19372         ($(objpfx)tst-audit8): Depend on $(libm), not
19373         $(common-objpfx)math/libm.so.
19374         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19375         not $(common-objpfx)dlfcn/libdl.so.
19376         * math/Makefile
19377         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19378         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19379         [$(build-shared) = yes].
19380         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19381         $(common-objpfx)nptl/libpthread.so.
19382         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19383         $(common-objpfx)math/libm.so$(libm.so-version) or
19384         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19385         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19386         $(common-objpfx)dlfcn/libdl.so.
19387         * setjmp/Makefile (link-libm): Remove variable.
19388         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19389         * stdio-common/Makefile (link-libm): Remove variable.
19390         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19391         * stdlib/Makefile (link-libm): Remove variable.
19392         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19393         ($(objpfx)tst-strtod-round): Likewise.
19394         ($(objpfx)tst-tininess): Likewise.
19395         ($(objpfx)tst-strtod-underflow): Likewise.
19396         ($(objpfx)tst-strtod6): Likewise.
19397         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19398         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19399         $(common-objpfx)dlfcn/libdl.so.
19401 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19403         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19404         BSD terminal modes definitions.
19406 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19408         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19409         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19411         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19412         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19413         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19414         Don't do #include_next.
19415         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19416         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19417         Don't do #include_next.
19418         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19419         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19420         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19421         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19423 2014-05-16  Allan McRae  <allan@archlinux.org>
19425         * po/sv.po: Update Swedish translation from translation project.
19427         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19428         in sed expression.
19430 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19432         [BZ #16917]
19433         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19434         errno if the TIOCGPTN ioctl fails with an error different than
19435         EINVAL.
19436         * login/tst-ptsname.c: New file.
19437         * login/Makefile (tests): Add tst-ptsname.
19439         [BZ #16943]
19440         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19441         and prlimit64.
19443 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19445         [BZ #16849]
19446         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19447         herrno to return EAI_AGAIN.
19449 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19451         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19452         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19453         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19454         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19455         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19456         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19457         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19458         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19459         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19460         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19461         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19462         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19463         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19464         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19465         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19466         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19467         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19468         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19469         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19470         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19471         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19472         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19473         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19474         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19475         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19476         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19477         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19478         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19479         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19480         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19482         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19484         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19486         Moved ...
19487         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19489         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19491         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19493         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19495         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19497         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19499         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19501         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19503         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19505         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19507         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19509         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19511         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19513         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19515         Moved ...
19516         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19518         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19520         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19522         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19524         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19526         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19528         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19529         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19530         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19532         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19533         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19534         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19536         Moved ...
19537         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19539         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19541         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19542         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19543         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19544         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19545         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19546         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19547         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19548         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19549         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19550         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19551         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19552         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19553         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19554         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19555         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19556         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19557         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19558         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19559         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19560         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19561         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19562         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19563         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19564         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19565         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19566         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19567         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19568         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19569         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19570         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19571         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19573         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19574         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19576         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19577         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19578         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19579         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19580         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19581         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19582         Moved ...
19583         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19584         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19585         Moved ...
19586         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19587         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19588         Moved ...
19589         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19590         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19591         Moved ...
19592         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19593         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19594         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19595         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19596         Moved ...
19597         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19598         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19599         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19600         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19601         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19602         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19603         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19604         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19605         Moved ...
19606         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19607         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19608         Moved ...
19609         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19610         ... here.
19611         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19612         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19613         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19614         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19615         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19616         Moved ...
19617         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19618         ... here.
19619         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19620         Moved ...
19621         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19622         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19623         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19624         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19625         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19626         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19627         Moved ...
19628         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19629         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19630         Moved ...
19631         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19632         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19633         Moved ...
19634         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19635         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19636         Moved ...
19637         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19638         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19639         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19640         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19641         Moved ...
19642         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19643         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19644         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19645         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19646         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19647         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19648         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19649         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19650         Moved ...
19651         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19652         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19653         Moved ...
19654         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19655         ... here.
19656         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19657         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19658         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19659         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19660         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19661         Moved ...
19662         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19663         ... here.
19664         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19665         Moved ...
19666         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19667         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19668         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19669         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19670         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19671         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19672         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19673         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19674         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19675         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19676         Moved ...
19677         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19678         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19679         Moved ...
19680         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19681         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19682         Moved ...
19683         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19684         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19685         Moved ...
19686         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19687         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19688         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19689         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19690         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19691         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19692         Moved ...
19693         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19694         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19695         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19696         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19697         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19698         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19699         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19700         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19701         Moved ...
19702         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19703         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19704         Moved ...
19705         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19706         ... here.
19707         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19708         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19709         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19710         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19711         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19712         Moved ...
19713         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19714         ... here.
19715         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19716         Moved ...
19717         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19718         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19719         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19720         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19721         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19722         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19723         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19724         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19725         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19726         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19727         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19729         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19730         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19732         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19733         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19735         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19736         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19737         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19738         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19739         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19740         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19741         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19742         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19743         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19744         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19745         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19746         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19747         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19748         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19749         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19750         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19751         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19752         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19753         Moved ...
19754         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19755         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19756         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19757         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19758         Moved ...
19759         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19760         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19761         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19762         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19763         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19764         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19765         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19766         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19767         Moved ...
19768         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19769         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19770         Moved ...
19771         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19772         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19773         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19774         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19775         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19776         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19777         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19778         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19779         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19780         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19781         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19782         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19783         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19784         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19785         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19786         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19787         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19789         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19790         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19791         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19792         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19793         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19795         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19796         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19797         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19798         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19799         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19800         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19801         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19802         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19803         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19804         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19806         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19807         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19809         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19810         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19811         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19812         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19813         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19814         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19815         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19816         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19817         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19818         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19819         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19820         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19821         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19822         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19823         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19824         Update #include.
19825         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19826         Likewise.
19827         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19828         Likewise.
19829         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19830         Likewise.
19831         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19832         Likewise.
19833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19834         Likewise.
19835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19836         Likewise.
19837         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19838         Likewise.
19839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19840         Likewise.
19841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19842         Likewise.
19843         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19844         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19845         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19846         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19847         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19848         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19849         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19850         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19851         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19852         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19853         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19854         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19855         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19856         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19857         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19859         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19860         that was previously under [RESET_PID].
19861         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19862         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19863         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19865         * sysdeps/i386/nptl/Implies: New file.
19866         * sysdeps/x86_64/nptl/Implies: New file.
19867         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19868         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19869         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19870         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19872         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19873         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19874         (__libc_vfork): New strong alias.
19875         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19876         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19878         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19879         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19880         (__libc_vfork): New strong alias.
19881         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19882         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19884         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19885         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19886         (__libc_vfork): New strong alias.
19887         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19888         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19889         * nptl/pt-vfork.c: New file.
19890         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19891         (libpthread: GLIBC_2.20): New version set (empty).
19893 2014-05-14  Will Newton  <will.newton@linaro.org>
19895         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19896         rather than #if.
19898 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19900         [BZ #16564]
19901         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19902         arguments with exponent 65 or above.
19903         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19904         arguments 0x1p113L or above.
19905         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19906         to arguments 0x1p107L or above.
19907         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19908         positive arguments with exponent 65 or above.
19909         * math/auto-libm-test-in: Add more tests of log1p.
19910         * math/auto-libm-test-out: Regenerated.
19912         [BZ #16928]
19913         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19914         non-finite arguments is +0.
19915         * math/s_cacosf.c (__cacosf): Likewise.
19916         * math/s_cacosl.c (__cacosl): Likewise.
19917         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19918         * sysdeps/i386/fpu/libm-test-ulps: Update.
19919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19921         [BZ #16927]
19922         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19923         value.
19924         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19925         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19926         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19927         for explicit high bit of mantissa when testing for argument equal
19928         to 1.
19929         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19930         * sysdeps/i386/fpu/libm-test-ulps: Update.
19931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19933         [BZ #16516]
19934         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19935         (__erf): Scale by 16 instead of 8 in potentially underflowing
19936         case.  Ensure exception if result actually underflows.
19937         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19938         (__erff): Scale by 16 instead of 8 in potentially underflowing
19939         case.  Ensure exception if result actually underflows.
19940         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19941         (efx8): Remove variable.
19942         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19943         case.  Ensure exception if result actually underflows.
19944         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19945         (efx8): Remove variable.
19946         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19947         case.  Ensure exception if result actually underflows.
19948         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19949         (efx8): Remove variable.
19950         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19951         case.  Ensure exception if result actually underflows.
19952         * math/auto-libm-test-in: Add more tests of erf.
19953         * math/auto-libm-test-out: Regenerated.
19955 2014-05-14  Andreas Schwab  <schwab@suse.de>
19957         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19958         Remove code conditionalized on USE___THREAD.
19960         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19961         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19962         not definedness.
19964 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19966         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19967         Define unconditionally.
19968         (__ASSUME_O_CLOEXEC): Likewise.
19969         (__ASSUME_SOCK_CLOEXEC): Likewise.
19970         (__ASSUME_IN_NONBLOCK): Likewise.
19971         (__ASSUME_PIPE2): Likewise.
19972         (__ASSUME_EVENTFD2): Likewise.
19973         (__ASSUME_SIGNALFD4): Likewise.
19974         (__ASSUME_DUP3): Likewise.
19975         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19976         (__ASSUME_DUP3): Do not define.
19977         (__ASSUME_EVENTFD2): Likewise.
19978         (__ASSUME_IN_NONBLOCK): Likewise.
19979         (__ASSUME_O_CLOEXEC): Likewise.
19980         (__ASSUME_PIPE2): Likewise.
19981         (__ASSUME_SIGNALFD4): Likewise.
19982         (__ASSUME_SOCK_CLOEXEC): Likewise.
19983         (__ASSUME_UTIMES): Undefine.
19984         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19985         (__ASSUME_UTIMES): Do not define.
19986         (__ASSUME_O_CLOEXEC): Likewise.
19987         (__ASSUME_SOCK_CLOEXEC): Likewise.
19988         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19989         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19990         0x020621].
19991         (__ASSUME_PIPE2): Likewise.
19992         (__ASSUME_EVENTFD2): Likewise.
19993         (__ASSUME_SIGNALFD4): Likewise.
19994         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19995         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19996         Do not define.
19997         (__ASSUME_EVENTFD2): Likewise.
19998         (__ASSUME_SIGNALFD4): Likewise.
19999         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20000         (__ASSUME_32BITUIDS): Likewise.
20001         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20002         (__ASSUME_IPC64): Likewise.
20003         (__ASSUME_ST_INO_64_BIT): Likewise.
20004         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20005         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20006         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20007         (__ASSUME_UTIMES): Do not define.
20008         (__ASSUME_PSELECT): Likewise.
20009         (__ASSUME_PPOLL): Likewise.
20010         (__ASSUME_O_CLOEXEC): Likewise.
20011         (__ASSUME_SOCK_CLOEXEC): Likewise.
20012         (__ASSUME_IN_NONBLOCK): Likewise.
20013         (__ASSUME_PIPE2): Likewise.
20014         (__ASSUME_EVENTFD2): Likewise.
20015         (__ASSUME_SIGNALFD4): Likewise.
20016         (__ASSUME_DUP3): Likewise.
20017         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20018         (__ASSUME_UTIMES): Likewise.
20019         (__ASSUME_O_CLOEXEC): Likewise.
20020         (__ASSUME_SOCK_CLOEXEC): Likewise.
20021         (__ASSUME_IN_NONBLOCK): Likewise.
20022         (__ASSUME_PIPE2): Likewise.
20023         (__ASSUME_EVENTFD2): Likewise.
20024         (__ASSUME_SIGNALFD4): Likewise.
20025         (__ASSUME_DUP3): Likewise.
20026         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20027         (__ASSUME_UTIMES): Likewise.
20028         (__ASSUME_O_CLOEXEC): Likewise.
20029         (__ASSUME_SOCK_CLOEXEC): Likewise.
20030         (__ASSUME_IN_NONBLOCK): Likewise.
20031         (__ASSUME_PIPE2): Likewise.
20032         (__ASSUME_EVENTFD2): Likewise.
20033         (__ASSUME_SIGNALFD4): Likewise.
20034         (__ASSUME_DUP3): Likewise.
20035         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20036         Likewise.
20037         (__ASSUME_UTIMES): Likewise.
20038         (__ASSUME_EVENTFD2): Likewise.
20039         (__ASSUME_SIGNALFD4): Likewise.
20040         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20041         (__ASSUME_O_CLOEXEC): Likewise.
20042         (__ASSUME_SOCK_CLOEXEC): Likewise.
20043         (__ASSUME_IN_NONBLOCK): Likewise.
20044         (__ASSUME_PIPE2): Likewise.
20045         (__ASSUME_EVENTFD2): Likewise.
20046         (__ASSUME_SIGNALFD4): Likewise.
20047         (__ASSUME_DUP3): Likewise.
20048         (__ASSUME_UTIMES): Undefine.
20050         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20051         feclearexcept.  Remove symbol versioning code.
20052         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20053         symbol versioning code.
20054         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20055         symbol versioning code.
20056         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20057         feupdateenv.  Remove symbol versioning code.
20058         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20059         fegetexceptflag.  Remove symbol versioning code.
20060         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20061         fesetexceptflag.  Remove symbol versioning code.
20062         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20063         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20064         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20065         (__posix_fadvise64_l32): Remove prototype.
20066         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20067         code.
20069 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20071         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20072         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20073         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20074         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20076 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20078         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20079         current working directory
20081 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20083         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20084         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20085         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20086         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20087         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20088         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20089         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20090         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20091         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20092         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20093         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20094         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20095         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20096         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20097         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20098         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20099         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20100         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20101         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20102         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20103         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20104         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20105         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20106         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20107         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20108         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20109         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20110         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20111         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20112         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20113         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20114         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20115         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20116         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20117         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20118         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20119         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20120         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20121         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20122         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20123         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20124         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20126         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20127         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20129         * sysdeps/unix/sysv/linux/arm/Makefile
20130         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20131         Add rt-aeabi_unwind_cpp_pr1.
20132         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20133         Add nptl-aeabi_unwind_cpp_pr1.
20134         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20135         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20136         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20137         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20138         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20139         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20141         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20142         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20143         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20144         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20146         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20147         Deconditionalize the code that was previously under [RESET_PID].
20148         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20150         * sysdeps/generic/exit-thread.h: New file.
20151         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20152         * include/unistd.h (__exit_thread): Remove declaration.
20153         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20154         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20155         * csu/libc-start.c: Include <exit-thread.h>.
20156         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20157         * nptl/pthread_create.c: Include <exit-thread.h>.
20158         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20159         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20160         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20161         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20162         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20163         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20164         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20165         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20166         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20167         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20168         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20169         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20170         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20171         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20172         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20173         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20174         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20176 2014-05-13  Andreas Schwab  <schwab@suse.de>
20178         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20180 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20182         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20183         (__ASSUME_UTIMES): Do not condition on kernel version.
20184         (__ASSUME_PSELECT): Define unconditionally.
20185         (__ASSUME_PPOLL): Likewise.
20186         (__ASSUME_ATFCTS): Likewise.
20187         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20188         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20189         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20190         (__ASSUME_UTIMENSAT): Define unconditionally.
20191         (__ASSUME_PRIVATE_FUTEX): Likewise.
20192         (__ASSUME_FALLOCATE): Likewise.
20193         (__ASSUME_O_CLOEXEC): Likewise.
20194         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20195         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20196         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20197         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20198         (__ASSUME_IN_NONBLOCK): Likewise.
20199         (__ASSUME_PIPE2): Likewise.
20200         (__ASSUME_EVENTFD2): Likewise.
20201         (__ASSUME_SIGNALFD4): Likewise.
20202         (__ASSUME_DUP3): Likewise.
20203         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20204         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20205         (__ASSUME_AT_RANDOM): Likewise.
20206         (__ASSUME_PREADV): Likewise.
20207         (__ASSUME_PWRITEV): Likewise.
20208         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20209         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20210         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20211         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20212         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20213         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20214         (__ASSUME_O_CLOEXEC): Define unconditionally.
20215         (__ASSUME_PSELECT): Do not undefine conditionally.
20216         (__ASSUME_PPOLL): Likewise.
20217         (__ASSUME_ATFCTS): Likewise.
20218         (__ASSUME_SET_ROBUST_LIST): Likewise.
20219         (__ASSUME_UTIMENSAT): Likewise.
20220         (__ASSUME_FDATASYNC): Define unconditionally.
20221         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20222         (__ASSUME_SIGFRAME_V2): Likewise.
20223         )__ASSUME_EVENTFD2): Likewise.
20224         (__ASSUME_SIGNALFD4): Likewise.
20225         (__ASSUME_PSELECT): Do not undefine conditionally.
20226         (__ASSUME_PPOLL): Likewise.
20227         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20228         (__ASSUME_PSELECT): Define unconditionally.
20229         (__ASSUME_PPOLL): Likewise.
20230         (__ASSUME_O_CLOEXEC): Likewise.
20231         (__ASSUME_SOCK_CLOEXEC): Likewise.
20232         (__ASSUME_IN_NONBLOCK): Likewise.
20233         (__ASSUME_PIPE2): Likewise.
20234         (__ASSUME_EVENTFD2): Likewise.
20235         (__ASSUME_SIGNALFD4): Likewise.
20236         (__ASSUME_DUP3): Likewise.
20237         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20238         (__ASSUME_O_CLOEXEC): Likewise.
20239         (__ASSUME_SOCK_CLOEXEC): Likewise.
20240         (__ASSUME_IN_NONBLOCK): Likewise.
20241         (__ASSUME_PIPE2): Likewise.
20242         (__ASSUME_EVENTFD2): Likewise.
20243         (__ASSUME_SIGNALFD4): Likewise.
20244         (__ASSUME_DUP3): Likewise.
20245         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20246         (__ASSUME_EVENTFD2): Likewise.
20247         (__ASSUME_SIGNALFD4): Likewise.
20248         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20250 2014-05-12  Andreas Schwab  <schwab@suse.de>
20252         [BZ #16932]
20253         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20254         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20255         than maximum RPC packet size.
20256         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20257         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20258         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20259         (_nss_nis_getservbyport_r): Likewise.
20261 2014-05-12  Will Newton  <will.newton@linaro.org>
20263         * malloc/Makefile (tests): Add tst-mallopt.
20264         * malloc/tst-mallopt.c: New file.
20266 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20268         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20269         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20271 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20273         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20274         (tst-tlsmod6.so): Likewise.
20276 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20278         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20280 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20282         [BZ #16064]
20283         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20284         and <dl-procinfo.h>.
20285         (__fegetenv): Save SSE state in envp->__eip if supported.
20286         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20287         envp->__eip if supported.
20288         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20289         and <dl-procinfo.h>.
20290         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20291         __data_offset and __data_selector in environment to 0.  Set SSE
20292         state if supported.
20293         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20294         test-fenv-sse.
20295         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20296         -mfpmath=sse.
20297         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20299 2014-05-09  Will Newton  <will.newton@linaro.org>
20301         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20302         and libc_relro_required for ARM.
20303         * sysdeps/arm/preconfigure: Regenerate.
20305 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20306             Stefan Liebler  <stli@linux.vnet.ibm.com>
20308         * config.make.in (enable-lock-elision): New Makefile variable.
20309         * configure.ac: Likewise.
20310         * configure: Regenerate.
20311         * sysdeps/s390/configure.ac:
20312         Add check for gcc transactions support.
20313         * sysdeps/s390/configure: Regenerate.
20314         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20315         Build elision files if enabled.
20316         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20317         Add lock elision support for s390.
20318         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20319         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20320         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20321         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20322         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20323         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20324         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20325         Likewise.
20326         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20327         Likewise.
20328         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20329         Likewise.
20330         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20331         Likewise.
20332         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20333         (__lll_timedlock_elision, __lll_lock_elision)
20334         (__lll_unlock_elision, __lll_trylock_elision)
20335         (lll_timedlock_elision, lll_lock_elision)
20336         (lll_unlock_elision, lll_trylock_elision): Add.
20337         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20338         (pthread_mutex_t): Add lock elision support for s390.
20340 2014-05-14  Wilco  <wdijkstr@arm.com>
20342         * sysdeps/arm/fclrexcpt.c: Cleanup.
20343         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20344         * sysdeps/arm/feenablxcpt.c: Cleanup.
20345         * sysdeps/arm/fegetenv.c: Cleanup.
20346         * sysdeps/arm/fegetexcept.c: Cleanup.
20347         * sysdeps/arm/fegetround.c: Cleanup.
20348         * sysdeps/arm/feholdexcpt.c: Cleanup.
20349         * sysdeps/arm/fesetenv.c: Cleanup.
20350         * sysdeps/arm/fesetround.c: Cleanup.
20351         * sysdeps/arm/feupdateenv.c: Cleanup.
20352         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20353         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20354         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20355         * sysdeps/arm/ftestexcept.c: Cleanup.
20356         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20357         * sysdeps/arm/setfpucw.c: Cleanup.
20359 2014-05-09  Will Newton  <will.newton@linaro.org>
20361         * sysdeps/arm/armv7/strcmp.S: New file.
20362         * NEWS: Mention addition of ARMv7 optimized strcmp.
20364 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20366         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20367         look for %.ac rather than %.in.
20369         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20370         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20371         * sysdeps/mach/hurd/configure: Regenerated.
20372         * sysdeps/unix/sysv/linux/configure: Regenerated.
20374         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20376 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20378         [BZ# 16922]
20379         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20380         (LONG_SUB): Ditto.
20381         (PTR_SUB): Ditto.
20383 2014-05-07  Andreas Schwab  <schwab@suse.de>
20385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20386         when skipping over non-matching result from nscd.
20388 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20390         [BZ #16876]
20391         * nptl/sockperf.c (client): Check socket return value.
20393         [BZ #16877]
20394         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20395         nscd security class.
20397 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20399         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20400         * sysdeps/arm/unwind.h: ... here.
20402 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20404         [BZ# 16916]
20405         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20406         Define.
20408 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20410         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20411         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20412         multiarch strncpy for PPC64.
20413         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20414         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20416         multiarch optimizations.
20417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20418         (__libc_ifunc_impl_list): Likewise.
20419         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20420         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20421         multiarch stpncpy for PPC64.
20422         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20423         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20425 2014-05-06  Andreas Schwab  <schwab@suse.de>
20427         [BZ #16912]
20428         * gmon/mcount.c (_MCOUNT_DECL): Use
20429         atomic_compare_and_exchange_bool_acq instead of
20430         catomic_compare_and_exchange_bool_acq.
20432 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20434         * elf/Makefile (others, install-bin): Remove pldd.
20435         (pldd-modules): Variable removed.
20436         ($(objpfx)pldd): Target removed.
20437         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20438         (others, install-bin): Append pldd here.
20439         ($(objpfx)pldd): New target.
20441         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20442         to 0, so the first #if test emitted later doesn't see it undefined.
20443         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20444         * sysdeps/gnu/errlist.c: Regenerated.
20446 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20448         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20449         [libc_hidden_builtin_def]: Define to empty value.
20450         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20451         [libc_hidden_builtin_def]: Likewise.
20452         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20453         [libc_hidden_builtin_def]: Likewise.
20454         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20455         [libc_hidden_builtin_def]: Likewise.
20456         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20457         __redirect_memcpy and define ifunc as default hidden symbol.
20458         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20459         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20461 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20463         * locale/iso-4217.def: Reintroduce XDR currency.
20465 2014-05-04  Allan McRae  <allan@archlinux.org>
20467         * po/eo.po: Update Esperanto translation from translation project.
20469 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20471         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20472         and FEATURE_INDEX_MAX to 1.
20473         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20475 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20477         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20478         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20479         * iconvdata/big5.c (ONE_DIRECTION): Define.
20480         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20481         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20482         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20483         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20484         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20485         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20486         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20487         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20488         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20489         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20490         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20491         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20492         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20493         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20494         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20495         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20496         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20497         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20498         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20499         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20500         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20501         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20502         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20503         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20504         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20505         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20506         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20507         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20508         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20509         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20510         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20511         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20512         * iconvdata/johab.c (ONE_DIRECTION): Define.
20513         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20514         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20515         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20516         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20517         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20518         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20519         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20520         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20521         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20522         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20524 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20526         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20527         (_IO_JUMPS_OFFSET): Define to 0.
20529         * nptl/sysdeps/pthread/bits/libc-lock.h
20530         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20531         (__libc_lock_define_initialized_recursive): Always define using
20532         initializer.  Modern compilers treat uninitialized (implicit zero) and
20533         explicit zero initializers the same (i.e. put the datum in bss).
20535 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20537         * nscd/nscd-client.h: Include <string.h>.
20539 2014-05-01  David S. Miller  <davem@davemloft.net>
20541         [BZ #16885]
20542         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20543         multiple zero bytes exist at the end of a string.
20544         Reported by Aurelien Jarno <aurelien@aurel32.net>
20546         * string/test-strcmp.c (check): Add explicit test for situations where
20547         there are multiple zero bytes after the first.
20549 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20551         [BZ #16890]
20552         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20553         when compiling wprintf.
20554         * stdio-common/tstdiomisc.c (t3): New function.
20555         (main): Call it.
20557 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20559         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20560         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20561         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20562         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20564 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20566         * stdlib/longlong.h: Updated from GCC.
20568 2014-05-01  Will Newton  <will.newton@linaro.org>
20569             Bernard Ogden  <bernie.ogden@linaro.org>
20571         * NEWS: Update fixed bug list.
20573         [BZ #15119]
20574         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20576 2014-04-30  David S. Miller  <davem@davemloft.net>
20578         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20579         (libc_feholdexcept_setround_sparc_ctx): New function.
20580         (libc_fesetenv_sparc_ctx): Likewise.
20581         (libc_feupdateenv_sparc_ctx): Likewise.
20582         (libc_feholdsetround_sparc_ctx): Likewise.
20583         (libc_feholdexcept_setround_ctx): Define.
20584         (libc_feholdexcept_setroundf_ctx): Likewise.
20585         (libc_feholdexcept_setroundl_ctx): Likewise.
20586         (libc_fesetenv_ctx): Likewise.
20587         (libc_fesetenvf_ctx): Likewise.
20588         (libc_fesetenvl_ctx): Likewise.
20589         (libc_feupdateenv_ctx): Likewise.
20590         (libc_feupdateenvf_ctx): Likewise.
20591         (libc_feupdateenvl_ctx): Likewise.
20592         (libc_feresetround_ctx): Likewise.
20593         (libc_feresetroundf_ctx): Likewise.
20594         (libc_feresetroundl_ctx): Likewise.
20595         (libc_feholdsetround_ctx): Likewise.
20596         (libc_feholdsetroundf_ctx): Likewise.
20597         (libc_feholdsetroundl_ctx): Likewise.
20599         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20600         with __USE_GNU instead of XOPEN cpp guards.
20602         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20603         0.
20605         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20606         with XOPEN cpp guards.
20608 2014-04-30  Julian Brown  <julian@codesourcery.com>
20610         [BZ #16888]
20611         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20612         handling.
20614 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20616         [BZ #9894]
20617         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20618         Change to 2.6.32.
20619         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20620         * sysdeps/unix/sysv/linux/configure: Regenerated.
20621         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20622         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20623         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20624         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20625         * README: Update reference to required Linux kernel version.
20626         * manual/install.texi (Linux): Update reference to required Linux
20627         kernel headers version.
20628         * INSTALL: Regenerated.
20630         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20631         header inclusion.
20632         [POSIX] (limits.h): Likewise.
20633         [POSIX] (math.h): Likewise.
20634         [POSIX] (sys/wait.h): Likewise.
20635         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20636         function.
20637         [POSIX] (stddef.h): Do not allow header inclusion.
20639 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20641         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20643 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20645         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20646         Return immediately after lll_futex_wake.
20648 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20650         [BZ #16791]
20651         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20652         structure.
20653         (datahead_init_pos): Call datahead_init_common early.
20654         (datahead_init_neg): Likewise.
20656         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20657         datahead_init_neg): New functions.
20658         * nscd/aicache.c (addhstaiX): Use them.
20659         * nscd/grpcache.c (cache_addgr): Likewise.
20660         * nscd/hstcache.c (cache_addhst): Likewise.
20661         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20662         * nscd/netgroupcache.c (do_notfound): Likewise.
20663         (addgetnetgrentX): Likewise.
20664         (addinnetgrX): Likewise.
20665         * nscd/pwdcache.c (cache_addpw): Likewise.
20666         * nscd/servicescache.c (cache_addserv): Likewise.
20668 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20669             Atsushi Onoe  <atsushi@onoe.org>
20671         [BZ #14308]
20672         [BZ #12994]
20673         [BZ #13651]
20674         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20675         one response is valid.
20676         * resolv/res_send.c (send_dg): Check for validity of other
20677         response if the current response is a referral.
20679 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20681         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20683 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20685         [BZ #16823]
20686         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20687         Always divide by positive zero when computing -Inf result.
20688         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20689         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20691 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20693         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20694         FPSCR if value do not change.
20695         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20696         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20697         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20698         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20699         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20700         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20701         function.
20703 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20705         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20706         * sysdeps/unix/sysv/linux/hppa: Move directory from
20707         ports/systeps/unix/sysv/linux/hppa.
20708         * README: Update listing for hppa-*-linux-gnu.
20710 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20712         [BZ #16754]
20713         * manual/stdio.texi (Hook functions): Fix types of stream hook
20714         functions.
20715         [BZ #16854]
20716         * socket/sys/socket.h: Fix typo in comment.
20718 2014-04-28  Wilco  <wdijkstr@arm.com>
20720         * sysdeps/arm/fenv_private.h: New file.
20721         * sysdeps/arm/math_private.h: New file.
20722         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20724 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20726         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20727         with __int128_t.
20728         (La_x86_64_retval): Likewise.
20730 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20732         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20733         fpsr if value didn't change.
20734         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20735         to fpcr if value didn't change.
20736         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20737         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20738         fpsr or fpcr if value didn't change.
20739         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20740         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20741         fpcr if value didn't change.
20742         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20743         to fpsr if value didn't change.
20745 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20747         * nptl/tst-sem3.c: Use test-skeleton.c
20748         (main): Rename to do_test.  Use return instead of
20749         exit.
20750         * nptl/tst-sem4.c: Use test-skeleton.c
20751         (main): Rename to do_test.
20753 2014-04-22  David S. Miller  <davem@davemloft.net>
20755         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20756         (struct sigaction): New struct member __glibc_reserved0, change
20757         type of sa_flags to int.
20759 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20761         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20762         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20764 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20766         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20767         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20769 2014-04-22  Will Newton  <will.newton@linaro.org>
20770             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20772         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20773         (__longjmp): Add longjmp and longjmp_target SystemTap
20774         probes.
20775         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20776         (__sigsetjmp): Add setjmp SystemTap probe.
20778 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20780         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20781         match manual order.
20783 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20785         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20787         * sysdeps/powerpc/fpu/fenv_private.h
20788         (libc_feholdexcept_setroundl_ctx): Define to
20789         libc_feholdexcept_setround_ppc_ctx.
20790         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20791         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20792         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20793         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20795 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20797         * sysdeps/aarch64/math-tests.h: New file.
20799 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20801         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20802         New.
20803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20804         Check and set bit_AVX2_Usable.
20805         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20806         macro.
20807         (bit_AVX2): Likewise.
20808         (index_AVX2_Usable): Likewise.
20809         (CPUID_AVX2): Likewise.
20810         (HAS_AVX2): Likewise.
20812 2014-04-17  Will Newton  <will.newton@linaro.org>
20814         * manual/setjmp.texi (System V contexts): Add note that
20815         calling setcontext on a context created by a call to a
20816         signal handler is undefined.  Update text to note that
20817         setcontext from a signal handler is possible but not
20818         recommended.
20820         [BZ #16629]
20821         * stdlib/tst-setcontext.c: Include signal.h.
20822         (main): Check that the signal stack before and
20823         after swapcontext is the same.
20825         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20826         Re-implement to restore registers in user code and avoid
20827         rt_sigreturn system call.
20829 2014-04-17  Wilco  <wdijkstr@arm.com>
20831         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20832         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20833         * math/test-fenv.c: Skip exception trap tests on targets which only
20834         support non-stop mode.
20836 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20837             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20839         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20840         (libc_feholdsetround_aarch64_ctx)
20841         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20842         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20843         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20844         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20845         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20846         (libc_feresetround_noexl_ctx): Define.
20848 2014-04-16  Richard Henderson  <rth@redhat.com>
20850         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20852         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20853         unwind tables.
20855         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20856         const from the non-libc, non-ldso copy.
20858         * sysdeps/alpha/libm-test-ulps: Regenerate.
20860 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20861             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20863         * sysdeps/aarch64/fpu/math_private.h: New file.
20865 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20867         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20869 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20871         [BZ #16275]
20872         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20873         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20874         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20875         Intel MPX bound registers before _dl_profile_fixup.
20876         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20877         registers after _dl_profile_fixup.  Save and restore bound
20878         registers bnd0/bnd1 when calling _dl_call_pltexit.
20879         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20880         (LR_BND_OFFSET): Likewise.
20881         (LRV_BND0_OFFSET): Likewise.
20882         (LRV_BND1_OFFSET): Likewise.
20884 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20886         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20887         to...
20888         * sysdeps/mach/hurd/i386/tls.h: ... here.
20889         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20890         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20891         fields.
20893 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20895         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20897 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20899         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20901 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20903         [BZ #14770]
20904         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20905         * sysdeps/s390/configure: Regenerate.
20907         [BZ #16824]
20908         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20909         Set round-to-nearest internally to reduce error accumulation.
20911 2014-04-16  Alan Modra  <amodra@gmail.com>
20913         [BZ #16740]
20914         [BZ #16619]
20915         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20916         * math/libm-test.inc (frexp_test_data): Add tests.
20917         * NEWS: Update fixed bug list.
20919 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20921         * benchtests/Makefile: Depend on libraries in build directory.
20922         (bench-math): Separate out math tests.
20923         (bench-pthread): Separate out pthread tests.
20924         (bench): Include math and pthread tests.
20926 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20928         [BZ #16831]
20929         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20930         _dl_debug_initialize.
20932         * configure.ac: Remove SELinux header check.
20933         * configure: Regenerate.
20934         * nscd/selinux.c (perms): Array of const char* to permission names.
20935         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20936         default policy. Call string_to_security_class and string_to_av_perm to
20937         translate strings. Enforce default policy and call avs_has_perm with
20938         results of translated strings.
20940 2014-04-13  David S. Miller  <davem@davemloft.net>
20942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20944 2014-04-12  Allan McRae  <allan@archlinux.org>
20946         [BZ #16838]
20947         * manual/string.texi (Collation Functions): Fix qsort argument
20948         order in example.
20949         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20951 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20953         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20954         Make the test a no-op if there are no exceptions defined.
20956 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20958         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20959         enable-hardcoded-path-in-tests
20961 2014-04-11  Will Newton  <will.newton@linaro.org>
20963         * benchtests/Makefile (extra-objs): Add json-lib.o.
20964         (bench-func): Tidy up JSON output.
20965         * benchtests/bench-skeleton.c: Include json-lib.h.
20966         (main): Use JSON library functions to do output of
20967         benchmark results.
20968         * benchtests/bench-timing-type.c (main): Output the
20969         timing type simply, leaving formatting to the user.
20970         * benchtests/json-lib.c: New file.
20971         * benchtests/json-lib.h: Likewise.
20973 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20975         [BZ #15215]
20976         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20977         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20978         memory barriers.  Add comments.
20979         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20980         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20981         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20982         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20983         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20984         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20986 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20988         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20989         * sysdeps/s390/s390-64/configure.ac: ... this ...
20990         * sysdeps/s390/configure.ac: ... to here.
20991         * sysdeps/s390/s390-32/configure: Delete file.
20992         * sysdeps/s390/s390-64/configure: Delete file.
20993         * sysdeps/s390/configure: Regenerate.
20995 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20997         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20999 2014-04-11  Will Newton  <will.newton@linaro.org>
21001         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21002         to zero if it is not defined elsewhere.  (mtrim): Test
21003         the value of MALLOC_DEBUG with #if rather than #ifdef.
21005 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21007         * benchtests/pthread_once-inputs: New file.
21008         * benchtests/pthread_once-source.c: New file.
21009         * benchtests/README: Update documentation.
21011 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21012             H.J. Lu  <hongjiu.lu@intel.com>
21014         [BZ #16275]
21015         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21016         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21017         * sysdeps/x86_64/configure: Regenerated.
21018         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21019         macro.
21020         (REGISTER_SAVE_RAX): Likewise.
21021         (REGISTER_SAVE_RCX): Likewise.
21022         (REGISTER_SAVE_RDX): Likewise.
21023         (REGISTER_SAVE_RSI): Likewise.
21024         (REGISTER_SAVE_RDI): Likewise.
21025         (REGISTER_SAVE_R8): Likewise.
21026         (REGISTER_SAVE_R9): Likewise.
21027         (REGISTER_SAVE_BND0): Likewise.
21028         (REGISTER_SAVE_BND1): Likewise.
21029         (REGISTER_SAVE_BND2): Likewise.
21030         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21031         bound registers when calling _dl_fixup.
21033 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21035         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21036         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21037         of its definition.
21038         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21039         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21040         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21041         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21042         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21043         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21044         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21046 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21048         [BZ #15514]
21049         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21050         pathconf(_PC_NAME_MAX).
21052 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21054         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21055         Remove macro usage.
21056         (__PTHREAD_SPINS): Move definition to ...
21057         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21058         (__PTHREAD_SPINS): ... here.
21059         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21060         (__PTHREAD_SPIN): Likewise.
21061         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21062         (__PTHREAD_SPIN): Likewise.
21063         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21064         (__PTHREAD_SPIN): Likewise.
21065         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21066         (__PTHREAD_SPIN): Likewise.
21067         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21068         (__PTHREAD_SPIN): Likewise.
21069         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21070         (__PTHREAD_SPIN): Likewise.
21071         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21072         (__PTHREAD_SPIN): Likewise.
21073         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21074         (__PTHREAD_SPIN): Likewise.
21075         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21076         (__PTHREAD_SPIN): Likewise.
21077         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21078         (__PTHREAD_SPIN): Likewise.
21079         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21080         (__PTHREAD_SPIN): Likewise.
21081         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21082         (__PTHREAD_SPIN): Likewise.
21084         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21085         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21086         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21087         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21088         imply folder.
21089         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21090         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21091         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21092         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21093         correct imply path.
21094         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21095         strlen symbol for non multi-arch builds.
21096         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21097         missing hidden_def and weak_alias.
21099 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21101         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21103 2014-04-07  Will Newton  <will.newton@linaro.org>
21105         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21106         and contents.  [!_LIBC] Remove #ifndef and contents.
21107         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21108         * string/memccpy.c (__memccpy): Use ANSI prototype.
21109         * string/memfrob.c (memfrob): Likewise.
21110         * string/strcoll.c (STRCOLL): Likewise.
21111         * string/strlen.c (strlen): Likewise.
21112         * string/strtok.c (STRTOK): Likewise.
21113         * string/strcat.c: Remove unused #include of memcopy.h.
21114         (strcat): Use ANSI prototype.
21115         * string/strchr.c: Remove unused #include of memcopy.h.
21116         (strchr): Use ANSI prototype.
21117         * string/strcmp.c: Remove unused #include of memcopy.h.
21118         (strcmp): Use ANSI prototype.
21119         * string/strcpy.c: Remove unused #include of memcopy.h.
21120         (strcpy): Use ANSI prototype.
21122 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21124         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21125         * config.make.in (config-extra-cppflags): Set it from
21126         libc_extra_cppflags.
21127         * configure.ac (libc_extra_cflags): Make it accumulate over
21128         configure fragments.
21129         (libc_extra_cppflags): New flag.
21130         * configure. Regenerate.
21131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21132         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21133         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21136         [BZ #16815]
21137         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21138         result for FE_DOWNWARD rounding mode.
21139         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21140         Likewise.
21141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21143 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21145         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21146         in function argument name.
21148 2014-04-03  David Svoboda  <svoboda@cert.org>
21150         [BZ #5666]
21151         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21152         explicitly.
21154 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21156         * elf/dl-unmap-segments.h: New file.
21157         * sysdeps/generic/ldsodefs.h
21158         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21159         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21160         * elf/dl-fptr.c: Likewise.
21161         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21162         * sysdeps/aarch64/tlsdesc.c: Likewise.
21163         * sysdeps/arm/tlsdesc.c: Likewise.
21164         * sysdeps/i386/tlsdesc.c: Likewise.
21165         * sysdeps/tile/dl-runtime.c: Likewise.
21166         * sysdeps/x86_64/tlsdesc.c: Likewise.
21167         * elf/dl-load.h: New file.
21168         * elf/dl-load.c: Include it.
21169         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21170         Macros moved to dl-load.h.
21171         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21172         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21173         Use _dl_unmap_segments in place of __munmap.
21174         Break out segment-mapping loop into ...
21175         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21177 2014-04-03  Will Newton  <will.newton@linaro.org>
21179         * elf/dl-lookup.c (do_lookup_x): Remove comment
21180         referring to nested function and move variable
21181         declarations down to before first use.
21183 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21185         [BZ #16799]
21186         [BZ #16800]
21187         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21188         with 0 numerator.
21189         * math/s_catanf.c (__catanf): Likewise.
21190         * math/s_catanh.c (__catanh): Likewise.
21191         * math/s_catanhf.c (__catanhf): Likewise.
21192         * math/s_catanhl.c (__catanhl): Likewise.
21193         * math/s_catanl.c (__catanl): Likewise.
21194         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21195         by positive zero when computing -Inf result.
21196         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21197         (catanh_test): Likewise.
21198         * sysdeps/i386/fpu/libm-test-ulps: Update.
21199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21201         [BZ #16789]
21202         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21203         instead of using underflowing value in computing result.
21204         * math/s_clog10.c (__clog10): Likewise.
21205         * math/s_clog10f.c (__clog10f): Likewise.
21206         * math/s_clog10l.c (__clog10l): Likewise.
21207         * math/s_clogf.c (__clogf): Likewise.
21208         * math/s_clogl.c (__clogl): Likewise.
21209         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21210         (clog10_test): Likewise.
21211         * sysdeps/i386/fpu/libm-test-ulps: Update.
21212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21214 2014-04-02  Alan Modra  <amodra@gmail.com>
21216         [BZ #16739]
21217         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21218         output when value is near a power of two.  Use int64_t for lx and
21219         remove casts.  Use decimal rather than hex exponent constants.
21220         Don't use long double multiplication when double will suffice.
21221         * math/libm-test.inc (nextafter_test_data): Add tests.
21222         * NEWS: Add 16739 and 16786 to bug list.
21224         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21226         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21228 2014-04-01  Will Newton  <will.newton@linaro.org>
21230         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21231         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21233 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21235         [BZ #13347]
21236         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21237         * nptl/tst-setuid2.c: New file.
21238         * nptl/Makefile (xtests): Add tst-setuid2.
21240 2014-04-01  Alan Modra  <amodra@gmail.com>
21242         [BZ #16786]
21243         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21245 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21247         [BZ #6803]
21248         [BZ #6804]
21249         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21250         set errno as appropriate.
21251         * math/w_scalbf.c (__scalbf): Likewise.
21252         * math/w_scalbl.c (__scalbl): Likewise.
21253         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21254         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21255         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21256         Add more NaN tests.
21258         [BZ #16349]
21259         * math/w_atan2.c: Include <errno.h>.
21260         (__atan2): Set errno for result underflowing to zero.
21261         * math/w_atan2f.c: Include <errno.h>.
21262         (__atan2f): Set errno for result underflowing to zero.
21263         * math/w_atan2l.c: Include <errno.h>.
21264         (__atan2l): Set errno for result underflowing to zero.
21265         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21266         tests.
21267         * math/auto-libm-test-out: Regenerated.
21269 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21271         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21272         Encode instruction correctly in little endian.
21273         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21274         Likewise.
21275         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21276         Likewise.
21277         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21278         Likewise.
21279         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21280         Likewise.
21282 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21284         [BZ #9894]
21285         * sysdeps/unix/sysv/linux/kernel-features.h
21286         [__sparc__ && !__arch64__ && !__sparc_v9__]
21287         (__ASSUME_SET_ROBUST_LIST): Do not define.
21288         [__sparc__ && !__arch64__ && !__sparc_v9__]
21289         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21290         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21291         Likewise.
21292         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21293         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21294         (__ASSUME_REQUEUE_PI): Likewise.
21295         (__ASSUME_SET_ROBUST_LIST): Likewise.
21296         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21297         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21298         Undefine.
21299         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21300         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21301         Likewise.
21302         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21303         Likewise.
21304         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21305         Likewise.
21306         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21307         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21308         Undefine.
21309         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21310         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21311         Likewise.
21313         [BZ #16648]
21314         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21315         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21316         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21318 2014-03-31  Will Newton  <will.newton@linaro.org>
21320         * benchtests/Makefile (bench): Add ffs and ffsll to list
21321         of tests.
21322         * benchtests/ffs-inputs: New file.
21323         * benchtests/ffsll-inputs: Likewise.
21325 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21327         [BZ #16770]
21328         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21329         too large before casting to int.
21330         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21331         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21332         * math/libm-test.inc (scalb_test_data): Add more tests.
21334 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21336         * benchtests/Makefile (DETAILED_OPT): New make option.
21337         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21338         set.
21339         * benchtests/bench-skeleton.c: Include stdbool.h.
21340         (main): Store and print timings per input.
21341         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21342         member to each argument value.
21343         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21344         (_print_arg_data): Initialize per-input timing to 0.
21346         * benchtests/Makefile (timing-type): New binary.
21347         (bench-clean): Also remove bench-timing-type.
21348         (bench): New target for timing-type.
21349         (bench-func): Print output in JSON format.
21350         * benchtests/bench-skeleton.c (main): Print output in JSON
21351         format.
21352         * benchtests/bench-timing-type.c: New file.
21353         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21354         (TIMING_PRINT_STATS): Remove.
21355         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21356         name separately.
21358         * benchtests/bench-modf.c: Remove.
21359         * benchtests/modf-inputs: New inputs file.
21361 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21363         [BZ #16362]
21364         * math/s_clog10.c (M_PI_LOG10E): New macro.
21365         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21366         imaginary parts are 0.
21367         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21368         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21369         imaginary parts are 0.
21370         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21371         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21372         imaginary parts are 0.
21373         * math/libm-test.inc (clog10_test_data): Update expected results
21374         for when real and imaginary parts are 0.
21376 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21378         * elf/dl-load.c: Finish conversion of __builtin_expect into
21379         __glibc_{un}likely.
21381 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21383         [BZ #16348]
21384         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21385         1+x for argument with exponent below -67.
21386         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21387         Likewise.
21388         * math/auto-libm-test-in: Add more tests of exp.
21389         * math/auto-libm-test-out: Regenerated.
21391 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21393         [BZ #16759]
21394         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21395         (nscd_getnetgrent): Use it.
21397         [BZ #16760]
21398         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21399         of stpcpy.
21401 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21403         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21404         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21405         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21406         (lll_robust_unlock): Remove out of line section. Use cfi
21407         intrinsics.
21408         (LLL_STUB_UNWIND_INFO*): Remove.
21409         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21410         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21411         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21412         (lll_robust_unlock): Remove out of line section. Use cfi
21413         intrinsics.
21414         (LLL_STUB_UNWIND_INFO*): Remove.
21416 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21418         [BZ #16758]
21419         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21420         blank values.
21422 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21424         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21426 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21428         [BZ #16198]
21429         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21430         fnstenv.
21431         * math/test-fenv-preserve.c: New file.
21432         * math/Makefile (tests): Add test-fenv-preserve.
21434 2014-03-26  Will Newton <will.newton@linaro.org>
21436         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21438 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21440         * scripts/versionlist.awk: Partition the version sets and emit all
21441         GLIBC_* (sorted) before all others (sorted).
21443 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21445         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21446         GLIBC_2.2.5 version.
21448 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21450         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21451         calls.
21453         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21454         previous change.
21456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21458 2014-03-25  Andreas Schwab  <schwab@suse.de>
21460         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21461         label to be used after in6ailist is initialized.
21463 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21465         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21466         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21468 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21470         [BZ #16357]
21471         [BZ #16599]
21472         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21473         min_plus_half.
21474         (fp_formats): Update initializers.
21475         (init_fp_formats): Initialize new field.
21476         (output_for_one_input_case): Allow underflow for results up to
21477         min_plus_half.
21478         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21479         * math/auto-libm-test-in: Don't mark some underflows from asin and
21480         atanh as spurious.
21481         * math/auto-libm-test-out: Regenerated.
21482         * sysdeps/i386/fpu/libm-test-ulps: Update.
21483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21485 2014-03-25  Andreas Schwab  <schwab@suse.de>
21487         * libio/Makefile (tst-ftell-partial-wide-ENV)
21488         (tst-ftell-active-handler-ENV): Define.
21490 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21492         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21494 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21496         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21498 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21500         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21501         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21502         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21504 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21506         [BZ #16634]
21507         * elf/dl-load.c (open_verify): Add mode parameter.
21508         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21509         (open_path): Change from boolean 'secure' to complete flag 'mode'
21510         (_dl_map_object): Adjust.
21511         * elf/Makefile (tests): Add tst-dlopen-aout.
21512         * elf/tst-dlopen-aout.c: New test.
21514 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21516         [BZ #16714]
21517         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21518         (struct stat): Rename member pad0 to __glibc_reserved0.
21520         [BZ #16712]
21521         * sysdeps/s390/s390-32/bits/wordsize.h
21522         (__WORDSIZE32_SIZE_ULONG): New define.
21523         * sysdeps/s390/s390-64/bits/wordsize.h
21524         (__WORDSIZE32_SIZE_ULONG): Likewise.
21525         * sysdeps/generic/stdint.h (SIZE_MAX):
21526         Define as UL if __WORDSIZE32_SIZE_ULONG.
21528         [BZ #16713]
21529         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21530         (__glibc_reserved0): New variable.
21531         (sa_flags): Change type to int.
21533         * posix/Makefile (before-compile): Use += before-compile instead
21534         of a :=.
21536         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21537         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21539 2014-03-20  Andreas Schwab  <schwab@suse.de>
21541         [BZ #16743]
21542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21543         non-matching result from nscd.
21545 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21547         * scripts/bench.py: Moved to ...
21548         * benchtests/scripts/bench.py: ... here.
21549         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21551 2014-03-24  Andreas Schwab  <schwab@suse.de>
21553         [BZ #16002]
21554         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21555         alloca_account and account alloca use for struct in6ailist.
21557 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21559         [BZ #16284]
21560         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21561         rounding mode to recompute results that overflow to infinity or
21562         underflow to zero.
21563         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21564         bug 16284.
21565         * math/auto-libm-test-out: Regenerated.
21566         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21567         (ccosh_test): Likewise.
21568         (csin_test_data): Use plus_oflow.
21569         (csin_test): Use ALL_RM_TEST.
21570         (csinh_test_data): Use plus_oflow.
21571         (csinh_test): Use ALL_RM_TEST.
21572         * sysdeps/i386/fpu/libm-test-ulps: Update.
21573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21575 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21577         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21578         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21579         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21581         [BZ #16731]
21582         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21583         when x - 1 is zero.
21584         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21585         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21586         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21587         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21588         argument is 1.
21589         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21590         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21591         zero.
21592         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21593         * sysdeps/i386/fpu/libm-test-ulps: Update.
21594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21596 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21598         * scripts/bench.pl: Remove file.
21599         * scripts/bench.py: New benchmark script.
21600         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21601         * benchtests/README: Mention python dependency.
21602         * scripts/pylintrc: New file.
21603         * scripts/pylint: New file.
21605         * bits/mathdef.h: Use #ifdef instead of #if.
21606         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21607         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21608         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21609         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21610         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21611         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21613 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21614             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21616         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21618         and strpbrk-ppc64 objects.
21619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21620         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21621         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21622         multiarch strpbrk for POWER7.
21623         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21624         multiarch strpbrk for PPC64.
21625         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21626         ifunc selector.
21627         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21628         strpbrk for POWER7.
21630 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21632         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21633         (atan_test): Likewise.
21634         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21635         (atanh_test): Use ALL_RM_TEST.
21636         (atan2_test_data): Likewise.
21637         (cabs_test): Likewise.
21638         (cacosh_test): Likewise.
21639         (carg_test): Likewise.
21640         (casin_test): Likewise.
21641         (casinh_test): Likewise.
21642         (cbrt_test): Likewise.
21643         (csqrt_test): Likewise.
21644         (erf_test): Likewise.
21645         (erfc_test): Likewise.
21646         (pow10_test): Likewise.
21647         (exp2_test): Likewise.
21648         (hypot_test): Likewise.
21649         (j0_test): Likewise.
21650         (j1_test): Likewise.
21651         (lgamma_test): Likewise.
21652         (gamma_test): Likewise.
21653         (sincos_test): Likewise.
21654         (tanh_test): Likewise.
21655         (y0_test): Likewise.
21656         (y1_test): Likewise.
21657         * sysdeps/i386/fpu/libm-test-ulps: Update.
21658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21660 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21662         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21663         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21664         and strcspn-ppc64 objects.
21665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21666         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21667         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21668         multiarch strcspn for POWER7.
21669         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21670         multiarch strcspn for PPC64.
21671         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21672         ifunc selector.
21673         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21674         strcspn for POWER7.
21676 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21678         * math/gen-libm-test.pl (generate_testfile): Expect only function
21679         name as argument to AUTO_TESTS_* and pass results for all rounding
21680         modes to parse_args.
21681         (parse_auto_input): Separate inputs of automatic tests from
21682         outputs before storing in %auto_tests.
21683         * math/libm-test.inc (acos_test_data): Update call to
21684         AUTO_TESTS_f_f.
21685         (acos_test): Use ALL_RM_TEST.
21686         (acos_tonearest_test_data): Remove.
21687         (acos_test_tonearest): Likewise.
21688         (acos_towardzero_test_data): Likewise.
21689         (acos_test_towardzero): Likewise.
21690         (acos_downward_test_data): Likewise.
21691         (acos_test_downward): Likewise.
21692         (acos_upward_test_data): Likewise.
21693         (acos_test_upward): Likewise.
21694         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21695         (asin_test_data): Likewise.
21696         (asin_test): Use ALL_RM_TEST.
21697         (asin_tonearest_test_data): Remove.
21698         (asin_test_tonearest): Likewise.
21699         (asin_towardzero_test_data): Likewise.
21700         (asin_test_towardzero): Likewise.
21701         (asin_downward_test_data): Likewise.
21702         (asin_test_downward): Likewise.
21703         (asin_upward_test_data): Likewise.
21704         (asin_test_upward): Likewise.
21705         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21706         (atan_test_data): Likewise.
21707         (atanh_test_data): Likewise.
21708         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21709         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21710         (carg_test_data): Likewise.
21711         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21712         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21713         (ccosh_test_data): Likewise.
21714         (cexp_test_data): Likewise.
21715         (clog_test_data): Likewise.
21716         (clog10_test_data): Likewise.
21717         (cos_test_data): Update call to AUTO_TESTS_f_f.
21718         (cos_test): Use ALL_RM_TEST.
21719         (cos_tonearest_test_data): Remove.
21720         (cos_test_tonearest): Likewise.
21721         (cos_towardzero_test_data): Likewise.
21722         (cos_test_towardzero): Likewise.
21723         (cos_downward_test_data): Likewise.
21724         (cos_test_downward): Likewise.
21725         (cos_upward_test_data): Likewise.
21726         (cos_test_upward): Likewise.
21727         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21728         (cosh_test): Use ALL_RM_TEST.
21729         (cosh_tonearest_test_data): Remove.
21730         (cosh_test_tonearest): Likewise.
21731         (cosh_towardzero_test_data): Likewise.
21732         (cosh_test_towardzero): Likewise.
21733         (cosh_downward_test_data): Likewise.
21734         (cosh_test_downward): Likewise.
21735         (cosh_upward_test_data): Likewise.
21736         (cosh_test_upward): Likewise.
21737         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21738         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21739         (ctan_test_data): Likewise.
21740         (ctan_test): Use ALL_RM_TEST.
21741         (ctan_tonearest_test_data): Remove.
21742         (ctan_test_tonearest): Likewise.
21743         (ctan_towardzero_test_data): Likewise.
21744         (ctan_test_towardzero): Likewise.
21745         (ctan_downward_test_data): Likewise.
21746         (ctan_test_downward): Likewise.
21747         (ctan_upward_test_data): Likewise.
21748         (ctan_test_upward): Likewise.
21749         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21750         (ctanh_test): Use ALL_RM_TEST.
21751         (ctanh_tonearest_test_data): Remove.
21752         (ctanh_test_tonearest): Likewise.
21753         (ctanh_towardzero_test_data): Likewise.
21754         (ctanh_test_towardzero): Likewise.
21755         (ctanh_downward_test_data): Likewise.
21756         (ctanh_test_downward): Likewise.
21757         (ctanh_upward_test_data): Likewise.
21758         (ctanh_test_upward): Likewise.
21759         (erf_test_data): Update call to AUTO_TESTS_f_f.
21760         (erfc_test_data): Likewise.
21761         (exp_test_data): Likewise.
21762         (exp_test): Use ALL_RM_TEST.
21763         (exp_tonearest_test_data): Remove.
21764         (exp_test_tonearest): Likewise.
21765         (exp_towardzero_test_data): Likewise.
21766         (exp_test_towardzero): Likewise.
21767         (exp_downward_test_data): Likewise.
21768         (exp_test_downward): Likewise.
21769         (exp_upward_test_data): Likewise.
21770         (exp_test_upward): Likewise.
21771         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21772         (exp10_test): Use ALL_RM_TEST.
21773         (exp10_tonearest_test_data): Remove.
21774         (exp10_test_tonearest): Likewise.
21775         (exp10_towardzero_test_data): Likewise.
21776         (exp10_test_towardzero): Likewise.
21777         (exp10_downward_test_data): Likewise.
21778         (exp10_test_downward): Likewise.
21779         (exp10_upward_test_data): Likewise.
21780         (exp10_test_upward): Likewise.
21781         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21782         (expm1_test_data): Likewise.
21783         (expm1_test): Use ALL_RM_TEST.
21784         (expm1_tonearest_test_data): Remove.
21785         (expm1_test_tonearest): Likewise.
21786         (expm1_towardzero_test_data): Likewise.
21787         (expm1_test_towardzero): Likewise.
21788         (expm1_downward_test_data): Likewise.
21789         (expm1_test_downward): Likewise.
21790         (expm1_upward_test_data): Likewise.
21791         (expm1_test_upward): Likewise.
21792         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21793         (fma_test): Use ALL_RM_TEST.
21794         (fma_towardzero_test_data): Remove.
21795         (fma_test_towardzero): Likewise.
21796         (fma_downward_test_data): Likewise.
21797         (fma_test_downward): Likewise.
21798         (fma_upward_test_data): Likewise.
21799         (fma_test_upward): Likewise.
21800         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21801         (j0_test_data): Update call to AUTO_TESTS_f_f.
21802         (j1_test_data): Likewise.
21803         (jn_test_data): Update call to AUTO_TESTS_if_f.
21804         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21805         (log_test_data): Update call to AUTO_TESTS_f_f.
21806         (log10_test_data): Likewise.
21807         (log1p_test_data): Likewise.
21808         (log2_test_data): Likewise.
21809         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21810         (pow_tonearest_test_data): Likewise.
21811         (sin_test_data): Update call to AUTO_TESTS_f_f.
21812         (sin_test): Use ALL_RM_TEST.
21813         (sin_tonearest_test_data): Remove.
21814         (sin_test_tonearest): Likewise.
21815         (sin_towardzero_test_data): Likewise.
21816         (sin_test_towardzero): Likewise.
21817         (sin_downward_test_data): Likewise.
21818         (sin_test_downward): Likewise.
21819         (sin_upward_test_data): Likewise.
21820         (sin_test_upward): Likewise.
21821         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21822         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21823         (sinh_test): Use ALL_RM_TEST.
21824         (sinh_tonearest_test_data): Remove.
21825         (sinh_test_tonearest): Likewise.
21826         (sinh_towardzero_test_data): Likewise.
21827         (sinh_test_towardzero): Likewise.
21828         (sinh_downward_test_data): Likewise.
21829         (sinh_test_downward): Likewise.
21830         (sinh_upward_test_data): Likewise.
21831         (sinh_test_upward): Likewise.
21832         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21833         (sqrt_test): Use ALL_RM_TEST.
21834         (sqrt_tonearest_test_data): Remove.
21835         (sqrt_test_tonearest): Likewise.
21836         (sqrt_towardzero_test_data): Likewise.
21837         (sqrt_test_towardzero): Likewise.
21838         (sqrt_downward_test_data): Likewise.
21839         (sqrt_test_downward): Likewise.
21840         (sqrt_upward_test_data): Likewise.
21841         (sqrt_test_upward): Likewise.
21842         (tan_test_data): Update call to AUTO_TESTS_f_f.
21843         (tan_test): Use ALL_RM_TEST.
21844         (tan_tonearest_test_data): Remove.
21845         (tan_test_tonearest): Likewise.
21846         (tan_towardzero_test_data): Likewise.
21847         (tan_test_towardzero): Likewise.
21848         (tan_downward_test_data): Likewise.
21849         (tan_test_downward): Likewise.
21850         (tan_upward_test_data): Likewise.
21851         (tan_test_upward): Likewise.
21852         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21853         (tgamma_test_data): Likewise.
21854         (y0_test_data): Likewise.
21855         (y1_test_data): Likewise.
21856         (yn_test_data): Update call to AUTO_TESTS_if_f.
21857         (main): Do not call removed functions.
21859 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21861         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21862         (ldexp_test_data): Remove.
21863         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21864         scalbn_test_data.
21865         (scalb_test): Use ALL_RM_TEST.
21867 2014-03-19  Andreas Schwab  <schwab@suse.de>
21869         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21871 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21873         [BZ #16649]
21874         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21875         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21876         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21877         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21878         (__ASSUME_PREADV): Undefine.
21879         (__ASSUME_PWRITEV): Likewise.
21881 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21883         * bits/mman-linux.h: Add comment about non-Linux use.
21884         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21885         bits/mman-linux.h resting place.
21887         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21888         * bits/mman-linux.h: ... here.
21890 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21892         * conform/conformtest.pl: Add standard definition when calling C
21893         preprocessor on data files.
21894         (checknamespace): Remove unused variable.
21896 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21898         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21899         minus_oflow, plus_uflow and minus_uflow in expected results.
21900         * math/libm-test.inc (scalbn_test_data): Add more tests of
21901         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21902         minus_uflow.
21903         (scalbn_test): Use ALL_RM_TEST.
21904         (scalbln_test_data): Add more tests of negative arguments.  Use
21905         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21906         (scalbln_test): Use ALL_RM_TEST.
21908 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21910         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21912 2014-03-18  Will Newton  <will.newton@linaro.org>
21914         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21915         inaccurate comment.
21917 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21919         * Makerules [!subdir] (check-abi): Exit with error status if a
21920         test failed.
21922 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21924         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21925         for rint.  Include results for all rounding modes.
21926         (nearbyint_test): Use ALL_RM_TEST.
21927         (rint_test_data): Include all tests used for nearbyint.
21929 2014-03-17  Will Newton  <will.newton@linaro.org>
21931         * nptl/sysdeps/pthread/pthread.h: Revert previous
21932         change.
21934         * sysdeps/generic/ldsodefs.h: Revert previous
21935         change.
21937         * libio/genops.c: Revert previous change.
21938         * libio/libioP.h: Likewise.
21939         * stdio-common/vfprintf.c: Likewise.
21941         * sysdeps/generic/math_private.h: Revert previous
21942         change.
21944         * sysdeps/generic/math_private.h: Check whether
21945         HAVE_RM_CTX is defined with #ifdef rather
21946         than #if.
21948         * argp/argp-fmtstream.h: Check whether
21949         __STRICT_ANSI__ is defined with #ifdef rather
21950         than #if.
21951         * argp/argp.h: Likewise.
21953         * libio/genops.c: Check whether
21954         _IO_JUMPS_OFFSET is defined with #ifdef rather
21955         than #if.
21956         * libio/libioP.h: Likewise.
21957         * stdio-common/vfprintf.c: Likewise.
21959         * sysdeps/generic/ldsodefs.h: Check whether
21960         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21961         than #if.
21963         * nptl/sysdeps/pthread/pthread.h: Check
21964         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21965         its value.
21967 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21969         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21970         setting O_APPEND.
21971         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21972         test case.
21974         [BZ #16680]
21975         * libio/fileops.c (_IO_file_open): Seek to end of file but
21976         don't cache the offset.
21977         (get_file_offset): Remove function.
21978         (do_ftell): Use cached offset when available.
21979         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21980         don't cache the offset.
21981         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21982         case.
21983         (do_one_test): Call it.
21984         (do_ftell_test): Fix up expected old offset for a+ mode.
21985         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21986         available.
21988         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21989         up test status with function return status.
21990         (do_write_test): Likewise.
21991         (do_append_test): Likewise.
21993         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21994         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21995         Remove.
21997 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21999         * math/gen-libm-test.pl (parse_args): Handle results specified for
22000         each rounding mode separately.
22001         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22002         tests and results from lrint_tonearest_test_data,
22003         lrint_towardzero_test_data, lrint_downward_test_data and
22004         lrint_upward_test_data.
22005         (lrint_test): Use ALL_RM_TEST.
22006         (lrint_tonearest_test_data): Remove.
22007         (lrint_test_tonearest): Likewise.
22008         (lrint_towardzero_test_data): Likewise.
22009         (lrint_test_towardzero): Likewise.
22010         (lrint_downward_test_data): Likewise.
22011         (lrint_test_downward): Likewise.
22012         (lrint_upward_test_data): Likewise.
22013         (lrint_test_upward): Likewise.
22014         (llrint_test_data): Merge in per-rounding-mode tests and results
22015         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22016         llrint_downward_test_data and llrint_upward_test_data.
22017         (llrint_test): Use ALL_RM_TEST.
22018         (llrint_tonearest_test_data): Remove.
22019         (llrint_test_tonearest): Likewise.
22020         (llrint_towardzero_test_data): Likewise.
22021         (llrint_test_towardzero): Likewise.
22022         (llrint_downward_test_data): Likewise.
22023         (llrint_test_downward): Likewise.
22024         (llrint_upward_test_data): Likewise.
22025         (llrint_test_upward): Likewise.
22026         (rint_test_data): Merge in per-rounding-mode tests and results
22027         from rint_tonearest_test_data, rint_towardzero_test_data,
22028         rint_downward_test_data and rint_upward_test_data.  Add
22029         per-rounding-mode results for tests not in those arrays.
22030         (rint_test): Use ALL_RM_TEST.
22031         (rint_tonearest_test_data): Remove.
22032         (rint_test_tonearest): Likewise.
22033         (rint_towardzero_test_data): Likewise.
22034         (rint_test_towardzero): Likewise.
22035         (rint_downward_test_data): Likewise.
22036         (rint_test_downward): Likewise.
22037         (rint_upward_test_data): Likewise.
22038         (rint_test_upward): Likewise.
22039         (main): Don't call removed functions.
22041 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22043         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22044         "Compiled on ..." crapola.  It is anti-useful.
22046 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22048         * scripts/evaluate-test.sh: Handle fourth argument to determine
22049         whether test run should stop on failure.
22050         * Makeconfig (stop-on-test-failure): New variable.
22051         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22052         $(stop-on-test-failure).
22053         * Makefile (tests): Give a summary of results from testing and
22054         exit with failure status if they include an ERROR or FAIL.
22055         (xtests): Likewise.
22056         * manual/install.texi (Configuring and compiling): Mention
22057         stop-on-test-failure=y.
22058         * INSTALL: Regenerated.
22060 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22062         * scripts/versionlist.awk: New file.
22063         * Makerules [$(build-shared) = yes]
22064         (postclean-generated): Add Versions.def, not Versions.def.v and
22065         Versions.def.v.i.
22066         ($(common-objpfx)Versions.def.v.i): Target removed.
22067         ($(common-objpfx)Versions.def): New target.
22068         ($(common-objpfx)Versions.all): Depend on that rather that
22069         $(common-objpfx)Versions.def.v.
22070         * Versions.def: File removed.
22072         * Makeconfig (+gccwarn): Add -Wundef.
22073         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22074         a dl-sysdep.h breaking its contract.
22075         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22076         * include/stackinfo.h: New file.
22077         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22078         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22079         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22080         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22081         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22082         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22083         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22084         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22085         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22086         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22087         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22088         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22089         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22090         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22091         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22093 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22095         [BZ #16707]
22096         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22097         implementation.
22098         * math/libm-test.inc (round_test_data): Add more tests.
22100         [BZ #16706]
22101         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22102         implementation.
22103         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22105         [BZ #16701]
22106         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22107         implementation.
22108         * math/libm-test.inc (ceil_test_data): Add more tests.
22110         * math/libm-test.inc (trunc_test_data): Add more tests related to
22111         BZ#16414.
22113 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22115         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22116         with #if rather than #ifdef.
22117         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22119 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22121         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22122         first.  Disable AVX-512 GCC support if assembler doesn't support
22123         it.
22124         * sysdeps/x86_64/configure: Regenerated.
22126 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22128         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22129         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22130         (__old_pthread_attr_setstack): Likewise.
22131         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22132         [!_STACK_GROWS_DOWN]: Likewise.
22134 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22136         * config.make.in (have-bash2): Delete.
22137         * configure.ac (libc_cv_have_bash2): Delete.
22138         * configure: Regenerate.
22139         * elf/Makefile (common-ldd-rewrite): Rename to ...
22140         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22141         (sh-ldd-rewrite): Delete.
22142         (bash-ldd-rewrite): Delete.
22143         (have-bash2): Delete checks.
22144         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22145         ldd-rewrite.
22147         * config.make.in (have-ksh): Delete.
22148         (KSH): Delete.
22149         * configure.ac (libc_cv_have_ksh): Delete.
22150         * configure: Regenerate.
22152         * elf/Makefile: Delete $(have-ksh) check.
22153         ($(objpfx)sotruss): Change KSH to BASH.
22154         * elf/sotruss.ksh: Rename to ...
22155         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22156         function style to match POSIX.  Drop ksh vim mode setting.
22158         * manual/time.texi (Specifying the Time Zone with TZ): Change
22159         Tuesday to Thursday.
22161         * debug/tst-longjmp_chk2.c: Update header comment.
22162         (stackoverflow_handler): Add comment.  Call assert on pass value.
22164 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22166         [BZ #16194]
22167         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22168         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22169         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22170         (La_x86_64_vector): Add zmm.
22171         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22172         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22173         ($(objpfx)tst-audit10): New target.
22174         ($(objpfx)tst-audit10.out): Likewise.
22175         (tst-audit10-ENV): New.
22176         (AVX512-CFLAGS): Likewise.
22177         (CFLAGS-tst-audit10.c): Likewise.
22178         (CFLAGS-tst-auditmod10a.c): Likewise.
22179         (CFLAGS-tst-auditmod10b.c): Likewise.
22180         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22181         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22182         * sysdeps/x86_64/configure: Regenerated.
22183         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22184         AVX-512 zmm register support.
22185         (_dl_x86_64_save_sse): Likewise.
22186         (_dl_x86_64_restore_sse): Likewise.
22187         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22188         size vector registers.
22189         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22190         (ZMM_SIZE): Likewise.
22191         * sysdeps/x86_64/tst-audit10.c: New file.
22192         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22193         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22195 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22197         * configure.ac (HAVE_EHDR_START): New check.
22198         * configure: Regenerated.
22199         * config.h.in (HAVE_EHDR_START): New #undef.
22200         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22201         assuming the lowest-addressed segment maps the start of the file.
22203 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22205         * INSTALL: Regenerated.
22207 2014-03-13  Will Newton  <will.newton@linaro.org>
22209         * manual/setjmp.texi (System V contexts): Improve
22210         clarity and grammar of documentation.
22212 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22214         [BZ #16381]
22215         * elf/Makefile (tests): Add tst-pie2.
22216         (tests-pie): Add tst-pie2.
22217         * elf/tst-pie2.c: New file.
22218         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22219         for ET_EXEC.
22220         * elf/rtld.c (map_doit): Load executable as lt_executable.
22221         (dl_main): Likewise.
22223 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22225         [BZ #16642]
22226         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22227         (__ASSUME_PSELECT): Undefine.
22229 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22231         [BZ #16689]
22232         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22233         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22234         static build.
22235         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22236         selector for static builds.
22238 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22240         [BZ #16695]
22241         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22242         key in the buffer.
22244 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22246         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22247         IFUNC selector for static builds.
22249 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22251         * sysdeps/mips/math_private.h [__mips_hard_float]
22252         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22253         libc_feresetround_mips_ctx.
22254         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22255         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22256         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22258         [BZ #16677]
22259         * math/s_nextafter.c (__nextafter): Do not return value from
22260         overflowing computation.
22261         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22262         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22263         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22264         Likewise.
22265         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22266         Likewise.
22267         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22268         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22270 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22272         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22273         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22274         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22275         the new mov targetting sp.
22277 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22279         [BZ #16683]
22280         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22281         Define it for static builds as well.
22282         (NO_BZERO_IMPL): Likewise.
22284 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22286         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22287         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22288         multiarch strspn for PPC64.
22289         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22290         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22292         (__libc_ifunc_impl_list): Likewise.
22293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22294         multiarch optimizations
22295         * string/strspn.c (strspn): Using macro to redefine symbol name.
22297 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22298             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22300         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22301         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22302         multiarch strncat for PPC64.
22303         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22304         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22306         (__libc_ifunc_impl_list): Likewise.
22307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22308         multiarch optimizations
22310 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22312         [BZ #16639]
22313         * nscd/nscd.service: Make service type forking.
22315 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22317         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22318         sign in non default rounding modes.
22319         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22321 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22323         * math/libm-test.inc (ALL_RM_TEST): New macro.
22324         (ceil_test): Use ALL_RM_TEST.
22325         (cimag_test): Likewise.
22326         (conj_test): Likewise.
22327         (copysign_test): Likewise.
22328         (cproj_test): Likewise.
22329         (creal_test): Likewise.
22330         (fabs_test): Likewise.
22331         (floor_test): Likewise.
22332         (fmax_test): Likewise.
22333         (fmin_test): Likewise.
22334         (fmod_test): Likewise.
22335         (fpclassify_test): Likewise.
22336         (frexp_test): Likewise.
22337         (ilogb_test): Likewise.
22338         (isfinite_test): Likewise.
22339         (finite_test): Likewise.
22340         (isgreater_test): Likewise.
22341         (isgreaterequal_test): Likewise.
22342         (isinf_test): Likewise.
22343         (isless_test): Likewise.
22344         (islessequal_test): Likewise.
22345         (islessgreater_test): Likewise.
22346         (isnan_test): Likewise.
22347         (isnormal_test): Likewise.
22348         (issignaling_test): Likewise.
22349         (isunordered_test): Likewise.
22350         (logb_test): Likewise.
22351         (logb_downward_test_data): Remove.
22352         (logb_test_downward): Likewise.
22353         (lround_test): Use ALL_RM_TEST.
22354         (llround_test): Likewise.
22355         (modf_test): Likewise.
22356         (nexttoward_test): Likewise.
22357         (remainder_test): Likewise.
22358         (drem_test): Likewise.
22359         (remainder_tonearest_test_data): Likewise.
22360         (remainder_test_tonearest): Likewise.
22361         (drem_test_tonearest): Likewise.
22362         (remainder_towardzero_test_data): Likewise.
22363         (remainder_test_towardzero): Likewise.
22364         (drem_test_towardzero): Likewise.
22365         (remainder_downward_test_data): Likewise.
22366         (remainder_test_downward): Likewise.
22367         (drem_test_downward): Likewise.
22368         (remainder_upward_test_data): Likewise.
22369         (remainder_test_upward): Likewise.
22370         (drem_test_upward): Likewise.
22371         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22372         (round_test): Use ALL_RM_TEST.
22373         (signbit_test): Likewise.
22374         (trunc_test): Likewise.
22375         (significand_test): Likewise.
22376         (main): Don't call removed functions.
22378 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22380         [BZ #16674]
22381         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22382         || __USE_XOPEN2K8].
22383         (ILL_ILLOPN): Likewise.
22384         (ILL_ILLADR): Likewise.
22385         (ILL_ILLTRP): Likewise.
22386         (ILL_PRVOPC): Likewise.
22387         (ILL_PRVREG): Likewise.
22388         (ILL_COPROC): Likewise.
22389         (ILL_BADSTK): Likewise.
22390         (FPE_INTDIV): Likewise.
22391         (FPE_INTOVF): Likewise.
22392         (FPE_FLTDIV): Likewise.
22393         (FPE_FLTOVF): Likewise.
22394         (FPE_FLTUND): Likewise.
22395         (FPE_FLTRES): Likewise.
22396         (FPE_FLTINV): Likewise.
22397         (FPE_FLTSUB): Likewise.
22398         (SEGV_MAPERR): Likewise.
22399         (SEGV_ACCERR): Likewise.
22400         (BUS_ADRALN): Likewise.
22401         (BUS_ADRERR): Likewise.
22402         (BUS_OBJERR): Likewise.
22403         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22404         (TRAP_TRACE): Likewise.
22405         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22406         __USE_XOPEN2K8].
22407         (CLD_KILLED): Likewise.
22408         (CLD_DUMPED): Likewise.
22409         (CLD_TRAPPED): Likewise.
22410         (CLD_STOPPED): Likewise.
22411         (CLD_CONTINUED): Likewise.
22412         (POLL_IN): Likewise.
22413         (POLL_OUT): Likewise.
22414         (POLL_MSG): Likewise.
22415         (POLL_ERR): Likewise.
22416         (POLL_PRI): Likewise.
22417         (POLL_HUP): Likewise.
22418         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22419         Likewise.
22420         (ILL_ILLOPN): Likewise.
22421         (ILL_ILLADR): Likewise.
22422         (ILL_ILLTRP): Likewise.
22423         (ILL_PRVOPC): Likewise.
22424         (ILL_PRVREG): Likewise.
22425         (ILL_COPROC): Likewise.
22426         (ILL_BADSTK): Likewise.
22427         (FPE_INTDIV): Likewise.
22428         (FPE_INTOVF): Likewise.
22429         (FPE_FLTDIV): Likewise.
22430         (FPE_FLTOVF): Likewise.
22431         (FPE_FLTUND): Likewise.
22432         (FPE_FLTRES): Likewise.
22433         (FPE_FLTINV): Likewise.
22434         (FPE_FLTSUB): Likewise.
22435         (SEGV_MAPERR): Likewise.
22436         (SEGV_ACCERR): Likewise.
22437         (BUS_ADRALN): Likewise.
22438         (BUS_ADRERR): Likewise.
22439         (BUS_OBJERR): Likewise.
22440         (BUS_MCEERR_AR): Likewise.
22441         (BUS_MCEERR_AO): Likewise.
22442         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22443         (TRAP_TRACE): Likewise.
22444         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22445         __USE_XOPEN2K8].
22446         (CLD_KILLED): Likewise.
22447         (CLD_DUMPED): Likewise.
22448         (CLD_TRAPPED): Likewise.
22449         (CLD_STOPPED): Likewise.
22450         (CLD_CONTINUED): Likewise.
22451         (POLL_IN): Likewise.
22452         (POLL_OUT): Likewise.
22453         (POLL_MSG): Likewise.
22454         (POLL_ERR): Likewise.
22455         (POLL_PRI): Likewise.
22456         (POLL_HUP): Likewise.
22457         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22458         (ILL_ILLOPN): Likewise.
22459         (ILL_ILLADR): Likewise.
22460         (ILL_ILLTRP): Likewise.
22461         (ILL_PRVOPC): Likewise.
22462         (ILL_PRVREG): Likewise.
22463         (ILL_COPROC): Likewise.
22464         (ILL_BADSTK): Likewise.
22465         (FPE_INTDIV): Likewise.
22466         (FPE_INTOVF): Likewise.
22467         (FPE_FLTDIV): Likewise.
22468         (FPE_FLTOVF): Likewise.
22469         (FPE_FLTUND): Likewise.
22470         (FPE_FLTRES): Likewise.
22471         (FPE_FLTINV): Likewise.
22472         (FPE_FLTSUB): Likewise.
22473         (SEGV_MAPERR): Likewise.
22474         (SEGV_ACCERR): Likewise.
22475         (BUS_ADRALN): Likewise.
22476         (BUS_ADRERR): Likewise.
22477         (BUS_OBJERR): Likewise.
22478         (BUS_MCEERR_AR): Likewise.
22479         (BUS_MCEERR_AO): Likewise.
22480         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22481         (TRAP_TRACE): Likewise.
22482         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22483         __USE_XOPEN2K8].
22484         (CLD_KILLED): Likewise.
22485         (CLD_DUMPED): Likewise.
22486         (CLD_TRAPPED): Likewise.
22487         (CLD_STOPPED): Likewise.
22488         (CLD_CONTINUED): Likewise.
22489         (POLL_IN): Likewise.
22490         (POLL_OUT): Likewise.
22491         (POLL_MSG): Likewise.
22492         (POLL_ERR): Likewise.
22493         (POLL_PRI): Likewise.
22494         (POLL_HUP): Likewise.
22495         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22496         Likewise.
22497         (ILL_ILLOPN): Likewise.
22498         (ILL_ILLADR): Likewise.
22499         (ILL_ILLTRP): Likewise.
22500         (ILL_PRVOPC): Likewise.
22501         (ILL_PRVREG): Likewise.
22502         (ILL_COPROC): Likewise.
22503         (ILL_BADSTK): Likewise.
22504         (ILL_BADIADDR): Likewise.
22505         (ILL_BREAK): Likewise.
22506         (FPE_INTDIV): Likewise.
22507         (FPE_INTOVF): Likewise.
22508         (FPE_FLTDIV): Likewise.
22509         (FPE_FLTOVF): Likewise.
22510         (FPE_FLTUND): Likewise.
22511         (FPE_FLTRES): Likewise.
22512         (FPE_FLTINV): Likewise.
22513         (FPE_FLTSUB): Likewise.
22514         (FPE_DECOVF): Likewise.
22515         (FPE_DECDIV): Likewise.
22516         (FPE_DECERR): Likewise.
22517         (FPE_INVASC): Likewise.
22518         (FPE_INVDEC): Likewise.
22519         (SEGV_MAPERR): Likewise.
22520         (SEGV_ACCERR): Likewise.
22521         (SEGV_PSTKOVF): Likewise.
22522         (BUS_ADRALN): Likewise.
22523         (BUS_ADRERR): Likewise.
22524         (BUS_OBJERR): Likewise.
22525         (BUS_MCEERR_AR): Likewise.
22526         (BUS_MCEERR_AO): Likewise.
22527         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22528         (TRAP_TRACE): Likewise.
22529         (TRAP_BRANCH): Likewise.
22530         (TRAP_HWBKPT): Likewise.
22531         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22532         __USE_XOPEN2K8].
22533         (CLD_KILLED): Likewise.
22534         (CLD_DUMPED): Likewise.
22535         (CLD_TRAPPED): Likewise.
22536         (CLD_STOPPED): Likewise.
22537         (CLD_CONTINUED): Likewise.
22538         (POLL_IN): Likewise.
22539         (POLL_OUT): Likewise.
22540         (POLL_MSG): Likewise.
22541         (POLL_ERR): Likewise.
22542         (POLL_PRI): Likewise.
22543         (POLL_HUP): Likewise.
22544         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22545         (ILL_ILLOPN): Likewise.
22546         (ILL_ILLADR): Likewise.
22547         (ILL_ILLTRP): Likewise.
22548         (ILL_PRVOPC): Likewise.
22549         (ILL_PRVREG): Likewise.
22550         (ILL_COPROC): Likewise.
22551         (ILL_BADSTK): Likewise.
22552         (FPE_INTDIV): Likewise.
22553         (FPE_INTOVF): Likewise.
22554         (FPE_FLTDIV): Likewise.
22555         (FPE_FLTOVF): Likewise.
22556         (FPE_FLTUND): Likewise.
22557         (FPE_FLTRES): Likewise.
22558         (FPE_FLTINV): Likewise.
22559         (FPE_FLTSUB): Likewise.
22560         (SEGV_MAPERR): Likewise.
22561         (SEGV_ACCERR): Likewise.
22562         (BUS_ADRALN): Likewise.
22563         (BUS_ADRERR): Likewise.
22564         (BUS_OBJERR): Likewise.
22565         (BUS_MCEERR_AR): Likewise.
22566         (BUS_MCEERR_AO): Likewise.
22567         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22568         (TRAP_TRACE): Likewise.
22569         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22570         __USE_XOPEN2K8].
22571         (CLD_KILLED): Likewise.
22572         (CLD_DUMPED): Likewise.
22573         (CLD_TRAPPED): Likewise.
22574         (CLD_STOPPED): Likewise.
22575         (CLD_CONTINUED): Likewise.
22576         (POLL_IN): Likewise.
22577         (POLL_OUT): Likewise.
22578         (POLL_MSG): Likewise.
22579         (POLL_ERR): Likewise.
22580         (POLL_PRI): Likewise.
22581         (POLL_HUP): Likewise.
22582         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22583         (ILL_ILLOPN): Likewise.
22584         (ILL_ILLADR): Likewise.
22585         (ILL_ILLTRP): Likewise.
22586         (ILL_PRVOPC): Likewise.
22587         (ILL_PRVREG): Likewise.
22588         (ILL_COPROC): Likewise.
22589         (ILL_BADSTK): Likewise.
22590         (FPE_INTDIV): Likewise.
22591         (FPE_INTOVF): Likewise.
22592         (FPE_FLTDIV): Likewise.
22593         (FPE_FLTOVF): Likewise.
22594         (FPE_FLTUND): Likewise.
22595         (FPE_FLTRES): Likewise.
22596         (FPE_FLTINV): Likewise.
22597         (FPE_FLTSUB): Likewise.
22598         (SEGV_MAPERR): Likewise.
22599         (SEGV_ACCERR): Likewise.
22600         (BUS_ADRALN): Likewise.
22601         (BUS_ADRERR): Likewise.
22602         (BUS_OBJERR): Likewise.
22603         (BUS_MCEERR_AR): Likewise.
22604         (BUS_MCEERR_AO): Likewise.
22605         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22606         (TRAP_TRACE): Likewise.
22607         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22608         __USE_XOPEN2K8].
22609         (CLD_KILLED): Likewise.
22610         (CLD_DUMPED): Likewise.
22611         (CLD_TRAPPED): Likewise.
22612         (CLD_STOPPED): Likewise.
22613         (CLD_CONTINUED): Likewise.
22614         (POLL_IN): Likewise.
22615         (POLL_OUT): Likewise.
22616         (POLL_MSG): Likewise.
22617         (POLL_ERR): Likewise.
22618         (POLL_PRI): Likewise.
22619         (POLL_HUP): Likewise.
22620         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22621         (ILL_ILLOPN): Likewise.
22622         (ILL_ILLADR): Likewise.
22623         (ILL_ILLTRP): Likewise.
22624         (ILL_PRVOPC): Likewise.
22625         (ILL_PRVREG): Likewise.
22626         (ILL_COPROC): Likewise.
22627         (ILL_BADSTK): Likewise.
22628         (FPE_INTDIV): Likewise.
22629         (FPE_INTOVF): Likewise.
22630         (FPE_FLTDIV): Likewise.
22631         (FPE_FLTOVF): Likewise.
22632         (FPE_FLTUND): Likewise.
22633         (FPE_FLTRES): Likewise.
22634         (FPE_FLTINV): Likewise.
22635         (FPE_FLTSUB): Likewise.
22636         (SEGV_MAPERR): Likewise.
22637         (SEGV_ACCERR): Likewise.
22638         (BUS_ADRALN): Likewise.
22639         (BUS_ADRERR): Likewise.
22640         (BUS_OBJERR): Likewise.
22641         (BUS_MCEERR_AR): Likewise.
22642         (BUS_MCEERR_AO): Likewise.
22643         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22644         (TRAP_TRACE): Likewise.
22645         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22646         __USE_XOPEN2K8].
22647         (CLD_KILLED): Likewise.
22648         (CLD_DUMPED): Likewise.
22649         (CLD_TRAPPED): Likewise.
22650         (CLD_STOPPED): Likewise.
22651         (CLD_CONTINUED): Likewise.
22652         (POLL_IN): Likewise.
22653         (POLL_OUT): Likewise.
22654         (POLL_MSG): Likewise.
22655         (POLL_ERR): Likewise.
22656         (POLL_PRI): Likewise.
22657         (POLL_HUP): Likewise.
22658         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22659         (ILL_ILLOPN): Likewise.
22660         (ILL_ILLADR): Likewise.
22661         (ILL_ILLTRP): Likewise.
22662         (ILL_PRVOPC): Likewise.
22663         (ILL_PRVREG): Likewise.
22664         (ILL_COPROC): Likewise.
22665         (ILL_BADSTK): Likewise.
22666         (ILL_DBLFLT): Likewise.
22667         (ILL_HARDWALL): Likewise.
22668         (FPE_INTDIV): Likewise.
22669         (FPE_INTOVF): Likewise.
22670         (FPE_FLTDIV): Likewise.
22671         (FPE_FLTOVF): Likewise.
22672         (FPE_FLTUND): Likewise.
22673         (FPE_FLTRES): Likewise.
22674         (FPE_FLTINV): Likewise.
22675         (FPE_FLTSUB): Likewise.
22676         (SEGV_MAPERR): Likewise.
22677         (SEGV_ACCERR): Likewise.
22678         (BUS_ADRALN): Likewise.
22679         (BUS_ADRERR): Likewise.
22680         (BUS_OBJERR): Likewise.
22681         (BUS_MCEERR_AR): Likewise.
22682         (BUS_MCEERR_AO): Likewise.
22683         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22684         (TRAP_TRACE): Likewise.
22685         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22686         __USE_XOPEN2K8].
22687         (CLD_KILLED): Likewise.
22688         (CLD_DUMPED): Likewise.
22689         (CLD_TRAPPED): Likewise.
22690         (CLD_STOPPED): Likewise.
22691         (CLD_CONTINUED): Likewise.
22692         (POLL_IN): Likewise.
22693         (POLL_OUT): Likewise.
22694         (POLL_MSG): Likewise.
22695         (POLL_ERR): Likewise.
22696         (POLL_PRI): Likewise.
22697         (POLL_HUP): Likewise.
22698         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22699         (ILL_ILLOPN): Likewise.
22700         (ILL_ILLADR): Likewise.
22701         (ILL_ILLTRP): Likewise.
22702         (ILL_PRVOPC): Likewise.
22703         (ILL_PRVREG): Likewise.
22704         (ILL_COPROC): Likewise.
22705         (ILL_BADSTK): Likewise.
22706         (FPE_INTDIV): Likewise.
22707         (FPE_INTOVF): Likewise.
22708         (FPE_FLTDIV): Likewise.
22709         (FPE_FLTOVF): Likewise.
22710         (FPE_FLTUND): Likewise.
22711         (FPE_FLTRES): Likewise.
22712         (FPE_FLTINV): Likewise.
22713         (FPE_FLTSUB): Likewise.
22714         (SEGV_MAPERR): Likewise.
22715         (SEGV_ACCERR): Likewise.
22716         (BUS_ADRALN): Likewise.
22717         (BUS_ADRERR): Likewise.
22718         (BUS_OBJERR): Likewise.
22719         (BUS_MCEERR_AR): Likewise.
22720         (BUS_MCEERR_AO): Likewise.
22721         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22722         (TRAP_TRACE): Likewise.
22723         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22724         __USE_XOPEN2K8].
22725         (CLD_KILLED): Likewise.
22726         (CLD_DUMPED): Likewise.
22727         (CLD_TRAPPED): Likewise.
22728         (CLD_STOPPED): Likewise.
22729         (CLD_CONTINUED): Likewise.
22730         (POLL_IN): Likewise.
22731         (POLL_OUT): Likewise.
22732         (POLL_MSG): Likewise.
22733         (POLL_ERR): Likewise.
22734         (POLL_PRI): Likewise.
22735         (POLL_HUP): Likewise.
22736         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22737         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22739         [BZ #16670]
22740         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22741         before #include of <time.h>.
22742         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22743         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22744         (test-xfail-UNIX98/sched.h/conform): Likewise.
22746 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22748         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22749         error absence of trapping exception support.
22750         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22752 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22754         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22755         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22756         * timezone/Makefile (testdata): Move definition above include of
22757         Rules.
22758         (test-zones): New variable.
22759         (tests-special): Add zone files.
22760         (build-testdata): Use $(evaluate-test).
22762         * elf/Makefile (tests-special): Rename tests to end with .out.
22763         ($(objpfx)noload-mem): Likewise.
22764         ($(objpfx)tst-leaks1-mem): Likewise.
22765         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22766         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22767         $(objpfx)test-iconvconfig.out.
22768         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22769         set -e inside subshell and redirect output to file.
22770         * iconvdata/Makefile (generated): Rename tests to end with .out.
22771         Correct type.
22772         (tests-special): Rename tests to end with .out.
22773         ($(objpfx)mtrace-tst-loading): Likewise.
22774         * intl/Makefile (generated): Likewise.
22775         (tests-special): Likewise.
22776         ($(objpfx)mtrace-tst-gettext): Likewise.
22777         * misc/Makefile (generated): Likewise.
22778         (tests-special): Likewise.
22779         ($(objpfx)tst-error1-mem): Likewise.
22780         * nptl/Makefile (tests-special): Likewise.
22781         ($(objpfx)tst-stack3-mem): Likewise.
22782         (generated): Likewise.
22783         * posix/Makefile (generated): Likewise.
22784         (tests-special): Likewise.
22785         (xtests-special): Likewise.
22786         ($(objpfx)tst-fnmatch-mem): Likewise.
22787         ($(objpfx)bug-regex2-mem): Likewise.
22788         ($(objpfx)bug-regex14-mem): Likewise.
22789         ($(objpfx)bug-regex21-mem): Likewise.
22790         ($(objpfx)bug-regex31-mem): Likewise.
22791         ($(objpfx)tst-vfork3-mem): Likewise.
22792         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22793         ($(objpfx)tst-pcre-mem): Likewise.
22794         ($(objpfx)tst-boost-mem): Likewise.
22795         ($(objpfx)bug-ga2-mem): Likewise.
22796         ($(objpfx)bug-glob2-mem): Likewise.
22797         * resolv/Makefile (generate): Likewise.
22798         (tests-special): Likewise.
22799         (xtests-special): Likewise.
22800         (generated): Likewise.
22801         ($(objpfx)mtrace-tst-leaks): Likewise.
22802         ($(objpfx)mtrace-tst-leaks2): Likewise.
22804         * scripts/merge-test-results.sh: New file.
22805         * Makefile (tests-special-notdir): New variable.
22806         (tests): Run merge-test-results.sh.
22807         (xtests): Likewise.
22808         * Rules (tests-special-notdir): New variable.
22809         (xtests-special-notdir): Likewise.
22810         (tests): Run merge-test-results.sh
22811         (xtests): Likewise.
22813         * Makeconfig (test-xfail-name): New variable.
22814         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22815         compute variable name for expected failures.
22816         * conform/Makefile (conformtest-headers-data): New variable.
22817         (conformtest-standards): Likewise.
22818         (conformtest-headers-ISO): Likewise.
22819         (conformtest-headers-ISO99): Likewise.
22820         (conformtest-headers-ISO11): Likewise.
22821         (conformtest-headers-POSIX): Likewise.
22822         (conformtest-headers-XPG3): Likewise.
22823         (conformtest-headers-XPG4): Likewise.
22824         (conformtest-headers-UNIX98): Likewise.
22825         (conformtest-headers-XOPEN2K): Likewise.
22826         (conformtest-headers-POSIX2008): Likewise.
22827         (conformtest-headers-XOPEN2K8): Likewise.
22828         (conformtest-header-list-base): Likewise.
22829         (conformtest-header-list-tests): Likewise.
22830         (conformtest-header-base): Likewise.
22831         (conformtest-header-tests): Likewise.
22832         (tests-special): Add $(conformtest-header-list-tests).  If
22833         [$(fast-check) && !$(cross-compiling)], add
22834         $(conformtest-header-tests) instead of
22835         $(objpfx)run-conformtest.out.
22836         (generated): Add $(conformtest-header-list-base).  If
22837         [$(fast-check) && !$(cross-compiling)], add
22838         $(conformtest-header-base).  Remove previous setting.
22839         ($(conformtest-header-list-tests)): New target.
22840         (test-xfail-run-conformtest): Remove variable.
22841         ($(objpfx)run-conformtest.out): Remove target.
22842         (test-xfail-ISO11/complex.h/conform): New variable.
22843         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22844         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22845         (test-xfail-XPG3/varargs.h/conform): Likewise.
22846         (test-xfail-XPG4/varargs.h/conform): Likewise.
22847         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22848         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22849         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22850         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22851         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22852         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22853         (test-xfail-XPG3/ftw.h/conform): Likewise.
22854         (test-xfail-XPG3/grp.h/conform): Likewise.
22855         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22856         (test-xfail-XPG3/limits.h/conform): Likewise.
22857         (test-xfail-XPG3/pwd.h/conform): Likewise.
22858         (test-xfail-XPG3/search.h/conform): Likewise.
22859         (test-xfail-XPG3/signal.h/conform): Likewise.
22860         (test-xfail-XPG3/stdio.h/conform): Likewise.
22861         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22862         (test-xfail-XPG3/string.h/conform): Likewise.
22863         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22864         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22865         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22866         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22867         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22868         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22869         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22870         (test-xfail-XPG3/termios.h/conform): Likewise.
22871         (test-xfail-XPG3/time.h/conform): Likewise.
22872         (test-xfail-XPG3/unistd.h/conform): Likewise.
22873         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22874         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22875         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22876         (test-xfail-XPG4/netdb.h/conform): Likewise.
22877         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22878         (test-xfail-XPG4/signal.h/conform): Likewise.
22879         (test-xfail-XPG4/stdio.h/conform): Likewise.
22880         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22881         (test-xfail-XPG4/stropts.h/conform): Likewise.
22882         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22883         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22884         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22885         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22886         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22887         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22888         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22889         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22890         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22891         (test-xfail-XPG4/termios.h/conform): Likewise.
22892         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22893         (test-xfail-XPG4/unistd.h/conform): Likewise.
22894         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22895         (test-xfail-POSIX/sched.h/conform): Likewise.
22896         (test-xfail-POSIX/signal.h/conform): Likewise.
22897         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22898         (test-xfail-POSIX/tar.h/conform): Likewise.
22899         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22900         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22901         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22902         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22903         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22904         (test-xfail-UNIX98/sched.h/conform): Likewise.
22905         (test-xfail-UNIX98/signal.h/conform): Likewise.
22906         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22907         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22908         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22909         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22910         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22911         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22912         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22913         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22914         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22915         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22916         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22917         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22918         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22919         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22920         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22921         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22922         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22923         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22924         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22925         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22926         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22927         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22928         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22929         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22930         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22931         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22932         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22933         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22934         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22935         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22936         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22937         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22938         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22939         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22940         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22941         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22942         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22943         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22944         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22945         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22946         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22947         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22948         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22949         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22950         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22951         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22952         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22953         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22954         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22955         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22956         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22957         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22958         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22959         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22960         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22961         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22962         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22963         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22964         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22965         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22966         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22967         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22968         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22969         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22970         (conformtest-cc-flags): Likewise.
22971         ($(conformtest-header-tests): New target.
22972         * conform/check-header-lists.sh: New file.
22973         * conform/run-conformtest.sh: Remove.
22975         * conform/conformtest.pl: Allow ' and \ in values given for
22976         constants.
22977         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22978         inclusion.
22979         [POSIX] (sys/types.h): Likewise.
22980         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22981         inclusion.
22982         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22983         inclusion.
22984         * conform/data/signal.h-data (SIGIO): Remove expectation.
22985         [XPG3] (SIGBUS): Do not expect.
22986         [POSIX || XPG3] (SIGPOLL): Likewise.
22987         [POSIX || XPG3] (SIGPROF): Likewise.
22988         [POSIX || XPG3] (SIGSYS): Likewise.
22989         [XPG3] (SIGTRAP): Likewise.
22990         [POSIX || XPG3] (SIGURG): Likewise.
22991         [POSIX || XPG3] (SIGVTALRM): Likewise.
22992         [POSIX || XPG3] (SIGXCPU): Likewise.
22993         [POSIX || XPG3] (SIGXFSZ): Likewise.
22994         [POSIX] (SA_SIGINFO): Expect.
22995         [XPG3] (siginfo_t): Do not expect type or contents.
22996         [POSIX] (si_pid): Do not expect element.
22997         [POSIX] (si_uid): Likewise.
22998         [POSIX] (si_addr): Likewise.
22999         [POSIX] (si_status): Likewise.
23000         [POSIX] (si_band): Likewise.
23001         [XPG4] (si_value): Likewise.
23002         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23003         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23004         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23005         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23006         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23007         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23008         [POSIX || XPG3] (ILL_COPROC): Likewise.
23009         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23010         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23011         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23012         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23013         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23014         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23015         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23016         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23017         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23018         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23019         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23020         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23021         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23022         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23023         [POSIX || XPG3] (CLD_EXITED): Likewise.
23024         [POSIX || XPG3] (CLD_KILLED): Likewise.
23025         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23026         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23027         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23028         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23029         [POSIX || XPG3] (POLL_IN): Likewise.
23030         [POSIX || XPG3] (POLL_OUT): Likewise.
23031         [POSIX || XPG3] (POLL_MSG): Likewise.
23032         [POSIX || XPG3] (POLL_ERR): Likewise.
23033         [POSIX || XPG3] (POLL_PRI): Likewise.
23034         [POSIX || XPG3] (POLL_HUP): Likewise.
23035         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23036         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23037         (SIG*): Do not allow.
23038         [XPG3] (si_*): Likewise.
23039         [XPG3] (SI_*): Likewise.
23040         [XPG3 || XPG4] (sigev_*): Likewise.
23041         [XPG3 || XPG4] (SIGEV_*): Likewise.
23042         [XPG3 || XPG4] (sival_*): Likewise.
23043         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23044         [POSIX || XPG3] (BUS_*): Likewise.
23045         [POSIX || XPG3] (CLD_*): Likewise.
23046         [POSIX || XPG3] (FPE_*): Likewise.
23047         [POSIX || XPG3] (ILL_*): Likewise.
23048         [POSIX || XPG3] (POLL_*): Likewise.
23049         [POSIX || XPG3] (SEGV_*): Likewise.
23050         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23051         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23052         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23053         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23054         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23055         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23056         Specify type and value.
23057         (TVERSLEN): Likewise.
23058         (REGTYPE): Likewise.
23059         (AREGTYPE): Likewise.
23060         (LNKTYPE): Likewise.
23061         (SYMTYPE): Likewise.
23062         (CHRTYPE): Likewise.
23063         (BLKTYPE): Likewise.
23064         (DIRTYPE): Likewise.
23065         (FIFOTYPE): Likewise.
23066         (CONTTYPE): Likewise.
23067         (TSUID): Likewise.
23068         (TSGID): Likewise.
23069         (TSVTX): Likewise.
23070         (TUREAD): Likewise.
23071         (TUWRITE): Likewise.
23072         (TUEXEC): Likewise.
23073         (TGREAD): Likewise.
23074         (TGWRITE): Likewise.
23075         (TGEXEC): Likewise.
23076         (TOREAD): Likewise.
23077         (TOWRITE): Likewise.
23078         (TOEXEC): Likewise.
23079         [POSIX] (TSVTX): Expect constant.
23081 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23083         * Makefile (tests): Change dependencies to ....
23084         (tests-special): ... additions to this variable.
23085         (tests): Depend on $(tests-special).
23086         * Makerules (check-abi-list): New variable.
23087         (check-abi): Depend on $(check-abi-list).
23088         [$(subdir) = elf] (tests-special): Add
23089         $(objpfx)check-abi-libc.out.
23090         [$(build-shared) = yes && subdir] (tests-special): Add
23091         $(check-abi-list).
23092         [$(build-shared) = yes && subdir] (tests): Do not depend on
23093         check-abi.
23094         * Rules (tests): Depend on $(tests-special).
23095         (xtests): Depend on $(xtests-special).
23096         * catgets/Makefile (tests): Change dependencies to ....
23097         (tests-special): ... additions to this variable.
23098         * conform/Makefile (tests): Change dependencies to ....
23099         (tests-special): ... additions to this variable.
23100         * elf/Makefile (tests): Change dependencies to ....
23101         (tests-special): ... additions to this variable.
23102         * grp/Makefile (tests): Change dependencies to ....
23103         (tests-special): ... additions to this variable.
23104         * iconv/Makefile (xtests): Change dependencies to ....
23105         (xtests-special): ... additions to this variable.
23106         * iconvdata/Makefile (tests): Change dependencies to ....
23107         (tests-special): ... additions to this variable.
23108         * intl/Makefile (tests): Change dependencies to ....
23109         (tests-special): ... additions to this variable.  Also add
23110         $(objpfx)tst-gettext.out.
23111         * io/Makefile (tests): Change dependencies to ....
23112         (tests-special): ... additions to this variable.
23113         * libio/Makefile (tests): Change dependencies to ....
23114         (tests-special): ... additions to this variable.
23115         * malloc/Makefile (tests): Change dependencies to ....
23116         (tests-special): ... additions to this variable.
23117         * misc/Makefile (tests): Change dependencies to ....
23118         (tests-special): ... additions to this variable.
23119         * nptl/Makefile (tests): Change dependencies to ....
23120         (tests-special): ... additions to this variable.
23121         * nptl_db/Makefile (tests): Change dependencies to ....
23122         (tests-special): ... additions to this variable.
23123         * posix/Makefile (tests): Change dependencies to ....
23124         (tests-special): ... additions to this variable.
23125         (xtests): Change dependencies to ....
23126         (xtests-special): ... additions to this variable.
23127         * resolv/Makefile (tests): Change dependencies to ....
23128         (tests-special): ... additions to this variable.
23129         (xtests): Change dependencies to ....
23130         (xtests-special): ... additions to this variable.
23131         * stdio-common/Makefile (tests): Change dependencies to ....
23132         (tests-special): ... additions to this variable.
23133         (do-tst-unbputc): Remove target.
23134         (do-tst-printf): Likewise.
23135         * stdlib/Makefile (tests): Change dependencies to ....
23136         (tests-special): ... additions to this variable.
23137         * string/Makefile (tests): Change dependencies to ....
23138         (tests-special): ... additions to this variable.
23139         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23140         (tests-special): ... additions to this variable.
23142         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23143         whole file.
23144         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23145         whole file.
23146         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23147         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23149         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23150         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23151         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23152         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23153         * conform/data/libgen.h-data [XPG3]: Likewise.
23154         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23155         * conform/data/ndbm.h-data [XPG3]: Likewise.
23156         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23157         * conform/data/netdb.h-data [XPG3]: Likewise.
23158         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23159         * conform/data/poll.h-data [XPG3]: Likewise.
23160         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23161         * conform/data/strings.h-data [XPG3]: Likewise.
23162         * conform/data/stropts.h-data [XPG3]: Likewise.
23163         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23164         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23165         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23166         Likewise.
23167         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23168         * conform/data/sys/time.h-data [XPG3]: Likewise.
23169         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23170         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23171         * conform/data/sys/un.h-data [XPG3]: Likewise.
23172         * conform/data/syslog.h-data [XPG3]: Likewise.
23173         * conform/data/ucontext.h-data [XPG3]: Likewise.
23174         * conform/data/utmpx.h-data [XPG3]: Likewise.
23175         * conform/data/varargs.h-data [UNIX98]: Enable file.
23177         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23179         * math/libm-test.inc (struct test_f_f_data): Move expected results
23180         into structure for each rounding mode.
23181         (struct test_ff_f_data): Likewise.
23182         (struct test_ff_f_data_nexttoward): Likewise.
23183         (struct test_fi_f_data): Likewise.
23184         (struct test_fl_f_data): Likewise.
23185         (struct test_if_f_data): Likewise.
23186         (struct test_fff_f_data): Likewise.
23187         (struct test_c_f_data): Likewise.
23188         (struct test_f_f1_data): Likewise.
23189         (struct test_fF_f1_data): Likewise.
23190         (struct test_ffI_f1_data): Likewise.
23191         (struct test_c_c_data): Likewise.
23192         (struct test_cc_c_data): Likewise.
23193         (struct test_f_i_data): Likewise.
23194         (struct test_ff_i_data): Likewise.
23195         (struct test_f_l_data): Likewise.
23196         (struct test_f_L_data): Likewise.
23197         (struct test_fFF_11_data): Likewise.
23198         (RM_): New macro.
23199         (RM_FE_DOWNWARD): Likewise.
23200         (RM_FE_TONEAREST): Likewise.
23201         (RM_FE_TOWARDZERO): Likewise.
23202         (RM_FE_UPWARD): Likewise.
23203         (RUN_TEST_LOOP_f_f): Update references to expected results.
23204         (RUN_TEST_LOOP_2_f): Likewise.
23205         (RUN_TEST_LOOP_fff_f): Likewise.
23206         (RUN_TEST_LOOP_c_f): Likewise.
23207         (RUN_TEST_LOOP_f_f1): Likewise.
23208         (RUN_TEST_LOOP_fF_f1): Likewise.
23209         (RUN_TEST_LOOP_fI_f1): Likewise.
23210         (RUN_TEST_LOOP_ffI_f1): Likewise.
23211         (RUN_TEST_LOOP_c_c): Likewise.
23212         (RUN_TEST_LOOP_cc_c): Likewise.
23213         (RUN_TEST_LOOP_f_i): Likewise.
23214         (RUN_TEST_LOOP_f_i_tg): Likewise.
23215         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23216         (RUN_TEST_LOOP_f_b): Likewise.
23217         (RUN_TEST_LOOP_f_b_tg): Likewise.
23218         (RUN_TEST_LOOP_f_l): Likewise.
23219         (RUN_TEST_LOOP_f_L): Likewise.
23220         (RUN_TEST_LOOP_fFF_11): Likewise.
23221         * math/gen-libm-test.pl (parse_args): Output four copies of
23222         expected results for each test.
23224         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23225         (__ASSUME_UTIMES): Remove.
23226         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23227         (__ASSUME_UTIMES): Likewise.
23229         * math/gen-auto-libm-tests.c: Update comment on output format.
23230         (output_for_one_input_case): Generate before-rounding and
23231         after-rounding information as conditions on output flags not
23232         floating-point format.
23233         * math/auto-libm-test-out: Regenerated.
23234         * math/gen-libm-test.pl (cond_value): New function.
23235         (or_cond_value): Use cond_value.
23236         (generate_testfile): Handle conditional exceptions.
23238 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23240         * math/libm-test.inc (max_valid_error): New variable.
23241         (init_max_error): Take new argument specifying whether function
23242         results are exactly determined.  Set max_valid_error and bound
23243         other variables for errors based on this argument.
23244         (set_max_error): Do not record results above max_valid_error.
23245         (check_float_internal): Only accept errors of up to 0.5ulps if
23246         also at most max_valid_error.
23247         (START): Take new argument EXACT and pass it to init_max_error.
23248         (acos_test): Update call to START.
23249         (acos_test_tonearest): Likewise.
23250         (acos_test_towardzero): Likewise.
23251         (acos_test_downward): Likewise.
23252         (acos_test_upward): Likewise.
23253         (acosh_test): Likewise.
23254         (asin_test): Likewise.
23255         (asin_test_tonearest): Likewise.
23256         (asin_test_towardzero): Likewise.
23257         (asin_test_downward): Likewise.
23258         (asin_test_upward): Likewise.
23259         (asinh_test): Likewise.
23260         (atan_test): Likewise.
23261         (atanh_test): Likewise.
23262         (atan2_test): Likewise.
23263         (cabs_test): Likewise.
23264         (cacos_test): Likewise.
23265         (cacosh_test): Likewise.
23266         (carg_test): Likewise.
23267         (casin_test): Likewise.
23268         (casinh_test): Likewise.
23269         (catan_test): Likewise.
23270         (catanh_test): Likewise.
23271         (cbrt_test): Likewise.
23272         (ccos_test): Likewise.
23273         (ccosh_test): Likewise.
23274         (ceil_test): Likewise.
23275         (cexp_test): Likewise.
23276         (cimag_test): Likewise.
23277         (clog_test): Likewise.
23278         (clog10_test): Likewise.
23279         (conj_test): Likewise.
23280         (copysign_test): Likewise.
23281         (cos_test): Likewise.
23282         (cos_test_tonearest): Likewise.
23283         (cos_test_towardzero): Likewise.
23284         (cos_test_downward): Likewise.
23285         (cos_test_upward): Likewise.
23286         (cosh_test): Likewise.
23287         (cosh_test_tonearest): Likewise.
23288         (cosh_test_towardzero): Likewise.
23289         (cosh_test_downward): Likewise.
23290         (cosh_test_upward): Likewise.
23291         (cpow_test): Likewise.
23292         (cproj_test): Likewise.
23293         (creal_test): Likewise.
23294         (csin_test): Likewise.
23295         (csinh_test): Likewise.
23296         (csqrt_test): Likewise.
23297         (ctan_test): Likewise.
23298         (ctan_test_tonearest): Likewise.
23299         (ctan_test_towardzero): Likewise.
23300         (ctan_test_downward): Likewise.
23301         (ctan_test_upward): Likewise.
23302         (ctanh_test): Likewise.
23303         (ctanh_test_tonearest): Likewise.
23304         (ctanh_test_towardzero): Likewise.
23305         (ctanh_test_downward): Likewise.
23306         (ctanh_test_upward): Likewise.
23307         (erf_test): Likewise.
23308         (erfc_test): Likewise.
23309         (exp_test): Likewise.
23310         (exp_test_tonearest): Likewise.
23311         (exp_test_towardzero): Likewise.
23312         (exp_test_downward): Likewise.
23313         (exp_test_upward): Likewise.
23314         (exp10_test): Likewise.
23315         (exp10_test_tonearest): Likewise.
23316         (exp10_test_towardzero): Likewise.
23317         (exp10_test_downward): Likewise.
23318         (exp10_test_upward): Likewise.
23319         (pow10_test): Likewise.
23320         (exp2_test): Likewise.
23321         (expm1_test): Likewise.
23322         (expm1_test_tonearest): Likewise.
23323         (expm1_test_towardzero): Likewise.
23324         (expm1_test_downward): Likewise.
23325         (expm1_test_upward): Likewise.
23326         (fabs_test): Likewise.
23327         (fdim_test): Likewise.
23328         (floor_test): Likewise.
23329         (fma_test): Likewise.
23330         (fma_test_towardzero): Likewise.
23331         (fma_test_downward): Likewise.
23332         (fma_test_upward): Likewise.
23333         (fmax_test): Likewise.
23334         (fmin_test): Likewise.
23335         (fmod_test): Likewise.
23336         (fpclassify_test): Likewise.
23337         (frexp_test): Likewise.
23338         (hypot_test): Likewise.
23339         (ilogb_test): Likewise.
23340         (isfinite_test): Likewise.
23341         (finite_test): Likewise.
23342         (isgreater_test): Likewise.
23343         (isgreaterequal_test): Likewise.
23344         (isinf_test): Likewise.
23345         (isless_test): Likewise.
23346         (islessequal_test): Likewise.
23347         (islessgreater_test): Likewise.
23348         (isnan_test): Likewise.
23349         (isnormal_test): Likewise.
23350         (issignaling_test): Likewise.
23351         (isunordered_test): Likewise.
23352         (j0_test): Likewise.
23353         (j1_test): Likewise.
23354         (jn_test): Likewise.
23355         (ldexp_test): Likewise.
23356         (lgamma_test): Likewise.
23357         (gamma_test): Likewise.
23358         (lrint_test): Likewise.
23359         (lrint_test_tonearest): Likewise.
23360         (lrint_test_towardzero): Likewise.
23361         (lrint_test_downward): Likewise.
23362         (lrint_test_upward): Likewise.
23363         (llrint_test): Likewise.
23364         (llrint_test_tonearest): Likewise.
23365         (llrint_test_towardzero): Likewise.
23366         (llrint_test_downward): Likewise.
23367         (llrint_test_upward): Likewise.
23368         (log_test): Likewise.
23369         (log10_test): Likewise.
23370         (log1p_test): Likewise.
23371         (log2_test): Likewise.
23372         (logb_test): Likewise.
23373         (logb_test_downward): Likewise.
23374         (lround_test): Likewise.
23375         (llround_test): Likewise.
23376         (modf_test): Likewise.
23377         (nearbyint_test): Likewise.
23378         (nextafter_test): Likewise.
23379         (nexttoward_test): Likewise.
23380         (pow_test): Likewise.
23381         (pow_test_tonearest): Likewise.
23382         (pow_test_towardzero): Likewise.
23383         (pow_test_downward): Likewise.
23384         (pow_test_upward): Likewise.
23385         (remainder_test): Likewise.
23386         (drem_test): Likewise.
23387         (remainder_test_tonearest): Likewise.
23388         (drem_test_tonearest): Likewise.
23389         (remainder_test_towardzero): Likewise.
23390         (drem_test_towardzero): Likewise.
23391         (remainder_test_downward): Likewise.
23392         (drem_test_downward): Likewise.
23393         (remainder_test_upward): Likewise.
23394         (drem_test_upward): Likewise.
23395         (remquo_test): Likewise.
23396         (rint_test): Likewise.
23397         (rint_test_tonearest): Likewise.
23398         (rint_test_towardzero): Likewise.
23399         (rint_test_downward): Likewise.
23400         (rint_test_upward): Likewise.
23401         (round_test): Likewise.
23402         (scalb_test): Likewise.
23403         (scalbn_test): Likewise.
23404         (scalbln_test): Likewise.
23405         (signbit_test): Likewise.
23406         (sin_test): Likewise.
23407         (sin_test_tonearest): Likewise.
23408         (sin_test_towardzero): Likewise.
23409         (sin_test_downward): Likewise.
23410         (sin_test_upward): Likewise.
23411         (sincos_test): Likewise.
23412         (sinh_test): Likewise.
23413         (sinh_test_tonearest): Likewise.
23414         (sinh_test_towardzero): Likewise.
23415         (sinh_test_downward): Likewise.
23416         (sinh_test_upward): Likewise.
23417         (sqrt_test): Likewise.
23418         (sqrt_test_tonearest): Likewise.
23419         (sqrt_test_towardzero): Likewise.
23420         (sqrt_test_downward): Likewise.
23421         (sqrt_test_upward): Likewise.
23422         (tan_test): Likewise.
23423         (tan_test_tonearest): Likewise.
23424         (tan_test_towardzero): Likewise.
23425         (tan_test_downward): Likewise.
23426         (tan_test_upward): Likewise.
23427         (tanh_test): Likewise.
23428         (tgamma_test): Likewise.
23429         (trunc_test): Likewise.
23430         (y0_test): Likewise.
23431         (y1_test): Likewise.
23432         (yn_test): Likewise.
23433         (significand_test): Likewise.
23435         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23436         individual tests in comment.
23437         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23438         (prev_max_error): New variable.
23439         (prev_real_max_error): Likewise.
23440         (prev_imag_max_error): Likewise.
23441         (compare_ulp_data): Don't refer to test names in comment.
23442         (find_test_ulps): Remove function.
23443         (find_function_ulps): Likewise.
23444         (find_complex_function_ulps): Likewise.
23445         (init_max_error): Take function name as argument.  Look up ulps
23446         for that function.
23447         (print_ulps): Remove function.
23448         (print_max_error): Use prev_max_error instead of calling
23449         find_function_ulps.
23450         (print_complex_max_error): Use prev_real_max_error and
23451         prev_imag_max_error instead of calling find_complex_function_ulps.
23452         (check_float_internal): Take max_ulp parameter instead of calling
23453         find_test_ulps.  Don't call print_ulps.
23454         (check_float): Update call to check_float_internal.
23455         (check_complex): Update calls to check_float_internal.
23456         (START): Pass argument to init_max_error.
23457         * math/gen-libm-test.pl (%results): Don't include "kind"
23458         information.
23459         (parse_ulps): Don't handle ulps of individual tests.
23460         (print_ulps_file): Likewise.
23461         (output_ulps): Likewise.
23462         * math/README.libm-test: Update.
23463         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23464         individual tests.
23465         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23466         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23467         * sysdeps/arm/libm-test-ulps: Likewise.
23468         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23469         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23470         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23471         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23472         * sysdeps/microblaze/libm-test-ulps: Likewise.
23473         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23474         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23475         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23476         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23477         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23478         * sysdeps/sh/libm-test-ulps: Likewise.
23479         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23480         * sysdeps/tile/libm-test-ulps: Likewise.
23481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23483 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23485         * math/libm-test.inc (print_complex_max_error): Check separately
23486         whether real and imaginary errors are within allowed range and
23487         pass 0 to print_complex_function_ulps instead of value within
23488         allowed range.
23490 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23492         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23493         formatting.
23494         (get_handles_fopen): Likewise.
23495         (do_write_test): Likewise.
23497         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23499         * libio/fileops.c (do_ftell): Use cached offset when
23500         available.
23501         * libio/iofwide.c (do_ftell_wide): Likewise.
23502         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23503         _IO_file_attach.
23504         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23506         [BZ #16532]
23507         * libio/libioP.h (get_file_offset): New function.
23508         * libio/fileops.c (get_file_offset): Likewise.
23509         (do_ftell): Likewise.
23510         (_IO_new_file_seekoff): Split out ftell logic.
23511         * libio/wfileops.c (do_ftell_wide): Likewise.
23512         (_IO_wfile_seekoff): Split out ftell logic.
23513         * libio/tst-ftell-active-handler.c: New test case.
23514         * libio/Makefile (tests): Add it.
23516 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23518         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23519         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23521 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23523         [BZ #16639]
23524         * nscd/connections.c (nscd_init): Call do_exit.
23525         (start_threads): Call do_exit and notify_parent.
23526         (begin_drop_privileges): Call do_exit.
23527         (finish_drop_privileges): Likewise.
23528         * nscd/selinux.c (preserve_capabilities): Likewise.
23529         (install_real_capabilities): Likewise.
23530         (nscd_selinux_enabled): Likewise.
23531         (avc_create_thread): Likewise.
23532         (avc_alloc_lock): Likewise.
23533         (nscd_avc_init): Likewise.
23534         * nscd/nscd.c (parent_fd): New static variable.
23535         (main): Create a pipe between parent and child processes.
23536         Skip closing parent_fd.
23537         (monitor_child): New function.
23538         (do_exit): Likewise.
23539         (notify_parent): Likewise.
23540         * nscd/nscd.h (notify_parent): Likewise.
23541         (do_exit): Likewise.
23543 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23545         * malloc/malloc.c (__libc_calloc): Revert last change.
23547 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23551 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23553         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23555         implementation.
23556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23557         (__libc_ifunc_impl_list): Likewise.
23558         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23559         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23560         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23561         * string/strrchr.c: Define STRRCHR.
23563 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23565         * benchtest/bench-strtok.c (simple_strtok): Delete.
23566         (strtok_string): Use as benchmark.
23567         * string/strtok (STRTOK): New macro.
23569 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23571         * manual/threads.texi: Add header and standard comments to all
23572         functions.
23574         * elf/dl-lookup.c (check_match): New function.
23575         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23576         (do_lookup_x): Remove nested function check_match. Use non-nested
23577         function check_match.
23579 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23581         * csu/Makefile (generated, before-compile): Use += rather than =.
23582         * catgets/Makefile (generated, generated-dirs): Likewise.
23583         * debug/Makefile (generated): Likewise.
23584         * dlfcn/Makefile (generated): Likewise.
23585         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23586         * iconvdata/Makefile (before-compile, generated): Likewise.
23587         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23588         * libio/Makefile (generated): Likewise.
23589         * malloc/Makefile (generated): Likewise.
23590         * manual/Makefile (generated, generated-dirs): Likewise.
23591         * misc/Makefile (generated): Likewise.
23592         * posix/Makefile (generated): Likewise.
23593         * resolv/Makefile (generated): Likewise.
23594         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23595         * timezone/Makefile (generated, generated-dirs): Likewise.
23597         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23599 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23602         power8 implementation.
23603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23604         file: POWER8 llround ifunc implementation.
23605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23606         (__lllround): Add POWER8 implementation.
23607         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23608         POWER8 llround implementation.
23610         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23611         power8 implementation.
23612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23613         file: POWER8 llrint ifunc implementation.
23614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23615         Add POWER8 implementation.
23616         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23617         POWER8 llrint implementation.
23619         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23620         power8 implementation.
23621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23622         file: POWER8 finite ifunc implementation.
23623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23624         Add POWER8 implementation.
23625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23626         Likewise.
23627         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23628         POWER8 finite implementation.
23629         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23631         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23632         power8 implementation.
23633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23634         file: POWER8 isinf ifunc implementation.
23635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23636         POWER8 implementation.
23637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23638         Likewise.
23639         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23640         isinf implementation.
23641         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23643         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23644         (INIT_ARCH): Add hwcap2 initialization.
23645         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23646         power8 implementation.
23647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23648         file: POWER8 isnan ifunc implementation.
23649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23650         POWER8 implementation.
23651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23652         Likewise.
23653         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23654         isnan implementation.
23655         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23657 2014-02-27  Joey Ye  <joey.ye@arm.com>
23659         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23660         (_FP_NANFRAC_Q): Set to zero.
23662 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23664         [BZ #16623]
23665         * math/auto-libm-test-in: New test inputs.
23666         * math/auto-libm-test-out: Regenerate.
23667         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23668         and DA.
23669         (__cos): Likewise.
23670         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23672 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23674         * scripts/evaluate-test.sh: Take new argument indicating whether
23675         failure is expected.
23676         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23677         indicating whether failure is expected.
23678         * conform/Makefile (test-xfail-run-conformtest): New variable.
23679         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23680         level.
23681         * posix/Makefile (test-xfail-annexc): New variable.
23682         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23684 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23686         * argp/Makefile: Include Makeconfig immediately after defining
23687         subdir.
23688         * assert/Makefile: Likewise.
23689         * benchtests/Makefile: Likewise.
23690         * catgets/Makefile: Likewise.
23691         * conform/Makefile: Likewise.
23692         * crypt/Makefile: Likewise.
23693         * csu/Makefile: Likewise.
23694         (all): Remove target.
23695         * ctype/Makefile: Include Makeconfig immediately after defining
23696         subdir.
23697         * debug/Makefile: Likewise.
23698         * dirent/Makefile: Likewise.
23699         * dlfcn/Makefile: Likewise.
23700         * gmon/Makefile: Likewise.
23701         * gnulib/Makefile: Likewise.
23702         * grp/Makefile: Likewise.
23703         * gshadow/Makefile: Likewise.
23704         * hesiod/Makefile: Likewise.
23705         * hurd/Makefile: Likewise.
23706         (all): Remove target.
23707         * iconvdata/Makefile: Include Makeconfig immediately after
23708         defining subdir.
23709         * inet/Makefile: Likewise.
23710         * intl/Makefile: Likewise.
23711         * io/Makefile: Likewise.
23712         * libio/Makefile: Likewise.
23713         (all): Remove target.
23714         * locale/Makefile: Include Makeconfig immediately after defining
23715         subdir.
23716         * login/Makefile: Likewise.
23717         * mach/Makefile: Likewise.
23718         (all): Remove target.
23719         * malloc/Makefile: Include Makeconfig immediately after defining
23720         subdir.
23721         (all): Remove target.
23722         * manual/Makefile: Include Makeconfig immediately after defining
23723         subdir.
23724         * math/Makefile: Likewise.
23725         * misc/Makefile: Likewise.
23726         * nis/Makefile: Likewise.
23727         * nss/Makefile: Likewise.
23728         * po/Makefile: Likewise.
23729         (all): Remove target.
23730         * posix/Makefile: Include Makeconfig immediately after defining
23731         subdir.
23732         * pwd/Makefile: Likewise.
23733         * resolv/Makefile: Likewise.
23734         * resource/Makefile: Likewise.
23735         * rt/Makefile: Likewise.
23736         * setjmp/Makefile: Likewise.
23737         * shadow/Makefile: Likewise.
23738         * signal/Makefile: Likewise.
23739         * socket/Makefile: Likewise.
23740         * soft-fp/Makefile: Likewise.
23741         * stdio-common/Makefile: Likewise.
23742         * stdlib/Makefile: Likewise.
23743         * streams/Makefile: Likewise.
23744         * string/Makefile: Likewise.
23745         * sunrpc/Makefile: Likewise.
23746         (all): Remove target.
23747         * sysvipc/Makefile: Include Makeconfig immediately after defining
23748         subdir.
23749         * termios/Makefile: Likewise.
23750         * time/Makefile: Likewise.
23751         * timezone/Makefile: Likewise.
23752         (all): Remove target.
23753         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23754         subdir.
23755         * wctype/Makefile: Likewise.
23757 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23759         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23760         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23761         (libc_feholdexcept_setround_mips): Ditto.
23762         (libc_feholdsetround): New.
23763         (libc_feholdsetroundf): New.
23764         (libc_feholdsetroundl): New.
23765         (libc_feupdateenv_test_mips): New.
23766         (libc_feupdateenv_test): New.
23767         (libc_feupdateenv_testf): New.
23768         (libc_feupdateenv_testl): New.
23769         (libc_feresetround): New.
23770         (libc_feresetroundf): New.
23771         (libc_feresetroundl): New.
23772         (libc_fetestexcept_mips): New.
23773         (libc_fetestexcept): New.
23774         (libc_fetestexceptf): New.
23775         (libc_fetestexceptl): New.
23776         (HAVE_RM_CTX): New.
23777         (libc_feholdexcept_setround_mips_ctx): New.
23778         (libc_feholdexcept_setround_ctx): New.
23779         (libc_feholdexcept_setroundf_ctx): New.
23780         (libc_feholdexcept_setroundl_ctx): New.
23781         (libc_fesetenv_mips_ctx): New.
23782         (libc_fesetenv_ctx): New.
23783         (libc_fesetenv_ctxf): New.
23784         (libc_fesetenv_ctxl): New.
23785         (libc_feupdateenv_mips_ctx): New.
23786         (libc_feupdateenv_ctx): New.
23787         (libc_feupdateenvf_ctx): New.
23788         (libc_feupdateenvl_ctx): New.
23789         (libc_feholdsetround_mips_ctx): New.
23790         (libc_feholdsetround_ctx): New.
23791         (libc_feholdsetroundf_ctx): New.
23792         (libc_feholdsetroundl_ctx): New.
23793         (libc_feresetround_mips_ctx): New.
23794         (libc_feresetround_ctx): New.
23795         (libc_feresetroundf_ctx): New.
23796         (libc_feresetroundl_ctx): New.
23798 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23800         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23802         * manual/ipc.texi: New file.
23803         * manual/Makefile (chapters): Add ipc.
23804         * manual/job.texi: Add "Inter-Process Communication" to next.
23805         * manual/process.texi: Add "Inter-Process Communication" to prev.
23807 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23811 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23813         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23815         * manual/arith.texi: Fix spaces after sentences.
23816         * manual/charset.texi: Likewise.
23817         * manual/errno.texi: Likewise.
23818         * manual/install.texi: Likewise.
23819         * manual/llio.texi: Likewise.
23820         * manual/locale.texi: Likewise.
23821         * manual/maint.texi: Likewise.
23822         * manual/math.texi: Likewise.
23823         * manual/memory.texi: Likewise.
23824         * manual/message.texi: Likewise.
23825         * manual/probes.texi: Likewise.
23826         * manual/resource.texi: Likewise.
23827         * manual/signal.texi: Likewise.
23828         * manual/socket.texi: Likewise.
23829         * manual/stdio.texi: Likewise.
23830         * manual/string.texi: Likewise.
23831         * manual/time.texi: Likewise.
23832         * manual/users.texi: Likewise.
23834 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23836         [BZ #16632]
23837         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23838         _DEFAULT_SOURCE is defined.
23840 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23841             Carlos O'Donell  <carlos@redhat.com>
23843         [BZ #16613]
23844         * elf/dl-tls.c (_dl_count_modids): New function.
23845         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23846         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23847         audit library and increment generation counter.
23848         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23849         * elf/tst-audit9.c: New file.
23850         * elf/tst-auditmod9a.c: New file.
23851         * elf/tst-auditmod9b.c: New file.
23852         * elf/Makefile: Add rules to build and run tst-audit9.
23854 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23856         [BZ #15347]
23857         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23859 2014-02-25  Will Newton  <will.newton@linaro.org>
23861         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23862         (__longjmp): Restore sp and lr before restoring callee
23863         saved registers.  Add longjmp and longjmp_target
23864         SystemTap probe point.
23865         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23866         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23867         Define to zero to match jmpbuf layout.
23868         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23869         (__sigsetjmp): Save sp and lr before saving callee
23870         saved registers.  Add setjmp SystemTap probe point.
23872 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23874         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23876 2014-02-24  Andreas Schwab  <schwab@suse.de>
23878         [BZ #15804]
23879         * elf/pldd.c (wait_for_ptrace_stop): New function.
23880         (main): Call it after attaching.
23882 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23884         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23885         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23886         Versions files is now verboten.
23887         * hurd/Versions (libc: GLIBC_2.0):
23888         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23889         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23890         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23891         * mach/Versions: Likewise.
23893         * csu/Versions: Remove unused %include.
23894         * resolv/Versions: Likewise.
23896 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23898         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23899         ($(objpfx)check-local-headers.out): Likewise.
23900         ($(objpfx)begin-end-check.out): Likewise.
23901         * Makerules (check-abi-%.out): Likewise.
23902         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23903         ($(objpfx)test2.cat): Likewise.
23904         ($(objpfx)de/libc.cat): Likewise.
23905         ($(objpfx)test-gencat.out): Likewise.
23906         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23907         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23908         ($(objpfx)noload-mem): Likewise.
23909         ($(objpfx)tst-pathopt.out): Likewise.
23910         ($(objpfx)tst-rtld-load-self.out): Likewise.
23911         ($(objpfx)tst-array1-cmp.out): Likewise.
23912         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23913         ($(objpfx)tst-array2-cmp.out): Likewise.
23914         ($(objpfx)tst-array3-cmp.out): Likewise.
23915         ($(objpfx)tst-array4-cmp.out): Likewise.
23916         ($(objpfx)tst-array5-cmp.out): Likewise.
23917         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23918         ($(objpfx)check-textrel.out): Likewise.
23919         ($(objpfx)check-execstack.out): Likewise.
23920         ($(objpfx)check-localplt.out): Likewise.
23921         ($(objpfx)order2-cmp.out): Likewise.
23922         ($(objpfx)tst-leaks1-mem): Likewise.
23923         ($(objpfx)tst-leaks1-static-mem): Likewise.
23924         ($(objpfx)tst-initorder-cmp.out): Likewise.
23925         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23926         ($(objpfx)tst-unused-dep.out): Likewise.
23927         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23928         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23929         * iconv/Makefile (test-iconvconfig): Likewise.
23930         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23931         ($(objpfx)iconv-test.out): Likewise.
23932         ($(objpfx)tst-tables.out): Likewise.
23933         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23934         ($(objpfx)tst-gettext.out): Likewise.
23935         ($(objpfx)tst-translit.out): Likewise.
23936         ($(objpfx)tst-gettext2.out): Likewise.
23937         ($(objpfx)tst-gettext4.out): Likewise.
23938         ($(objpfx)tst-gettext6.out): Likewise.
23939         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23940         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23941         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23942         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23943         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23944         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23945         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23946         ($(objpfx)wordexp-tst.out): Likewise.
23947         ($(objpfx)annexc.out): Likewise.
23948         ($(objpfx)tst-fnmatch-mem): Likewise.
23949         ($(objpfx)bug-regex2-mem): Likewise.
23950         ($(objpfx)bug-regex14-mem): Likewise.
23951         ($(objpfx)bug-regex21-mem): Likewise.
23952         ($(objpfx)bug-regex31-mem): Likewise.
23953         ($(objpfx)tst-vfork3-mem): Likewise.
23954         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23955         ($(objpfx)tst-pcre-mem): Likewise.
23956         ($(objpfx)tst-boost-mem): Likewise.
23957         ($(objpfx)tst-getconf.out): Likewise.
23958         ($(objpfx)bug-ga2-mem): Likewise.
23959         ($(objpfx)bug-glob2-mem): Likewise.
23960         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23961         ($(objpfx)mtrace-tst-leaks2): Likewise.
23962         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23963         ($(objpfx)tst-printf.out): Likewise.
23964         ($(objpfx)tst-setvbuf1.out): Likewise.
23965         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23966         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23967         ($(objpfx)tst-fmtmsg.out): Likewise.
23968         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23969         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23971         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23972         * bits/sigaction.h [__USE_MISC]: Likewise.
23973         * bits/waitstatus.h: Update #endif comments.
23974         * ctype/ctype.h: Likewise.
23975         * dirent/dirent.h: Likewise.
23976         [__USE_MISC]: Remove redundant conditionals.
23977         * grp/grp.h: Update #endif comments.
23978         [__USE_GNU]: Remove redundant conditionals.
23979         [__USE_MISC]: Likewise.
23980         * inet/netinet/in.h [__USE_GNU]: Likewise.
23981         * io/sys/stat.h [__USE_MISC]: Likewise.
23982         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23983         * libio/bits/stdio.h: Update #endif comments.
23984         [__USE_MISC]: Remove redundant conditionals.
23985         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23986         * libio/stdio.h: Update #endif comments.
23987         [__USE_MISC]: Remove redundant conditionals.
23988         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23989         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23990         * math/math.h: Update #else and #endif comments.
23991         [__USE_MISC]: Remove redundant conditionals.
23992         * misc/sys/uio.h: Update #endif comments.
23993         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23994         * posix/glob.h [__USE_MISC]: Likewise.
23995         * posix/sys/types.h: Update #endif comments.
23996         [__USE_MISC]: Remove redundant conditionals.
23997         * posix/sys/wait.h: Update #endif comments.
23998         [__USE_MISC]: Remove redundant conditionals.
23999         * posix/unistd.h: Update #endif comments.
24000         [__USE_MISC]: Remove redundant conditionals.
24001         * pwd/pwd.h [__USE_GNU]: Likewise.
24002         [__USE_MISC]: Likewise.
24003         * resolv/netdb.h [__USE_GNU]: Likewise.
24004         * signal/signal.h: Update #endif comments.
24005         [__USE_MISC]: Remove redundant conditionals.
24006         * stdlib/stdlib.h: Update #else and #endif comments.
24007         [__USE_MISC]: Remove redundant conditionals.
24008         [__USE_GNU]: Likewise.
24009         * string/bits/string2.h [__USE_MISC]: Likewise.
24010         * string/string.h: Update #endif comments.
24011         [__USE_MISC]: Remove redundant conditionals.
24012         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24013         Likewise.
24014         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24015         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24016         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24017         Likewise.
24018         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24019         Likewise.
24020         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24021         comments.
24022         [__USE_MISC]: Remove redundant conditionals.
24023         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24024         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24025         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24026         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24027         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24028         Likewise.
24029         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24030         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24031         Likewise.
24032         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24033         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24034         Likewise.
24035         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24036         Likewise.
24037         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24038         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24039         Likewise.
24040         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24041         Likewise.
24042         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24043         * sysdeps/x86/bits/string.h: Update #endif comments.
24044         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24045         conditionals.
24046         * time/sys/time.h: Update #endif comments.
24047         * time/time.h: Likewise.
24048         [__USE_MISC]: Remove redundant conditionals.
24050 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24052         [BZ #16600]
24053         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24055 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24057         * Versions.def (librt): Add GLIBC_2.17.
24059 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24061         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24062         synonym for _SYS_AUXV_H to allow direct inclusion.
24063         * sysdeps/sparc/bits/hwcap.h: Likewise.
24064         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24065         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24066         * sysdeps/sparc/sysdep.h: Likewise.
24068 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24070         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24072 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24074         * benchtests/bench-strrchr.c: Print length instead of position.
24076 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24078         [BZ #16611]
24079         * sysdeps/unix/sysv/linux/kernel-features.h
24080         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24081         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24082         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24083         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24084         Likewise.
24085         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24086         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24087         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24088         (__ASSUME_SENDMMSG): Define instead of using previous
24089         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24090         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24091         (__ASSUME_SENDMMSG_SYSCALL): Define.
24092         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24093         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24094         Likewise.
24095         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24096         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24097         Likewise.
24098         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24099         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24100         Likewise.
24101         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24102         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24103         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24104         [__ASSUME_SENDMMSG]: Change conditionals to
24105         [__ASSUME_SENDMMSG_SOCKETCALL].
24106         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24107         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24108         Define.
24109         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24110         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24111         Likewise.
24112         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24113         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24114         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24115         [!__ASSUME_SENDMMSG]: Change conditional to
24116         [!__ASSUME_SENDMMSG_SOCKETCALL].
24117         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24118         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24119         Define.
24121         [BZ #16610]
24122         * sysdeps/unix/sysv/linux/kernel-features.h
24123         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24124         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24125         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24126         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24127         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24128         [__i386__ || __sparc__]
24129         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24130         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24131         (__ASSUME_RECVMMSG): Define instead of using previous
24132         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24133         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24134         (__ASSUME_RECVMMSG_SYSCALL): Define.
24135         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24136         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24137         Likewise.
24138         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24139         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24140         Likewise.
24141         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24142         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24143         Likewise.
24144         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24145         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24146         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24147         [__ASSUME_RECVMMSG]: Change condition to
24148         [__ASSUME_RECVMMSG_SOCKETCALL].
24149         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24150         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24151         Define.
24152         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24153         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24154         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24155         Likewise.
24156         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24157         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24158         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24159         [!__ASSUME_RECVMMSG]: Change condition to
24160         [!__ASSUME_RECVMMSG_SOCKETCALL].
24161         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24162         (__ASSUME_RECVMMSG_SYSCALL): Define.
24164         [BZ #16609]
24165         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24166         __powerpc__ || __s390__ || __sh__ || __sparc__]
24167         (__ASSUME_SOCKETCALL): Define.
24168         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24169         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24170         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24171         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24172         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24173         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24174         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24175         (__ASSUME_ACCEPT4): Define instead of using previous
24176         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24177         __powerpc__ || __sparc__ || __s390__)] condition.
24178         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24179         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24180         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24181         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24182         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24183         [!__ASSUME_ACCEPT4]: Change condition to
24184         [!__ASSUME_ACCEPT4_SOCKETCALL].
24185         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24186         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24187         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24188         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24189         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24190         __ASSUME_ACCEPT4_SYSCALL.
24191         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24192         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24193         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24194         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24195         __ASSUME_ACCEPT4_SYSCALL.
24196         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24197         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24198         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24199         [__ASSUME_ACCEPT4]: Change condition to
24200         [__ASSUME_ACCEPT4_SOCKETCALL].
24201         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24202         (__ASSUME_SOCKETCALL): Define.
24203         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24204         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24205         (__ASSUME_SOCKETCALL): Define.
24206         (__ASSUME_ACCEPT4): Remove.
24207         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24208         Define.
24209         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24210         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24211         Likewise.
24212         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24213         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24215         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24216         macro.
24217         (HWCAP_ARM_LPAE): Likewise.
24218         (HWCAP_ARM_EVTSTRM): Likewise.
24219         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24220         Add vpfd32, lpae and evtstrm.
24221         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24222         Increase to 22.
24224 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24226         * math/auto-libm-test-in: Add tests of clog10.
24227         * math/auto-libm-test-out: Regenerated.
24228         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24229         * sysdeps/i386/fpu/libm-test-ulps: Update.
24230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24232 2014-02-18  Andreas Schwab  <schwab@suse.de>
24234         [BZ #16574]
24235         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24236         Store non-zero if the second buffer was newly allocated.
24237         (send_dg): Likewise.
24238         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24239         to send_vc and send_dg.
24240         (res_nsend): Pass NULL for ansp2_malloced.
24241         * resolv/res_query.c (__libc_res_nquery): Add parameter
24242         answerp2_malloced and pass it down to __libc_res_nsend.
24243         (res_nquery): Pass additional NULL to __libc_res_nquery.
24244         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24245         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24246         second answer buffer if answerp2_malloced was set.
24247         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24248         (__libc_res_nquerydomain): Add parameter
24249         answerp2_malloced and pass it down to __libc_res_nquery.
24250         (res_nquerydomain): Pass additional NULL to
24251         __libc_res_nquerydomain.
24252         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24253         additional NULL to __libc_res_nsend and __libc_res_nquery.
24254         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24255         additional NULL to __libc_res_nsearch.
24256         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24257         parameter of __libc_res_nsearch to check for separately allocated
24258         second buffer.
24259         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24260         __libc_res_nquery.
24261         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24262         additional NULL to __libc_res_nquery.
24263         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24264         __libc_res_nsearch.
24265         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24266         * include/resolv.h: Update prototypes of __libc_res_nquery,
24267         __libc_res_nsearch, __libc_res_nsend.
24269 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24271         * math/auto-libm-test-in: Add tests of fma.
24272         * math/auto-libm-test-out: Regenerated.
24273         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24274         (fma_towardzero_test_data): Likewise.
24275         (fma_downward_test_data): Likewise.
24276         (fma_upward_test_data): Likewise.
24277         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24278         mpc_mode.
24279         (rounding_modes): Add values for new field.
24280         (func_calc_method): Add value mpfr_fff_f.
24281         (func_calc_desc): Add mpfr_fff_f union field.
24282         (test_function): Add field exact_args.
24283         (FUNC): Add macro argument EXACT_ARGS.
24284         (FUNC_mpfr_f_f): Update call to FUNC.
24285         (FUNC_mpfr_f_f): Likewise.
24286         (FUNC_mpfr_ff_f): Likewise.
24287         (FUNC_mpfr_if_f): Likewise.
24288         (FUNC_mpc_c_f): Likewise.
24289         (FUNC_mpc_c_c): Likewise.
24290         (test_functions): Add fma.  Update calls to FUNC.
24291         (handle_input_arg): Add argument exact_args.
24292         (add_test): Update call to handle_input_arg.
24293         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24294         (output_for_one_input_case): Update call to calc_generic_results.
24295         Recalculate exact zero results in each rounding mode.
24297         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24298         non-negative before setting low bit.
24299         * math/auto-libm-test-in: Mark one asin test possibly having
24300         spurious underflow.
24301         * math/auto-libm-test-out: Regenerated.
24302         * sysdeps/i386/fpu/libm-test-ulps: Update.
24303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24305 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24307         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24308         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24309         ports/sysdeps/unix/sysv/linux/microblaze.
24310         * README: Add missing listing for microblaze*-*-linux-gnu.
24312 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24314         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24315         duplicate code
24317 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24319         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24320         * sysdeps/unix/sysv/linux/ia64: Move directory from
24321         ports/sysdeps/unix/sysv/linux/ia64.
24322         * README: Update listing for ia64-*-linux-gnu.
24324 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24325             Joseph Myers  <joseph@codesourcery.com>
24327         * Makeconfig (test-name): New variable.
24328         (evaluate-test): Likewise.
24329         * Makerules (do-test-clean): Remove .test-result files.
24330         (common-mostlyclean): Likewise.
24331         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24332         * scripts/evaluate-test.sh: New file.
24334 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24336         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24337         separate $(objpfx)tst-fopenloc-cmp.out and
24338         $(objpfx)tst-fopenloc-mem.out targets.
24339         (tests): Update dependencies.
24340         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24341         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24342         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24343         (tst-rxspencer-no-utf8-ARGS): New variable.
24344         (tst-rxspencer-no-utf8-ENV): Likewise.
24345         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24346         instead of $(objpfx)tst-rxspencer-mem.
24347         ($(objpfx)tst-rxspencer-mem): Change target to
24348         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24349         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24350         * posix/tst-rxspencer-no-utf8.c: New file.
24352         * elf/Makefile ($(objpfx)order.out): Remove rule.
24353         [$(run-built-tests) = yes] (tests): Depend on
24354         $(objpfx)order-cmp.out.
24355         ($(objpfx)order-cmp.out): New rule.
24356         [$(run-built-tests) = yes] (tests): Depend on
24357         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24358         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24359         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24360         $(objpfx)tst-array5-static-cmp.out.
24361         ($(objpfx)tst-array1.out): Remove rule.
24362         ($(objpfx)tst-array1-cmp.out): New rule.
24363         ($(objpfx)tst-array1-static.out): Remove rule.
24364         ($(objpfx)tst-array1-static-cmp.out): New rule.
24365         ($(objpfx)tst-array2.out): Remove rule.
24366         ($(objpfx)tst-array2-cmp.out): New rule.
24367         ($(objpfx)tst-array3.out): Remove rule.
24368         ($(objpfx)tst-array3-cmp.out): New rule.
24369         ($(objpfx)tst-array4.out): Remove rule.
24370         ($(objpfx)tst-array4-cmp.out): New rule.
24371         ($(objpfx)tst-array5.out): Remove rule.
24372         ($(objpfx)tst-array5-cmp.out): New rule.
24373         ($(objpfx)tst-array5-static.out): Remove rule.
24374         ($(objpfx)tst-array5-static-cmp.out): New rule.
24375         [$(run-built-tests) = yes] (tests): Depend on
24376         $(objpfx)order2-cmp.out.
24377         ($(objpfx)order2.out): Remove rule.
24378         ($(objpfx)order2-cmp.out): New rule.
24379         ($(objpfx)tst-initorder.out): Remove rule.
24380         [$(run-built-tests) = yes] (tests): Depend on
24381         $(objpfx)tst-initorder-cmp.out.
24382         ($(objpfx)tst-initorder-cmp.out): New rule.
24383         ($(objpfx)tst-initorder2.out): Remove rule.
24384         [$(run-built-tests) = yes] (tests): Depend on
24385         $(objpfx)tst-initorder2-cmp.out.
24386         ($(objpfx)tst-initorder2-cmp.out): New rule.
24387         [$(run-built-tests) = yes] (tests): Depend on
24388         $(objpfx)tst-unused-dep-cmp.out.
24389         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24390         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24391         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24392         on $(objpfx)tst-setvbuf1-cmp.out.
24393         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24394         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24395         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24396         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24397         ($(objpfx)tst-svc.out): Remove rule.
24398         ($(objpfx)tst-svc-cmp.out): New rule.
24400 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24402         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24403         * ctype/ctype.h [__USE_MISC]: Likewise.
24404         * dirent/dirent.h [__USE_MISC]: Likewise.
24405         * grp/grp.h [__USE_MISC]: Likewise.
24406         * io/fcntl.h [__USE_MISC]: Likewise.
24407         * io/sys/stat.h [__USE_MISC]: Likewise.
24408         * libio/stdio.h [__USE_MISC]: Likewise.
24409         * posix/unistd.h [__USE_MISC]: Likewise.
24410         * pwd/pwd.h [__USE_MISC]: Likewise.
24411         * stdlib.h [__USE_MISC]: Likewise.
24412         * string/bits/string2.h [__USE_MISC]: Likewise.
24413         * string/string.h [__USE_MISC]: Likewise.
24414         * time/time.h [__USE_MISC]: Likewise.
24416 2014-02-13  Andreas Schwab  <schwab@suse.de>
24418         [BZ #16574]
24419         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24420         second answer buffer if it was separately allocated.
24422 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24424         * sysdeps/mips/math-tests.h: Include <features.h>.
24425         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24426         (ROUNDING_TESTS_long_double): Do not define.
24427         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24428         (EXCEPTION_TESTS_long_double): Likewise.
24429         * sysdeps/mips/mips64/libm-test-ulps: Update.
24431         * include/features.h (__USE_BSD): Remove macro definitions.
24432         (__USE_SVID): Likewise.
24433         (_BSD_SOURCE): Likewise.
24434         (_SVID_SOURCE): Likewise.
24435         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24436         from definition of _DEFAULT_SOURCE.
24437         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24438         [_DEFAULT_SOURCE].
24439         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24440         * bits/mman.h [__USE_BSD]: Likewise.
24441         * bits/termios.h [__USE_BSD]: Likewise.
24442         * bits/waitstatus.h [__USE_BSD]: Likewise.
24443         * ctype/ctype.h [__USE_SVID]: Likewise.
24444         * dirent/dirent.h [__USE_BSD]: Likewise.
24445         * grp/grp.h [__USE_SVID]: Likewise.
24446         [__USE_BSD]: Likewise.
24447         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24448         * io/fcntl.h [__USE_BSD]: Likewise.
24449         * io/ftw.h [__USE_BSD]: Likewise.
24450         * io/sys/stat.h [__USE_BSD]: Likewise.
24451         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24452         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24453         * libio/stdio.h [__USE_SVID]: Likewise.
24454         [__USE_BSD]: Likewise.
24455         * math/math.h [__USE_SVID]: Likewise.
24456         [__USE_BSD]: Likewise.
24457         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24458         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24459         * misc/search.h [__USE_SVID]: Likewise.
24460         * misc/sys/mman.h [__USE_BSD]: Likewise.
24461         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24462         * misc/sys/uio.h [__USE_BSD]: Likewise.
24463         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24464         * posix/glob.h [__USE_BSD]: Likewise.
24465         * posix/regex.h [__USE_BSD]: Likewise.
24466         * posix/sys/types.h [__USE_BSD]: Likewise.
24467         [__USE_SVID]: Likewise.
24468         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24469         * posix/sys/wait.h [__USE_BSD]: Likewise.
24470         [__USE_SVID]: Likewise.
24471         * posix/unistd.h [__USE_BSD]: Likewise.
24472         [__USE_SVID]: Likewise.
24473         * pwd/pwd.h [__USE_SVID]: Likewise.
24474         * resolv/netdb.h [__USE_BSD]: Likewise.
24475         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24476         * signal/signal.h [__USE_BSD]: Likewise.
24477         [__USE_SVID]: Likewise.
24478         * socket/sys/socket.h [__USE_BSD]: Likewise.
24479         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24480         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24481         [__USE_SVID]: Likewise.
24482         * string/bits/string2.h [__USE_BSD]: Likewise.
24483         [__USE_SVID]: Likewise.
24484         * string/bits/string3.h [__USE_BSD]: Likewise.
24485         * string/endian.h [__USE_BSD]: Likewise.
24486         * string/string.h [__USE_SVID]: Likewise.
24487         [__USE_BSD]: Likewise.
24488         * string/strings.h [__USE_BSD]: Likewise.
24489         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24490         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24491         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24492         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24493         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24494         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24495         Likewise.
24496         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24497         Likewise.
24498         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24499         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24500         Likewise.
24501         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24502         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24503         Likewise.
24504         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24505         Likewise.
24506         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24507         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24508         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24509         Likewise.
24510         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24511         Likewise.
24512         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24513         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24514         * termios/termios.h [__USE_BSD]: Likewise.
24515         * time/sys/time.h [__USE_BSD]: Likewise.
24516         * time/time.h [__USE_BSD]: Likewise.
24517         [__USE_SVID]: Likewise.
24519         * Makefile (subdir_targets): Remove subdir_lint.out.
24521         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24522         (do-tst-printf): Likewise.
24523         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24524         $(objpfx)tst-printf.out.
24526         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24528         * Makerules (check-abi-%): Change target to
24529         $(objpfx)check-abi-%.out.
24530         (check-abi target): Update dependencies.
24531         (check-abi-pattern variable): Redirect output of diff to $@.
24532         (check-abi variable): Likewise.
24533         * elf/Makefile (check-abi): Update dependencies.
24535         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24536         unused.
24537         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24538         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24539         subnormal range.
24540         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24541         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24542         value has largest subnormal exponent.
24543         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24544         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24545         * sysdeps/aarch64/soft-fp/sfp-machine.h
24546         (_FP_TININESS_AFTER_ROUNDING): New macro.
24547         * sysdeps/alpha/soft-fp/sfp-machine.h
24548         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24549         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24550         Likewise.
24551         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24552         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24553         * sysdeps/mips/soft-fp/sfp-machine.h
24554         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24555         * sysdeps/powerpc/soft-fp/sfp-machine.h
24556         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24557         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24558         Likewise.
24559         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24560         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24561         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24562         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24563         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24564         Likewise.
24566 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24568         [BZ #16545]
24569         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24570         model 1.
24572 2014-02-12  Richard Henderson  <rth@redhat.com>
24574         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24575         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24576         * sysdeps/unix/sysv/linux/alpha: Move directory from
24577         ports/sysdeps/unix/sysv/linux/alpha.
24578         * README: Update listing for alpha-*-linux-gnu.
24580 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24582         * include/features.h: Update comment documenting feature test
24583         macros.
24584         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24585         _DEFAULT_SOURCE.
24586         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24587         (_SVID_SOURCE): Likewise.
24588         (_DEFAULT_SOURCE): Update description of default features.
24589         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24590         with _GNU_SOURCE.
24591         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24592         (S_ISVTX): Likewise.
24593         * manual/math.texi (Mathematical Constants): Likewise.
24594         * manual/signal.texi (Interrupted Primitives): Likewise.
24595         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24596         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24597         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24598         Don't refer to _SVID_SOURCE in warning text.
24600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24602         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24603         already defined.
24604         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24605         * sysdeps/mips/dl-lookup.c: Remove.
24606         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24608 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24610         [BZ #16447]
24611         * math/auto-libm-test-in: Add testcase for expl.
24612         * math/auto-libm-test-out: Regenerate.
24613         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24614         calculation of unsafe.
24615         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24617 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24619         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24620         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24621         ports/sysdeps/unix/sysv/linux/aarch64.
24622         * README: Update listing for aarch64*-*-linux-gnu.
24624 2014-02-11  Will Newton  <will.newton@linaro.org>
24626         * manual/probes.texi (Mathematical Function Probes): Use
24627         "triggered" instead of "hit".
24629         * manual/probes.texi (Internal Probes): Add documentation
24630         of setjmp, longjmp and longjmp_target probes.
24632         * include/stap-probe.h: Add comment about probe argument
24633         format.
24635         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24636         definition.  (tr_where, tr_freehook, tr_mallochook,
24637         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24639 2014-02-11  David S. Miller  <davem@davemloft.net>
24641         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24642         processing int_tests.
24644 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24646         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24647         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24648         * sysdeps/unix/sysv/linux/mips: Move directory from
24649         ports/sysdeps/unix/sysv/linux/mips.
24650         * README: Update listing for mips-*-linux-gnu and
24651         mips64-*-linux-gnu.
24653 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24655         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24656         * sysdeps/unix/sysv/linux/m68k: Move directory from
24657         ports/sysdeps/unix/sysv/linux/m68k.
24658         * README: Update listing for m68k-*-linux-gnu.
24660 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24662         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24663         * sysdeps/unix/sysv/linux/generic: Move directory from
24664         ports/sysdeps/unix/sysv/linux/generic.
24665         * sysdeps/unix/sysv/linux/tile: Move directory from
24666         ports/sysdeps/unix/sysv/linux/tile.
24667         * README: Update listing for tile*-*-linux-gnu.
24669 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24671         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24672         __builtin_expect.
24673         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24674         * catgets/open_catalog.c (__open_catalog): Likewise.
24675         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24676         * debug/confstr_chk.c: Likewise.
24677         * debug/fread_chk.c (__fread_chk): Likewise.
24678         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24679         * debug/getgroups_chk.c: Likewise.
24680         * debug/mbsnrtowcs_chk.c: Likewise.
24681         * debug/mbsrtowcs_chk.c: Likewise.
24682         * debug/mbstowcs_chk.c: Likewise.
24683         * debug/memcpy_chk.c: Likewise.
24684         * debug/memmove_chk.c: Likewise.
24685         * debug/mempcpy_chk.c: Likewise.
24686         * debug/memset_chk.c: Likewise.
24687         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24688         * debug/strcat_chk.c (__strcat_chk): Likewise.
24689         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24690         * debug/strncat_chk.c (__strncat_chk): Likewise.
24691         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24692         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24693         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24694         * debug/wcpncpy_chk.c: Likewise.
24695         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24696         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24697         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24698         * debug/wcsncpy_chk.c: Likewise.
24699         * debug/wcsnrtombs_chk.c: Likewise.
24700         * debug/wcsrtombs_chk.c: Likewise.
24701         * debug/wcstombs_chk.c: Likewise.
24702         * debug/wmemcpy_chk.c: Likewise.
24703         * debug/wmemmove_chk.c: Likewise.
24704         * debug/wmempcpy_chk.c: Likewise.
24705         * debug/wmemset_chk.c: Likewise.
24706         * dirent/scandirat.c (SCANDIRAT): Likewise.
24707         * dlfcn/dladdr1.c (dladdr1): Likewise.
24708         * dlfcn/dladdr.c (dladdr): Likewise.
24709         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24710         * dlfcn/dlerror.c (__dlerror): Likewise.
24711         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24712         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24713         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24714         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24715         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24716         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24717         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24718         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24719         Likewise.
24720         * elf/dl-conflict.c: Likewise.
24721         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24722         * elf/dl-dst.h: Likewise.
24723         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24724         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24725         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24726         * elf/dl-init.c (call_init, _dl_init): Likewise.
24727         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24728         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24729         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24730         Likewise.
24731         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24732         Likewise.
24733         * elf/dl-minimal.c (__libc_memalign): Likewise.
24734         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24735         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24736         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24737         * elf/dl-sym.c (do_sym): Likewise.
24738         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24739         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24740         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24741         * elf/dl-writev.h (_dl_writev): Likewise.
24742         * elf/ldconfig.c (search_dir): Likewise.
24743         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24744         (dl_main): Likewise.
24745         * elf/setup-vdso.h (setup_vdso): Likewise.
24746         * grp/compat-initgroups.c (compat_call): Likewise.
24747         * grp/fgetgrent.c (fgetgrent): Likewise.
24748         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24749         * grp/putgrent.c (putgrent): Likewise.
24750         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24751         Likewise.
24752         * hurd/hurdinit.c: Likewise.
24753         * iconvdata/8bit-gap.c (struct): Likewise.
24754         * iconvdata/ansi_x3.110.c : Likewise.
24755         * iconvdata/big5.c : Likewise.
24756         * iconvdata/big5hkscs.c : Likewise.
24757         * iconvdata/cp1255.c: Likewise.
24758         * iconvdata/cp1258.c : Likewise.
24759         * iconvdata/cp932.c : Likewise.
24760         * iconvdata/euc-cn.c: Likewise.
24761         * iconvdata/euc-jisx0213.c : Likewise.
24762         * iconvdata/euc-jp.c: Likewise.
24763         * iconvdata/euc-jp-ms.c : Likewise.
24764         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24765         * iconvdata/gb18030.c : Likewise.
24766         * iconvdata/gbbig5.c (const): Likewise.
24767         * iconvdata/gbgbk.c: Likewise.
24768         * iconvdata/gbk.c : Likewise.
24769         * iconvdata/ibm1364.c : Likewise.
24770         * iconvdata/ibm930.c : Likewise.
24771         * iconvdata/ibm932.c: Likewise.
24772         * iconvdata/ibm933.c : Likewise.
24773         * iconvdata/ibm935.c : Likewise.
24774         * iconvdata/ibm937.c : Likewise.
24775         * iconvdata/ibm939.c : Likewise.
24776         * iconvdata/ibm943.c: Likewise.
24777         * iconvdata/iso_11548-1.c: Likewise.
24778         * iconvdata/iso-2022-cn.c : Likewise.
24779         * iconvdata/iso-2022-cn-ext.c : Likewise.
24780         * iconvdata/iso-2022-jp-3.c: Likewise.
24781         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24782         * iconvdata/iso-2022-kr.c : Likewise.
24783         * iconvdata/iso646.c (gconv_end): Likewise.
24784         * iconvdata/iso_6937-2.c : Likewise.
24785         * iconvdata/iso_6937.c : Likewise.
24786         * iconvdata/iso8859-1.c: Likewise.
24787         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24788         * iconvdata/shift_jisx0213.c : Likewise.
24789         * iconvdata/sjis.c : Likewise.
24790         * iconvdata/t.61.c : Likewise.
24791         * iconvdata/tcvn5712-1.c : Likewise.
24792         * iconvdata/tscii.c: Likewise.
24793         * iconvdata/uhc.c : Likewise.
24794         * iconvdata/unicode.c (gconv_end): Likewise.
24795         * iconvdata/utf-16.c (gconv_end): Likewise.
24796         * iconvdata/utf-32.c (gconv_end): Likewise.
24797         * iconvdata/utf-7.c (base64): Likewise.
24798         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24799         * iconv/gconv_close.c (__gconv_close): Likewise.
24800         * iconv/gconv_open.c (__gconv_open): Likewise.
24801         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24802         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24803         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24804         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24805         (ucs4le_internal_loop_single): Likewise.
24806         * iconv/iconv.c (iconv): Likewise.
24807         * iconv/iconv_close.c: Likewise.
24808         * iconv/loop.c (SINGLE): Likewise.
24809         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24810         * include/atomic.h: Likewise.
24811         * inet/inet6_option.c (option_alloc): Likewise.
24812         * intl/bindtextdom.c (set_binding_values): Likewise.
24813         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24814         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24815         * intl/localealias.c (read_alias_file): Likewise.
24816         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24817         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24818         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24819         * libio/fmemopen.c (fmemopen): Likewise.
24820         * libio/iofgets.c (_IO_fgets): Likewise.
24821         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24822         * libio/iofgetws.c (fgetws): Likewise.
24823         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24824         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24825         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24826         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24827         * locale/findlocale.c (_nl_find_locale): Likewise.
24828         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24829         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24830         Likewise.
24831         * locale/setlocale.c (setlocale): Likewise.
24832         * login/programs/pt_chown.c (main): Likewise.
24833         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24834         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24835         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24836         (mmap, mmap64, mremap, munmap): Likewise.
24837         * math/e_exp2l.c: Likewise.
24838         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24839         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24840         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24841         * math/s_catan.c (__catan): Likewise.
24842         * math/s_catanf.c (__catanf): Likewise.
24843         * math/s_catanh.c (__catanh): Likewise.
24844         * math/s_catanhf.c (__catanhf): Likewise.
24845         * math/s_catanhl.c (__catanhl): Likewise.
24846         * math/s_catanl.c (__catanl): Likewise.
24847         * math/s_ccosh.c (__ccosh): Likewise.
24848         * math/s_ccoshf.c (__ccoshf): Likewise.
24849         * math/s_ccoshl.c (__ccoshl): Likewise.
24850         * math/s_cexp.c (__cexp): Likewise.
24851         * math/s_cexpf.c (__cexpf): Likewise.
24852         * math/s_cexpl.c (__cexpl): Likewise.
24853         * math/s_clog10.c (__clog10): Likewise.
24854         * math/s_clog10f.c (__clog10f): Likewise.
24855         * math/s_clog10l.c (__clog10l): Likewise.
24856         * math/s_clog.c (__clog): Likewise.
24857         * math/s_clogf.c (__clogf): Likewise.
24858         * math/s_clogl.c (__clogl): Likewise.
24859         * math/s_csin.c (__csin): Likewise.
24860         * math/s_csinf.c (__csinf): Likewise.
24861         * math/s_csinh.c (__csinh): Likewise.
24862         * math/s_csinhf.c (__csinhf): Likewise.
24863         * math/s_csinhl.c (__csinhl): Likewise.
24864         * math/s_csinl.c (__csinl): Likewise.
24865         * math/s_csqrt.c (__csqrt): Likewise.
24866         * math/s_csqrtf.c (__csqrtf): Likewise.
24867         * math/s_csqrtl.c (__csqrtl): Likewise.
24868         * math/s_ctan.c (__ctan): Likewise.
24869         * math/s_ctanf.c (__ctanf): Likewise.
24870         * math/s_ctanh.c (__ctanh): Likewise.
24871         * math/s_ctanhf.c (__ctanhf): Likewise.
24872         * math/s_ctanhl.c (__ctanhl): Likewise.
24873         * math/s_ctanl.c (__ctanl): Likewise.
24874         * math/w_pow.c: Likewise.
24875         * math/w_powf.c: Likewise.
24876         * math/w_powl.c: Likewise.
24877         * math/w_scalb.c (sysv_scalb): Likewise.
24878         * math/w_scalbf.c (sysv_scalbf): Likewise.
24879         * math/w_scalbl.c (sysv_scalbl): Likewise.
24880         * misc/error.c (error_tail): Likewise.
24881         * misc/pselect.c (__pselect): Likewise.
24882         * nis/nis_callback.c (__nis_create_callback): Likewise.
24883         * nis/nis_call.c (__nisfind_server): Likewise.
24884         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24885         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24886         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24887         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24888         * nis/nis_lookup.c (nis_lookup): Likewise.
24889         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24890         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24891         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24892         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24893         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24894         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24895         * nis/nss_compat/compat-initgroups.c (add_group)
24896         (internal_getgrent_r): Likewise.
24897         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24898         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24899         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24900         (internal_getspnam_r): Likewise.
24901         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24902         (_nss_nis_getaliasbyname_r): Likewise.
24903         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24904         (_nss_nis_getntohost_r): Likewise.
24905         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24906         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24907         (_nss_nis_getgrgid_r): Likewise.
24908         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24909         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24910         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24911         (_nss_nis_gethostbyname4_r): Likewise.
24912         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24913         (initgroups_netid): Likewise.
24914         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24915         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24916         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24917         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24918         (_nss_nis_getprotobynumber_r): Likewise.
24919         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24920         (_nss_nis_getsecretkey): Likewise.
24921         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24922         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24923         (_nss_nis_getpwuid_r): Likewise.
24924         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24925         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24926         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24927         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24928         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24929         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24930         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24931         Likewise.
24932         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24933         (_nss_nisplus_getntohost_r): Likewise.
24934         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24935         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24936         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24937         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24938         Likewise.
24939         * nis/nss_nisplus/nisplus-initgroups.c
24940         (_nss_nisplus_initgroups_dyn): Likewise.
24941         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24942         (_nss_nisplus_getnetbyaddr_r): Likewise.
24943         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24944         (_nss_nisplus_getprotobynumber_r): Likewise.
24945         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24946         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24947         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24948         Likewise.
24949         * nis/nss_nisplus/nisplus-service.c
24950         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24951         (_nss_nisplus_getservbyport_r): Likewise.
24952         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24953         (_nss_nisplus_getspnam_r): Likewise.
24954         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24955         Likewise.
24956         * nscd/aicache.c (addhstaiX): Likewise.
24957         * nscd/cache.c (cache_search, prune_cache): Likewise.
24958         * nscd/connections.c (register_traced_file, send_ro_fd)
24959         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24960         (main_loop_epoll): Likewise.
24961         * nscd/grpcache.c (addgrbyX): Likewise.
24962         * nscd/hstcache.c (addhstbyX): Likewise.
24963         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24964         * nscd/mem.c (gc, mempool_alloc): Likewise.
24965         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24966         (addinnetgrX): Likewise.
24967         * nscd/nscd-client.h (__nscd_acquire_maplock)
24968         (__nscd_drop_map_ref): Likewise.
24969         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24970         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24971         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24972         Likewise.
24973         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24974         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24975         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24976         (__nscd_get_map_ref): Likewise.
24977         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24978         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24979         Likewise.
24980         * nscd/pwdcache.c (addpwbyX): Likewise.
24981         * nscd/selinux.c (preserve_capabilities): Likewise.
24982         * nscd/servicescache.c (addservbyX): Likewise.
24983         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24984         * posix/fnmatch.c (fnmatch): Likewise.
24985         * posix/getopt.c (_getopt_internal_r): Likewise.
24986         * posix/glob.c (glob, glob_in_dir): Likewise.
24987         * posix/wordexp.c (exec_comm_child): Likewise.
24988         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24989         (getanswer_r, gaih_getanswer_slice): Likewise.
24990         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24991         * resolv/res_init.c: Likewise.
24992         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24993         * resolv/res_query.c (__libc_res_nquery): Likewise.
24994         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24995         Likewise.
24996         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24997         * stdio-common/perror.c (perror): Likewise.
24998         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24999         * stdio-common/tmpnam.c (tmpnam): Likewise.
25000         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25001         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25002         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25003         Likewise.
25004         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25005         * stdlib/putenv.c (putenv): Likewise.
25006         * stdlib/setenv.c (__add_to_environ): Likewise.
25007         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25008         * stdlib/strtol_l.c (INTERNAL): Likewise.
25009         * string/memmem.c (memmem): Likewise.
25010         * string/strerror.c (strerror): Likewise.
25011         * string/strnlen.c (__strnlen): Likewise.
25012         * string/test-memmem.c (simple_memmem): Likewise.
25013         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25014         * sunrpc/pm_getport.c (__get_socket): Likewise.
25015         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25016         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25017         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25018         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25019         Likewise.
25020         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25021         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25022         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25023         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25024         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25025         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25026         Likewise.
25027         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25028         Likewise.
25029         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25030         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25031         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25032         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25033         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25034         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25035         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25036         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25037         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25038         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25039         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25040         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25041         Likewise.
25042         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25043         Likewise.
25044         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25045         Likewise.
25046         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25047         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25048         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25049         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25050         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25051         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25052         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25053         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25054         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25055         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25056         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25057         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25058         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25059         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25060         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25061         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25062         Likewise.
25063         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25064         Likewise.
25065         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25066         Likewise.
25067         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25068         Likewise.
25069         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25070         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25071         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25072         Likewise.
25073         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25074         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25075         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25076         * sysdeps/posix/sleep.c: Likewise.
25077         * sysdeps/posix/tempname.c: Likewise.
25078         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25079         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25080         Likewise.
25081         * sysdeps/powerpc/powerpc32/dl-machine.h
25082         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25083         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25084         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25085         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25086         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25087         Likewise.
25088         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25089         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25090         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25091         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25092         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25093         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25094         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25095         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25096         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25097         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25098         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25099         (elf_machine_lazy_rel): Likewise.
25100         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25101         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25102         (elf_machine_lazy_rel): Likewise.
25103         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25104         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25105         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25106         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25107         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25108         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25109         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25110         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25111         Likewise.
25112         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25113         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25114         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25115         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25116         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25117         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25118         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25119         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25120         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25121         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25122         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25123         Likewise.
25124         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25125         (__posix_fallocate64_l64): Likewise.
25126         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25127         (posix_fallocate): Likewise.
25128         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25129         Likewise.
25130         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25131         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25132         (getifaddrs_internal): Likewise.
25133         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25134         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25135         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25136         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25137         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25138         (__posix_fallocate64_l64): Likewise.
25139         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25140         Likewise.
25141         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25142         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25143         (__get_clockfreq): Likewise.
25144         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25145         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25146         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25147         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25148         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25149         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25150         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25151         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25152         Likewise.
25153         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25154         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25155         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25156         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25157         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25158         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25159         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25160         Likewise.
25161         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25162         (posix_fallocate): Likewise.
25163         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25164         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25165         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25166         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25167         (elf_machine_rela, elf_machine_rela_relative)
25168         (elf_machine_lazy_rel): Likewise.
25169         * time/asctime.c (asctime_internal): Likewise.
25170         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25171         * time/tzset.c (__tzset_parse_tz): Likewise.
25172         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25173         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25174         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25175         * wcsmbs/wcsmbsload.h: Likewise.
25177         [BZ #15894]
25178         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25180         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25181         (arena_get2): Remove THREAD_STATS conditionals.
25182         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25183         (__malloc_stats, int): Likewise.
25185 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25187         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25188         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25190         * manual/setjmp.texi: Fix typos/grammar errors.
25192         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25193         Only return early when n is <= 0.  Delete unused return statement.
25195         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25196         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25197         * debug/tst-longjmp_chk3.c: New file.
25199         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25200         (test_main): Replace code with set_fortify_handler call.
25201         * debug/test-strcpy_chk.c: Likewise.
25202         * debug/tst-chk1.c: Likewise.
25203         * debug/tst-longjmp_chk.c: Likewise.
25204         * test-skeleton.c: Include fcntl.h & paths.h
25205         (set_fortify_handler): Define.
25207         * debug/tst-longjmp_chk.c: Add header comment and include
25208         ../test-skeleton.c.
25209         (do_test): Mark static.
25210         (TEST_FUNCTION): Define.
25212         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25213         (IP_PMTUDISC_INTERFACE): Likewise.
25214         (IP_MULTICAST_IF): Likewise.
25215         (IP_MULTICAST_TTL): Likewise.
25216         (IP_MULTICAST_LOOP): Likewise.
25217         (IP_ADD_MEMBERSHIP): Likewise.
25218         (IP_DROP_MEMBERSHIP): Likewise.
25219         (IP_UNBLOCK_SOURCE): Likewise.
25220         (IP_BLOCK_SOURCE): Likewise.
25221         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25222         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25223         (IP_MSFILTER): Likewise.
25224         (MCAST_JOIN_GROUP): Likewise.
25225         (MCAST_BLOCK_SOURCE): Likewise.
25226         (MCAST_UNBLOCK_SOURCE): Likewise.
25227         (MCAST_LEAVE_GROUP): Likewise.
25228         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25229         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25230         (MCAST_MSFILTER): Likewise.
25231         (IP_MULTICAST_ALL): Likewise.
25232         (IP_UNICAST_IF): Likewise.
25234         * timezone/Makefile: Delete $(have-ksh) check.
25235         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25236         * timezone/tzselect.ksh: Add +x mode bits.
25238         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25239         (ANON_INODE_FS_MAGIC): Likewise.
25240         (BDEVFS_MAGIC): Likewise.
25241         (BINFMTFS_MAGIC): Likewise.
25242         (BTRFS_TEST_MAGIC): Likewise.
25243         (CRAMFS_MAGIC_WEND): Likewise.
25244         (DEBUGFS_MAGIC): Likewise.
25245         (ECRYPTFS_SUPER_MAGIC): Likewise.
25246         (EXT3_SUPER_MAGIC): Likewise.
25247         (EXT4_SUPER_MAGIC): Likewise.
25248         (FUTEXFS_SUPER_MAGIC): Likewise.
25249         (HOSTFS_SUPER_MAGIC): Likewise.
25250         (HUGETLBFS_MAGIC): Likewise.
25251         (MINIX3_SUPER_MAGIC): Likewise.
25252         (MTD_INODE_FS_MAGIC): Likewise.
25253         (NILFS_SUPER_MAGIC): Likewise.
25254         (OPENPROM_SUPER_MAGIC): Likewise.
25255         (PIPEFS_MAGIC): Likewise.
25256         (PSTOREFS_MAGIC): Likewise.
25257         (QNX6_SUPER_MAGIC): Likewise.
25258         (RAMFS_MAGIC): Likewise.
25259         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25260         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25261         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25262         (SECURITYFS_MAGIC): Likewise.
25263         (SELINUX_MAGIC): Likewise.
25264         (SMACK_MAGIC): Likewise.
25265         (SOCKFS_MAGIC): Likewise.
25266         (SQUASHFS_MAGIC): Likewise.
25267         (STACK_END_MAGIC): Likewise.
25268         (TMPFS_MAGIC): Likewise.
25269         (USBDEVICE_SUPER_MAGIC): Likewise.
25270         (V9FS_MAGIC): Likewise.
25271         (XENFS_SUPER_MAGIC): Likewise.
25272         (CRAMFS_MAGIC): Fix typo in comment.
25273         (EXT2_SUPER_MAGIC): Update comment.
25274         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25276 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25278         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25279         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25280         * sysdeps/unix/sysv/linux/arm: Move directory from
25281         ports/sysdeps/unix/sysv/linux/arm.
25282         * README: Update listing for arm-*-linux-gnueabi.
25284         * README: Remove mention of am33.
25286 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25288         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25289         than the comma operator, to avoid "rhs of comma has no effect"
25290         compiler warnings.
25291         (__sigfillset, __sigandset, __sigorset): Likewise.
25292         * include/signal.h (__sigemptyset): Likewise.
25293         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25295 2014-02-07  Allan McRae  <allan@archlinux.org>
25297         * version.h (RELEASE): Set to "development".
25298         (VERSION): Set to "2.19.90"
25299         * NEWS: Add 2.20 section.
25301 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25303         [BZ #16529]
25304         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25306 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25308         * manual/contrib.texi: Update entry for Carlos O'Donell,
25309         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25311 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25313         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25315         * sysdeps/unix/sysv/linux/kernel-features.h
25316         [__LINUX_KERNEL_VERSION >= 0x020621]
25317         (__ASSUME_PROC_PID_TASK_COMM): Define.
25319 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25321         [BZ #16398]
25322         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25323         conversion when destination buffer does not have enough space.
25324         * libio/tst-ftell-partial-wide.c: New test case.
25325         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25327         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25328         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25329         Leonard and Allan McRae.
25331 2014-02-04  David S. Miller  <davem@davemloft.net>
25333         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25334         32-bit.
25336 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25339         New file
25340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25341         New file
25342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25343         New file.
25344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25345         New file.
25346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25347         New file.
25348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25349         New file.
25350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25351         New file.
25352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25353         New file.
25354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25355         New file.
25356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25357         New file.
25358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25359         New file.
25360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25361         New file.
25362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25363         New file.
25365 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25367         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25368         * shlib-versions: Likewise.
25370 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25371             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25373         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25374         (abilist-pattern): New variable, set to %-le.abilist.
25376         * Makerules (abilist-pattern): New variable.
25377         (vpath): Use $(abilist-pattern) in place of %.abilist.
25378         (check-abi-% pattern rule): Likewise.
25379         (check-abi, update-abi): Likewise.
25381 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25385 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25387         * manual/startup.texi: Add next, previous, and top entries for
25388         the `Program Arguments' and `Environment Variables' nodes.
25390 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25392         * manual/macros.texi: Add comments before MTASC-safety macros.
25394         * manual/users.texi: Document MTASC-safety properties.
25396         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25397         (pthread_getspecific, pthread_setspecific): Format with
25398         @deftypefun, and add @safety note.
25399         * manual/signal.texi: Move comments that analyze the above
25400         functions to their home place.
25402 2014-02-03  Allan McRae  <allan@archlinux.org>
25404         * po/sl.po: Update Slovenian translation from translation project.
25406 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25408         * manual/time.texi (timegm): Add missing blank after @c.
25409         Reported by Joseph Myers <joseph@codesourcery.com>.
25411 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25413         * manual/check-safety.sh: New.
25414         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25416         * manual/terminal.texi: Document MTASC-safety properties.
25418         * manual/filesys.texi: Document MTASC-safety properties.
25420         * manual/errno.texi: Document MTASC-safety properties.
25422         * manual/intro.texi: Document safety identifiers and
25423         conditionals.
25425         * manual/string.texi (wcstok): Fix prototype.
25426         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25428         * manual/time.texi: Document MTASC-safety properties.
25430         * manual/string.texi: Document MTASC-safety properties.
25432         * manual/threads.texi: Document MTASC-safety properties.
25434         * manual/stdio.texi: Document MTASC-safety properties.
25436         * manual/syslog.texi: Document MTASC-safety properties.
25438         * manual/sysinfo.texi: Document MTASC-safety properties.
25440         * manual/startup.texi: Document MTASC-safety properties.
25442         * manual/socket.texi: Document MTASC-safety properties.
25444         * manual/signal.texi: Document MTASC-safety properties.
25446 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25448         * manual/setjmp.texi: Document MTASC-safety properties.
25450         * manual/search.texi: Document MTASC-safety properties.
25452         * manual/resource.texi: Document MTASC-safety properties.
25454         * manual/process.texi: Document MTASC-safety properties.
25456         * manual/platform.texi: Document MTASC-safety properties.
25458         * manual/pipe.texi: Document MTASC-safety properties.
25460         * manual/pattern.texi: Document MTASC-safety properties.
25462         * manual/message.texi: Document MTASC-safety properties.
25464         [BZ #12751]
25465         * manual/memory.texi: Document MTASC-safety properties.
25467         * manual/math.texi: Document MTASC-safety properties.
25469         * manual/locale.texi: Document MTASC-safety properties.
25471         * manual/llio.texi: Document MTASC-safety properties.
25473         * manual/libdl.texi: New.
25475         * manual/lang.texi: Document MTASC-safety properties.
25477         * manual/job.texi: Document MTASC-safety properties.
25479         * manual/getopt.texi: Document MTASC-safety properties.
25481         * manual/ctype.texi: Document MTASC-safety properties.
25483 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25485         [BZ #16046]
25486         * csu/libc-tls.c (static_map): Remove variable.
25487         (__libc_setup_tls): Use main executable's link map for TLS data.
25488         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25489         casing for LM_ID_BASE and GL(dl_nns).
25490         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25491         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25492         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25493         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25494         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25495         member.
25496         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25497         l_phnum members.
25499 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25501         * manual/debug.texi: Document MTASC-safety properties.
25503 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25505         [BZ #16510]
25506         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25507         of __x86_64__ when disabling x87 inline functions.
25509 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25511         * manual/charset.texi: Document MTASC-safety properties.
25513         * manual/crypt.texi: Document MTASC-safety properties.
25515         * manual/conf.texi: Document MTASC-safety properties.
25517         * manual/arith.texi: Document MTASC-safety properties.
25519         * manual/argp.texi: Document MTASC-safety properties.
25521         * manual/macros.texi: Introduce macros to document multi
25522         thread, asynchronous signal and asynchronous cancellation
25523         safety properties.
25524         * manual/intro.texi: Introduce the properties themselves.
25526 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25528         * sysdeps/sh/sh4/Makefile: New file.
25530 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25532         * math/gen-libm-test.pl ($srcdir): New variable.
25533         ($auto_input): Use it.
25535 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25537         [BZ #16506]
25538         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25539         access beyond array bounds when parsing netgroups file.
25541         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25542         the old buffer before realloc.
25544 2014-01-27  Allan McRae  <allan@archlinux.org>
25546         * po/fr.po: Update French translation from translation project.
25548 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25550         * sysdeps/sh/libm-test-ulps: Regenerate.
25552 2014-01-24  David S. Miller  <davem@davemloft.net>
25554         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25556 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25558         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25559         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25561 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25563         [BZ #16474]
25564         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25565         string pointers after reallocation.
25567 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25569         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25570         __SH4A__ instead of __SH_FPU_ANY__.
25572 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25574         * sysdeps/sh/fpu_control.h: New file.
25575         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25576         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25577         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25578         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25579         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25580         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25581         * sysdeps/sh/sys/ucontext.h: Remove.
25582         * sysdeps/sh/sys: Remove directory.
25584 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25586         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25587         s390/sys/ucontext.h.
25588         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25589         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25591 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25593         [BZ #15605]
25594         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25596 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25598         [BZ#16431]
25599         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25600         Adjust the vDSO correctly for internal calls.
25601         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25603 2014-01-20  Allan McRae  <allan@archlinux.org>
25605         * po/ca.po: Update Catalan translation from translation project.
25607 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25609         * sysdeps/s390/sotruss-lib.c: New file.
25611 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25613         [BZ#16430]
25614         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25615         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25616         local calls issues by not having a PLT stub required for IFUNC calls.
25617         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25619 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25621         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25622         * math/test-fpucw-static.c: Likewise.
25624 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25626         [BZ #16453]
25627         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25629 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25631         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25632         implementation for powerpc.
25634 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25636         [BZ #14782]
25637         * sysdeps/posix/system.c (__libc_system): Do not enable
25638         asynchronous cancellation.
25640 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25642         [BZ #16427]
25643         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25644         handling only for numbers special also in the IEEE case.
25646 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25648         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25650 2014-01-11  Allan McRae  <allan@archlinux.org>
25652         * po/bg.po: Update Bulgarian translation from translation project.
25654         * po/de.po: Update German translation from translation project.
25656 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25658         * sysdeps/generic/gcc-compat.h: New file.
25660 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25662         * benchtests/asin-inputs: Correct slow inputs.
25663         * benchtests/acos-inputs: Likewise.
25665 2014-01-10  Allan McRae  <allan@archlinux.org>
25667         * po:sv.po: Update Swedish translation from translation project.
25669         * po/vi.po: Update Vietnamese translation from translation project.
25671         * po/eo.po: Update Esperanto translation from translation project.
25673         * po/cs.po: Update Czech translation from translation project.
25675         * po/nl.po: Update Dutch translation from translation project.
25677         * po/pl.po: Update Polish translation from translation project.
25679         * po/ru.po: Update Russian translation from translation project.
25681         * po/uk.po: Update Ukrainian translation from translation project.
25683 2014-01-08  Brooks Moses  <bmoses@google.com>
25685         * elf/dl-load.c: Fix comment typo.
25687 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25689         * po/header.pot: Rename to...
25690         * po/pot.header: ... this.
25691         * po/Makefile: Use pot.header.
25693 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25694             Maxim Kuvyrkov  <maxim@kugelworks.com>
25696         [BZ #16394]
25697         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25698         SRC and DEST against LEN.
25700 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25702         [BZ #16414]
25703         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25704         implementation.
25705         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25707 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25711 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25713         [BZ #16408]
25714         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25715         for large positive arguments.
25717 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25719         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25721         * math/auto-libm-test-in: Mark various tests with
25722         xfail-rounding:ldbl-128ibm.
25723         * math/auto-libm-test-out: Regenerated.
25725         [BZ #16407]
25726         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25727         Increase overflow threshold.
25729 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25731         [BZ #14286]
25732         * stdio-common/vfprintf.c: Check for integer overflow.
25734 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25736         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25737         the first argument and return value of __tls_get_addr_internal.
25739 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25741         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25742         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25744 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25746         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25747         * sysdeps/s390/rtld-global-offsets.sym: New file.
25748         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25749         GLIBC_2.19 symbol.
25750         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25751         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25752         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25753         ... this.
25754         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25755         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25756         ... this.
25757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25758         Regenerate.
25759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25760         Regenerate.
25761         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25762         halfs of GPRs for high_gprs contexts.
25763         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25764         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25765         field.
25766         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25767         uc_flags field.
25768         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25769         64 bit versions:
25770         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25771         for high GPRs (uc_high_gprs) and for future extensions
25772         (__reserved).
25773         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25774         for future extensions (__reserved).
25775         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25776         64 bit versions:
25777         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25778         SC_HIGHGPRS offset definition.
25779         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25780         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25782         * Versions.def: Add GLIBC_2.19 for libpthread.
25783         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25784         siglongjmp for libpthread with GLIBC_2.19 symver.
25785         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25786         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25787         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25788         * sysdeps/s390/__longjmp.c: New file.
25789         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25790         * sysdeps/s390/longjmp.c: New file.
25791         * sysdeps/s390/setjmp.S: New file.
25792         * sysdeps/s390/sigjmp.S: New file.
25793         * sysdeps/s390/v1-longjmp.c: New file.
25794         * sysdeps/s390/v1-setjmp.h: New file.
25795         * sysdeps/s390/v1-sigjmp.c: New file.
25796         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25797         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25798         GLIBC_2.19 version.
25799         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25800         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25801         versioned symbols for ____longjmp_chk.
25802         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25803         Likewise.
25804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25805         Regenerate.
25806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25807         Regenerate.
25808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25809         Regenerate.
25810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25811         Regenerate.
25812         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25813         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25814         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25815         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25816         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25817         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25818         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25819         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25820         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25821         * sysdeps/s390/rtld-__longjmp.c: New file.
25822         * sysdeps/s390/rtld-setjmp.S: New file.
25824 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25826         [BZ #16400]
25827         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25828         Return -__logl (x) for small positive arguments without evaluating
25829         a polynomial.
25831 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25833         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25834         Rename to ...
25835         (__ptrace_peeksiginfo_args): ... this.
25836         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25837         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25838         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25840 2014-01-06  Allan McRae  <allan@archlinux.org>
25842         * inet/netinet/in.h: Fix typo in comment.
25844 2014-01-05  Andreas Jaeger  <aj@suse.de>
25846         * sysdeps/i386/fpu/libm-test-ulps: Update.
25848 2014-01-05  Allan McRae  <allan@archlinux.org>
25850         * po/libc.pot: Regenerated.
25852         * malloc/memusagestat.c: Fix gettext call formatting.
25854 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25856         * nscd/nscd.c: Improve usage() output.
25858 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25860         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25861         * sysdeps/unix/sysv/linux/configure: Regenerated.
25862         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25863         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25865 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25867         [BZ #16390]
25868         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25869         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25871 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25873         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25874         extra tokens at end of #undef directive.
25875         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25876         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25877         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25879 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25881         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25883         * math/auto-libm-test-in: Mark various tests with
25884         xfail-rounding:ldbl-128ibm.
25885         * math/auto-libm-test-out: Regenerated.
25887 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25889         [BZ #16386]
25890         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25891         numbers with subnormal high part when calculating exponent.
25893         [BZ #16385]
25894         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25895         fabs.
25897         [BZ #16384]
25898         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25899         M_LN2l.
25900         (__ieee754_acoshl): Use __log1pl not __log1p.
25902 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25904         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25905         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25906         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25907         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25908         (reused_arena, arena_get2): Convert to GNU style.
25909         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25910         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25911         (memalign_check, __malloc_set_state): Likewise.
25912         * malloc/mallocbug.c (main): Likewise.
25913         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25914         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25915         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25916         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25917         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25918         (__posix_memalign, malloc_info): Likewise.
25919         * malloc/malloc.h: Likewise.
25920         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25921         (mallochook, memalignhook, reallochook, mabort): Likewise.
25922         * malloc/mcheck.h: Likewise.
25923         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25924         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25925         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25926         * malloc/morecore.c (__default_morecore): Likewise.
25927         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25928         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25929         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25930         (print_and_abort): Likewise.
25931         * malloc/obstack.h: Likewise.
25932         * malloc/set-freeres.c (__libc_freeres): Likewise.
25933         * malloc/tst-mallocstate.c (main): Likewise.
25934         * malloc/tst-mtrace.c (main): Likewise.
25935         * malloc/tst-realloc.c (do_test): Likewise.
25937 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25939         [BZ #16366]
25940         * nscd/netgroupcache.c (do_notfound): New function.
25941         (addgetnetgrentX): Use it.
25943         [BZ # 16365]
25944         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25945         NSS_STATUS_NOTFOUND.
25947 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25949         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25952 2014-01-01  Allan McRae  <allan@archlinux.org>
25954         * scripts/update-copyrights: Update configure input file suffix.
25956         * NEWS: Update copyright year.
25957         * catgets/gencat.c: Likewise.
25958         * csu/version.c: Likewise.
25959         * debug/catchsegv.sh: Likewise.
25960         * debug/pcprofiledump.c: Likewise.
25961         * debug/xtrace.sh: Likewise.
25962         * elf/ldconfig.c: Likewise.
25963         * elf/ldd.bash.in: Likewise.
25964         * elf/pldd.c: Likewise.
25965         * elf/sotruss.ksh: Likewise.
25966         * elf/sprof.c: Likewise.
25967         * iconv/iconv_prog.c: Likewise.
25968         * iconv/iconvconfig.c: Likewise.
25969         * locale/programs/locale.c: Likewise.
25970         * locale/programs/localedef.c: Likewise.
25971         * login/programs/pt_chown.c: Likewise.
25972         * malloc/memusage.sh: Likewise.
25973         * malloc/memusagestat.c: Likewise.
25974         * malloc/mtrace.pl: Likewise.
25975         * manual/libc.texinfo: Likewise.
25976         * nscd/nscd.c: Likewise.
25977         * nss/getent.c: Likewise.
25978         * nss/makedb.c: Likewise.
25979         * posix/getconf.c: Likewise.
25980         * scripts/test-installation.pl: Likewise.
25982         * All files with FSF copyright notices: Update copyright dates
25983         using scripts/update-copyrights.
25984         * intl/plural.c: Regenerated.
25985         * locale/programs/charmap-kw.h: Likewise.
25986         * locale/programs/locfile-kw.h: Likewise.
25988 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25990         * sysdeps/unix/sysv/linux/configure: Regenerated.
25991         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25992         the linux/fanotify.h header.
25993         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25994         HAVE_LINUX_FANOTIFY_H is defined.
25996 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25998         * benchtests/cos-inputs: New inputs.
25999         * benchtests/sin-inputs: Likewise.
26001         * benchtests/atan-inputs: New inputs. Fix name of multiple
26002         precision fallback inputs.
26004         * benchtests/atanh-inputs: New inputs.
26005         * benchtests/tanh-inputs: Likewise.
26007         * benchtests/acosh-inputs: New inputs.
26008         * benchtests/asinh-inputs: Likewise.
26010         * benchtests/cosh-inputs: New inputs.
26011         * benchtests/sinh-inputs: Likewise.
26013         * benchtests/acos-inputs: Add more inputs.
26014         * benchtests/asin-inputs: Likewise.
26016 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26018         [BZ #16375]
26019         * manual/arith.texi: Fix spelling.
26020         * manual/charset.texi: Likewise.
26021         * manual/errno.texi: Likewise.
26022         * manual/filesys.texi: Likewise.
26023         * manual/lang.texi: Likewise.
26024         * manual/llio.texi: Likewise.
26025         * manual/locale.texi: Likewise.
26026         * manual/message.texi: Likewise.
26027         * manual/resource.texi: Likewise.
26028         * manual/search.texi: Likewise.
26029         * manual/setjmp.texi: Likewise.
26030         * manual/stdio.texi: Likewise.
26031         * manual/string.texi: Likewise.
26032         * manual/sysinfo.texi: Likewise.
26033         * manual/time.texi: Likewise.
26035 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26037         * po/sl.po: New file.
26039 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26041         * .gitignore: Add core/.gdbinit/.gdb_history.
26043 2013-12-27  Allan McRae  <allan@archlinux.org>
26045         [BZ #16369]
26046         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26047         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26049 2013-12-24  Brooks Moses  <bmoses@google.com>
26051         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26052         all compilers that claim C++98 compliance, not just GCC.
26053         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26054         Likewise.
26056 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26058         * NEWS: Restore accidentally deleted bug-fix entries.
26060 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26061             Ondřej Bílka  <neleai@seznam.cz>
26063         [BZ #15073]
26064         * malloc/malloc.c (_int_free): Perform sanity check only if we
26065         have_lock.
26067 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26069         [BZ #12986]
26070         * manual/stdio.texi (String Input Conversions): Clarify that character
26071         classes are not supported.
26073 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26077 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26079         [BZ #16337]
26080         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26081         Calculate results for small negative arguments directly rather
26082         than using reflection formula with special underflow handling.
26084         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26085         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26086         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26087         (fchflags): Likewise.
26088         (revoke): Likewise.
26089         (setlogin): Likewise.
26090         (sigaltstack): Likewise.
26091         (wait4): Likewise.
26092         (sigblock): Remove.
26093         (sigsetmask): Likewise.
26094         (wait3): Likewise.
26095         (waitpid): Likewise.
26096         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26097         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26098         file.
26099         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26100         * sysdeps/unix/bsd/Makefile: ... here.
26101         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26102         * sysdeps/unix/bsd/Versions: ... here.
26103         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26104         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26105         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26106         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26107         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26108         * sysdeps/unix/bsd/sigblock.c: ... here.
26109         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26110         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26111         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26112         * sysdeps/unix/bsd/sigvec.c: ... here.
26113         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26114         * sysdeps/unix/bsd/tcdrain.c: ... here.
26115         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26116         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26117         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26118         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26119         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26120         * sysdeps/unix/bsd/wait.c: ... here.
26121         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26122         * sysdeps/unix/bsd/wait3.c: ... here.
26123         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26124         * sysdeps/unix/bsd/waitpid.c: ... here.
26126 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26128         [BZ #16356]
26129         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26130         round-to-nearest for [!USE_AS_EXPM1L].
26131         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26132         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26133         more tests of exp and exp10.  Expect some exp10 tests to miss
26134         exceptions or fail in directed rounding modes.
26135         * math/auto-libm-test-out: Regenerated.
26136         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26137         (exp10_test_tonearest): New function.
26138         (exp10_towardzero_test_data): New array.
26139         (exp10_test_towardzero): New function.
26140         (exp10_downward_test_data): New array.
26141         (exp10_test_downward): New function.
26142         (exp10_upward_test_data): New array.
26143         (exp10_test_upward): New function.
26144         (main): Call the new functions.
26145         * sysdeps/i386/fpu/libm-test-ulps: Update.
26146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26148 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26150         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26151         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26152         * math/auto-libm-test-out: Regenerated.
26153         * math/libm-test.inc (acosh_test_data): Add more tests.
26154         (atanh_test_data): Likewise.
26155         (ceil_test_data): Likewise.
26156         (copysign_test_data): Likewise.
26157         * sysdeps/i386/fpu/libm-test-ulps: Update.
26158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26160         * timezone/checktab.awk: Update from tzcode 2013i.
26161         * timezone/private.h: Likewise.
26162         * timezone/scheck.c: Likewise.
26163         * timezone/tzfile.h: Likewise.
26164         * timezone/tzselect.ksh: Likewise.
26165         * timezone/zdump.c: Likewise.
26166         * timezone/zic.c: Likewise.
26168         * math/auto-libm-test-in: Add tests of cpow.
26169         * math/auto-libm-test-out: Regenerated.
26170         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26171         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26172         mpc_cc_c.
26173         (func_calc_desc): Add mpc_cc_c union field.
26174         (test_functions): Add cpow.
26175         (special_fill_2pi): New function.
26176         (special_real_inputs): Add 2pi.
26177         (calc_generic_results): Handle mpc_cc_c.
26178         * sysdeps/i386/fpu/libm-test-ulps: Update.
26179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26181         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26182         csqrt, ctan and ctanh.
26183         * math/auto-libm-test-out: Regenerated.
26184         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26185         (TEST_COND_x86): Likewise.
26186         (ccos_test_data): Use AUTO_TESTS_c_c.
26187         (ccosh_test_data): Likewise.
26188         (cexp_test_data): Likewise.
26189         (clog_test_data): Likewise.
26190         (csqrt_test_data): Likewise.
26191         (ctan_test_data): Likewise.
26192         (ctan_tonearest_test_data): Likewise.
26193         (ctan_towardzero_test_data): Likewise.
26194         (ctan_downward_test_data): Likewise.
26195         (ctan_upward_test_data): Likewise.
26196         (ctanh_test_data): Likewise.
26197         (ctanh_tonearest_test_data): Likewise.
26198         (ctanh_towardzero_test_data): Likewise.
26199         (ctanh_downward_test_data): Likewise.
26200         (ctanh_upward_test_data): Likewise.
26201         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26202         mpc_c_c.
26203         (func_calc_desc): Add mpc_c_c union field.
26204         (FUNC_mpc_c_c): New macro.
26205         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26206         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26207         ctanh.
26208         (special_fill_min_subnorm_p120): New function.
26209         (special_real_inputs): Add min_subnorm_p120.
26210         (calc_generic_results): Handle mpc_c_c.
26211         * sysdeps/i386/fpu/libm-test-ulps: Update.
26212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26214 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26216         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26217         (do_sin_slow): New functions.
26218         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26219         (cslow2, csloww1, csloww2): Use the new functions.
26221         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26222         Use M to change sign of result instead of X.  Assume X is
26223         positive.
26224         (csloww1): Likewise.
26225         (__sin): Adjust.
26226         (__cos): Adjust.
26228         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26229         arguments A and DA.
26230         (__sin): Adjust.
26231         (__cos): Likewise.
26233         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26234         (__cos): Likewise.
26235         (sloww1): Don't adjust sign of DX.
26236         (csloww1): Likewise.
26237         (sloww2): Use X directly and don't adjust sign of DX.
26238         (csloww2): Likewise.
26240 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26242         * math/auto-libm-test-in: Add tests of cabs and carg.
26243         * math/auto-libm-test-out: Regenerated.
26244         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26245         (carg_test_data): Likewise.
26246         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26247         mpc_c_f.
26248         (func_calc_desc): Add mpc_c_f union field.
26249         (test_functions): Add cabs and carg.
26250         (calc_generic_results): Handle mpc_c_f.
26252         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26253         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26254         as a macro and a compat symbol.
26255         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26256         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26257         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26258         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26259         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26260         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26261         not use .hidden.
26262         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26263         Likewise.
26264         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26265         Likewise.
26266         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26267         Likewise.
26268         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26269         Likewise.
26270         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26271         Likewise.
26272         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26273         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26274         from GLIBC_2.3.2.
26276 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26280 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26282         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26283         trailing whitespace removed.
26284         * scripts/config.guess: Update to version 2013-11-29.
26285         * scripts/config.sub: Update to version 2013-10-01.
26287         * math/auto-libm-test-in: Add tests of sincos.
26288         * math/auto-libm-test-out: Regenerated.
26289         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26290         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26291         mpfr_f_11.
26292         (func_calc_desc): Add mpfr_f_11 union field.
26293         (test_functions): Add sincos.
26294         (calc_generic_results): Handle mpfr_f_11.
26295         * sysdeps/i386/fpu/libm-test-ulps: Update.
26296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26298 2013-12-19  Andreas Schwab  <schwab@suse.de>
26300         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26301         CALL_MCOUNT.
26302         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26303         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26304         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26306 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26308         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26309         * sysdeps/i386/fpu/libm-test-ulps: Update.
26310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26312         [BZ #16293]
26313         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26314         round-to-nearest mode when using frndint.
26315         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26316         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26317         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26318         Likewise.
26319         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26320         sinh test to fail.
26321         * math/auto-libm-test-out: Regenerated.
26322         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26323         (TEST_COND_x86): Likewise.
26324         (expm1_tonearest_test_data): New array.
26325         (expm1_test_tonearest): New function.
26326         (expm1_towardzero_test_data): New array.
26327         (expm1_test_towardzero): New function.
26328         (expm1_downward_test_data): New array.
26329         (expm1_test_downward): New function.
26330         (expm1_upward_test_data): New array.
26331         (expm1_test_upward): New function.
26332         (main): Run the new test functions.
26333         * sysdeps/i386/fpu/libm-test-ulps: Update.
26334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26336         * include/features.h: Update comment documenting feature test
26337         macros.  Mention _DEFAULT_SOURCE in comment.
26338         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26339         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26340         _BSD_SOURCE and _SVID_SOURCE.
26341         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26342         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26343         !_SVID_SOURCE]: Likewise.
26344         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26345         (__USE_POSIX_IMPLICITLY): Define.
26346         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26347         (_POSIX_SOURCE): Undefine and redefine.
26348         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26349         (_POSIX_C_SOURCE): Likewise.
26350         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26351         (Feature Test Macros): Update documentation of default features.
26353 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26355         * benchtests/Makefile: Add bench-strtok.
26356         * benchtests/bench-strtok.c: New file: strtok benchtest.
26358 2013-12-19  Allan McRae  <allan@archlinux.org>
26360         * manual/install.texi: Suppress menu for plain text output.
26361         * INSTALL: Regenerated.
26363 2013-12-18  Brooks Moses  <bmoses@google.com>
26365         [BZ #15846]
26366         * misc/getauxval.c: Include errno.h.
26367         (__getauxval): Set errno to ENOENT if the requested type is not
26368         found.
26369         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26370         don't declare with __attribute_const__.
26371         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26372         * manual/startup.texi: Document that getauxval sets errno.
26374 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26376         * math/auto-libm-test-in: Add tests of jn and yn.
26377         * math/auto-libm-test-out: Regenerated.
26378         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26379         (yn_test_data): Likewise.
26380         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26381         mpfr_if_f.
26382         (func_calc_desc): Add mpfr_if_f union field.
26383         (FUNC_mpfr_if_f): New macro.
26384         (test_functions): Add jn and yn.
26385         (calc_generic_results): Assert type of second input for
26386         mpfr_ff_f.  Handle mpfr_if_f.
26387         (output_for_one_input_case): Disable all checking for arguments
26388         fitting floating-point types in case of an integer argument.
26389         * sysdeps/i386/fpu/libm-test-ulps: Update.
26390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26393         Don't expect fegetround reference in libm.so.
26395 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26397         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26398         $(config-cflags-nofma).
26400 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26402         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26403         * math/auto-libm-test-out: Regenerated.
26405         [BZ #16338]
26406         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26407         to determine exponent and adjust argument to have exponent of -1.
26408         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26409         log2.
26410         * math/auto-libm-test-out: Regenerated.
26411         * sysdeps/i386/fpu/libm-test-ulps: Update.
26412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26414 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26416         * manual/probes.texi: Remove cases when per-thread arenas are
26417         disabled.
26419 2013-12-18  Andreas Schwab  <schwab@suse.de>
26421         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26422         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26423         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26424         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26425         * sysdeps/i386/i686/multiarch/Makefile: Update.
26426         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26428 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26430         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26431         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26433 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26435         [BZ #15968]
26436         Support TZ transition times < 00:00:00.
26437         This is needed for version-3 tz-format files; it supports time
26438         stamps past 2037 for America/Godthab (the only entry in the tz
26439         database for which this change is relevant).
26440         * manual/time.texi (TZ Variable): Document transition times
26441         from -167:59:59 through -00:00:01.
26442         * time/tzset.c (tz_rule): Time of day is now signed.
26443         (__tzset_parse_tz): Parse negative time of day.
26445         Document TZ transition times >= 25:00:00.
26446         * manual/time.texi (TZ Variable): Document transition times from
26447         25:00:00 through 167:59:59.  These are already supported, and this
26448         support will help with version-3 tz-format files.
26450         * manual/time.texi (TZ Variable): Modernize North America example
26451         to reflect current (i.e., 2007-and-later) daylight saving rules.
26453         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26455 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26457         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26458         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26459         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26460         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26461         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26462         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26463         * sysdeps/unix/bsd/clock.c: Likewise.
26464         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26465         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26466         * sysdeps/unix/bsd/init-posix.c: Likewise.
26467         * sysdeps/unix/bsd/poll.c: Likewise.
26468         * sysdeps/unix/bsd/ptsname.c: Likewise.
26469         * sysdeps/unix/bsd/seekdir.c: Likewise.
26470         * sysdeps/unix/bsd/setegid.c: Likewise.
26471         * sysdeps/unix/bsd/seteuid.c: Likewise.
26472         * sysdeps/unix/bsd/setgid.c: Likewise.
26473         * sysdeps/unix/bsd/setrgid.c: Likewise.
26474         * sysdeps/unix/bsd/setruid.c: Likewise.
26475         * sysdeps/unix/bsd/setsid.c: Likewise.
26476         * sysdeps/unix/bsd/setuid.c: Likewise.
26477         * sysdeps/unix/bsd/sigaction.c: Likewise.
26478         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26479         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26480         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26481         * sysdeps/unix/bsd/telldir.c: Likewise.
26482         * sysdeps/unix/bsd/times.c: Likewise.
26483         * sysdeps/unix/bsd/usleep.c: Likewise.
26485         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26486         ($(objpfx)libbsd-compat.a): Remove rule.
26488         * include/features.h (__FAVOR_BSD): Do not define.
26489         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26490         features conflicting with POSIX.
26491         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26492         (_BSD_SOURCE): Remove description of not being a subset of other
26493         feature test macros.
26494         * manual/job.texi (getpgrp): Do not document BSD version.
26495         (getpgid): Do not document by reference to BSD getpgrp.
26496         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26497         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26498         * signal/signal.h [__FAVOR_BSD]: Likewise.
26499         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26500         instead of making contents conditional on [__FAVOR_BSD].
26501         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26503 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26507 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26509         [BZ #16314]
26510         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26511         values below 2**-450, not 2**-500.
26512         * math/auto-libm-test-in: Don't allow spurious underflow from
26513         hypot.
26514         * math/auto-libm-test-out: Regenerated.
26516         [BZ #16316]
26517         [BZ #16330]
26518         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26519         values of ha and hb and sort them after adjusting subnormal
26520         arguments.
26521         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26522         Likewise.
26523         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26524         values of ea and eb and sort them after adjusting subnormal
26525         arguments.
26526         * math/auto-libm-test-in: Do not expect some hypot tests of
26527         subnormals to fail.  Add more hypot tests.
26528         * math/auto-libm-test-out: Regenerated.
26530 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26532         [BZ #13304]
26533         * sysdeps/sh/s_fma.c: New file.
26534         * sysdeps/sh/s_fmaf.c: New file.
26535         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26536         version.
26537         * sysdeps/sh/Implies: Add sh/soft-fp.
26539 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26541         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26542         level of indirection to members `objname', `errstring', `malloced'.
26543         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26544         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26545         it as the __longjmp argument (just pass 1 instead).
26546         (_dl_catch_error): Initialize C with argument pointers and address of
26547         volatile local ERRCODE rather than copying values out of C at return.
26549 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26551         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26552         * math/auto-libm-test-out: Regenerated.
26553         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26554         (hypot_test_data): Likewise.
26555         (pow_test_data): Likewise.
26556         (pow_tonearest_test_data): Likewise.
26557         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26558         mpfr_ff_f.
26559         (func_calc_desc): Add mpfr_ff_f union field.
26560         (FUNC_mpfr_ff_f): New macro.
26561         (test_functions): Add atan2, hypot and pow.
26562         (special_fill_min): New function.
26563         (special_fill_minus_min): Likewise.
26564         (special_fill_min_subnorm): Likewise.
26565         (special_fill_minus_min_subnorm): Likewise.
26566         (special_real_inputs): Add min, -min, min_subnorm and
26567         -min_subnorm.
26568         (calc_generic_results): Handle mpfr_ff_f.
26569         * sysdeps/i386/fpu/libm-test-ulps: Update.
26570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26572 2013-12-16  Will Newton  <will.newton@linaro.org>
26574         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26575         (Aligned Memory Blocks): Add documentation for aligned_alloc
26576         and suggest it as an alternative to posix_memalign.
26577         (Hooks for Malloc): Document __memalign_hook is also called
26578         for aligned_alloc.  (Summary of Malloc): Add summary for
26579         aligned alloc.  Document __memalign_hook is also called
26580         for aligned_alloc.
26582 2013-12-16  Will Newton  <will.newton@linaro.org>
26584         * manual/memory.texi (Malloc Examples): Clarify default
26585         alignment documentation.  Suggest posix_memalign rather
26586         than memalign or valloc.
26587         (Aligned Memory Blocks): Remove suggestion to use memalign
26588         or valloc.  Remove obsolete comment about BSD.
26589         Document memalign errno values and mark the function obsolete.
26590         Document posix_memalign returned error codes.  Mark valloc
26591         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26592         called for posix_memalign and valloc.
26593         (Summary of Malloc): Add posix_memalign to function summary.
26594         __memalign_hook is also called for posix_memalign and valloc.
26596 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26598         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26599         TAYLOR_SIN.
26600         (__sin): Adjust.
26601         (__cos): Likewise.
26602         (sloww): Use mynumber union.  Expand ternary operator into
26603         if-else statements.
26604         (cslow): use mynumber union.
26606 2013-12-16  Allan McRae  <allan@archlinux.org>
26608         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26609         * configure: Regenerated.
26611         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26613         [BZ #14120]
26614         * configure.ac: Added --enable-maintainer-mode. Check for
26615         autoconf when enabled.
26616         * configure: Regenerated.
26618         * nscd/nscd.service: New file.
26619         * nscd/nscd.tmpfiles: New file.
26621 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26623         [BZ #12100]
26624         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26625         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26626         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26627         (strstr): Add __strstr_sse2_unaligned ifunc.
26628         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26629         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26630         (strcasestr): Remove __strcasestr_sse42 ifunc.
26631         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26632         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26635 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26637         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26638         * sysdeps/sh/bits/fenv.h: ... here.
26639         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26641 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26643         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26645         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26646         hypotf multiarch implementations.
26647         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26648         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26649         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26650         multiarch hypot for PPC64.
26651         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26652         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26653         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26654         multiarch hypotf for PPC64.
26656         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26657         modff multiarch implementations.
26658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26661         multiarch modf for PPC64.
26662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26665         multiarch modff for PPC64.
26667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26668         and logl multiarch implementations.
26669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26672         multiarch logb for PPC64.
26673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26676         multiarch logb for PPC64.
26677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26680         multiarch logb for PPC64.
26682         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26683         isinff multiarch implementation.
26684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26685         file.
26686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26688         multiarch isinf for PPC64.
26689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26690         file.
26691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26692         multiarch isinff for PPC64.
26694         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26695         finitef multiarch implementation.
26696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26697         file.
26698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26700         multiarch finite for PPC64.
26701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26702         file.
26703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26704         multiarch finitef for PPC64.
26706         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26707         lrint multiarch implementation.
26708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26709         file.
26710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26712         multiarch llrint for PPC64.
26713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26714         multiarch lrint for PPC64.
26716         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26717         copysignf multiarch implementation.
26718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26719         file.
26720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26721         file.
26722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26723         multiarch copysign for PPC64.
26724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26725         multiarch copysignf for PPC64.
26727         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26728         multiarch implementation.
26729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26730         file.
26731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26732         file.
26733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26734         file.
26735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26736         file.
26737         multiarch llround for PPC64.
26738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26739         multiarch trunc for PPC64.
26740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26741         multiarch truncf for PPC64.
26743         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26744         multiarch implementation.
26745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26746         file.
26747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26748         file.
26749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26750         file.
26751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26752         file.
26753         multiarch llround for PPC64.
26754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26755         multiarch round for PPC64.
26756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26757         multiarch roundf for PPC64.
26759         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26760         multiarch implementation.
26761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26762         file.
26763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26764         file.
26765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26766         file.
26767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26768         file.
26769         multiarch llround for PPC64.
26770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26771         multiarch floor for PPC64.
26772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26773         multiarch floorf for PPC64.
26775         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26776         multiarch implementation.
26777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26778         file.
26779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26780         file.
26781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26782         file.
26783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26784         file.
26785         multiarch llround for PPC64.
26786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26787         multiarch ceil for PPC64.
26788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26789         multiarch ceilf for PPC64.
26791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26792         multiarch implementation.
26793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26794         file.
26795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26796         file.
26797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26798         file.
26799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26800         multiarch llround for PPC64.
26801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26802         multiarch lround for PPC64.
26804         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26805         multiarch implementation.
26806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26809         file.
26810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26813         multiarch isnan for PPC64.
26814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26815         multiarch isnanf for PPC64.
26817         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26818         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26819         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26820         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26821         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26824         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26825         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26826         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26827         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26830         multiarch implementations.
26831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26832         (__libc_ifunc_impl_list): Likewise.
26833         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26834         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26835         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26836         multiarch stpcpy for PPC64.
26838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26839         multiarch implementations.
26840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26841         (__libc_ifunc_impl_list): Likewise.
26842         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26843         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26844         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26845         multiarch strcpy for PPC64.
26847         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26848         redefine function name.
26849         (_wordcopy_fwd_dest_aligned): Likewise.
26850         (_wordcopy_bwd_aligned): Likewise.
26851         (_wordcopy_bwd_dest_aligned): Likewise.
26852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26853         multiarch implementations.
26854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26855         (__libc_ifunc_impl_list): Likewise.
26856         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26857         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26858         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26859         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26860         multiarch wcscpy for PPC64.
26862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26863         multiarch implementations.
26864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26865         (__libc_ifunc_impl_list): Likewise.
26866         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26867         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26868         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26869         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26870         multiarch wcscpy for PPC64.
26872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26873         multiarch implementations.
26874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26875         (__libc_ifunc_impl_list): Likewise.
26876         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26877         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26878         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26879         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26880         multiarch wcsrchr for PPC64.
26882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26883         multiarch implementations.
26884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26885         (__libc_ifunc_impl_list): Likewise.
26886         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26887         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26888         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26889         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26890         multiarch wcschr for PPC64.
26892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26893         multiarch implementations.
26894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26895         (__libc_ifunc_impl_list): Likewise.
26896         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26897         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26898         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26899         multiarch strchrnul for PPC64.
26901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26902         implementations.
26903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26904         (__libc_ifunc_impl_list): Likewise.
26905         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26906         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26907         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26908         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26909         strchr for PPC64.
26911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26912         implementations.
26913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26914         (__libc_ifunc_impl_list): Likewise.
26915         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26916         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26917         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26918         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26919         strncmp for PPC64.
26921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26922         multiarch implementations.
26923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26924         (__libc_ifunc_impl_list): Likewise.
26925         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26926         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26927         strncasecmp for PPC64.
26928         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26929         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26930         multiarch strncasecmp_l for PPC64.
26932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26933         multiarch implementations.
26934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26935         (__libc_ifunc_impl_list): Likewise.
26936         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26937         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26938         multiarch strcasecmp for PPC64.
26939         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26940         file.
26941         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26942         multiarch strcasecmp_l for PPC64.
26944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26945         implementations.
26946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26947         (__libc_ifunc_impl_list): Likewise.
26948         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26949         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26950         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26951         strnlen for PPC64.
26953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26954         implementations.
26955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26956         (__libc_ifunc_impl_list): Likewise.
26957         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26958         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26959         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26960         strlen for PPC64.
26962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26963         implementations.
26964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26965         (__libc_ifunc_impl_list): Likewise.
26966         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26967         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26968         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26969         rawmemrchr for PPC64.
26971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26972         implementation.
26973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26974         (__libc_ifunc_impl_list): Likewise.
26975         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26976         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26977         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26978         memrchr for PPC64.
26980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26981         implementation.
26982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26983         (__libc_ifunc_impl_list): Likewise.
26984         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26985         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26986         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26987         memchr for PPC64.
26989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26990         implementation.
26991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26992         (__libc_ifunc_impl_list): Likewise.
26993         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26994         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26995         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26996         mempcpy for PPC64.
26998         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26999         avoid cretion of __bzero symbol.
27000         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27001         Likewise.
27002         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27003         Likewise.
27004         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27005         Likewise.
27006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27007         multiarch implementations.
27008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27009         (__libc_ifunc_impl_list): Likewise.
27010         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27011         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27012         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27013         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27014         bzero for PPC32.
27015         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27016         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27017         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27018         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27019         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27020         memset for PPC64.
27021         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27023         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27025         implementations.
27026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27027         (__libc_ifunc_impl_list): Likewise.
27028         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27029         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27030         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27031         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27032         memcmp for PPC64.
27034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27035         multiarch for POWER/PPC64.
27036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27037         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27038         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27039         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27040         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27041         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27042         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27043         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27044         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27045         memcpy for PPC64.
27047         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27048         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27049         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27050         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27051         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27052         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27053         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27054         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27055         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27056         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27057         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27058         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27059         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27060         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27061         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27070 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27072         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27074 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27076         * benchtests/Makefile (bench): Add exp2 and log2.
27077         (LDLIBS-bench-exp2): Add -lm.
27078         (LDLIBS-bench-log2): Likewise.
27079         * benchtests/exp2-inputs: New inputs file.
27080         * benchtests/log2-inputs: New inputs file.
27081         * benchtests/log-inputs: Add new inputs.
27082         * benchtests/tan-inputs: Likewise.
27084 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27086         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27087         definition...
27088         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27089         (csloww2): ... from here.
27091         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27092         instead of structures.
27093         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27094         (POLYNOMIAL): Likewise.
27095         (TAYLOR_SLOW): Likewise.
27096         (__sin): Likewise.
27097         (__cos): Likewise.
27098         (slow1): Likewise.
27099         (slow2): Likewise.
27100         (sloww): Likewise.
27101         (sloww1); Likewise.
27102         (sloww2): Likewise.
27103         (bsloww1): Likewise.
27104         (bsloww2): Likewise.
27105         (cslow2): Likewise.
27106         (csloww): Likewise.
27107         (csloww1): Likewise.
27108         (csloww2): Likewise.
27110 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27112         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27113         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27114         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27115         * malloc/hooks.c (realloc_check): Likewise.
27117         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27118         * malloc/arena.c: Remove PER_THREAD conditional.
27119         [!PER_THREAD]: Remove code.
27120         (ptmalloc_unlock_all2): Likewise.
27121         (ptmalloc_init): Likewise.
27122         (_int_new_arena): Likewise.
27123         (arena_get2): Likewise.
27124         * malloc/hooks.c (__malloc_get_state): Likewise.
27125         (__malloc_set_state): Likewise.
27126         * malloc/malloc.c: Likewise.
27127         (struct malloc_state): Likewise.
27128         (struct malloc_par): Likewise.
27129         (__libc_realloc): Likewise.
27130         (__libc_mallopt): Likewise.
27132 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27134         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27136 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27138         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27139         macro to a function.  Check for zero perturb_byte.
27140         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27142         * malloc/malloc.c: (force_reg): Remove.
27143         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27144         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27145         force_reg by atomic_forced_read.
27146         * malloc/arena.c (ptmalloc_init): Likewise.
27147         * malloc/hooks.c (top_check): Likewise.
27149 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27153 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27155         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27157 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27159         * math/auto-libm-test-in: Add tests of lgamma.
27160         * math/auto-libm-test-out: Regenerated.
27161         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27162         (M_LOG_2_SQRT_PIl): Likewise.
27163         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27164         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27165         mpfr_f_f1.
27166         (func_calc_desc): Add mpfr_f_f1 union field.
27167         (ARGS1): New macro.
27168         (ARGS2): Likewise.
27169         (ARGS3): Likewise.
27170         (ARGS4): Likewise.
27171         (RET1): Likewise.
27172         (RET2): Likewise.
27173         (CALC): Likewise.
27174         (FUNC): Likewise.
27175         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27176         (test_functions): Add lgamma.
27177         (calc_generic_results): Handle mpfr_f_f1.
27178         * sysdeps/i386/fpu/libm-test-ulps: Update.
27179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27181 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27183         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27184         __mpn_add_n for PowerPC64/POWER7.
27185         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27186         __mpn_sub_n for PowerPC64/POWER7.
27188         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27189         __mpn_addmul_1 for PowerPC64.
27190         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27191         __mpn_submul_1 for PowerPC64.
27192         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27193         for PowerPC64.
27194         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27195         for PowerPC64.
27197 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27199         [BZ #15089]
27200         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27202 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27204         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27206         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27207         add multiarch folders.
27208         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27209         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27210         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27211         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27212         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27213         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27214         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27215         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27216         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27217         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27218         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27227         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27229         New file.
27230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27231         New file.
27232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27233         multiarch __ieee754_hypot for PowerPC32.
27234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27235         New file.
27236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27237         New file.
27238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27239         multiarch __ieee754_hypotf for PowerPC32.
27241         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27242         long_double_symbol only if __logbl is defined.
27243         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27244         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27245         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27246         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27247         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27248         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27249         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27250         path for implementation.
27251         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27252         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27254         logb, and logbl multiarch implementations for PowerPC32.
27255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27256         file.
27257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27258         file.
27259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27260         multiarch logb for PowerPC32.
27261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27262         file.
27263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27264         file.
27265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27266         multiarch logbf for PowerPC32.
27267         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27269         file.
27270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27271         multiarch logbl implementation for PowerPC32.
27273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27274         and modff multiarch implementations.
27275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27276         New file.
27277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27278         New file.
27279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27280         multiarch modf for PowerPC32.
27281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27282         New file.
27283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27284         New file.
27285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27286         multiarch modff for PowerPC32.
27288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27289         and lrintf multiarch implementations.
27290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27291         New file.
27292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27293         New file.
27294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27295         multiarch lrint for PowerPC32.
27296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27297         file: multiarch lrintf for PowerPC32.
27299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27300         and lroundf multiarch implementations.
27301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27302         New file.
27303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27304         New file.
27305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27306         New file.
27307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27308         multiarch lround for PowerPC32.
27309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27310         file: multiarch lroundf for PowerPC32.
27312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27313         copysign and copysignf multiarch implementations.
27314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27315         New file.
27316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27317         New file.
27318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27319         file: multiarch copysign for PowerPC32.
27320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27321         file: multiarch copysignf for PowerPC32.
27323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27324         and truncf multiarch implementations.
27325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27326         New file.
27327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27328         file.
27329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27330         multiarch trunc for PowerPC32.
27331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27332         New file.
27333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27334         New file.
27335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27336         multiarch truncf for PowerPC32.
27338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27339         and roundf multiarch implementations.
27340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27341         New file.
27342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27343         file.
27344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27345         multiarch round for PowerPC32.
27346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27347         New file.
27348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27349         New file.
27350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27351         multiarch roundf for PowerPC32.
27353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27354         and floorf multiarch implementations.
27355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27356         New file.
27357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27358         file.
27359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27360         multiarch floor for PowerPC32.
27361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27362         New file.
27363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27364         New file.
27365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27366         multiarch floorf for PowerPC32.
27368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27369         and ceilf multiarch implementations.
27370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27371         New file.
27372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27373         file.
27374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27375         multiarch ceil for PowerPC32.
27376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27377         New file.
27378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27379         file.
27380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27381         multiarch ceilf for PowerPC32.
27383         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27384         is defined.
27385         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27386         FINITEF is defined.
27387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27388         and finitef multiarch implementations.
27389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27390         New file.
27391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27392         file.
27393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27394         multiarch finite for PowerPC32.
27395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27396         New file.
27397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27398         file: multiarch finitef for PowerPC32.
27400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27401         and isinff multiarch implementations.
27402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27403         file.
27404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27405         file.
27406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27407         multiarch isinf for PowerPC32.
27408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27409         New file.
27410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27411         multiarch isinff for PowerPC32.
27413         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27414         alias when __isnan is defined.
27415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27416         and isnanf multiarch implementations.
27417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27418         file.
27419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27420         file.
27421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27422         file.
27423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27424         file.
27425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27426         multiarch isnan for PowerPC32.
27427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27428         New file.
27429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27430         New file.
27431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27432         multiarch isnanf for PowerPC32.
27434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27435         and sqrtf multiarch implementations.
27436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27437         file.
27438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27439         file.
27440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27441         multiarch sqrt for PowerPC32.
27442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27443         file.
27444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27445         file.
27446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27447         multiarch sqrtf for PowerPC32.
27449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27450         and llroundf multiarch implementations.
27451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27452         New file.
27453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27454         New file.
27455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27456         New file.
27457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27458         file: multiarch llround for PowerPC32.
27459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27460         file: multiarch llroundf for PowerPC32.
27462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27463         multiarch PowerPC32 fpu implementations.
27464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27465         New file.
27466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27467         New file.
27468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27469         multiarch llrint for PowerPC32.
27470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27471         New file.
27472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27473         New file.
27474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27475         file.
27477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27479         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27480         file.
27481         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27482         file.
27483         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27484         file.
27485         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27486         multiarch wordcopy for PPC32.
27487         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27488         wordcopy objects.
27489         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27490         (__libc_ifunc_impl_list): Likewise.
27491         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27492         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27493         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27494         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27495         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27496         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27498         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27499         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27500         file.
27501         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27502         file.
27503         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27504         file.
27505         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27506         multiarch wcscpy for PPC32.
27507         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27508         multiarch objects.
27509         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27510         (__libc_ifunc_impl_list): Likewise.
27511         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27512         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27513         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27514         sysdeps/powerpc/power6/wcscpy.c.
27516         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27517         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27518         file.
27519         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27520         file.
27521         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27522         file.
27523         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27524         multiarch wcsrchr for PPC32.
27525         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27526         multiarch objects.
27527         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27528         (__libc_ifunc_impl_list): Likewise.
27529         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27530         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27531         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27532         sysdeps/powerpc/power6/wcsrchr.c.
27534         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27535         file.
27536         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27537         file.
27538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27539         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27540         multiarch wcschr for PPc32.
27541         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27542         multiarch objects.
27543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27544         (__libc_ifunc_impl_list): Likewise.
27545         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27546         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27547         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27548         sysdeps/powerpc/power6/wcschr.c.
27550         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27551         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27552         file.
27553         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27554         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27555         file: multiarch strchr for PPC32.
27556         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27557         multiarch objects.
27558         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27559         (__libc_ifunc_impl_list): Likewise.
27561         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27562         name.
27563         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27564         file.
27565         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27566         file.
27567         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27568         multiarch strchrnul for PPC32.
27569         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27570         multiarch objects.
27571         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27572         (__libc_ifunc_impl_list): Likewise.
27574         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27575         file.
27576         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27577         multiarch strncasecmp for PPC32.
27578         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27579         file.
27580         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27581         multiarch strncasecmp_l for PPC32.
27582         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27583         strncasecmp multiarch objects.
27584         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27585         (__libc_ifunc_impl_list): Likewise.
27587         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27588         file.
27589         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27590         multiarch strncasecmp for PPC32.
27591         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27592         New file.
27593         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27594         multiarch strcasecmp_l for PPC32.
27595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27596         multiarch objects.
27597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27598         (__libc_ifunc_impl_list): Likewise.
27600         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27601         file.
27602         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27603         file.
27604         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27605         multiarch strncmp for PPC32.
27606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27607         multiarch objects.
27608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27609         (__libc_ifunc_impl_list): Likewise.
27611         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27612         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27613         file.
27614         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27615         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27616         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27617         multiarch objects.
27618         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27619         (__libc_ifunc_impl_list): Likewise.
27621         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27622         file.
27623         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27624         file.
27625         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27626         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27627         multiarch objects.
27628         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27629         (__libc_ifunc_impl_list): Likewise.
27631         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27632         file.
27633         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27634         file.
27635         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27636         multiarch rawmemchr for PPC32.
27637         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27638         multiarch objects.
27639         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27640         (__libc_ifunc_impl_list): Likewise.
27642         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27643         file.
27644         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27645         file.
27646         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27647         file: memrchr multiarch for PPC32.
27648         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27649         multiarch objects.
27650         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27651         (__libc_ifunc_impl_list): Likewise.
27653         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27654         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27655         file.
27656         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27657         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27658         multiarch memchr for PPC32.
27659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27660         multiarch objects.
27661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27662         (__libc_ifunc_impl_list): Likewise.
27664         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27665         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27666         file.
27667         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27668         file.
27669         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27670         file: multiarch mempcpy for PPC32.
27671         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27672         multiarch objects.
27673         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27674         (__libc_ifunc_impl_list): Likewise.
27676         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27677         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27678         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27679         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27680         multiarch bzero for PPC32.
27681         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27682         file.
27683         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27684         file.
27685         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27686         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27687         file: multiarch memset for PPC32.
27688         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27690         memset multiarch objects.
27691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27692         (__libc_ifunc_impl_list): Likewise.
27694         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27695         file.
27696         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27697         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27698         memcmp for PPC32.
27699         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27700         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27701         multiarch objects.
27702         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27703         (__libc_ifunc_impl_list): Likewise.
27705         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27706         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27707         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27708         file.
27709         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27710         file.
27711         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27712         file.
27713         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27714         multiarch memcpy for PPC32.
27715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27716         multiarch objects.
27717         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27718         (__libc_ifunc_impl_list): Likewise.
27720         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27721         support multiarch for POWER/PPC32.
27722         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27723         Likewise.
27724         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27726         Implies file to make multiarch folder appers before the fpu and
27727         default folder for power4 configuration.
27729 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27731         * scripts/bench.pl: Append volatile keyword to type.
27733 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27735         * sysdeps/sh/sotruss-lib.c: New file.
27736         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27738 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27742 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27744         [BZ #6810]
27745         * math/w_tgamma.c: Include <errno.h>.
27746         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27747         * math/w_tgammaf.c: Include <errno.h>.
27748         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27749         * math/w_tgammal.c: Include <errno.h>.
27750         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27751         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27752         underflow.  Add more tgamma tests.
27753         * math/auto-libm-test-out: Regenerated.
27754         * sysdeps/i386/fpu/libm-test-ulps: Update.
27755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27757         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27758         sin, sinh, tan, tanh, tgamma, y0 and y1.
27759         * math/auto-libm-test-out: Regenerated.
27760         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27761         (TEST_COND_x86): Likewise.
27762         (M_E2l): Remove macro.
27763         (M_E3l): Likewise.
27764         (M_2_SQRT_PIl): Likewise.
27765         (M_SQRT_PIl): Likewise.
27766         (M_1_DIV_El): Likewise.
27767         (log_test_data): Use AUTO_TESTS_f_f.
27768         (log10_test_data): Likewise.
27769         (log1p_test_data): Likewise.
27770         (log2_test_data): Likewise.
27771         (sin_test_data): Likewise.
27772         (sin_tonearest_test_data): Likewise.
27773         (sin_towardzero_test_data): Likewise.
27774         (sin_downward_test_data): Likewise.
27775         (sin_upward_test_data): Likewise.
27776         (sinh_test_data): Likewise.
27777         (sinh_tonearest_test_data): Likewise.
27778         (sinh_towardzero_test_data): Likewise.
27779         (sinh_downward_test_data): Likewise.
27780         (sinh_upward_test_data): Likewise.
27781         (tan_test_data): Likewise.
27782         (tan_tonearest_test_data): Likewise.
27783         (tan_towardzero_test_data): Likewise.
27784         (tan_downward_test_data): Likewise.
27785         (tan_upward_test_data): Likewise.
27786         (tanh_test_data): Likewise.
27787         (tgamma_test_data): Likewise.
27788         (y0_test_data): Likewise.
27789         (y1_test_data): Likewise.
27790         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27791         (special_real_inputs): Add pi/4.
27792         * sysdeps/i386/fpu/libm-test-ulps: Update.
27793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27795 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27797         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27798         "longjmp_target" static probes.
27799         (__longjmp): Rename to __longjmp_symbol.
27800         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27801         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27802         on which longjmp to generate.
27803         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27804         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27805         probe.
27806         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27807         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27808         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27809         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27810         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27811         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27813         __longjmp_symbol based on which __longjmp to generate.
27814         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27815         probe.
27816         (setjmp): Rename to setjmp_symbol.
27817         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27818         (_setjmp): Rename to _setjmp_symbol.
27819         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27820         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27821         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27822         which setjmp to generate.
27823         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27824         "longjmp_target" static probes.
27826 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27828         * benchtests/README: Add note about output arguments.
27829         * benchtests/bench-sincos.c: Remove file.
27830         * benchtests/sincos-inputs: New file.
27831         * scripts/bench.pl: Identify output arguments and define
27832         static variables for them.
27834         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27836         [BZ #15941]
27837         * Makefile (INSTALL): Add install-plain.texi as the primary
27838         dependency.
27839         * manual/install-plain.texi: New file.
27840         * manual/install.texi: Include node directive only for
27841         non-plaintext output.
27843 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27845         * stdlib/longlong.h: Update from GCC.
27847         [BZ #6807]
27848         [BZ #15901]
27849         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27850         * math/w_j0f.c (y0f): Likewise.
27851         * math/w_j0l.c (__y0l): Likewise.
27852         * math/w_j1.c (y1): Likewise.
27853         * math/w_j1f.c (y1f): Likewise.
27854         * math/w_j1l.c (__y1l): Likewise
27855         * math/w_jn.c (yn): Likewise.
27856         * math/w_jnf.c (ynf): Likewise.
27857         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27858         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27859         value for Bessel function domain errors outside _SVID_ mode.
27860         Adjust sign of return value for yn (negative integer, 0).
27861         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27862         by zero in return for negative x and set sign appropriately for
27863         negative n.
27864         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27865         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27866         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27867         expectations in error cases.
27868         (y1_test_data): Likewise.
27869         (yn_test_data): Likewise.
27870         * sysdeps/i386/fpu/libm-test-ulps: Update.
27871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27873 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27875         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27876         "64" to "64-v1".  Add "64-v2".
27877         (abi-64-options): Rename to ...
27878         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27879         (abi-64-condition): Rename to ...
27880         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27881         (abi-64-ld-soname): Rename to ...
27882         (abi-64-v1-ld-soname): ... this.
27883         (abi-64-v2-options): Define.
27884         (abi-64-v2-condition): Likewise.
27885         (abi-64-v2-ld-soname): Likewise.
27886         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27887         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27892 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27893             Alan Modra  <amodra@gmail.com>
27895         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27896         New versions for use with the ELFv2 ABI.
27897         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27898         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27899         declaration.
27900         (struct La_ppc64v2_retval): Likewise.
27901         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27902         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27903         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27904         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27905         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27906         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27907         Do not save or restore CR.
27908         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27909         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27910         return values for ELFv2 ABI.  Fix location of FPR return registers.
27911         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27912         updated values for _CALL_ELF == 2.
27913         (La_regs, La_retval, int_retval): Likewise.
27915 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27917         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27918         (FRAME_MIN_SIZE_PARM): Likewise.
27919         (FRAME_BACKCHAIN): Likewise.
27920         (FRAME_CR_SAVE): Likewise.
27921         (FRAME_LR_SAVE): Likewise.
27922         (FRAME_TOC_SAVE): Likewise.
27923         (FRAME_PARM_SAVE): Likewise.
27924         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27925         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27926         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27927         (call_mcount_parm_offset): New macro.
27928         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27929         (PROF): Use symbolic stack frame offsets.
27930         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27931         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27932         Redefine in terms of FRAME_MIN_SIZE.
27933         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27934         (_dl_profile_resolve): Likewise.  Update comment.
27935         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27936         symbols stack frame offsets.
27937         (__sigsetjmp): Likewise.
27938         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27939         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27940         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27941         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27944         (FRAME_BACKCHAIN): Remove.
27945         (FRAME_CR_SAVE): Likewise.
27946         (FRAME_LR_SAVE): Likewise.
27947         (FRAME_COMPILER_DW): Likewise.
27948         (FRAME_LINKER_DW): Likewise.
27949         (FRAME_TOC_SAVE): Likewise.
27950         (FRAME_PARM_SAVE): Likewise.
27951         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27952         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27953         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27955         (CHECK_SP): Use symbolic stack frame offsets.
27956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27957         zone" instead of caller's parameter save area for temp storage.
27958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27959         Likewise.  Also, use symbolic stack frame offsets.
27960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27961         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27962         our own stack frame instead of the caller's.
27963         (__socket): Use symbolic stack frame offsets.
27965 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27966             Alan Modra  <amodra@gmail.com>
27968         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27969         Define.
27970         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27971         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27972         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27973         New function.
27974         (elf_machine_fixup_plt): Call it.
27975         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27976         reloc arguments.
27977         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27978         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27979         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27980         r2 before calling target.
27982 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27983             Alan Modra  <amodra@gmail.com>
27985         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27986         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27987         versions of macros to support ELFv2 ABI.
27988         (LOCALENTRY): New macro.
27989         (ENTRY, EALIGN): Use it.
27990         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27991         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27992         fall through into ENTRY entry point.
27993         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27994         Only define if _CALL_ELF != 2.
27996         (elf_machine_matches_host): Verify ABI version matches.
27997         (RTLD_START): Use LOCALENTRY.
27998         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27999         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28000         (PLT_ENTRY_WORDS): New macro.
28001         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28002         (elf_machine_runtime_setup): Support ELFv2 ABI.
28003         (elf_machine_fixup_plt): Likewise.
28004         (elf_machine_plt_conflict): Likewise.
28005         (resolve_ifunc): Likewise.
28006         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28007         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28008         Likewise.
28009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28010         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28012         (makecontext): Support ELFv2 ABI.
28013         * elf/elf.h (EF_PPC64_ABI): Define.
28015 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28017         * sysdeps/powerpc/powerpc64/sysdep.h
28018         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28019         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28020         (ENTRY) [ASSEMBLER]: ... but instead here ...
28021         (EALIGN) [ASSEMBLER]: ... and here.
28022         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28023         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28024         (ENTRY_2) [!ASSEMBLER]: Use it.
28025         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28026         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28027         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28028         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28029         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28031         Use PPC64_LOAD_FUNCPTR.
28033         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28035 2013-12-04  Alan Modra  <amodra@gmail.com>
28037         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28038         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28039         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28040         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28042         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28043         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28044         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28045         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28046         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28047         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28049 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28052         (__makecontext): Fix incorrect CFI when backtracing out of
28053         context created via makecontext.
28054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28055         (__setcontext): Fix incorrect CFI during switch to new context.
28056         (__novec_setcontext): Likewise.
28058 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28060         [BZ #4772]
28061         * time/strptime_l.c (__strptime_internal): Allow modifiers
28062         in strptime.
28063         * time/tst-strptime.c (day_tests): Add testcase.
28065 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28067         * scripts/bench.pl: Skip over blank lines.
28069 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28071         [BZ #926]
28072         * manual/time.texi (Calendar Time): Clarify what timezone functions
28073         use.
28075 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28079 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28081         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28082         implementation.
28083         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28084         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28085         * debug/memset_chk.c (__memset_chk): Likewise.
28086         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28087         * debug/strncpy_chk.c: Likewise.
28089 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28091         [BZ #15268]
28092         [BZ #15425]
28093         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28094         (__ieee754_exp): For possibly underflowing results, check size of
28095         result and force underflow exception if required.
28096         * math/auto-libm-test-in: Add more tests of exp.
28097         * math/auto-libm-test-out: Regenerated.
28098         * sysdeps/i386/fpu/libm-test-ulps: Update.
28099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28101         [BZ #16283]
28102         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28103         * math/w_exp2f.c (__exp2f): Likewise.
28104         * math/w_exp2l.c (__exp2l): Likewise.
28105         * math/auto-libm-test-in: Do not allow missing errno on exp2
28106         underflow.
28107         * math/auto-libm-test-out: Regenerated.
28109 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28111         [BZ #16274]
28112         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28113         handle filename validation.
28114         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28115         (do_open): Delete.
28117 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28119         [BZ #6786]
28120         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28121         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28122         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28123         <float.h>.
28124         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28125         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28126         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28127         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28128         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28129         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28130         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28131         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28132         Add more erfc tests.
28133         * math/auto-libm-test-out: Regenerated.
28134         * sysdeps/i386/fpu/libm-test-ulps: Update.
28135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28137         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28138         exp2, expm1, j0 and j1.
28139         * math/auto-libm-test-out: Regenerated.
28140         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28141         (erfc_test_data): Likewise.
28142         (exp_test_data): Likewise.
28143         (exp_tonearest_test_data): Likewise.
28144         (exp_towardzero_test_data): Likewise.
28145         (exp_downward_test_data): Likewise.
28146         (exp_upward_test_data): Likewise.
28147         (exp10_test_data): Likewise.
28148         (exp2_test_data): Likewise.
28149         (expm1_test_data): Likewise.
28150         (j0_test_data): Likewise.
28151         (j1_test_data): Likewise.
28152         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28153         (input_flag_type): Add flag_xfail_rounding.
28154         (input_flags): Add xfail-rounding.
28155         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28156         (output_for_one_input_case): Handle flag_xfail_rounding.
28157         * sysdeps/i386/fpu/libm-test-ulps: Update.
28158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28160 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28162         [BZ #16289]
28163         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28164         division by 0.
28166 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28168         [BZ #16195]
28169         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28170         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28171         (STAP_PROBE0): New macro.
28172         (STAP_PROBE1): Likewise.
28173         (STAP_PROBE2): Likewise.
28174         (STAP_PROBE3): Likewise.
28175         (STAP_PROBE4): Likewise.
28177 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28179         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28181 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28183         * benchtests/Makefile (bench): Add sqrt.
28184         (LDLIBS-bench-sqrt): New.
28185         * benchtests/sqrt-input: New.
28187 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28189         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28190         (GAIH_EAI): Likewise.
28191         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28192         (gaih_inet): Likewise.
28193         (getaddrinfo): Don't use GAIH_EAI.
28195         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28196         (struct gaih): Remove definition.
28198 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28200         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28201         Use HERRNOP directly.
28203 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28207 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28209         * math/gen-auto-libm-tests.c (test_functions): Add more
28210         single-argument functions.
28211         (special_fill_pi_2): New function.
28212         (special_fill_minus_pi_2): Likewise.
28213         (special_fill_pi_6): Likewise.
28214         (special_fill_minus_pi_6): Likewise.
28215         (special_fill_pi_3): Likewise.
28216         (special_fill_2pi_3): Likewise.
28217         (special_fill_e): Likewise.
28218         (special_fill_1_e): Likewise.
28219         (special_fill_e_minus_1): Likewise.
28220         (special_real_inputs): Add more special inputs.
28221         (output_for_one_input_case): Do not require ERANGE on underflow to
28222         zero if round-to-nearest result does not underflow to zero, unless
28223         exact results required.
28224         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28225         atan, atanh, cbrt, cos and cosh.
28226         * math/auto-libm-test-out: Regenerated.
28227         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28228         (acos_tonearest_test_data): Likewise.
28229         (acos_towardzero_test_data): Likewise.
28230         (acos_downward_test_data): Likewise.
28231         (acos_upward_test_data): Likewise.
28232         (acosh_test_data): Likewise.
28233         (asin_test_data): Likewise.
28234         (asin_tonearest_test_data): Likewise.
28235         (asin_towardzero_test_data): Likewise.
28236         (asin_upward_test_data): Likewise.
28237         (asinh_test_data): Likewise.
28238         (atan_test_data): Likewise.
28239         (atanh_test_data): Likewise.
28240         (cbrt_test_data): Likewise.
28241         (cos_test_data): Likewise.
28242         (cos_tonearest_test_data): Likewise.
28243         (cos_towardzero_test_data): Likewise.
28244         (cos_downward_test_data): Likewise.
28245         (cos_upward_test_data): Likewise.
28246         (cosh_test_data): Likewise.
28247         (cosh_tonearest_test_data): Likewise.
28248         (cosh_towardzero_test_data): Likewise.
28249         (cosh_downward_test_data): Likewise.
28250         (cosh_upward_test_data): Likewise.
28251         * sysdeps/i386/fpu/libm-test-ulps: Update.
28252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28254 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28256         [BZ #6787]
28257         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28258         * math/w_exp10f.c (__exp10f): Likewise.
28259         * math/w_exp10l.c (__exp10l): Likewise.
28260         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28261         errno settings in existing tests.
28263         [BZ #14032]
28264         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28265         precision control set to double precision.
28266         * sysdeps/i386/fpu/w_sqrt.c: New file.
28267         * math/auto-libm-test-in: Add more tests.
28268         * math/auto-libm-test-out: Update.
28270         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28271         (sqrt_test_tonearest): New function.
28272         (sqrt_towardzero_test_data): New variable.
28273         (sqrt_test_towardzero): New function.
28274         (sqrt_downward_test_data): New variable.
28275         (sqrt_test_downward): New function.
28276         (sqrt_upward_test_data): New variable.
28277         (sqrt_test_upward): New function.
28278         (main): Call the new functions.
28280         * math/gen-auto-libm-tests.c: New file.
28281         * math/auto-libm-test-in: Likewise.
28282         * math/auto-libm-test-out: New generated file.
28283         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28284         variables.
28285         (%beautify): Add generated representations of zero.
28286         (top level): Set $auto_input and call parse_auto_input.
28287         (beautify): Remove trailing "f" from hex float constants.
28288         (parse_args): Handle XFAIL_TEST.
28289         (convert_condition): New function.
28290         (or_value): Likewise.
28291         (or_cond_value): Likewise.
28292         (generate_testfile): Handle AUTO_TESTS_* lines.
28293         (parse_auto_input): New function.
28294         * math/libm-test.inc (XFAIL_TEST): New macro.
28295         (ERRNO_UNCHANGED): Update value.
28296         (ERRNO_EDOM): Likewise.
28297         (ERRNO_ERANGE): Likewise.
28298         (IGNORE_RESULT): Likewise.
28299         (TEST_COND_flt_32): New macro.
28300         (TEST_COND_dbl_64): Likewise.
28301         (TEST_COND_ldbl_96_intel): Likewise.
28302         (TEST_COND_ldbl_96_m68k): Likewise.
28303         (TEST_COND_ldbl_128): Likewise.
28304         (TEST_COND_ldbl_128ibm): Likewise.
28305         (TEST_COND_long32): Likewise.
28306         (TEST_COND_long64): Likewise.
28307         (TEST_COND_before_rounding): Likewise.
28308         (TEST_COND_after_rounding): Likewise.
28309         (enable_test): Handle XFAIL_TEST flag.
28310         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28311         with finite results.
28312         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28313         auto-libm-test-out.
28315 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28316             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28318         [BZ #16214]
28319         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28320         __tls_get_addr_internal instead of __tls_get_offset in order to
28321         avoid GOT pointer dependency.  Make rtld export
28322         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28323         __tls_get_addr since we are a __tls_get_offset platform.
28324         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28325         GOT pointer being set up before.
28326         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28328 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28330         * manual/math.texi (Errors in Math Functions): Document accuracy
28331         goals.
28333         [BZ #15004]
28334         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28335         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28336         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28337         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28338         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28339         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28340         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28341         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28342         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28343         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28344         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28345         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28346         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28347         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28348         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28349         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28351         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28352         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28353         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28354         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28355         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28356         Likewise.
28357         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28358         Likewise.
28359         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28360         Likewise.
28361         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28362         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28363         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28364         atomic-feupdateenv and flt-rounds.
28365         * sysdeps/powerpc/nofpu/Versions (libc): Add
28366         __atomic_feholdexcept, __atomic_feclearexcept,
28367         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28368         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28369         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28370         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28371         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28372         here.
28373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28374         Update.
28376         * manual/arith.texi (FP Exceptions): Document that exceptions may
28377         not be raised when matherr is used.
28378         (Math Error Reporting): Document overflow in directed rounding
28379         modes.  Document that errno may not be set when finite values are
28380         returned on overflow.  Document intent to set errno on underflow
28381         only for underflow to zero.
28383         [BZ #16271]
28384         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28385         round-to-nearest then adjust result for other rounding modes.
28386         * include/fenv.h (fegetround): Use libm_hidden_proto.
28387         * math/fegetround.c (fegetround): Use libm_hidden_def.
28388         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28389         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28390         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28391         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28392         Likewise.
28393         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28394         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28395         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28396         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28398 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28400         [BZ #16077]
28401         * nss/Versions (libnss_files): Add
28402         _nss_files_gethostbyname3_r.
28403         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28404         New function.
28405         (HOST_DB_LOOKUP): Remove macro.
28406         (_nss_files_gethostbyname_r): Implement function without the
28407         HOST_DB_LOOKUP macro.
28408         (_nss_files_gethostbyname2_r): Likewise.
28410 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28412         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28414 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28416         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28417         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28418         warning.
28420 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28422         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28423         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28424         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28425         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28426         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28427         __fe_nomask_env_priv and attribute_hidden.
28428         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28429         (libc_feupdateenv_test_ppc): Likewise.
28430         (libc_feresetround_ppc): Likewise.
28431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28432         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28433         compat_symbol macro.
28434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28435         (__fe_nomask_env): Likewise.
28436         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28438 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28440         * string/Makefile: Remove ifunc tests.
28441         * string/test-string.h: Define TEST_IFUNC.
28442         * string/test-bcopy-ifunc.c: Remove.
28443         * string/test-bzero-ifunc.c: Likewise.
28444         * string/test-memccpy-ifunc.c: Likewise.
28445         * string/test-memchr-ifunc.c: Likewise.
28446         * string/test-memcmp-ifunc.c: Likewise.
28447         * string/test-memcpy-ifunc.c: Likewise.
28448         * string/test-memmem-ifunc.c: Likewise.
28449         * string/test-memmove-ifunc.c: Likewise.
28450         * string/test-mempcpy-ifunc.c: Likewise.
28451         * string/test-memrchr-ifunc.c: Likewise.
28452         * string/test-memset-ifunc.c: Likewise.
28453         * string/test-rawmemchr-ifunc.c: Likewise.
28454         * string/test-stpcpy-ifunc.c: Likewise.
28455         * string/test-stpncpy-ifunc.c: Likewise.
28456         * string/test-strcasecmp-ifunc.c: Likewise.
28457         * string/test-strcasestr-ifunc.c: Likewise.
28458         * string/test-strcat-ifunc.c: Likewise.
28459         * string/test-strchr-ifunc.c: Likewise.
28460         * string/test-strchrnul-ifunc.c: Likewise.
28461         * string/test-strcmp-ifunc.c: Likewise.
28462         * string/test-strcpy-ifunc.c: Likewise.
28463         * string/test-strcspn-ifunc.c: Likewise.
28464         * string/test-strlen-ifunc.c: Likewise.
28465         * string/test-strncasecmp-ifunc.c: Likewise.
28466         * string/test-strncat-ifunc.c: Likewise.
28467         * string/test-strncmp-ifunc.c: Likewise.
28468         * string/test-strncpy-ifunc.c: Likewise.
28469         * string/test-strnlen-ifunc.c: Likewise.
28470         * string/test-strpbrk-ifunc.c: Likewise.
28471         * string/test-strrchr-ifunc.c: Likewise.
28472         * string/test-strspn-ifunc.c: Likewise.
28473         * string/test-strstr-ifunc.c: Likewise.
28475 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28477         * benchtests/Makefile: Remove ifunc tests.
28478         * benchtests/bench-string.h: Define TEST_IFUNC.
28479         * benchtests/bench-bcopy-ifunc.c: Remove.
28480         * benchtests/bench-bzero-ifunc.c: Likewise.
28481         * benchtests/bench-memccpy-ifunc.c: Likewise.
28482         * benchtests/bench-memchr-ifunc.c: Likewise.
28483         * benchtests/bench-memcmp-ifunc.c: Likewise.
28484         * benchtests/bench-memcpy-ifunc.c: Likewise.
28485         * benchtests/bench-memmem-ifunc.c: Likewise.
28486         * benchtests/bench-memmove-ifunc.c: Likewise.
28487         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28488         * benchtests/bench-memrchr-ifunc.c: Likewise.
28489         * benchtests/bench-memset-ifunc.c: Likewise.
28490         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28491         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28492         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28493         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28494         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28495         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28496         * benchtests/bench-strcat-ifunc.c: Likewise.
28497         * benchtests/bench-strchr-ifunc.c: Likewise.
28498         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28499         * benchtests/bench-strcmp-ifunc.c: Likewise.
28500         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28501         * benchtests/bench-strcpy-ifunc.c: Likewise.
28502         * benchtests/bench-strcspn-ifunc.c: Likewise.
28503         * benchtests/bench-strlen-ifunc.c: Likewise.
28504         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28505         * benchtests/bench-strncat-ifunc.c: Likewise.
28506         * benchtests/bench-strncmp-ifunc.c: Likewise.
28507         * benchtests/bench-strncpy-ifunc.c: Likewise.
28508         * benchtests/bench-strnlen-ifunc.c: Likewise.
28509         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28510         * benchtests/bench-strrchr-ifunc.c: Likewise.
28511         * benchtests/bench-strsep-ifunc.c: Likewise.
28512         * benchtests/bench-strspn-ifunc.c: Likewise.
28513         * benchtests/bench-strstr-ifunc.c: Likewise.
28515 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28517         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28519 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28521         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28522         * rt/aio.h: Likewise.
28523         * sysdeps/gnu/bits/utmp.h: Likewise.
28524         * sysdeps/gnu/bits/utmpx.h: Likewise.
28525         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28526         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28527         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28528         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28529         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28530         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28531         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28532         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28533         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28534         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28535         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28536         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28537         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28539         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28540         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28541         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28542         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28543         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28544         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28545         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28546         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28547         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28548         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28549         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28550         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28551         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28552         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28553         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28554         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28555         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28556         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28557         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28558         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28559         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28560         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28561         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28562         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28563         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28564         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28565         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28566         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28568 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28570         [BZ #16245]
28571         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28572         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28574 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28576         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28577         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28578         Likewise.
28580 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28582         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28583         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28584         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28585         (__fesetround): Remove define.
28586         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28587         rounding and exceptions handling.
28588         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28589         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28590         (__fe_nomask_env): Likewise.
28591         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28592         __fegetround instead of fegetround.
28593         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28594         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28596 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28598         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28599         it's there.
28601         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28603 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28605         [BZ #11157]
28606         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28607         (encrypt_r): Likewise.
28608         * malloc/obstack.h (obstack_free): Likewise.
28609         * posix/unistd.h (encrypt): Likewise.
28611 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28613         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28614         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28615         DL_CALL_DT_FINI() that call the functions directly.
28616         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28617         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28618         * elf/dl-fini.c: Likewise.
28620 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28622         * malloc/hooks.c (memalign_check): Add alignment rounding.
28623         * malloc/malloc.c (_mid_memalign): New function.
28624         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28625         Implement by calling _mid_memalign.
28626         * manual/probes.texi (Memory Allocation Probes): Remove
28627         memory_valloc_retry and memory_pvalloc_retry.
28629 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28631         * locale/programs/locarchive.c (open_archive): Add const
28632         qualifier to ARCHIVEFNAME and copy default fname to
28633         DEFAULT_FNAME.
28635         [BZ #15601]
28636         * libio/tst-widetext.input: Rename Oriya to Odia.
28637         * locale/iso-639.def: Likewise.
28639         * manual/probes.texi (Mathematical Function Probes): Add
28640         documentation for sin, cos, asin and acos probes.
28641         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28642         (__sin32): Add slowasin probe.
28643         (__cos32): Add slowacos probe.
28644         (__mpsin): Add slowsin probe.
28645         (__mpcos): Add slowcos probe.
28647 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28649         [BZ #15483]
28650         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28651         thread-local __sim_exceptions_thread and global
28652         __sim_exceptions_global.
28653         (__sim_disabled_exceptions): Change to thread-local
28654         __sim_disabled_exceptions_thread and global
28655         __sim_disabled_exceptions_global.
28656         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28657         and global __sim_round_mode_global.
28658         (__simulate_exceptions): Use thread-local floating-point state and
28659         set global state from it as needed.
28660         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28661         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28662         __sim_round_mode_thread.
28663         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28664         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28665         and global __sim_exceptions_global.
28666         (__sim_disabled_exceptions): Change to thread-local
28667         __sim_disabled_exceptions_thread and global
28668         __sim_disabled_exceptions_global.
28669         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28670         and global __sim_round_mode_global.
28671         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28672         (SIM_SET_GLOBAL): Likewise.
28673         * sysdeps/powerpc/soft-fp/sfp-machine.h
28674         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28675         __sim_round_mode_thread.
28676         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28677         __sim_disabled_exceptions_thread.
28678         (__sim_exceptions): Change to __sim_exceptions_thread.
28679         (__sim_disabled_exceptions): Change to
28680         __sim_disabled_exceptions_thread.
28681         (__sim_round_mode): Change to __sim_round_mode_thread.
28682         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28683         thread-local floating-point state and set global state from it as
28684         needed.
28685         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28686         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28687         (__sim_disabled_exceptions): Remove extern declaration.
28688         (feenableexcept): Use thread-local floating-point state and set
28689         global state from it as needed.
28690         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28691         extern declaration.
28692         (__sim_disabled_exceptions): Likewise.
28693         (__sim_round_mode): Likewise.
28694         (__fegetenv): Use thread-local floating-point state.
28695         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28696         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28697         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28698         floating-point state and set global state from it as needed.
28699         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28700         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28701         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28702         Likewise.
28703         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28704         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28705         Likewise.
28706         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28707         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28708         Use __sim_round_mode_thread.
28709         * math/test-fenv-tls.c: New file.
28710         * math/Makefile (tests): Add test-fenv-tls.
28711         ($(objpfx)test-fenv-tls): Depend on
28712         $(common-objpfx)nptl/libpthread.so.
28714 2013-11-19  Andreas Schwab  <schwab@suse.de>
28716         * locale/programs/locale.c (show_info): Decode wordarray elements.
28717         * locale/categories.def (LC_MONETARY): Add element for
28718         _NL_MONETARY_CRNCYSTR.
28719         * locale/C-monetary.c (conversion_rate): New variable.
28720         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28721         element.
28723 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28725         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28726         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28728 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28730         * elf/Makefile (tst-auxv): New test.
28731         * elf/tst-auxv.c: New
28732         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28734 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28736         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28737         (hidden_proto): Caller changed.
28738         (hidden_tls_proto): New macro.
28739         (libc_hidden_tls_proto): Likewise.
28740         (rtld_hidden_tls_proto): Likewise.
28741         (libm_hidden_tls_proto): Likewise.
28742         (libresolv_hidden_tls_proto): Likewise.
28743         (librt_hidden_tls_proto): Likewise.
28744         (libdl_hidden_tls_proto): Likewise.
28745         (libnss_files_hidden_tls_proto): Likewise.
28746         (libnsl_hidden_tls_proto): Likewise.
28747         (libnss_nisplus_hidden_tls_proto): Likewise.
28748         (libutil_hidden_tls_proto): Likewise.
28750 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28752         [BZ #10253]
28753         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28754         (decompose_rpath): Defer expansion to fillin_rpath.
28755         (_dl_init_paths): Pass linkmap to fillin_rpath.
28757 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28759         * benchtests/Makefile: Add strsep.
28760         * benchtests/bench-strsep.c: New file: strsep benchtest.
28761         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28763 2013-11-18  Andreas Schwab  <schwab@suse.de>
28765         * locale/programs/locale.c (show_info) [case byte]: Check for
28766         '\377' instead of '\177'.
28767         * locale/C-monetary.c (not_available): Always use "\377".
28768         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28769         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28770         detect unavailable sign_posn locale elements.
28771         * locale/localeconv.c (__localeconv): For grouping and
28772         mon_grouping handle "\177" and "\377" like no grouping.
28773         (INT_ELEM): New macro.  Use it to set all numeric members.
28774         * locale/programs/ld-monetary.c (monetary_read)
28775         <tok_mon_grouping>: Normalize single -1 to the empty string.
28776         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28777         Likewise.
28779 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28781         [BZ #16055]
28782         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28783         when we match (nil).
28784         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28786 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28788         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28789         (NO_TEST_INLINE): Update value.
28790         (ERRNO_UNCHANGED): Likewise.
28791         (ERRNO_EDOM): Likewise.
28792         (ERRNO_ERANGE): Likewise.
28793         (IGNORE_RESULT): Likewise.
28794         (check_float_internal): Check signs of NaN results if
28795         TEST_NAN_SIGN used.
28796         (check_complex): Pass TEST_NAN_SIGN flag through to second
28797         check_float_internal call.
28798         (copysign_test_data): Add tests with quiet NaNs as second
28799         argument.  Use TEST_NAN_SIGN.
28800         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28801         TEST_NAN_SIGN.
28802         (signbit_test_data): Add tests of quiet NaN argument.
28803         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28805         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28806         $ignore_result.
28807         (parse_args): Handle function results specified as IGNORE.
28808         * math/libm-test.inc (IGNORE_RESULT): New macro.
28809         (check_float_internal): Do not check numerical result if flag
28810         IGNORE_RESULT set.
28811         (check_complex): Pass through IGNORE_RESULT to second
28812         check_float_internal call.
28813         (check_int): Do not check numerical result if flag IGNORE_RESULT
28814         set.
28815         (check_long): Likewise.
28816         (check_bool): Likewise.
28817         (check_longlong): Likewise.
28818         (lrint_test_data): Add tests of infinite and NaN arguments.
28819         (lrint_tonearest_test_data): Likewise.
28820         (lrint_towardzero_test_data): Likewise.
28821         (lrint_downward_test_data): Likewise.
28822         (lrint_upward_test_data): Likewise.
28823         (llrint_test_data): Likewise.
28824         (llrint_tonearest_test_data): Likewise.
28825         (llrint_towardzero_test_data): Likewise.
28826         (llrint_downward_test_data): Likewise.
28827         (llrint_upward_test_data): Likewise.
28828         (lround_test_data): Likewise.
28829         (llround_test_data): Likewise.
28831         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28832         (ERRNO_UNCHANGED): Update value.
28833         (ERRNO_EDOM): Likewise.
28834         (ERRNO_ERANGE): Likewise.
28835         (NO_TEST_INLINE_FLOAT): New macro.
28836         (NO_TEST_INLINE_DOUBLE): Likewise.
28837         (enable_test): New function.
28838         (RUN_TEST_f_f): Check enable_test before running test.
28839         (RUN_TEST_2_f): Likewise.
28840         (RUN_TEST_fff_f): Likewise.
28841         (RUN_TEST_c_f): Likewise.
28842         (RUN_TEST_f_f1): Likewise.
28843         (RUN_TEST_fF_f1): Likewise.
28844         (RUN_TEST_fI_f1): Likewise.
28845         (RUN_TEST_ffI_f1): Likewise.
28846         (RUN_TEST_c_c): Likewise.
28847         (RUN_TEST_cc_c): Likewise.
28848         (RUN_TEST_f_i): Likewise.
28849         (RUN_TEST_f_i_tg): Likewise.
28850         (RUN_TEST_ff_i_tg): Likewise.
28851         (RUN_TEST_f_b): Likewise.
28852         (RUN_TEST_f_b_tg): Likewise.
28853         (RUN_TEST_f_l): Likewise.
28854         (RUN_TEST_f_L): Likewise.
28855         (RUN_TEST_fFF_11): Likewise.
28856         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28857         conditionals.
28858         (cosh_test_data): Likewise.
28859         (exp_test_data): Likewise.
28860         (expm1_test_data): Likewise.
28861         (hypot_test_data): Likewise.
28862         (pow_test_data): Likewise.
28863         (sinh_test_data): Likewise.
28864         (tanh_test_data): Likewise.
28865         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28866         flags argument.
28868         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28869         tests with quiet NaN input and output.
28870         (acosh_test_data): Likewise.
28871         (asin_test_data): Likewise.
28872         (asinh_test_data): Likewise.
28873         (atan_test_data): Likewise.
28874         (atanh_test_data): Likewise.
28875         (atan2_test_data): Likewise.
28876         (cbrt_test_data): Likewise.
28877         (cos_test_data): Likewise.
28878         (cosh_test_data): Likewise.
28879         (erf_test_data): Likewise.
28880         (erfc_test_data): Likewise.
28881         (exp_test_data): Likewise.
28882         (exp10_test_data): Likewise.
28883         (exp2_test_data): Likewise.
28884         (expm1_test_data): Likewise.
28885         (hypot_test_data): Likewise.
28886         (j0_test_data): Likewise.
28887         (j1_test_data): Likewise.
28888         (jn_test_data): Likewise.
28889         (lgamma_test_data): Likewise.
28890         (log_test_data): Likewise.
28891         (log10_test_data): Likewise.
28892         (log1p_test_data): Likewise.
28893         (log2_test_data): Likewise.
28894         (pow_test_data): Likewise.
28895         (scalb_test_data): Likewise.
28896         (sin_test_data): Likewise.
28897         (sincos_test_data): Likewise.
28898         (sinh_test_data): Likewise.
28899         (tan_test_data): Likewise.
28900         (tanh_test_data): Likewise.
28901         (tgamma_test_data): Likewise.
28902         (y0_test_data): Likewise.
28903         (y1_test_data): Likewise.
28904         (yn_test_data): Likewise.
28906         [BZ #16167]
28907         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28908         argument being NaN and avoid computations with second argument in
28909         that case.
28910         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28911         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28912         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28914 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28916         * locale/iso-639.def: Add Chitwani Tharu (the).
28918 2013-11-14  Andreas Schwab  <schwab@suse.de>
28920         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28921         word instead of empty string.
28923 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28926         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28928         (__fe_nomask_env): Likewise.
28930 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28932         * benchtests/bench-timing.h: Include time.h.
28934 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28936         [BZ #15997]
28937         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28938         to 3.4.0 for x32.
28939         * sysdeps/unix/sysv/linux/configure: Regenerated.
28941 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28943         [BZ #16151]
28944         * stdlib/strtod_l.c (round_and_return): Do not consider
28945         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28946         exponent one less than half the least subnormal exponent.
28947         * stdlib/test-strtod-round-data: Add more tests.
28948         * stdlib/tst-strtod-round.c (tests): Regenerated.
28950 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28952         [BZ #14143]
28953         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28954         (__fe_mask_env): Likewise.
28955         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28956         libm_hidden_proto and add function prototype.
28957         (__fe_mask_env): Add function prototype.
28958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28959         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28961         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28963         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28965 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28967         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28968         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28970 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28972         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28973         of htab_find_slot().
28975 2013-11-11  David S. Miller  <davem@davemloft.net>
28977         [BZ #16150]
28978         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28979         symbol in the non-vis3 case in static builds.
28980         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28981         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28982         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28983         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28985 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28987         [BZ #387]
28988         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28989         it is empty.
28991 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28993         * benchtests/Makefile: Add bench-strtod.
28994         * benchtests/bench-strtod.c: New file: strtod benchtest
28996 2013-11-11  Andreas Schwab  <schwab@suse.de>
28998         [BZ #16153]
28999         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29000         terminating NUL in key length.
29002 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29004         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29005         Add artificial ODP entry for vDSO symbol for PPC64.
29006         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29007         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29009 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29011         [BZ #15374]
29012         * nss/getent.c (services_keys): Recognize services starting with digit.
29014 2013-11-06  David S. Miller  <davem@davemloft.net>
29016         [BZ #15985]
29017         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29018         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29020 2013-11-06  Will Newton  <will.newton@linaro.org>
29022         * manual/memory.texi (Malloc Examples): Remove register
29023         keyword from examples.
29025 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29027         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29029 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29031         [BZ #6981]
29032         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29033         depending on [__GCC_IEC_559 > 0].
29034         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29035         depending on [__GCC_IEC_559_COMPLEX > 0].
29037 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29039         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29040         to iso-639.def.
29042 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29044         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29046 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29048         [BZ #16112]
29049         * malloc/malloc (malloc_info): Do not handle first bin as
29050         special case.
29052 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29054         * locale/iso-639.def: Add Central Nahuatl (nhn).
29056 2013-11-01  Bruno Haible  <bruno@clisp.org>
29058         [BZ #7003]
29059         * manual/math.texi (BSD Random): Specify range upper bound as
29060         in POSIX.
29062 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29064         * locale/iso-639.def: Add Meadow Mari (mhr).
29066 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29068         [BZ #14752], [BZ #15763]
29069         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29070         Validate name.
29071         * rt/tst_shm.c: Add test for escaping directory.
29073 2013-10-31  Andreas Schwab  <schwab@suse.de>
29075         [BZ #15917]
29076         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29077         followed by 'x' as part of digit sequence.
29078         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29080 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29082         [BZ #16037]
29083         * configure.ac: allow GNU Make 4.0 and greater.
29084         * configure: Regenerated.
29086 2013-10-30  Will Newton  <will.newton@linaro.org>
29088         [BZ #16038]
29089         * malloc/hooks.c (memalign_check): Limit alignment to the
29090         maximum representable power of two.
29091         * malloc/malloc.c (__libc_memalign): Likewise.
29092         * malloc/tst-memalign.c (do_test): Add test for very
29093         large alignment values.
29094         * malloc/tst-posix_memalign.c (do_test): Likewise.
29096 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29098         [BZ #11087]
29099         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29100         (munmap_chunk): Likewise.
29101         (mremap_chunk): Likewise.
29103 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29105         [BZ #15799]
29106         * stdlib/div.c (div): Remove obsolete code.
29107         * stdlib/ldiv.c (ldiv): Likewise.
29108         * stdlib/lldiv.c (lldiv): Likewise.
29110 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29112         [BZ #16071]
29113         * nss/nss_files/files-XXX.c (get_contents_ret): New
29114         enumerator.
29115         (get_contents): New function.
29116         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29118 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29120         * configure.in: Moved to ...
29121         * configure.ac: ... here. Change reference to configure.in
29122         to configure.ac.
29123         * sysdeps/arm/preconfigure.ac: ... here.
29124         configure.in to configure.ac.
29125         * sysdeps/gnu/configure.in: Moved to ...
29126         * sysdeps/gnu/configure.ac: ... here.
29127         * sysdeps/i386/configure.in: Moved to ...
29128         * sysdeps/i386/configure.ac: ... here.
29129         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29130         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29131         * sysdeps/mach/configure.in: Moved to ...
29132         * sysdeps/mach/configure.ac: ... here.
29133         * sysdeps/mach/hurd/configure.in: Moved to ...
29134         * sysdeps/mach/hurd/configure.ac: ... here.
29135         * sysdeps/powerpc/configure.in: Moved to ...
29136         * sysdeps/powerpc/configure.ac: ... here.
29137         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29138         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29139         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29140         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29141         * sysdeps/s390/s390-32/configure.in: Moved to ...
29142         * sysdeps/s390/s390-32/configure.ac: ... here.
29143         * sysdeps/s390/s390-64/configure.in: Moved to ...
29144         * sysdeps/s390/s390-64/configure.ac: ... here.
29145         * sysdeps/sh/configure.in: Moved to ...
29146         * sysdeps/sh/configure.ac: ... here.
29147         * sysdeps/sparc/configure.in: Moved to ...
29148         * sysdeps/sparc/configure.ac: ... here.
29149         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29150         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29151         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29152         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29153         * sysdeps/x86_64/configure.in: Moved to ...
29154         * sysdeps/x86_64/configure.ac: ... here.
29155         * sysdeps/x86_64/preconfigure.in: Moved to ...
29156         * sysdeps/x86_64/preconfigure.ac: ... here.
29157         * aclocal.m4: Change reference to configure.in to configure.ac.
29158         * config.h.in: Likewise.
29159         * manual/install.texi: Likewise.
29160         * manual/maint.texi: Likewise.
29161         * Makefile: Likewise.
29162         * malloc/Makefile: Likewise.
29163         * nscd/Makefile: Likewise.
29164         * Makeconfig: Change reference to configure.in and
29165         preconfigure.in to configure.ac and preconfigure.ac
29166         respectively.
29167         * INSTALL: Regenerated.
29168         * configure: Likewise.
29169         * sysdeps/gnu/configure: Likewise.
29170         * sysdeps/i386/configure: Likewise.
29171         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29172         * sysdeps/mach/configure: Likewise.
29173         * sysdeps/mach/hurd/configure: Likewise.
29174         * sysdeps/powerpc/configure: Likewise.
29175         * sysdeps/powerpc/powerpc32/configure: Likewise.
29176         * sysdeps/powerpc/powerpc64/configure: Likewise.
29177         * sysdeps/s390/s390-32/configure: Likewise.
29178         * sysdeps/s390/s390-64/configure: Likewise.
29179         * sysdeps/sh/configure: Likewise.
29180         * sysdeps/sparc/configure: Likewise.
29181         * sysdeps/unix/sysv/linux/configure: Likewise.
29182         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29183         * sysdeps/x86_64/configure: Likewise.
29184         * sysdeps/x86_64/preconfigure: Likewise.
29186 2013-10-29  Andreas Schwab  <schwab@suse.de>
29188         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29190 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29192         * benchtests/pow-inputs: Add new inputs.
29194         * benchtests/exp-inputs: Add new inputs.
29196         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29197         conditional check for return value.
29198         (__cos32): Likewise.
29200 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29202         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29203         to provide a boost for large inputs with word alignment.
29204         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29205         implementation based on optimized PPC64 strcpy.
29206         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29207         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29208         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29209         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29211 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29213         [BZ #2801]
29214         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29216 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29218         [BZ #14876]
29219         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29220         * time/tst-strptime.c (day_tests): Add testcase.
29222 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29224         [BZ #14029]
29225         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29227 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29229         [BZ #16074]
29230         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29231         MAP_FAILED on error.
29233 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29235         [BZ #16072]
29236         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29237         heap for large requests.
29239 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29241         [BZ #9954]
29242         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29243         result if the result has no associated interface.
29244         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29245         interface for all 127.X.Y.Z addresses.
29247 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29249         * locale/iso-639.def: Add Ligurian (lij)
29251 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29253         [BZ #15825]
29254         * sunrpc/rpc_main.c: Document rpcgen -5.
29256 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29258         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29260 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29262         [BZ #10278]
29263         * posix/glob.c: Match only directories when trailing slash is present.
29264         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29265         (main): Add testcase.
29267 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29269         [BZ #15670]
29270         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29272 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29274         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29275         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29276         AUTH_DES and cindex for FIPS 140-2.
29277         (DES Encryption): Add cindex FIPS 46-3.
29279         * locale/locarchive.h (struct locarhandle): Add fname.
29280         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29281         if an optional argument was specified to --list-archive,
29282         otherwise NULL.
29283         * locale/programs/locarchive.c (show_archive_content): Take new
29284         argument fname and pass it via ah.fname to open_archive.
29285         * locale/programs/localedef.h: Update decl.
29286         (open_archive): If AH->fname is non-null, open that file
29287         rather than the default file name, and don't ignore ENOENT.
29288         (create_archive): Set AH.fname to NULL.
29289         (delete_locales_from_archive): Likewise.
29290         (add_locales_to_archive): Likewise.
29291         * locale/programs/locfile.c (write_all_categories): Likewise.
29293 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29294             Aldy Hernandez  <aldyh@redhat.com>
29296         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29297         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29298         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29299         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29300         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29301         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29302         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29303         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29304         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29305         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29306         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29307         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29308         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29309         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29310         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29311         Likewise.
29312         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29313         Likewise.
29314         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29315         Likewise.
29316         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29317         Likewise.
29318         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29319         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29320         Likewise.
29321         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29322         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29323         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29324         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29325         Likewise.
29326         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29327         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29328         * sysdeps/powerpc/preconfigure: Likewise.
29329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29330         Likewise.
29331         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29332         Replace contents of file by #include of <fenv_libc.h>.
29333         * sysdeps/powerpc/soft-fp/sfp-machine.h
29334         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29335         and <sys/prctl.h>.
29336         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29337         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29338         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29339         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29340         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29341         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29342         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29343         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29344         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29345         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29346         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29347         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29349         Allow copysignl PLT reference to be missing.
29351 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29352             Joseph Myers  <joseph@codesourcery.com
29354         [BZ #15948]
29355         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29356         single character.
29357         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29359 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29361         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29362         * elf/tst-tls1.c: Likewise.
29363         * elf/tst-tls10.h: Likewise.
29364         * elf/tst-tls14.c: Likewise.
29365         * elf/tst-tls2.c: Likewise.
29366         * elf/tst-tls3.c: Likewise.
29367         * elf/tst-tls4.c: Likewise.
29368         * elf/tst-tls5.c: Likewise.
29369         * elf/tst-tls6.c: Likewise.
29370         * elf/tst-tls7.c: Likewise.
29371         * elf/tst-tls8.c: Likewise.
29372         * elf/tst-tls9.c: Likewise.
29373         * elf/tst-tlsmod1.c: Likewise.
29374         * elf/tst-tlsmod13.c: Likewise.
29375         * elf/tst-tlsmod13a.c: Likewise.
29376         * elf/tst-tlsmod14a.c: Likewise.
29377         * elf/tst-tlsmod16a.c: Likewise.
29378         * elf/tst-tlsmod16b.c: Likewise.
29379         * elf/tst-tlsmod2.c: Likewise.
29380         * elf/tst-tlsmod3.c: Likewise.
29381         * elf/tst-tlsmod4.c: Likewise.
29382         * elf/tst-tlsmod5.c: Likewise.
29383         * elf/tst-tlsmod6.c: Likewise.
29385 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29387         [BZ #12486]
29388         * malloc/malloc.c: remove checks for statistics.
29390 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29392         [BZ #15277]
29393         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29394         * inet/tst-network.c: Add testcase.
29396 2013-10-17  Andreas Schwab  <schwab@suse.de>
29398         [BZ #15218]
29399         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29400         to determine canonical name.
29402 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29404         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29405         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29406         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29407         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29408         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29409         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29410         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29411         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29412         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29413         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29414         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29415         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29416         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29417         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29418         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29419         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29420         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29421         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29422         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29423         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29424         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29425         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29426         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29427         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29428         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29429         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29430         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29431         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29432         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29433         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29434         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29435         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29436         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29437         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29438         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29439         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29440         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29441         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29442         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29443         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29444         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29445         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29446         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29447         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29448         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29449         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29450         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29451         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29452         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29453         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29454         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29455         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29456         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29457         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29458         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29459         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29460         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29461         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29463 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29465         [BZ #16041]
29466         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29467         make result into a quiet NaN.
29469 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29471         * soft-fp/adddf3.c: Fix horizontal whitespace.
29472         * soft-fp/addsf3.c: Likewise.
29473         * soft-fp/addtf3.c: Likewise.
29474         * soft-fp/divdf3.c: Likewise.
29475         * soft-fp/divsf3.c: Likewise.
29476         * soft-fp/divtf3.c: Likewise.
29477         * soft-fp/double.h: Likewise.
29478         * soft-fp/eqdf2.c: Likewise.
29479         * soft-fp/eqsf2.c: Likewise.
29480         * soft-fp/eqtf2.c: Likewise.
29481         * soft-fp/extenddftf2.c: Likewise.
29482         * soft-fp/extended.h: Likewise.
29483         * soft-fp/extendsfdf2.c: Likewise.
29484         * soft-fp/extendsftf2.c: Likewise.
29485         * soft-fp/extendxftf2.c: Likewise.
29486         * soft-fp/fixdfdi.c: Likewise.
29487         * soft-fp/fixdfsi.c: Likewise.
29488         * soft-fp/fixdfti.c: Likewise.
29489         * soft-fp/fixsfdi.c: Likewise.
29490         * soft-fp/fixsfsi.c: Likewise.
29491         * soft-fp/fixsfti.c: Likewise.
29492         * soft-fp/fixtfdi.c: Likewise.
29493         * soft-fp/fixtfsi.c: Likewise.
29494         * soft-fp/fixtfti.c: Likewise.
29495         * soft-fp/fixunsdfdi.c: Likewise.
29496         * soft-fp/fixunsdfsi.c: Likewise.
29497         * soft-fp/fixunsdfti.c: Likewise.
29498         * soft-fp/fixunssfdi.c: Likewise.
29499         * soft-fp/fixunssfsi.c: Likewise.
29500         * soft-fp/fixunssfti.c: Likewise.
29501         * soft-fp/fixunstfdi.c: Likewise.
29502         * soft-fp/fixunstfsi.c: Likewise.
29503         * soft-fp/fixunstfti.c: Likewise.
29504         * soft-fp/floatdidf.c: Likewise.
29505         * soft-fp/floatdisf.c: Likewise.
29506         * soft-fp/floatditf.c: Likewise.
29507         * soft-fp/floatsidf.c: Likewise.
29508         * soft-fp/floatsisf.c: Likewise.
29509         * soft-fp/floatsitf.c: Likewise.
29510         * soft-fp/floattidf.c: Likewise.
29511         * soft-fp/floattisf.c: Likewise.
29512         * soft-fp/floattitf.c: Likewise.
29513         * soft-fp/floatundidf.c: Likewise.
29514         * soft-fp/floatundisf.c: Likewise.
29515         * soft-fp/floatunditf.c: Likewise.
29516         * soft-fp/floatunsidf.c: Likewise.
29517         * soft-fp/floatunsisf.c: Likewise.
29518         * soft-fp/floatunsitf.c: Likewise.
29519         * soft-fp/floatuntidf.c: Likewise.
29520         * soft-fp/floatuntisf.c: Likewise.
29521         * soft-fp/floatuntitf.c: Likewise.
29522         * soft-fp/fmadf4.c: Likewise.
29523         * soft-fp/fmasf4.c: Likewise.
29524         * soft-fp/fmatf4.c: Likewise.
29525         * soft-fp/gedf2.c: Likewise.
29526         * soft-fp/gesf2.c: Likewise.
29527         * soft-fp/getf2.c: Likewise.
29528         * soft-fp/ledf2.c: Likewise.
29529         * soft-fp/lesf2.c: Likewise.
29530         * soft-fp/letf2.c: Likewise.
29531         * soft-fp/muldf3.c: Likewise.
29532         * soft-fp/mulsf3.c: Likewise.
29533         * soft-fp/multf3.c: Likewise.
29534         * soft-fp/negdf2.c: Likewise.
29535         * soft-fp/negsf2.c: Likewise.
29536         * soft-fp/negtf2.c: Likewise.
29537         * soft-fp/op-1.h: Likewise.
29538         * soft-fp/op-2.h: Likewise.
29539         * soft-fp/op-4.h: Likewise.
29540         * soft-fp/op-8.h: Likewise.
29541         * soft-fp/op-common.h: Likewise.
29542         * soft-fp/quad.h: Likewise.
29543         * soft-fp/single.h: Likewise.
29544         * soft-fp/soft-fp.h: Likewise.
29545         * soft-fp/sqrtdf2.c: Likewise.
29546         * soft-fp/sqrtsf2.c: Likewise.
29547         * soft-fp/sqrttf2.c: Likewise.
29548         * soft-fp/subdf3.c: Likewise.
29549         * soft-fp/subsf3.c: Likewise.
29550         * soft-fp/subtf3.c: Likewise.
29551         * soft-fp/truncdfsf2.c: Likewise.
29552         * soft-fp/trunctfdf2.c: Likewise.
29553         * soft-fp/trunctfsf2.c: Likewise.
29554         * soft-fp/trunctfxf2.c: Likewise.
29555         * soft-fp/unorddf2.c: Likewise.
29556         * soft-fp/unordsf2.c: Likewise.
29557         * soft-fp/unordtf2.c: Likewise.
29559 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29561         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29562         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29564 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29566         * elf/dl-libc.c: Clear initfini list after freeing.
29568 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29570         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29571         * soft-fp/addsf3.c: Likewise.
29572         * soft-fp/addtf3.c: Likewise.
29573         * soft-fp/divdf3.c: Likewise.
29574         * soft-fp/divsf3.c: Likewise.
29575         * soft-fp/divtf3.c: Likewise.
29576         * soft-fp/double.h: Likewise.
29577         * soft-fp/eqdf2.c: Likewise.
29578         * soft-fp/eqsf2.c: Likewise.
29579         * soft-fp/eqtf2.c: Likewise.
29580         * soft-fp/extenddftf2.c: Likewise.
29581         * soft-fp/extended.h: Likewise.
29582         * soft-fp/extendsfdf2.c: Likewise.
29583         * soft-fp/extendsftf2.c: Likewise.
29584         * soft-fp/extendxftf2.c: Likewise.
29585         * soft-fp/fixdfdi.c: Likewise.
29586         * soft-fp/fixdfsi.c: Likewise.
29587         * soft-fp/fixdfti.c: Likewise.
29588         * soft-fp/fixsfdi.c: Likewise.
29589         * soft-fp/fixsfsi.c: Likewise.
29590         * soft-fp/fixsfti.c: Likewise.
29591         * soft-fp/fixtfdi.c: Likewise.
29592         * soft-fp/fixtfsi.c: Likewise.
29593         * soft-fp/fixtfti.c: Likewise.
29594         * soft-fp/fixunsdfdi.c: Likewise.
29595         * soft-fp/fixunsdfsi.c: Likewise.
29596         * soft-fp/fixunsdfti.c: Likewise.
29597         * soft-fp/fixunssfdi.c: Likewise.
29598         * soft-fp/fixunssfsi.c: Likewise.
29599         * soft-fp/fixunssfti.c: Likewise.
29600         * soft-fp/fixunstfdi.c: Likewise.
29601         * soft-fp/fixunstfsi.c: Likewise.
29602         * soft-fp/fixunstfti.c: Likewise.
29603         * soft-fp/floatdidf.c: Likewise.
29604         * soft-fp/floatdisf.c: Likewise.
29605         * soft-fp/floatditf.c: Likewise.
29606         * soft-fp/floatsidf.c: Likewise.
29607         * soft-fp/floatsisf.c: Likewise.
29608         * soft-fp/floatsitf.c: Likewise.
29609         * soft-fp/floattidf.c: Likewise.
29610         * soft-fp/floattisf.c: Likewise.
29611         * soft-fp/floattitf.c: Likewise.
29612         * soft-fp/floatundidf.c: Likewise.
29613         * soft-fp/floatundisf.c: Likewise.
29614         * soft-fp/floatunsidf.c: Likewise.
29615         * soft-fp/floatunsisf.c: Likewise.
29616         * soft-fp/floatuntidf.c: Likewise.
29617         * soft-fp/floatuntisf.c: Likewise.
29618         * soft-fp/floatuntitf.c: Likewise.
29619         * soft-fp/fmadf4.c: Likewise.
29620         * soft-fp/fmasf4.c: Likewise.
29621         * soft-fp/fmatf4.c: Likewise.
29622         * soft-fp/gedf2.c: Likewise.
29623         * soft-fp/gesf2.c: Likewise.
29624         * soft-fp/getf2.c: Likewise.
29625         * soft-fp/ledf2.c: Likewise.
29626         * soft-fp/lesf2.c: Likewise.
29627         * soft-fp/letf2.c: Likewise.
29628         * soft-fp/muldf3.c: Likewise.
29629         * soft-fp/mulsf3.c: Likewise.
29630         * soft-fp/multf3.c: Likewise.
29631         * soft-fp/negdf2.c: Likewise.
29632         * soft-fp/negsf2.c: Likewise.
29633         * soft-fp/negtf2.c: Likewise.
29634         * soft-fp/op-1.h: Likewise.
29635         * soft-fp/op-2.h: Likewise.
29636         * soft-fp/op-4.h: Likewise.
29637         * soft-fp/op-8.h: Likewise.
29638         * soft-fp/op-common.h: Likewise.
29639         * soft-fp/quad.h: Likewise.
29640         * soft-fp/single.h: Likewise.
29641         * soft-fp/soft-fp.h: Likewise.
29642         * soft-fp/sqrtdf2.c: Likewise.
29643         * soft-fp/sqrtsf2.c: Likewise.
29644         * soft-fp/sqrttf2.c: Likewise.
29645         * soft-fp/subdf3.c: Likewise.
29646         * soft-fp/subsf3.c: Likewise.
29647         * soft-fp/subtf3.c: Likewise.
29648         * soft-fp/truncdfsf2.c: Likewise.
29649         * soft-fp/trunctfdf2.c: Likewise.
29650         * soft-fp/trunctfsf2.c: Likewise.
29651         * soft-fp/trunctfxf2.c: Likewise.
29652         * soft-fp/unorddf2.c: Likewise.
29653         * soft-fp/unordsf2.c: Likewise.
29654         * soft-fp/unordtf2.c: Likewise.
29656 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29658         [BZ #15672]
29659         * misc/error.c (error_tail): Fix possible buffer overflow.
29661 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29663         [BZ #13028]
29664         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29665         address.
29667 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29669         [BZ #832]
29670         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29671         testing pipefail option.
29673 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29675         * soft-fp/double.h: Indent preprocessor directives inside #if.
29676         * soft-fp/extended.h: Likewise.
29677         * soft-fp/op-2.h: Likewise.
29678         * soft-fp/op-4.h: Likewise.
29679         * soft-fp/op-common.h: Likewise.
29680         * soft-fp/quad.h: Likewise.
29681         * soft-fp/single.h: Likewise.
29682         * soft-fp/soft-fp.h: Likewise.
29684 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29686         * iconv/iconv_prog.c: Fix typos.
29687         * stdio-common/psiginfo-data.h: Likewise.
29689 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29691         [BZ #15764]
29692         * locale/setlocale.c: Fix typo.
29694 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29696         [BZ #16036]
29697         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29698         signaling NaN arguments.
29699         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29700         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29702         [BZ #14910]
29703         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29704         unordered operands.
29705         * soft-fp/gesf2.c (__gesf2): Likewise.
29706         * soft-fp/getf2.c (__getf2): Likewise.
29707         * soft-fp/ledf2.c (__ledf2): Likewise.
29708         * soft-fp/lesf2.c (__lesf2): Likewise.
29709         * soft-fp/letf2.c (__letf2): Likewise.
29711         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29712         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29713         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29714         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29715         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29716         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29717         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29718         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29719         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29720         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29721         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29722         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29723         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29724         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29725         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29726         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29727         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29728         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29729         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29730         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29731         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29732         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29733         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29734         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29735         * soft-fp/floattidf.c (__floattidf): Likewise.
29736         * soft-fp/floattisf.c (__floattisf): Likewise.
29737         * soft-fp/floattitf.c (__floattitf): Likewise.
29738         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29739         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29740         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29741         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29742         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29743         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29744         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29745         * soft-fp/gesf2.c (__gesf2): Likewise.
29746         * soft-fp/getf2.c (__getf2): Likewise.
29747         * soft-fp/ledf2.c (__ledf2): Likewise.
29748         * soft-fp/lesf2.c (__lesf2): Likewise.
29749         * soft-fp/letf2.c (__letf2): Likewise.
29751         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29752         Undefine and redefine.
29753         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29754         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29755         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29756         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29757         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29758         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29759         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29760         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29761         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29762         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29763         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29764         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29765         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29766         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29767         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29769         [BZ #16032]
29770         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29771         without decrementing exponent if mantissa >= that for the
29772         denominator, not >.
29773         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29774         denominator, not >.  Decrement exponent in < case instead of
29775         incrementing in >= case.
29776         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29777         without decrementing exponent if mantissa >= that for the
29778         denominator, not >.
29780         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29781         computing saturated result for unsigned overflow.
29783 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29784             Jeff Law  <law@redhat.com>
29786         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29787         (atan2Mp): Add systemtap probe marker.
29788         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29789         (__ieee754_log): Add systemtap probe marker.
29790         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29791         (atanMp): Add systemtap probe marker.
29792         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29793         (tanMp): Add systemtap probe marker.
29794         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29795         (__slowexp): Add systemtap probe marker.
29796         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29797         (__slowpow): Add systemtap probe marker.
29798         * manual/probes.texi: Document probes.
29800 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29802         [BZ #15362]
29803         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29804         written.
29805         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29806         written.
29807         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29808         written to buffer but not flushed.
29809         * libio/iofwrite_u.c:  Likewise.
29810         * libio/iopadn.c:  Return bytes returned even if EOF was
29811         encountered.
29812         * libio/iowpadn.c:  Likewise.
29813         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29814         if _IO_padn does not write the whole buffer.
29815         [!COMPILE_WPRINTF] (PAD): Likewise.
29817 2013-10-10  David S. Miller  <davem@davemloft.net>
29819         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29820         directory block.
29822 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29824         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29825         instead of FSF address.
29826         * soft-fp/fixdfti.c: Likewise.
29827         * soft-fp/fixsfti.c: Likewise.
29828         * soft-fp/fixtfti.c: Likewise.
29829         * soft-fp/fixunsdfti.c: Likewise.
29830         * soft-fp/fixunssfti.c: Likewise.
29831         * soft-fp/fixunstfti.c: Likewise.
29832         * soft-fp/floattidf.c: Likewise.
29833         * soft-fp/floattisf.c: Likewise.
29834         * soft-fp/floattitf.c: Likewise.
29835         * soft-fp/floatuntidf.c: Likewise.
29836         * soft-fp/floatuntisf.c: Likewise.
29837         * soft-fp/floatuntitf.c: Likewise.
29838         * soft-fp/trunctfxf2.c: Likewise.
29840         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29841         * soft-fp/fixdfti.c: Likewise.
29842         * soft-fp/fixsfti.c: Likewise.
29843         * soft-fp/fixtfti.c: Likewise.
29844         * soft-fp/fixunsdfti.c: Likewise.
29845         * soft-fp/fixunssfti.c: Likewise.
29846         * soft-fp/fixunstfti.c: Likewise.
29847         * soft-fp/floattidf.c: Likewise.
29848         * soft-fp/floattisf.c: Likewise.
29849         * soft-fp/floattitf.c: Likewise.
29850         * soft-fp/floatuntidf.c: Likewise.
29851         * soft-fp/floatuntisf.c: Likewise.
29852         * soft-fp/floatuntitf.c: Likewise.
29853         * soft-fp/trunctfxf2.c: Likewise.
29855 2013-10-10  David S. Miller  <davem@davemloft.net>
29857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29859 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29861         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29862         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29863         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29864         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29865         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29866         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29867         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29869         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29870         for NaNs before doing comparisons on argument.
29871         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29872         Likewise.
29874 2013-10-10  Will Newton  <will.newton@linaro.org>
29876         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29877         passed to _int_memalign does not overflow.
29879 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29881         * scripts/bench.pl: Add include-sources directive.
29882         * benchtests/README: Update documentation.
29884 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29886         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29887         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29888         instead of FP_INIT_ROUNDMODE.
29889         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29890         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29892         [BZ #16034]
29893         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29894         copy class of input value.
29895         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29896         not handle exceptions.
29897         * soft-fp/negsf2.c (__negsf2): Likewise.
29898         * soft-fp/negtf2.c (__negtf2): Likewise.
29899         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29901 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29903         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29904         semicolon.  From Linux kernel.
29906 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29908         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29910 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29912         [BZ #156]
29913         * manual/socket.texi: Added statement about buffer
29914         for gethostbyname2_r.
29916 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29918         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29919         Use .p2align directive instead, throughout.
29920         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29921         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29922         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29923         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29924         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29925         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29926         * sysdeps/x86_64/strchr.S: Likewise.
29927         * sysdeps/x86_64/strrchr.S: Likewise.
29929 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29931         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29933         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29935         * sysdeps/generic/math_private.h (__mpsin1): Remove
29936         declaration.
29937         (__mpcos1): Likewise.
29938         (__mpsin): New argument __range_reduce.
29939         (__mpcos): Likewise.
29940         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29941         (slow): Use __mpsin and __mpcos.
29942         (slow1): Likewise.
29943         (slow2): Likewise.
29944         (sloww): Likewise.
29945         (sloww1): Likewise.
29946         (sloww2): Likewise.
29947         (bsloww): Likewise.
29948         (bsloww1): Likewise.
29949         (bsloww2): Likewise.
29950         (cslow2): Likewise.
29951         (csloww): Likewise.
29952         (csloww1): Likewise.
29953         (csloww2): Likewise.
29954         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29955         range_reduce.  Merge in __mpsin1.
29956         (__mpcos): Likewise.
29957         (__mpsin1): Remove.
29958         (__mpcos1): Likewise.
29960 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29962         * locale/loadlocale.c (_nl_intern_locale_data): Use
29963         LOCFILE_ALIGNED_P.
29964         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29965         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29966         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29967         obstack data is appropriately aligned.
29968         (obstack_int32_grow_fast): Likewise.
29969         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29970         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29971         (add_locale_uint32_array): Likewise.
29973 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29975         * benchtests/Makefile: Remove ARGLIST and RET variables.
29976         ($(objpfx)bench-%.c): Pass only function name to the script.
29977         * benchtests/README: Update documentation.
29978         * benchtests/acos-inputs: Add new directives.
29979         * benchtests/acosh-inputs: Likewise.
29980         * benchtests/asin-inputs: Likewise.
29981         * benchtests/asinh-inputs: Likewise.
29982         * benchtests/atan-inputs: Likewise.
29983         * benchtests/atanh-inputs: Likewise.
29984         * benchtests/cos-inputs: Likewise.
29985         * benchtests/cosh-inputs: Likewise.
29986         * benchtests/exp-inputs: Likewise.
29987         * benchtests/log-inputs: Likewise.
29988         * benchtests/pow-inputs: Likewise.
29989         * benchtests/rint-inputs: Likewise.
29990         * benchtests/sin-inputs: Likewise.
29991         * benchtests/sinh-inputs: Likewise.
29992         * benchtests/tan-inputs: Likewise.
29993         * benchtests/tanh-inputs: Likewise.
29994         * scripts/bench.pl: Add support for new directives.
29996 2013-10-07  Alan Modra  <amodra@gmail.com>
29998         * README: Fix careless merge.
30000 2013-10-05  Alan Modra  <amodra@gmail.com>
30002         * NEWS: Mention powerpc64le support and bugs fixed.
30003         * README: Both big-endian and little-endian powerpc64 supported.
30005 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30007         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30008         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30009         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30010         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30012 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30014         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30015         match prototype.
30017 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30019         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30020         Move -mhard-float appending from
30021         ports/sysdeps/powerpc/powerpc32/Makefile.
30022         [$(with-fp) = yes] (ASFLAGS): Likewise.
30023         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30024         * sysdeps/powerpc/nofpu: Move directory from
30025         ports/sysdeps/powerpc/nofpu.
30026         * sysdeps/powerpc/soft-fp: Move directory from
30027         ports/sysdeps/powerpc/soft-fp.
30028         * sysdeps/powerpc/powerpc32/405: Move directory from
30029         ports/sysdeps/powerpc/powerpc32/405.
30030         * sysdeps/powerpc/powerpc32/440: Move directory from
30031         ports/sysdeps/powerpc/powerpc32/440.
30032         * sysdeps/powerpc/powerpc32/464: Move directory from
30033         ports/sysdeps/powerpc/powerpc32/464.
30034         * sysdeps/powerpc/powerpc32/476: Move directory from
30035         ports/sysdeps/powerpc/powerpc32/476.
30036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30037         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30039         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30041         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30043         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30045         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30046         * README: Update for powerpc-*-linux-gnu software floating point
30047         support in libc.
30049         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30050         case to powerpc/powerpc32*.
30051         * sysdeps/unix/sysv/linux/configure: Regenerated.
30053         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30054         (_FPU_MASK_OM): Define as 0x04.
30055         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30056         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30057         0x00c10080.
30058         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30059         0x0000003c.
30060         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30063         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30064         getcontext_e500.
30065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30066         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30067         setcontext_e500.
30068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30069         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30070         and setcontext_e500.
30072 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30074         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30076 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30078         * manual/threads.texi (Default Thread Attributes): Fix typo.
30080 2013-10-04  Will Newton  <will.newton@linaro.org>
30082         * malloc/Makefile: Add tst-memalign.
30083         * malloc/tst-memalign.c: New file.
30085         * malloc/tst-posix_memalign.c: Add comments.
30086         (do_test): Add comments and call free on all potentially
30087         allocated pointers. Add space after cast.
30089         * malloc/tst-pvalloc.c: Add comments.
30090         (do_test): Add comments and call free on all potentially
30091         allocated pointers. Remove duplicate check for NULL pointer.
30092         Add space after cast.
30094         * malloc/tst-valloc.c: Add comments.
30095         (do_test): Add comments and call free on all potentially
30096         allocated pointers. Remove duplicate check for NULL pointer.
30097         Add space after cast.
30099 2013-10-04  Alan Modra  <amodra@gmail.com>
30101         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30102         Use stdint types in rather than __attribute__((mode())).
30103         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30105 2013-10-04  Alan Modra  <amodra@gmail.com>
30107         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30108         Correct handling of unaligned relocs for little-endian.
30109         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30111 2013-10-04  Alan Modra  <amodra@gmail.com>
30113         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30114         * configure: Regenerate.
30115         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30116         * shlib-versions: Likewise.
30118 2013-10-04  Alan Modra  <amodra@gmail.com>
30120         * string/tester.c (test_memrchr): Increment reported test cycle.
30122 2013-10-04  Alan Modra  <amodra@gmail.com>
30124         * string/test-memcpy.c (do_one_test): When reporting errors, print
30125         string address and don't overrun end of string.
30127 2013-10-04  Alan Modra  <amodra@gmail.com>
30129         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30130         insrdi.  Make better use of reg selection to speed exit slightly.
30131         Schedule entry path a little better.  Remove useless "are we done"
30132         checks on entry to main loop.  Handle wrapping around zero address.
30133         Correct main loop count.  Handle single left-over word from main
30134         loop inline rather than by using loop_small.  Remove extra word
30135         case in loop_small caused by wrong loop count.  Add little-endian
30136         support.
30137         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30138         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30139         cache hint.
30140         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30141         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30142         support.  Avoid rlwimi.
30143         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30145 2013-10-04  Alan Modra  <amodra@gmail.com>
30147         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30148         insrdi.  Formatting.
30149         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30150         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30151         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30152         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30153         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30154         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30156 2013-10-04  Alan Modra  <amodra@gmail.com>
30158         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30159         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30160         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30161         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30162         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30163         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30164         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30165         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30166         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30167         use of regs.  Use power7 mtocrf.  Tidy function tails.
30169 2013-10-04  Alan Modra  <amodra@gmail.com>
30171         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30172         Formatting.  Consistently use rXXX register defines or rN defines.
30173         Use early exit labels that avoid restoring unused non-volatile regs.
30174         Make cr field use more consistent with rWORDn compares.  Rename
30175         regs used as shift registers for unaligned loop, using rN defines
30176         for short lifetime/multiple use regs.
30177         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30178         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30179         addi 1,1,64 to pop stack frame.  Simplify return value code.
30180         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30182 2013-10-04  Alan Modra  <amodra@gmail.com>
30184         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30185         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30186         rather than rlwimi.
30187         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30188         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30189         little-endian support.  Correct typos.
30190         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30191         rather than rlwimi.
30192         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30193         in loop and entry code to keep "and." results.
30194         (strchr): Add little-endian support.  Comment.  Move cntlzd
30195         earlier in tail.
30196         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30198 2013-10-04  Alan Modra  <amodra@gmail.com>
30200         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30201         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30202         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30203         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30205 2013-10-04  Alan Modra  <amodra@gmail.com>
30207         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30208         (rTMP): Define as r11.
30209         (strcmp): Add little-endian support.  Optimise tail.
30210         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30211         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30212         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30213         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30214         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30215         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30216         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30218 2013-10-04  Alan Modra  <amodra@gmail.com>
30220         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30221         little-endian support.  Remove unnecessary "are we done" tests.
30222         Handle "s" wrapping around zero and extremely large "size".
30223         Correct main loop count.  Handle single left-over word from main
30224         loop inline rather than by using small_loop.  Correct comments.
30225         Delete "zero" tail, use "end_max" instead.
30226         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30228 2013-10-04  Alan Modra  <amodra@gmail.com>
30230         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30231         support.  Don't branch over align.
30232         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30233         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30234         support.  Rearrange tmp reg use to suit.  Comment.
30235         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30237 2013-10-04  Alan Modra  <amodra@gmail.com>
30239         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30241 2013-10-04  Alan Modra  <amodra@gmail.com>
30243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30244         conditional form of branch and link when obtaining pc.
30245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30247 2013-10-04  Alan Modra  <amodra@gmail.com>
30249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30250         HIWORD/LOWORD.
30251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30254 2013-10-04  Alan Modra  <amodra@gmail.com>
30256         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30257         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30258         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30259         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30260         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30261         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30262         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30263         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30264         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30265         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30267 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30268             Alistair Popple <alistair@ozlabs.au.ibm.com>
30269             Alan Modra <amodra@gmail.com>
30271         [BZ #15723]
30272         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30273         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30274         _dl_hwcap access for little-endian.
30275         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30276         destroy vmx regs when saving unaligned.
30277         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30278         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30279         destroy vmx regs when saving unaligned.
30281 2013-10-04  Alan Modra  <amodra@gmail.com>
30283         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30284         Don't use a union to pack hi/low value.
30286 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30288         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30289         for little-endian.
30290         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30291         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30292         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30293         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30294         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30296 2013-10-04  Alan Modra  <amodra@gmail.com>
30298         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30299         constants to usual value for .cst8 section, and remove redundant
30300         high address load.
30301         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30302         constant for 0x1p52.  Load little-endian words of double from
30303         correct stack offsets.
30305 2013-10-04  Alan Modra  <amodra@gmail.com>
30307         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30308         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30309         words of double from correct stack offsets.
30310         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30311         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30312         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30313         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30314         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30315         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30316         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30317         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30318         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30319         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30320         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30321         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30322         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30323         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30324         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30325         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30326         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30328 2013-10-04  Alan Modra  <amodra@gmail.com>
30330         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30331         64-bit int/double union.
30332         (_FPU_SETCW): Likewise.
30333         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30334         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30336 2013-10-04  Alan Modra  <amodra@gmail.com>
30338         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30339         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30341 2013-10-04  Alan Modra  <amodra@gmail.com>
30343         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30344         use vector int constants.
30345         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30347 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30349         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30350         array with long long.
30351         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30352         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30353         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30354         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30355         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30356         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30357         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30358         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30359         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30360         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30361         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30362         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30363         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30365 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30367         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30368         (__signbit): Likewise.  Correct for little-endian.
30369         (__signbitl): Call __signbit.
30370         (lrint): Correct for little-endian.
30371         (lrintf): Call lrint.
30373 2013-10-04  Alan Modra  <amodra@gmail.com>
30375         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30376         union 32-bit int array member with 64-bit int array.
30377         (t515, tm256): Double rather than long double.
30378         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30380 2013-10-04  Alan Modra  <amodra@gmail.com>
30382         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30383         Delete.
30384         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30385         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30386         version of math_ldbl.h.
30388 2013-10-04  Alan Modra  <amodra@gmail.com>
30390         [BZ #15734], [BZ #15735]
30391         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30392         all uses of ieee875 long double macros and unions.  Simplify test
30393         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30394         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30395         normalize after ldbl_extract_mantissa, and don't add hidden bit
30396         already handled.  Don't treat low word of ieee854 mantissa like
30397         low word of IBM long double and mask off bit when testing for
30398         zero.
30399         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30400         all uses of ieee875 long double macros and unions.  Simplify tests
30401         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30402         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30403         two1022, instead use their values.  Recognise that tests for large
30404         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30405         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30406         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30407         test for 0.0L and nan.  Correct negation.
30408         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30409         ieee875 long double macros and unions.  Correct output for large
30410         magnitude x.  Correct absolute value calculation.
30411         (__erfcl): Likewise.
30412         * math/libm-test.inc: Add tests for errors discovered in IBM long
30413         double versions of fmodl, remainderl, erfl and erfcl.
30415 2013-10-04  Alan Modra  <amodra@gmail.com>
30417         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30418         all uses of ieee854 long double macros and unions.  Simplify tests
30419         for long doubles that are fully specified by the high double.
30420         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30421         Likewise.
30422         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30423         Remove dead code too.
30424         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30425         (__ieee754_ynl): Likewise.
30426         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30427         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30428         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30429         Remove dead code too.
30430         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30431         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30432         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30433         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30434         Simplify.
30435         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30436         Simplify.
30437         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30438         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30439         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30440         Comment on variable precision.
30441         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30442         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30443         Likewise.
30444         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30445         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30446         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30447         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30448         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30450 2013-10-04  Alan Modra  <amodra@gmail.com>
30452         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30453         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30454         all uses of ieee854 long double macros and unions.
30455         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30456         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30457         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30458         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30459         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30460         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30461         Likewise.
30462         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30463         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30464         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30465         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30466         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30467         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30468         Simplify sign and nan test too.
30469         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30470         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30471         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30472         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30473         Likewise.
30474         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30475         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30476         Likewise.
30477         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30478         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30479         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30480         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30481         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30482         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30484 2013-10-04  Alan Modra  <amodra@gmail.com>
30486         * stdio-common/printf_size.c (__printf_size): Don't use
30487         union ieee854_long_double in fpnum union.
30488         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30489         signbit macro to retrieve sign from long double.
30490         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30491         retrieve sign from long double.
30492         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30493         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30494         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30495         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30496         * math/test-misc.c (main): Don't use union ieee854_long_double.
30498 2013-10-04  Alan Modra  <amodra@gmail.com>
30500         [BZ #15680]
30501         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30502         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30503         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30504         calculation.  Remove unnecessary test for denormal exponent.
30505         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30506         Correct handling of denormals.  Avoid undefined shift behaviour.
30507         Correct normalisation of low mantissa when low double is denormal.
30508         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30509         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30510         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30511         Correct normalisation of low mantissa.  Test for overflow of high
30512         mantissa and normalise.
30513         (ldbl_nearbyint): Use more readable constant for two52.
30514         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30515         (__mpn_construct_long_double): Fix test for overflow of high
30516         mantissa and correct normalisation.  Avoid undefined shift.
30518 2013-10-04  Alan Modra  <amodra@gmail.com>
30520         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30521         (union ibm_extended_long_double): Define as an array of ieee754_double.
30522         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30523         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30524         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30525         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30526         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30527         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30528         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30529         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30530         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30531         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30532         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30534 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30536         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30537         page size instead of calling getpagesize.
30539         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30540         (LOCFILE_ALIGN_MASK): Likewise.
30541         (LOCFILE_ALIGN_UP): Likewise.
30542         (LOCFILE_ALIGNED_P): Likewise.
30543         * locale/programs/ld-collate.c (collate_output): Use the new
30544         macros instead of __alignof__ (int32_t).
30545         * locale/weight.h (findidx): Likewise.
30547 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30549         [BZ #431]
30550         * manual/string.texi: Fix strncat and wcsncat.
30552 2013-10-03  Brooks Moses  <bmoses@google.com>
30554         [BZ #15915]
30555         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30556         * Makerules: ...here, and adjust associated comments.
30558 2013-10-02  Will Newton  <will.newton@linaro.org>
30560         * malloc/Makefile: Add tst-pvalloc.
30561         * malloc/tst-pvalloc.c: New file.
30563 2013-10-02  Will Newton  <will.newton@linaro.org>
30565         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30566         improve test coverage.
30568 2013-10-02  Will Newton  <will.newton@linaro.org>
30570         * malloc/Makefile: Add tst-posix_memalign.
30571         * malloc/tst-posix_memalign.c: New file.
30573 2013-10-01  Eric Blake  <eblake@redhat.com>
30575         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30576         Use __THROWNL rather than __THROW on static functions.
30578 2013-09-30  Petr Machata  <pmachata@redhat.com>
30580         * elf/elf.h (R_AARCH64_ABS16): New macro.
30581         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30582         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30583         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30584         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30585         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30586         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30587         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30588         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30589         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30590         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30591         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30592         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30593         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30594         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30595         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30596         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30597         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30598         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30599         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30600         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30601         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30602         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30603         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30604         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30605         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30606         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30607         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30608         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30609         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30610         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30611         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30612         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30613         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30614         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30615         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30616         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30617         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30618         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30619         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30620         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30621         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30622         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30623         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30624         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30625         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30626         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30627         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30628         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30629         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30630         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30631         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30632         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30633         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30634         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30635         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30636         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30637         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30638         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30639         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30640         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30641         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30642         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30643         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30644         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30645         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30646         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30647         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30648         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30649         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30650         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30651         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30652         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30653         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30654         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30655         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30656         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30657         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30658         (R_AARCH64_TLSDESC_LDR): Likewise.
30659         (R_AARCH64_TLSDESC_ADD): Likewise.
30660         (R_AARCH64_TLSDESC_CALL): Likewise.
30662 2013-09-30  Andreas Schwab  <schwab@suse.de>
30664         [BZ #15048]
30665         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30666         the nss database lookup.
30667         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30670 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30672         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30674 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30676         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30677         ${Bash-specific parameter/pattern/string} parameter expansion.
30678         * sysdeps/unix/make-syscalls.sh: Likewise.
30680 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30682         * sysdeps/sh/stackguard-macros.h: New file.
30684 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30686         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30687         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30688         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30689         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30690         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30691         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30693 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30695         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30696         Fix thread ID register.
30698 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30700         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30701         [POSIX || UNIX98]: Require rather than permitting all symbols from
30702         <time.h>.
30703         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30704         element of struct sched_param.
30705         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30706         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30707         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30708         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30709         constant.
30711 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30713         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30714         argument calculation.
30716 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30718         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30719         Expect macro.
30720         [POSIX] (pthread_attr_t): Do not require type.
30721         [POSIX] (pthread_cond_t): Likewise.
30722         [POSIX] (pthread_condattr_t): Likewise.
30723         [POSIX] (pthread_key_t): Likewise.
30724         [POSIX] (pthread_mutex_t): Likewise.
30725         [POSIX] (pthread_mutexattr_t): Likewise.
30726         [POSIX] (pthread_once_t): Likewise.
30727         [POSIX] (pthread_t): Likewise.
30728         [POSIX-based standards] (pthread_atfork): Expect function.
30730 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30731             Richard Sandiford  <richard@codesourcery.com>
30733         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30734         (swap_endianness_p): New extern variable.
30735         (set_big_endian): New inline function.
30736         (maybe_swap_uint32): Likewise.
30737         (maybe_swap_uint32_array): Likewise.
30738         (maybe_swap_uint32_obstack): Likewise.
30739         * locale/programs/locfile.c: Include <stdbool.h>.
30740         (swap_endianness_p): New variable.
30741         (add_locale_uint32): Call maybe_swap_uint32.
30742         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30743         (write_locale_data): Call maybe_swap_uint32_array.
30744         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30745         maybe_swap_uint32.
30746         (obstack_int32_grow_fast): Likewise.
30747         (output_weightwc): Call maybe_swap_uint32_obstack.
30748         (collate_output): Likewise.
30749         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30750         (OPT_LITTLE_ENDIAN): Likewise.
30751         (options): Add --little-endian and --big-endian options.
30752         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30753         * locale/programs/locarchive.c: Include "locfile.h".
30754         (GET): New macro.
30755         (SET): Likewise.
30756         (INC): Likewise.
30757         (create_archive): Use the new macros to access fields of
30758         structures directly mapped from or written to locale archives.
30759         (oldlocrecentcmp): Likewise.
30760         (enlarge_archive): Likewise.
30761         (insert_name): Likewise.
30762         (add_alias): Likewise.
30763         (add_locale): Likewise.
30764         (delete_locales_from_archive): Likewise.
30765         (show_archive_content): Likewise.
30766         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30767         locale data.
30769 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30771         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30772         http://www.gnu.org/doc/freemanuals.texi.
30773         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30775 2013-09-24  Will Newton  <will.newton@linaro.org>
30777         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30778         macro.
30780 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30782         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30783         unsigned char.
30785 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30787         * manual/threads.texi (POSIX Threads): Fix a typo.
30789 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30791         [BZ #14547]
30792         * string/tst-strcoll-overflow.c: New test case.
30793         * string/Makefile (xtests): Add tst-strcoll-overflow.
30794         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30795         cache if string sizes may cause integer overflow.
30797         [BZ #14547]
30798         * string/strcoll_l.c (coll_seq): New members rule, idx,
30799         save_idx and back_us.
30800         (get_next_seq_nocache): New function.
30801         (do_compare_nocache): New function.
30802         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30803         when malloc fails.
30805 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30807         [BZ #15754]
30808         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30809         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30810         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30812         [BZ #15754]
30813         * elf/Makefile (tests): Add tst-ptrguard1.
30814         (tests-static): Add tst-ptrguard1-static.
30815         (tst-ptrguard1-ARGS): Define.
30816         (tst-ptrguard1-static-ARGS): Define.
30817         * elf/tst-ptrguard1.c: New file.
30818         * elf/tst-ptrguard1-static.c: New file.
30819         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30820         * sysdeps/i386/stackguard-macros.h: Likewise.
30821         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30822         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30823         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30824         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30825         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30826         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30828 2013-09-23  Hector Marco  <hecmargi@upv.es>
30829             Ismael Ripoll  <iripoll@disca.upv.es>
30830             Carlos O'Donell  <carlos@redhat.com>
30832         [BZ #15754]
30833         * sysdeps/generic/stackguard-macros.h: Define
30834         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30835         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30836         Define __pointer_chk_guard_local.
30837         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30838         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30840 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30842         [BZ #15859]
30843         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30845 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30847         * include/string.h (__ffs): Declare as hidden.
30848         * string/ffs.c (__ffs): Define as hidden.
30849         * sysdeps/i386/ffs.c (__ffs): Likewise.
30850         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30851         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30852         * sysdeps/s390/ffs.c (__ffs): Likewise.
30853         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30855 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30857         * NEWS: Mention malloc probes.
30859         * malloc/arena.c (new_heap): New memory_heap_new probe.
30860         (grow_heap): New memory_heap_more probe.
30861         (shrink_heap): New memory_heap_less probe.
30862         (heap_trim): New memory_heap_free probe.
30863         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30864         (systrim): New memory_sbrk_less probe.
30865         * manual/probes.texi: Document them.
30867         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30868         * manual/probes.texi: Document it.
30870         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30871         (__libc_realloc): Add memory_realloc_retry probe.
30872         (__libc_memalign): Add memory_memalign_retry probe.
30873         (__libc_valloc): Add memory_valloc_retry probe.
30874         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30875         (__libc_calloc): Add memory_calloc_retry probe.
30876         * manual/probes.texi: Document them.
30878         * malloc/arena.c (get_free_list): Add probe
30879         memory_arena_reuse_free_list.
30880         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30881         and memory_arena_reuse.
30882         (arena_get2) [!PER_THREAD]: Likewise.
30883         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30884         memory_arena_reuse_realloc.
30885         * manual/probes.texi: Document them.
30887         * malloc/malloc.c (__libc_free): Add
30888         memory_mallopt_free_dyn_thresholds probe.
30889         (__libc_mallopt): Add multiple memory_mallopt probes.
30890         * manual/probes.texi: Document them.
30892         * malloc/malloc.c: Include stap-probe.h.
30893         (__libc_mallopt): Add memory_mallopt probe.
30894         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30895         * manual/probes.texi: New.
30896         * manual/Makefile (chapters): Add probes.
30897         * manual/threads.texi: Set next node.
30899 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30901         [BZ #15963, #13985]
30902         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30903         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30904         Add `Chinese' to `nan' entry name.
30906 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30908         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30909         (POLYNOMIAL): Likewise.
30910         (TAYLOR_SINCOS): Likewise.
30911         (TAYLOR_SLOW): Likewise.
30912         (__sin): Use TAYLOR_SINCOS.
30913         (__cos): Likewise.
30914         (slow): Use TAYLOR_SLOW.
30915         (sloww): Likewise.
30916         (bsloww): Likewise.
30917         (csloww): Likewise.
30919 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30921         * stdlib/strtod_l.c: Fix buffer overrun.
30923 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30925         * benchtests/Makefile (bench): Add sincos.
30926         * benchtests/bench-sincos.c: New file.
30928         * math/libm-test.inc (cos_test_data): New test inputs.
30929         (sin_test_data): Likewise.
30931         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30932         macro.
30933         (__sin): Use it.
30934         (__cos): Likewise.
30935         (slow1): Likewise.
30936         (slow2): Likewise.
30937         (sloww1): Likewise.
30938         (sloww2): Likewise.
30939         (bsloww1): Likewise.
30940         (bsloww2): Likewise.
30941         (cslow2): Likewise.
30942         (csloww1): Likewise.
30943         (csloww2): Likewise.
30945         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30946         function.
30947         (__sin): Use it.
30948         (__cos): Likewise.
30950         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30951         gotos.
30952         (__cos): Likewise.
30954 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30956         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30957         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30958         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30959         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30960         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30961         * elf/cache.c (print_entry): Handle the new cache flags.
30963 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30964             Aldy Hernandez  <aldyh@redhat.com>
30966         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30967         Change condition to [_SOFT_FLOAT].
30968         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30969         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30970         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30971         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30972         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30973         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30974         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30975         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30976         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30977         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30978         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30979         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30980         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30981         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30982         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30983         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30984         declaration.
30986 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30988         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30989         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30990         (__longjmp): Use LOAD_GP to load saved GPRs.
30991         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30992         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30993         (__sigsetjmp): Use SAVE_GP to save GPRs.
30995         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30996         Do not append -msoft-float.
30997         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30999 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31001         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31003 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31005         [BZ #15966]
31006         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31007         (_FPU_GETCW): Use initial "__" on variable and field names but not
31008         on macro parameter name.
31009         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31010         parentheses around reference to macro parameter.
31012 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31014         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31015         prototype.
31016         (ctype_startup): Use uint32_t in cast and sizeof for
31017         ctype->charnames.
31019 2013-09-11  Jia Liu  <proljc@gmail.com>
31021         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31022         __daddr_t_defined.
31023         [__FreeBSD__]: Likewise.
31025 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31027         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31028         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31029         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31030         (strchr): Remove __strchr_sse42 ifunc selection.
31031         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31032         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31034 2013-09-11  Will Newton  <will.newton@linaro.org>
31036         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31037         parameter to RES. Remove hardcoded 1000 value.
31038         * benchtests/bench-skeleton.c (main): Pass RES parameter
31039         to TIMING_INIT and multiply result by 1000.
31041 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31045 2013-09-11  Andreas Schwab  <schwab@suse.de>
31047         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31048         if not defined.
31049         (O_TMPFILE) [__USE_GNU]: Define.
31050         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31051         Define.
31053 2013-09-11  Will Newton  <will.newton@linaro.org>
31055         [BZ #15857]
31056         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31057         does not overflow.
31059 2013-09-11  Will Newton  <will.newton@linaro.org>
31061         [BZ #15856]
31062         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31063         does not overflow.
31065 2013-09-11  Will Newton  <will.newton@linaro.org>
31067         [BZ #15855]
31068         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31069         does not overflow.
31071 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31073         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31074         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31075         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31076         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31077         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31079 2013-09-10  Allan McRae  <allan@archlinux.org>
31081         [BZ #15748]
31082         * manual/arith.texi (Parsing of Floats): Clarify
31083         cross-reference.
31085         [BZ #15849]
31086         * manual/install.texi (Running make install): Mention
31087         --enable-pt-chown.
31088         * INSTALL: Regenerated.
31090 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31092         * csu/init-first.c (_init): Remove the !SHARED condition around
31093         FPU control word initialization.
31094         * elf/dl-support.c (_dl_fpu_control): New variable.
31095         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31096         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31097         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31098         * math/test-fpucw-static.c: New file.
31099         * math/test-fpucw-ieee.c: New file.
31100         * math/test-fpucw-ieee-static.c: New file.
31101         * math/Makefile (tests): Add `test-fpucw-ieee' and
31102         `$(tests-static)'.
31103         (tests-static): New variable.
31104         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31105         dependency to...
31106         [($(build-shared),yes)]
31107         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31108         ... this.
31109         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31110         New dependency.
31112 2013-09-09  Allan McRae  <allan@archlinux.org>
31114         [BZ #15939]
31115         * manual/string.texi (Collation Functions): Fix typo in
31116         strcoll example.
31117         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31119         [BZ #15893]
31120         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31122         [BZ #15892]
31123         * libio/memstream.c (open_memstream): Fix memory leak.
31124         * libio/wmemstream.c (open_wmemstream): Likewise.
31126         [BZ #15895]
31127         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31129 2013-09-09  Will Newton  <will.newton@linaro.org>
31131         * malloc/Makefile: Add tst-realloc to tests.
31132         * malloc/tst-realloc.c: New file.
31134 2013-09-09  Allan McRae  <allan@archlinux.org>
31136         [BZ #15844]
31137         * COPYING: Update from GNU website to fix FSF address.
31138         * COPYING.LIB: Likewise.
31140 2013-09-06  David S. Miller  <davem@davemloft.net>
31142         * po/zh_TW.po: Update Chinese (traditional) translation from
31143         translation project.
31145 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31146             Joseph Myers  <joseph@codesourcery.com>
31148         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31149         "localeinfo.h".
31150         (obstack_chunk_alloc): New macro.
31151         (obstack_chunk_free): Likewise.
31152         (record_offset): New function.
31153         (init_locale_data): Likewise.
31154         (align_locale_data): Likewise.
31155         (add_locale_empty): Likewise.
31156         (add_locale_raw_data): Likewise.
31157         (add_locale_raw_obstack): Likewise.
31158         (add_locale_string): Likewise.
31159         (add_locale_wstring): Likewise.
31160         (add_locale_uint32): Likewise.
31161         (add_locale_uint32_array): Likewise.
31162         (add_locale_char): Likewise.
31163         (start_locale_structure): Likewise.
31164         (end_locale_structure): Likewise.
31165         (start_locale_prelude): Likewise.
31166         (end_locale_prelude): Likewise.
31167         (write_locale_data): Take locale_file structure rather than an
31168         iovec.
31169         * locale/programs/locfile.h: Include "obstack.h".
31170         (struct locale_file): Change to store locale file contents instead
31171         of header.
31172         (init_locale_data): New prototype.
31173         (align_locale_data): Likewise.
31174         (add_locale_empty): Likewise.
31175         (add_locale_raw_data): Likewise.
31176         (add_locale_raw_obstack): Likewise.
31177         (add_locale_string): Likewise.
31178         (add_locale_wstring): Likewise.
31179         (add_locale_uint32): Likewise.
31180         (add_locale_uint32_array): Likewise.
31181         (add_locale_char): Likewise.
31182         (start_locale_structure): Likewise.
31183         (end_locale_structure): Likewise.
31184         (start_locale_prelude): Likewise.
31185         (end_locale_prelude): Likewise.
31186         (write_locale_data): Update prototype.
31187         * locale/programs/3level.h (struct TABLE): Remove result field.
31188         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31189         Use new locale_file interface.
31190         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31191         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31192         * locale/programs/ld-address.c (address_output): Use new
31193         locale_file interface.
31194         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31195         NO_ADD_LOCALE.
31196         (collate_finish): Don't call collseq_table_finalize.
31197         (collate_output): Use new locale_file interface.
31198         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31199         in file.
31200         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31201         (TABLE): Move defines earlier in file.
31202         (ELEMENT): Likewise.
31203         (DEFAULT): Likewise.
31204         (wctrans_table_add): Move macro and inline function earlier in
31205         file.
31206         (struct wctype_table): Move type earlier in file.
31207         (add_locale_wctype_table): New static prototype.
31208         (struct locale_ctype_t): Use logical types instead of struct iovec
31209         pointers for members.
31210         (ctype_output): Use new locale_file interface.
31211         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31212         new locale_file interface.
31213         (allocate_arrays): Update for use of new locale_file interface.
31214         * locale/programs/ld-identification.c (identification_output): Use
31215         new locale_file interface.
31216         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31217         * locale/programs/ld-messages.c (messages_output): Likewise.
31218         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31219         * locale/programs/ld-name.c (name_output): Likewise.
31220         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31221         * locale/programs/ld-paper.c (paper_output): Likewise.
31222         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31223         * locale/programs/ld-time.c (time_output): Likewise.
31225 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31227         * benchtests/Makefile: Add memrchr benchmark.
31228         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31229         benchmark as memrchr.
31230         * benchtests/bench-memrchr-ifunc.c: New file.
31231         * benchtests/bench-memrchr.c: New file.
31233 2013-09-06   Will Newton  <will.newton@linaro.org>
31235         * benchtests/Makefile (string-bench): Add memcpy.
31237 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31238             Cong Wang  <amwang@redhat.com>
31240         [BZ #15850]
31241         * sysdeps/unix/sysv/linux/bits/in.h
31242         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31243         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31244         before __USE_KERNEL_IPV6_DEFS uses.
31245         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31246         IPPROTO_BEETPH.
31247         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31248         sockaddr_in6, or ipv6_mreq.
31250 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31252         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31253         memory access for final bytes in some large inputs.
31254         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31256 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31258         * string/test-memrchr.c: New file.
31259         * string/test-memrchr-ifunc.c: New file.
31260         * string/Makefile: Add new memrchr testcase.
31262 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31264         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31265         fanotify_init returns EPERM.
31267 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31269         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31270         errors.
31271         (top level): Treat second token from macro or constant entries for
31272         allowed headers as allowed.
31273         * include/complex.h: Condition internal declarations on
31274         [!_ISOMAC].
31275         * include/fenv.h: Condition include of <stdbool.h> and internal
31276         declarations on [!_ISOMAC].
31278 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31280         [BZ #15923]
31281         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31283 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31285         * configure.in (--enable-versioning): Remove configure option.
31286         (libc_cv_asm_symver_directive): Remove configure test.
31287         (libc_cv_ld_version_script_option): Likewise.
31288         (VERSIONING): Remove variable and AC_SUBST.
31289         (DO_VERSIONING): Remove AC_DEFINE.
31290         * configure: Regenerated.
31291         * config.h.in (DO_VERSIONING): Remove macro.
31292         * Makerules [$(versioning) = yes]: Change conditionals to
31293         [$(build-shared) = yes].
31294         * config.make.in (versioning): Remove variable.
31295         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31296         [$(build-shared) = yes].
31297         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31298         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31299         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31300         [$(build-shared) = yes].
31301         * extra-lib.mk [$(versioning) = yes]: Likewise.
31302         * hurd/Makefile [$(versioning) = yes]: Likewise.
31303         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31304         [SHARED].
31305         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31306         [SHARED].
31307         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31308         [SHARED && !NO_HIDDEN].
31309         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31310         [SHARED].
31311         [SHARED && DO_VERSIONING]: Likewise..
31312         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31313         [$(build-shared) = yes].
31314         * manual/install.texi (--disable-versioning): Remove
31315         documentation.
31316         * INSTALL: Regenerated.
31317         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31318         to [SHARED].
31319         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31320         [$(build-shared) = yes].
31321         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31322         * sysdeps/i386/i686/multiarch/strstr-c.c
31323         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31324         [SHARED && !NO_HIDDEN].
31325         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31326         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31327         * sysdeps/powerpc/powerpc32/dl-machine.c
31328         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31329         * sysdeps/powerpc/powerpc32/sysdep.h
31330         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31331         to [SHARED && PIC && !NO_HIDDEN].
31332         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31333         conditional to [SHARED].
31335 2013-09-04   Will Newton  <will.newton@linaro.org>
31337         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31338         * benchtests/bench-string.h: Include bench-timing.h instead
31339         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31340         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31341         call to HP_TIMING_DIFF_INIT.
31342         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31343         instead of hp-timing.h macros.
31344         * benchtests/bench-memchr.c: Likewise.
31345         * benchtests/bench-memcmp.c: Likewise.
31346         * benchtests/bench-memcpy.c: Likewise.
31347         * benchtests/bench-memmem.c: Likewise.
31348         * benchtests/bench-memmove.c: Likewise.
31349         * benchtests/bench-memset.c: Likewise.
31350         * benchtests/bench-rawmemchr.c: Likewise.
31351         * benchtests/bench-strcasecmp.c: Likewise.
31352         * benchtests/bench-strcasestr.c: Likewise.
31353         * benchtests/bench-strcat.c: Likewise.
31354         * benchtests/bench-strchr.c: Likewise.
31355         * benchtests/bench-strcmp.c: Likewise.
31356         * benchtests/bench-strcpy.c: Likewise.
31357         * benchtests/bench-strcpy_chk.c: Likewise.
31358         * benchtests/bench-strlen.c: Likewise.
31359         * benchtests/bench-strncasecmp.c: Likewise.
31360         * benchtests/bench-strncat.c: Likewise.
31361         * benchtests/bench-strncmp.c: Likewise.
31362         * benchtests/bench-strncpy.c: Likewise.
31363         * benchtests/bench-strnlen.c: Likewise.
31364         * benchtests/bench-strpbrk.c: Likewise.
31365         * benchtests/bench-strrchr.c: Likewise.
31366         * benchtests/bench-strspn.c: Likewise.
31367         * benchtests/bench-strstr.c: Likewise.
31369 2013-09-04  Will Newton  <will.newton@linaro.org>
31371         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31373 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31375         [BZ #15427]
31376         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31377         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31378         * math/libm-test.inc (lgamma_test_data): Add more tests.
31379         * sysdeps/i386/fpu/libm-test-ulps: Update.
31380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31382 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31384         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31386         Add ifunc.
31387         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31388         Add strcmp-sse2-unaligned
31389         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31391 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31393         * Versions.def (libc): Add GLIBC_2.19.
31395 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31397         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31398         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31400 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31402         [BZ #14155]
31403         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31404         intermediate calculations in recurrence.
31405         (__ieee754_ynf): Likewise.
31406         * math/libm-test.inc (jn_test_data): Do not allow spurious
31407         underflow exception.  Add more tests.
31408         (yn_test_data): Add more tests.
31409         * sysdeps/i386/fpu/libm-test-ulps: Update.
31410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31412 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31414         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31416 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31418         * csu/init-first.c: Fix then/than typos.
31419         * locale/programs/ld-collate.c: Likewise.
31420         * locale/programs/linereader.h: Likewise.
31421         * manual/charset.texi: Likewise.
31422         * manual/filesys.texi: Likewise.
31423         * manual/stdio.texi: Likewise.
31424         * manual/string.texi: Likewise.
31425         * stdlib/fmtmsg.c: Likewise.
31426         * sysdeps/i386/stpncpy.S: Likewise.
31427         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31428         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31429         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31430         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31432 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31434         * elf/dl-open.c: Fix typos.
31435         * iconvdata/gbbig5.c: Likewise.
31436         * iconvdata/iso-2022-jp.c: Likewise.
31437         * iconv/gconv_int.h: Likewise.
31438         * iconv/loop.c: Likewise.
31439         * nis/rpcsvc/nis.h: Likewise.
31440         * resolv/ns_name.c: Likewise.
31441         * stdio-common/vfscanf.c: Likewise.
31442         * streams/stropts.h: Likewise.
31443         * sunrpc/rpc_thread.c: Likewise.
31444         * sysdeps/i386/strpbrk.S: Likewise.
31445         * sysdeps/ieee754/k_standard.c: Likewise.
31446         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31447         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31448         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31449         * sysdeps/mach/hurd/profil.c: Likewise.
31450         * sysdeps/s390/dl-procinfo.h: Likewise.
31451         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31452         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31453         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31454         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31455         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31457 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31459         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31460         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31462 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31464         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31465         aix specific files.
31466         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31467         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31468         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31469         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31470         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31471         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31472         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31473         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31475 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31476             Roland McGrath  <roland@hack.frob.com>
31478         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31479         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31481 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31483         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31484         __executable_start symbol instead of _start.
31486 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31488         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31489         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31490         Move macros to...
31491         * sysdeps/gnu/ldsodefs.h: ... this new file.
31493         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31494         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31495         instead of ELFOSABI_LINUX.
31497         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31498         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31499         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31500         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31501         Likewise.
31502         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31503         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31504         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31505         Likewise.
31506         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31507         (ibm_extended_long_double): Add ieee_nan member.
31508         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31509         (do_test): New function.
31511         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31512         TEST_TRUNC.
31513         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31514         functions, renamed from truncdfsf_test, trunctfsf_test,
31515         trunctfdf_test.
31516         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31517         functions.
31518         (do_test): Run all these.
31520 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31522         * argp/argp-help.c: Fix typos.
31523         * argp/argp-parse.c: Likewise.
31524         * debug/backtracesyms.c: Likewise.
31525         * elf/elf.h: Likewise.
31526         * malloc/malloc.c: Likewise.
31527         * nis/nis_print.c: Likewise.
31528         * resolv/res_comp.c: Likewise.
31529         * stdlib/stdlib.h: Likewise.
31530         * sunrpc/clnt_tcp.c: Likewise.
31531         * sunrpc/clnt_udp.c: Likewise.
31532         * sunrpc/clnt_unix.c: Likewise.
31533         * sysdeps/unix/bsd/ptsname.c: Likewise.
31534         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31535         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31537         Likewise.
31538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31539         Likewise.
31540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31541         Likewise.
31542         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31544 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31546         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31547         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31549 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31551         [BZ #15897]
31552         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31553         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31554         ($(objpfx)bug-dl-leaf): New rule.
31555         ($(objpfx)bug-dl-leaf.so): Likewise.
31556         ($(objpfx)bug-dl-leaf.out): Likewise.
31557         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31558         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31559         * dlfcn/bug-dl-leaf.c: New test.
31560         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31561         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31562         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31563         (dlclose): Likewise.
31564         (dlmopen): Likewise.
31566 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31568         * include/netdb.h [!_ISOMAC]:
31569         Don't include <tls.h>.
31570         (h_errno, __libc_h_errno): Move declaration and macros out of
31571         [_LIBC_REENTRANT].
31573         * include/resolv.h [_RESOLV_H_]:
31574         Don't include <tls.h>.
31575         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31576         * resolv/res_libc.c: Don't include <tls.h>.
31577         (_res): Use __attribute__ ((nocommon)) in place of
31578         __attribute__ ((section (".bss"))).
31580         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31581         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31583         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31585         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31586         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31588         * resolv/res_mkquery.c: Include <sys/time.h>.
31590         * inet/ifreq.c: Moved to ...
31591         * sysdeps/unix/ifreq.c: ... here.
31592         * inet/ifreq.c: New file, true stub version.
31594         * socket/sa_len.c: New file.
31595         * socket/Makefile (aux): Add it.
31596         * sysdeps/unix/sysv/linux/Makefile
31597         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31598         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31599         and #include <socket/sa_len.c>.
31600         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31601         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31603         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31604         * bits/socket.h: ... here.
31606         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31607         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31608         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31610 2013-08-27  Andreas Schwab  <schwab@suse.de>
31612         [BZ #15736]
31613         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31614         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31615         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31616         * string/test-strcasecmp.c (test_main): Run tests in several
31617         locales.
31618         * string/test-strncasecmp.c (test_main): Likewise.
31620         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31621         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31622         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31623         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31624         (__strncasecmp_ssse3) [PIC]: Likewise.
31626 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31628         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31630         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31631         instead of explicitly declaring xdecrypt.
31632         * nis/nss_nis/nis-publickey.c: Likewise.
31634 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31636         [BZ #15890]
31637         * nscd/aicache.c: Include res_hconf.h.
31638         (addhstaiX): Initialize res_hconf.
31640 2013-08-26  Andreas Schwab  <schwab@suse.de>
31642         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31643         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31645 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31647         * nscd/aicache.c (addhstaiX): Fix indentation.
31649 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31651         * configure.ac: Quote $build_pt_chown test.
31652         * configure: Regenerated.
31654 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31656         [BZ #15532]
31657         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31658         * math/s_cexpf.c (__cexpf): Likewise.
31659         * math/s_cexpl.c (__cexpl): Likewise.
31660         * math/libm-test.inc (cexp_test_data): Correct expected return
31661         value for NaN + i0.  Add another test.
31663 2013-08-22  David S. Miller  <davem@davemloft.net>
31665         * po/ca.po: Update Catalan translation from translation project.
31666         * po/uk.po: Add Ukrainian translations from translation project.
31668 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31670         [BZ #15797]
31671         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31672         is infinite, not alongside NaN test.
31673         * math/s_fdimf.c (__fdimf): Likewise.
31674         * math/s_fdiml.c (__fdiml): Likewise.
31675         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31676         errno is unchanged.
31678 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31680         * argp/argp-help.c: Fix typos.
31681         * crypt/speeds.c: Likewise.
31682         * csu/check_fds.c: Likewise.
31683         * elf/dl-load.c: Likewise.
31684         * elf/dl-open.c: Likewise.
31685         * elf/reldep3.c: Likewise.
31686         * elf/reldep.c: Likewise.
31687         * elf/sprof.c: Likewise.
31688         * iconv/iconv_charmap.c: Likewise.
31689         * iconv/skeleton.c: Likewise.
31690         * iconv/strtab.c: Likewise.
31691         * io/lockf64.c: Likewise.
31692         * libio/libioP.h: Likewise.
31693         * resolv/gai_notify.c: Likewise.
31694         * resolv/ns_name.c: Likewise.
31695         * resolv/ns_samedomain.c: Likewise.
31696         * resolv/res_send.c: Likewise.
31697         * stdlib/random.c: Likewise.
31698         * sunrpc/rpc/xdr.h: Likewise.
31699         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31700         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31701         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31702         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31703         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31704         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31705         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31706         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31707         * sysdeps/mach/hurd/check_fds.c: Likewise.
31708         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31709         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31710         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31711         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31712         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31713         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31714         * sysdeps/pthread/aio_notify.c: Likewise.
31715         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31716         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31717         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31718         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31719         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31721 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31723         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31724         version if bit_Slow_SSE4_2 is set.
31725         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31726         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31728 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31730         [BZ #15867]
31731         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31732         trampoline stack frame information.
31733         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31734         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31735         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31736         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31737         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31738         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31739         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31740         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31741         sa_flags value.
31742         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31743         interrupting a syscall and set with option SA_SIGINFO.
31745 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31747         [BZ #15531]
31748         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31749         argument is infinite.
31750         * math/s_cprojf.c (__cprojf): Likewise.
31751         * math/s_cprojl.c (__cprojl): Likewise.
31752         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31753         * math/libm-test.inc (cproj_test_data): Add more tests.
31755         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31757         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31758         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31759         size.  Use __ffs to determine corresponding shift.
31761 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31762             Roland McGrath  <roland@hack.frob.com>
31764         * Makefile (INSTALL): Remove trailing blank lines from output of
31765         makeinfo.
31767 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31769         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31770         Align 32 bit compat elf_greg to 8 bytes.
31772 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31774         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31776 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31778         * string/strcoll_l.c (coll_seq): New structure.
31779         (get_next_seq_cached): New function.
31780         (get_next_seq): New function.
31781         (do_compare): New function.
31782         (STRCOLL): Use GNU style definition.  Simplify implementation
31783         by using get_next_seq, get_next_seq_cached and do_compare.
31785 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31787         [BZ #14699]
31788         CVE-2013-4237
31789         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31790         member.
31791         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31792         member.
31793         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31794         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31795         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31796         conditional.
31797         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31798         GETDENTS_64BIT_ALIGNED.
31799         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31800         * manual/filesys.texi (Reading/Closing Directory): Document
31801         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31802         strongly.
31803         * manual/conf.texi (Limits for Files): Add portability note to
31804         NAME_MAX, PATH_MAX.
31805         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31807 2013-08-13  Andreas Schwab  <schwab@suse.de>
31809         [BZ #15749]
31810         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31811         of fabs.
31812         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31813         LDBL_MAX_EXP >= 16384]: Add tests for it.
31815 2013-08-12  David S. Miller  <davem@davemloft.net>
31817         * version.h (RELEASE): Set to "development".
31818         (VERSION): Set to "2.18.90".
31819         * NEWS: Add 2.19 section.
31821 2013-08-03  David S. Miller  <davem@davemloft.net>
31823         * po/ko.po: Update Korean translation from translation project.
31825 2013-08-01  David S. Miller  <davem@davemloft.net>
31827         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31828         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31829         Bilka.
31831 2013-07-30  David S. Miller  <davem@davemloft.net>
31833         * po/fr.po: Update French translation from translation project.
31835 2013-07-28  David S. Miller  <davem@davemloft.net>
31837         * po/cs.po: Update Czech translation from translation project.
31839         * po/sv.po: Update Swedish translation from translation project.
31841 2013-07-27  David S. Miller  <davem@davemloft.net>
31843         * po/eo.po: Update Esperanto translation from translation project.
31845         * po/vi.po: Update Vietnamese translation from translation project.
31847         * po/de.po: Update German translation from translation project.
31849 2013-07-26  David S. Miller  <davem@davemloft.net>
31851         * po/bg.po: Update Bulgarian translation from translation project.
31853         * po/nl.po: Update Dutch translation from translation project.
31854         * po/pl.po: Update Polish translation from translation project.
31855         * po/ru.po: Update Russian translation from translation project.
31857 2013-07-24  David S. Miller  <davem@davemloft.net>
31859         * po/libc.pot: Update.
31861 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31863         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31864         variable page size.
31865         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31866         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31867         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31869 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31871         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31873 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31874             Andreas Schwab  <schwab@suse.de>
31875             Roland McGrath  <roland@hack.frob.com>
31876             Joseph Myers  <joseph@codesourcery.com>
31877             Carlos O'Donell  <carlos@redhat.com>
31879         [BZ #15755]
31880         * config.h.in: Define HAVE_PT_CHOWN.
31881         * config.make.in (build-pt-chown): New variable.
31882         * configure.in (--enable-pt_chown): New configure option.
31883         * configure: Regenerate.
31884         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31885         build-pt-chown is enabled.
31886         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31887         pt_chown to fix pty ownership.
31888         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31889         CLOSE_ALL_FDS.
31890         * manual/install.texi (Configuring and compiling): Mention
31891         --enable-pt_chown. Add @findex for grantpt.
31892         * INSTALL: Regenerate.
31894 2013-07-20  David S. Miller  <davem@davemloft.net>
31896         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31897         difference between 32-bit and 64-bit.
31899 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31901         [BZ #15711]
31902         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31903         Avoid system header dependency with -ffreestanding.
31904         ($(objpfx)bits/syscall%d): Likewise.
31906 2013-07-13  David S. Miller  <davem@davemloft.net>
31908         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31909         underflows from atanl/atan2l due to bug 15319.
31910         (casinh_test_data): Likewise.
31912 2013-07-07  David S. Miller  <davem@davemloft.net>
31914         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31916 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31918         * sysdeps/i386/fpu/libm-test-ulps: Update.
31919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31921 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31923         * configure.in (--enable-lock-elision): Fix message text.
31924         * INSTALL: Regenerate.
31925         * configure: Regenerate.
31927 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31931 2013-07-03  Andreas Jaeger  <aj@suse.de>
31933         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31934         define.
31935         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31936         (ptrace_peeksiginfo_args): Add.
31937         (__ptrace_peeksiginfo_flags): Add.
31938         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31939         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31940         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31942 2013-07-03  Allan McRae  <allan@archlinux.org>
31944         * sysdeps/i386/fpu/libm-test-ulps: Update.
31946 2013-07-02  David S. Miller  <davem@davemloft.net>
31948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31950 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31954 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31956         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31959 2013-07-02  Andi Kleen <ak@linux.intel.com>
31961         * config.h.in (ENABLE_LOCK_ELISION): Add.
31962         * configure.in (--enable-lock-elision): Add option.
31963         * manual/install.texi: Document --enable lock elision.
31964         * configure: Regenerate
31965         * INSTALL: Regenerate.
31967 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31969         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31970         SSE4.2 strcasecmp for libc.a.
31971         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31973 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31975         [BZ #13304]
31976         * soft-fp/op-common.h (_FP_FMA): New macro.
31977         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31978         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31979         (_FP_MUL_MEAT_1_imm): ... here.
31980         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31981         (_FP_MUL_MEAT_1_wide): ... here.
31982         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31983         (_FP_MUL_MEAT_1_hard): ... here.
31984         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31985         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31986         (_FP_MUL_MEAT_2_wide): ... here.
31987         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31988         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31989         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31990         (_FP_MUL_MEAT_2_gmp): ... here.
31991         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31992         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31993         (_FP_MUL_MEAT_4_wide): ... here.
31994         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31995         (_FP_MUL_MEAT_4_gmp): ... here.
31996         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31997         (_FP_WFRACBITS_DW_S): Likewise.
31998         (_FP_WFRACXBITS_DW_S): Likewise.
31999         (_FP_HIGHBIT_DW_S): Likewise.
32000         (FP_FMA_S): Likewise.
32001         (_FP_FRAC_HIGH_DW_S): Likewise.
32002         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32003         (_FP_WFRACBITS_DW_D): Likewise.
32004         (_FP_WFRACXBITS_DW_D): Likewise.
32005         (_FP_HIGHBIT_DW_D): Likewise.
32006         (FP_FMA_D): Likewise.
32007         (_FP_FRAC_HIGH_DW_D): Likewise.
32008         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32009         (_FP_WFRACBITS_DW_E): Likewise.
32010         (_FP_WFRACXBITS_DW_E): Likewise.
32011         (_FP_HIGHBIT_DW_E): Likewise.
32012         (FP_FMA_E): Likewise.
32013         (_FP_FRAC_HIGH_DW_E): Likewise.
32014         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32015         (_FP_WFRACBITS_DW_Q): Likewise.
32016         (_FP_WFRACXBITS_DW_Q): Likewise.
32017         (_FP_HIGHBIT_DW_Q): Likewise.
32018         (FP_FMA_Q): Likewise.
32019         (_FP_FRAC_HIGH_DW_Q): Likewise.
32020         * soft-fp/fmasf4.c: New file.
32021         * soft-fp/fmadf4.c: Likewise.
32022         * soft-fp/fmatf4.c: Likewise.
32024 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32026         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32027         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32028         Silvermont.
32029         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32030         macro.
32031         (index_Slow_SSE4_2): Likewise.
32032         (index_Prefer_PMINUB_for_stringop): Likewise.
32033         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32034         bit_Slow_SSE4_2 is set.
32035         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32036         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32038 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32040         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32041         rtld_global._dl_hwcap2.
32042         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32043         POWER8.
32044         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32045         POWER8 feature descriptions defined in _dl_hwcap2.
32046         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32047         string handling for POWER8 feature bits.
32048         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32049         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32050         _dl_powerpc_cap_flags.
32051         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32052         * sysdeps/powerpc/rtld-global-offsets.sym
32053         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32054         _dl_hwcap2 in the rtld_global_ro structure.
32056 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32058         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32059         hardware capabilities in support of AT_HWCAP2.
32060         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32061         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32062         GLRO(dl_hwcap2).
32063         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32064         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32065         explicitly the unknown a_type display mechanism is used.
32066         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32067         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32068         struct member.
32069         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32070         to macro prototype for AT_HWCAP2 support.
32071         * sysdeps/i386/dl-procinfo.h: Likewise.
32072         * sysdeps/s390/dl-procinfo.h: Likewise.
32073         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32074         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32075         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32076         return -1 for unknown a_type display fallback.
32077         * sysdeps/sparc/dl-procinfo.h: Likewise.
32078         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32079         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32081 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32083         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32084         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32086 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32088         [BZ #12492]
32089         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32090         mprotect making __stack_prot writable.
32092 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32093             Joseph Myers  <joseph@codesourcery.com>
32095         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32096         as being properly aligned.
32098 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32100         * dlfcn/modstatic5.c: New file.
32101         * dlfcn/tststatic5.c: New file.
32102         * dlfcn/Makefile (tests): Add tststatic5.
32103         (tests-static): Likewise.
32104         (modules-names): Add modstatic5.
32105         (tststatic5-ENV): New variable.
32106         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32108         [BZ #15022]
32109         * elf/dl-support.c (_dl_main_map): New variable.
32110         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32111         (_dl_nns, _dl_load_adds): Set to 1.
32112         (_dl_initial_searchlist): Refer to _dl_main_map.
32113         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32114         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32115         call to _dl_get_origin.
32116         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32117         around call_map.
32118         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32119         * dlfcn/modstatic3.c: New file.
32120         * dlfcn/tststatic3.c: New file.
32121         * dlfcn/tststatic4.c: New file.
32122         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32123         (tests-static): Likewise.
32124         (modules-names): Add modstatic3.
32125         (tststatic3-ENV, tststatic4-ENV): New variables.
32126         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32127         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32129 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32131         * configure.in (CC): Require GCC version 4.4 or later.
32132         * configure: Regenerated.
32133         * manual/install.texi (Tools for Compilation): Update GCC version
32134         requirement.
32135         * INSTALL: Regenerated.
32137 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32139         [BZ #15674]
32140         * string/test-memcmp.c (check2): New.
32141         (main): Call check2.
32143         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32145 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32147         [BZ #15022]
32148         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32149         over to...
32150         (dl_open_worker) [!SHARED]: ... here.
32152 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32154         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32156 2013-06-25  Richard Henderson  <rth@redhat.com>
32158         * locale/programs/locarchive.c: Include <libc-internal.h>
32160 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32162         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32163         trailing whitespace removed.
32165 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32167         [BZ #10283]
32168         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32169         * locale/programs/locarchive.c: Include libc-mmap.h.
32170         (prepare_address_space): Take two new outputs (the mmap base and len).
32171         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32172         values.
32173         (create_archive): Declare new mmap base and len values for
32174         prepare_address_space, and store the result in ah.
32175         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32176         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32177         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32178         Declare new mmap base and len values for
32179         prepare_address_space, and store the result in new_ah.
32180         (open_archive): Declare new mmap base and len values for
32181         prepare_address_space, and store the result in ah.
32182         (close_archive): If ah->mmap_base is not NULL, use that and
32183         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32184         * sysdeps/generic/libc-mmap.h: New file.
32186 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32188         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32189         (ALIGN_UP): Likewise.
32190         (PTR_ALIGN_DOWN): Likewise.
32191         (PTR_ALIGN_UP): Likewise.
32193 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32195         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32196         entry mapped to PPC_PLATFORM_POWER8.
32197         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32198         POWER8.
32199         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32200         (_dl_string_platform): Add case for exporting platform position for
32201         POWER8.
32202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32203         search path to sysdeps/powerpc/powerpc32/power8 directory.
32204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32205         search path to sysdeps/powerpc/powerpc64/power8 directory.
32206         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32207         power7 directories.
32208         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32209         power7 directories.
32211 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32213         * INSTALL: Regenerate.
32215         * nscd/connections.c (nscd_init): Fix comment.
32217 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32219         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32221         [BZ #15667]
32222         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32223         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32225 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32227         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32228         DL_DST_REQ_STATIC.
32229         (DL_DST_REQ_STATIC): Remove macro.
32231 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32233         [BZ #7006]
32234         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32235         with a shift of 0 bits.
32237 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32239         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32240         $(tststatic-ENV).
32242 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32244         [BZ #15655]
32245         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32247 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32249         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32250         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32251         accepts -fno-tree-loop-distribute-patterns.
32252         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32253         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32254         recursive call.
32255         * string/memset.c (memset): Likewise.
32256         * string/test-memmove.c (simple_memmove): Disable loop transformation
32257         to library calls.
32258         * string/test-memset.c (simple_memset): Likewise.
32259         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32260         * benchtests/bench-memset.c (simple_memset): Likewise.
32261         * configure: Regenerated.
32263 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32265         * math/test-misc.c (main): Ignore fesetround failure when failures
32266         of subsequent rounding tests would be ignored.
32268         [BZ #15654]
32269         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32270         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32271         * math/fegetenv.c (__fegetenv): Return 0.
32272         * math/fegetexcept.c (fegetexcept): Return 0.
32273         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32274         FE_TONEAREST.
32275         * math/feholdexcpt.c (feholdexcept): Return 0.
32276         * math/fesetenv.c (__fesetenv): Return 0.
32277         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32278         argument FE_TONEAREST.
32279         * math/feupdateenv.c (__feupdateenv): Return 0.
32280         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32282 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32284         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32285         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32286         ($(objpfx)rtld-%.os rules): Use them.
32288 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32290         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32291         fields.
32293 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32295         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32296         length of target pattern, then descending length of dependency pattern.
32297         * configure.in (AWK): Require gawk 3.1.2 or newer.
32298         * manual/install.texi (Tools for Compilation): Say that we do.
32299         * configure: Regenerated.
32301         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32302         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32303         * scripts/sysd-rules.awk: ... this new script.
32304         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32305         than a glob-style pattern.
32307 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32309         * math/test-misc.c (main): Do not treat incorrectly rounded
32310         conversions as failure unless ROUNDING_TESTS passes.
32312 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32314         [BZ #15631]
32315         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32316         restore exception state around main square root computation, then
32317         check for inexactness explicitly.
32319         * math/libm-test.inc (fma_test_data): Add another test.
32321 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32323         * manual/threads.texi (Non-POSIX Extensions): New document
32324         node.  Document pthread_getattr_default_np and
32325         pthread_setattr_default_np.
32327         * Versions.def (libpthread): Add GLIBC_2.18.
32328         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32330         Likewise.
32331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32332         Likewise.
32333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32334         Likewise.
32335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32336         Likewise.
32337         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32338         Likewise.
32339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32340         Likewise.
32341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32342         Likewise.
32343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32344         Likewise.
32345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32346         Likewise.
32348 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32351         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32353 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32354             H.J. Lu  <hjl.tools@gmail.com>
32356         [BZ #15627]
32357         * sysdeps/x86_64/rtld-memset.c: Remove file.
32358         * sysdeps/x86_64/rtld-memset.S: New file.
32360 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32362         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32363         (test_in_one_mode): Take arguments for whether the rounding mode
32364         is supported for each floating-point type.
32365         (do_test): Pass new arguments to test_in_one_mode using
32366         ROUNDING_TESTS.
32368 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32370         * posix/tst-waitid.c (do_test): Distinguish different instances of
32371         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32372         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32373         before entering the kernel for waitpid.
32375 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32377         * NEWS: Fix note on clock function precision.  Text by Roland
32378         McGrath.
32380 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32382         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32383         it into place only when and if the sanity check passes.
32385 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32387         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32388         output for whether conversion result is exact.  Take argument
32389         indicating whether type is IBM long double.
32390         (round_for_all): Change need_exact field to ibm_ld.
32391         * stdlib/tst-strtod-round.c (struct exactness): New type.
32392         (struct test): Change bool ld_ok field to struct exactness exact.
32393         (TEST): Update all definitions for change to field.
32394         (tests): Regenerate array contents.
32395         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32396         field value.  Check for IBM long double here.
32397         (do_test): Update calls to test_in_one_mode.
32399 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32401         [BZ #12515]
32402         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32403         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32405 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32407         [BZ #15605]
32408         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32409         generated by the compiler on loop optimizations.
32410         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32411         general definitions.
32413 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32415         * math/bug-nextafter.c: Include <math-tests.h>.
32416         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32417         the relevant type.
32418         * math/bug-nexttoward.c: Include <math-tests.h>.
32419         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32420         the relevant type.
32421         * math/test-misc.c: Include <math-tests.h>.
32422         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32423         the relevant type.
32425 2013-06-12  Andreas Jaeger  <aj@suse.de>
32427         * po/ia.po: Update Interlingua translation from translation
32428         project.
32430 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32432         * include/fenv.h: Include stdbool.h.
32433         (struct rm_ctx): New structure.
32434         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32435         Define macro.
32436         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32437         (SET_RESTORE_ROUNDF): Likewise.
32438         (SET_RESTORE_ROUNDL): Likewise.
32439         (SET_RESTORE_ROUND_NOEX): Likewise.
32440         (SET_RESTORE_ROUND_NOEXF): Likewise.
32441         (SET_RESTORE_ROUND_NOEXL): Likewise.
32442         (SET_RESTORE_ROUND_53BIT): Likewise.
32443         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32444         (libc_feresetround_noexf_ctx): Likewise.
32445         (libc_feresetround_noexl_ctx): Likewise.
32446         (libc_feholdsetround_53bit_ctx): Likewise.
32447         (libc_feresetround_53bit_ctx): Likewise.
32448         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32449         (libc_feholdexcept_setround_sse_ctx): New function.
32450         (libc_fesetenv_sse_ctx): Likewise.
32451         (libc_feupdateenv_sse_ctx): Likewise.
32452         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32453         (libc_feholdexcept_setround_387_ctx): Likewise.
32454         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32455         (libc_feholdsetround_387_prec_ctx): Likewise.
32456         (libc_feholdsetround_387_ctx): Likewise.
32457         (libc_feholdsetround_387_53bit_ctx): Likewise.
32458         (libc_feholdsetround_sse_ctx): Likewise.
32459         (libc_feresetround_sse_ctx): Likewise.
32460         (libc_feresetround_387_ctx): Likewise.
32461         (libc_feupdateenv_387_ctx): Likewise.
32462         (libc_feholdexcept_setroundf_ctx): Define macro.
32463         (libc_fesetenvf_ctx): Likewise.
32464         (libc_feupdateenvf_ctx): Likewise.
32465         (libc_feholdsetroundf_ctx): Likewise.
32466         (libc_feresetroundf_ctx): Likewise.
32467         (libc_feholdexcept_setround_ctx): Likewise.
32468         (libc_fesetenv_ctx): Likewise.
32469         (libc_feupdateenv_ctx): Likewise.
32470         (libc_feholdsetround_ctx): Likewise.
32471         (libc_feresetround_ctx): Likewise.
32472         (libc_feholdexcept_setroundl_ctx): Likewise.
32473         (libc_feupdateenvl_ctx): Likewise.
32474         (libc_feholdsetroundl_ctx): Likewise.
32475         (libc_feresetroundl_ctx): Likewise.
32476         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32477         (libc_feresetround_53bit_ctx): Likewise.
32479 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32481         * locale/iso-639.def: Convert to UTF-8.
32483 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32485         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32486         (EXCEPTION_TESTS_double): Likewise.
32487         (EXCEPTION_TESTS_long_double): Likewise.
32488         (EXCEPTION_TESTS): Likewise.
32489         * math/libm-test.inc (test_exceptions): Only test exceptions if
32490         EXCEPTION_TESTS (FLOAT).
32492 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32494         * benchtests/Makefile (string-bench): Add strcpy_chk and
32495         stpcpy_chk.
32496         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32497         * benchtests/bench-stpcpy_chk.c: New file.
32498         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32499         * benchtests/bench-strcpy_chk.c: New file.
32500         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32501         code.
32502         (do_test): Likewise.
32504 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32506         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32507         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32508         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32509         with tabs where appropriate.
32510         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32511         dl-procinfo.h.
32512         [PPC_PLATFORM_PPC440]: Likewise.
32513         [PPC_PLATFORM_PPC464]: Likewise.
32514         [PPC_PLATFORM_PPC476]: Likewise.
32515         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32516         ppc464, and ppc476 platform strings merging from ports/
32517         dl-procinfo.h.
32519 2013-06-11  Andreas Schwab  <schwab@suse.de>
32521         [BZ #14991]
32522         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32523         (from_ucs4_idx): Regenerate.
32524         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32525         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32526         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32527         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32528         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32529         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32530         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32531         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32532         from FROM_LOOP and TO_LOOP specific macros.
32533         (BODY): Handle combining characters.
32534         * iconvdata/BIG5HKSCS.irreversible: Update.
32535         * iconvdata/BIG5HKSCS.precomposed: New file.
32536         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32537         characters.
32538         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32540 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32542         * include/sys/time.h: Fix indentation and add copyright header.
32544         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32545         (do_test): Likewise.
32546         * string/test-memchr.c (do_one_test): Likewise.
32547         (do_test): Likewise.
32548         * string/test-memcmp.c (do_one_test): Likewise.
32549         (do_test): Likewise.
32550         * string/test-memcpy.c (do_one_test): Likewise.
32551         (do_test): Likewise.
32552         * string/test-memmem.c (do_one_test): Likewise.
32553         (do_test): Likewise.
32554         (do_random_tests): Likewise.
32555         * string/test-memmove.c (do_one_test): Likewise.
32556         (do_test): Likewise.
32557         * string/test-memset.c (do_one_test): Likewise.
32558         (do_test): Likewise.
32559         * string/test-rawmemchr.c (do_one_test): Likewise.
32560         (do_test): Likewise.
32561         * string/test-strcasecmp.c (do_one_test): Likewise.
32562         (do_test): Likewise.
32563         * string/test-strcasestr.c (do_one_test): Likewise.
32564         (do_test): Likewise.
32565         * string/test-strcat.c (do_one_test): Likewise.
32566         (do_test): Likewise.
32567         * string/test-strchr.c (do_one_test): Likewise.
32568         (do_test): Likewise.
32569         * string/test-strcmp.c (do_one_test): Likewise.
32570         (do_test): Likewise.
32571         * string/test-strcpy.c (do_one_test): Likewise.
32572         (do_test): Likewise.
32573         * string/test-string.h: Likewise.
32574         (test_init): Likewise.
32575         * string/test-strlen.c (do_one_test): Likewise.
32576         (do_test): Likewise.
32577         * string/test-strncasecmp.c (do_one_test): Likewise.
32578         (do_test): Likewise.
32579         * string/test-strncat.c (do_one_test): Likewise.
32580         (do_test): Likewise.
32581         * string/test-strncmp.c (do_one_test): Likewise.
32582         (do_test_limit): Likewise.
32583         (do_test): Likewise.
32584         * string/test-strncpy.c (do_one_test): Likewise.
32585         (do_test): Likewise.
32586         * string/test-strnlen.c (do_one_test): Likewise.
32587         (do_test): Likewise.
32588         * string/test-strpbrk.c (do_one_test): Likewise.
32589         (do_test): Likewise.
32590         * string/test-strrchr.c (do_one_test): Likewise.
32591         (do_test): Likewise.
32592         * string/test-strspn.c (do_one_test): Likewise.
32593         (do_test): Likewise.
32594         * string/test-strstr.c (do_one_test): Likewise.
32595         (do_test): Likewise.
32597         * benchtests/Makefile (string-bench): Add string benchmarks.
32598         * benchtests/bench-bcopy-ifunc.c: New file.
32599         * benchtests/bench-bcopy.c: New file.
32600         * benchtests/bench-bzero-ifunc.c: New file.
32601         * benchtests/bench-bzero.c: New file.
32602         * benchtests/bench-memccpy-ifunc.c: New file.
32603         * benchtests/bench-memccpy.c: New file.
32604         * benchtests/bench-memchr-ifunc.c: New file.
32605         * benchtests/bench-memchr.c: New file.
32606         * benchtests/bench-memcmp-ifunc.c: New file.
32607         * benchtests/bench-memcmp.c: New file.
32608         * benchtests/bench-memmem-ifunc.c: New file.
32609         * benchtests/bench-memmem.c: New file.
32610         * benchtests/bench-memmove-ifunc.c: New file.
32611         * benchtests/bench-memmove.c: New file.
32612         * benchtests/bench-mempcpy-ifunc.c: New file.
32613         * benchtests/bench-mempcpy.c: New file.
32614         * benchtests/bench-memset-ifunc.c: New file.
32615         * benchtests/bench-memset.c: New file.
32616         * benchtests/bench-rawmemchr-ifunc.c: New file.
32617         * benchtests/bench-rawmemchr.c: New file.
32618         * benchtests/bench-stpcpy-ifunc.c: New file.
32619         * benchtests/bench-stpcpy.c: New file.
32620         * benchtests/bench-stpncpy-ifunc.c: New file.
32621         * benchtests/bench-stpncpy.c: New file.
32622         * benchtests/bench-strcasecmp-ifunc.c: New file.
32623         * benchtests/bench-strcasecmp.c: New file.
32624         * benchtests/bench-strcasestr-ifunc.c: New file.
32625         * benchtests/bench-strcasestr.c: New file.
32626         * benchtests/bench-strcat-ifunc.c: New file.
32627         * benchtests/bench-strcat.c: New file.
32628         * benchtests/bench-strchr-ifunc.c: New file.
32629         * benchtests/bench-strchr.c: New file.
32630         * benchtests/bench-strchrnul-ifunc.c: New file.
32631         * benchtests/bench-strchrnul.c: New file.
32632         * benchtests/bench-strcmp-ifunc.c: New file.
32633         * benchtests/bench-strcmp.c: New file.
32634         * benchtests/bench-strcpy-ifunc.c: New file.
32635         * benchtests/bench-strcpy.c: New file.
32636         * benchtests/bench-strcspn-ifunc.c: New file.
32637         * benchtests/bench-strcspn.c: New file.
32638         * benchtests/bench-strlen-ifunc.c: New file.
32639         * benchtests/bench-strlen.c: New file.
32640         * benchtests/bench-strncasecmp-ifunc.c: New file.
32641         * benchtests/bench-strncasecmp.c: New file.
32642         * benchtests/bench-strncat-ifunc.c: New file.
32643         * benchtests/bench-strncat.c: New file.
32644         * benchtests/bench-strncmp-ifunc.c: New file.
32645         * benchtests/bench-strncmp.c: New file.
32646         * benchtests/bench-strncpy-ifunc.c: New file.
32647         * benchtests/bench-strncpy.c: New file.
32648         * benchtests/bench-strnlen-ifunc.c: New file.
32649         * benchtests/bench-strnlen.c: New file.
32650         * benchtests/bench-strpbrk-ifunc.c: New file.
32651         * benchtests/bench-strpbrk.c: New file.
32652         * benchtests/bench-strrchr-ifunc.c: New file.
32653         * benchtests/bench-strrchr.c: New file.
32654         * benchtests/bench-strspn-ifunc.c: New file.
32655         * benchtests/bench-strspn.c: New file.
32656         * benchtests/bench-strstr-ifunc.c: New file.
32657         * benchtests/bench-strstr.c: New file.
32659         * benchtests/Makefile: Disable parallel execution of targets.
32660         (string-bench): Add memcpy.
32661         (benchset): New variable to store a list of benchmark sets.
32662         (bench-func): Renamed from bench.
32663         (bench-set): New target.
32664         (bench): Depend on bench-func and bench-set.
32665         * benchtests/README: Add section on benchmark sets.
32666         * benchtests/bench-memcpy-ifunc.c: New file.
32667         * benchtests/bench-memcpy.c: New file.
32668         * benchtests/bench-string.h: New file.
32670 2013-06-11  Andreas Schwab  <schwab@suse.de>
32672         [BZ #15577]
32673         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32674         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32675         values in the triple.
32676         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32677         terminator in the group key.
32679 2013-06-11  Andreas Jaeger  <aj@suse.de>
32681         * po/zh_TW.po: Update Chinese (traditional) translation from
32682         translation project.
32684 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32686         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32687         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32688         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32689         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32690         (clock_getcpuclockid): Likewise.
32691         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32692         Add weak_alias and libc_hidden_def.
32693         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32694         * rt/clock_gettime.c (clock_gettime): Rename to
32695         __clock_gettime.  Add weak_alias and libc_hidden_def.
32696         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32697         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32698         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32699         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32700         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32701         Likewise.
32702         * rt/clock_settime.c (clock_settime): Rename to
32703         __clock_settime.  Add weak_alias and libc_hidden_def.
32704         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32706 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32708         * mach/err_boot.sub: Remove trailing whitespace.
32709         * mach/err_ipc.sub: Likewise.
32710         * mach/err_mach.sub: Likewise.
32712         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32713         (ROUNDING_TESTS_double): Likewise.
32714         (ROUNDING_TESTS_long_double): Likewise.
32715         (ROUNDING_TESTS): Likewise.
32716         * math/libm-test.inc: Include <math-tests.h>.
32717         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32718         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32719         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32720         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32722 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32724         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32725         of assigning.
32727 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32729         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32730         otherwise empty TRANS lines.
32731         * sysdeps/gnu/errlist.c: Regenerated.
32733         * catgets/gencat.c (error_print): Use (void) in function
32734         definition.
32735         * crypt/crypt_util.c (__init_des): Likewise.
32736         * crypt/speeds.c (Stop): Likewise.
32737         (main): Likewise.
32738         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32739         * inet/ruserpass.c (token): Likewise.
32740         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32741         * intl/localealias.c (extend_alias_table): Likewise.
32742         * intl/plural-exp.c (init_germanic_plural): Likewise.
32743         * libio/fcloseall.c (__fcloseall): Likewise.
32744         * libio/genops.c (_IO_flush_all): Likewise.
32745         (_IO_flush_all_linebuffered): Likewise.
32746         (_IO_cleanup): Likewise.
32747         (_IO_iter_begin): Likewise.
32748         (_IO_iter_end): Likewise.
32749         (_IO_list_lock): Likewise.
32750         (_IO_list_unlock): Likewise.
32751         (_IO_list_resetlock): Likewise.
32752         * libio/getchar.c (getchar): Likewise.
32753         * libio/getchar_u.c (getchar_unlocked): Likewise.
32754         * libio/getwchar.c (getwchar): Likewise.
32755         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32756         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32757         * login/getpt.c (__getpt): Likewise.
32758         * login/tst-utmp.c (main): Likewise.
32759         * malloc/hooks.c (__malloc_check_init): Likewise.
32760         * malloc/malloc.c (__malloc_stats): Likewise.
32761         * malloc/mtrace.c (tr_break): Likewise.
32762         (mtrace): Likewise.
32763         (muntrace): Likewise.
32764         * misc/fstab.c (endfsent): Likewise.
32765         * misc/getclktck.c (__getclktck): Likewise.
32766         * misc/getdtsz.c (__getdtablesize): Likewise.
32767         * misc/gethostid.c (gethostid): Likewise.
32768         * misc/getpagesize.c (__getpagesize): Likewise.
32769         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32770         (__get_nprocs): Likewise.
32771         (__get_phys_pages): Likewise.
32772         (__get_avphys_pages): Likewise.
32773         * misc/getttyent.c (getttyent): Likewise.
32774         (setttyent): Likewise.
32775         (endttyent): Likewise.
32776         * misc/getusershell.c (getusershell): Likewise.
32777         (endusershell): Likewise.
32778         (setusershell): Likewise.
32779         (initshells): Likewise.
32780         * misc/hsearch.c (__hdestroy): Likewise.
32781         * misc/sync.c (sync): Likewise.
32782         * misc/syslog.c (closelog_internal): Likewise.
32783         (closelog): Likewise.
32784         * misc/ttyslot.c (ttyslot): Likewise.
32785         * misc/vhangup.c (vhangup): Likewise.
32786         * posix/fork.c (__fork): Likewise.
32787         * posix/getegid.c (__getegid): Likewise.
32788         * posix/geteuid.c (__geteuid): Likewise.
32789         * posix/getgid.c (__getgid): Likewise.
32790         * posix/getpid.c (__getpid): Likewise.
32791         * posix/getppid.c (__getppid): Likewise.
32792         * posix/getuid.c (__getuid): Likewise.
32793         * posix/pause.c (pause): Likewise.
32794         * posix/setpgrp.c (setpgrp): Likewise.
32795         * posix/setsid.c (__setsid): Likewise.
32796         * posix/test-vfork.c (noop): Likewise.
32797         * resolv/gethnamaddr.c (_endhtent): Likewise.
32798         (_gethtent): Likewise.
32799         (ht_endhostent): Likewise.
32800         (gethostent): Likewise.
32801         (dns_service): Likewise.
32802         * stdlib/drand48.c (drand48): Likewise.
32803         * stdlib/lrand48.c (lrand48): Likewise.
32804         * stdlib/mrand48.c (mrand48): Likewise.
32805         * stdlib/rand.c (rand): Likewise.
32806         * stdlib/random.c (__random): Likewise.
32807         * stdlib/setenv.c (clearenv): Likewise.
32808         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32809         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32810         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32811         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32812         (__get_nprocs): Likewise.
32813         (__get_phys_pages): Likewise.
32814         (__get_avphys_pages): Likewise.
32815         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32816         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32817         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32818         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32819         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32820         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32821         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32822         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32823         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32824         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32825         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32826         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32827         * sysdeps/posix/clock.c (clock): Likewise.
32828         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32829         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32830         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32831         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32832         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32833         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32834         (__get_nprocs_conf): Likewise.
32835         (__get_phys_pages): Likewise.
32836         (__get_avphys_pages): Likewise.
32837         * time/clock.c (clock): Likewise.
32838         * time/tzset.c (__tzname_max): Likewise.
32840 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32842         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32843         (__bswap_32): Do not use "register".
32844         * crypt/crypt.c (_ufc_doit_r): Likewise.
32845         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32846         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32847         * gmon/gmon.c (__monstartup): Likewise.
32848         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32849         * hurd/hurdmalloc.c (more_memory): Likewise.
32850         (malloc): Likewise.
32851         (free): Likewise.
32852         (realloc): Likewise.
32853         (malloc_fork_prepare): Likewise.
32854         (malloc_fork_parent): Likewise.
32855         (malloc_fork_child): Likewise.
32856         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32857         (_svcauth_des): Likewise.
32858         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32859         * inet/inet_net.c (inet_network): Likewise.
32860         * inet/inet_netof.c (inet_netof): Likewise.
32861         * inet/rcmd.c (__validuser2_sa): Likewise.
32862         * io/fts.c (fts_open): Likewise.
32863         (fts_load): Likewise.
32864         (fts_close): Likewise.
32865         (fts_read): Likewise.
32866         (fts_children): Likewise.
32867         (fts_build): Likewise.
32868         (fts_stat): Likewise.
32869         (fts_sort): Likewise.
32870         (fts_alloc): Likewise.
32871         (fts_lfree): Likewise.
32872         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32873         (_IO_file_xsgetn): Likewise.
32874         (_IO_file_xsgetn_mmap): Likewise.
32875         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32876         (_IO_cookie_write): Likewise.
32877         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32878         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32879         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32880         * malloc/obstack.c (_obstack_begin): Likewise.
32881         (_obstack_begin_1): Likewise.
32882         (_obstack_newchunk): Likewise.
32883         (_obstack_allocated_p): Likewise.
32884         (obstack_free): Likewise.
32885         (_obstack_memory_used): Likewise.
32886         * misc/getttyent.c (getttynam): Likewise.
32887         (getttyent): Likewise.
32888         (skip): Likewise.
32889         (value): Likewise.
32890         * misc/getusershell.c (initshells): Likewise.
32891         * misc/syslog.c (__vsyslog_chk): Likewise.
32892         * misc/ttyslot.c (ttyslot): Likewise.
32893         * nis/nis_hash.c (__nis_hash): Likewise.
32894         * posix/fnmatch_loop.c (FCT): Likewise.
32895         * posix/getconf.c (print_all): Likewise.
32896         (main): Likewise.
32897         * posix/getopt.c (exchange): Likewise.
32898         * posix/glob.c (globfree): Likewise.
32899         (prefix_array): Likewise.
32900         (__glob_pattern_type): Likewise.
32901         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32902         (NS_GET32): Likewise.
32903         (NS_PUT16): Likewise.
32904         (NS_PUT32): Likewise.
32905         * resolv/gethnamaddr.c (getanswer): Likewise.
32906         (gethostbyname2): Likewise.
32907         (gethostbyaddr): Likewise.
32908         (_gethtent): Likewise.
32909         (_gethtbyname2): Likewise.
32910         (_gethtbyaddr): Likewise.
32911         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32912         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32913         * resolv/res_init.c (__res_vinit): Likewise.
32914         (net_mask): Likewise.
32915         * resolv/res_mkquery.c (outchar): Likewise.
32916         (PRINT): Likewise.
32917         * stdio-common/printf_fp.c (outchar): Likewise.
32918         (PRINT): Likewise.
32919         * stdio-common/printf_fphex.c (outchar): Likewise.
32920         (PRINT): Likewise.
32921         * stdio-common/printf_size.c (outchar): Likewise.
32922         (PRINT): Likewise.
32923         * stdio-common/test_rdwr.c (main): Likewise.
32924         * stdio-common/tfformat.c (matches): Likewise.
32925         * stdio-common/vfprintf.c (outchar): Likewise.
32926         (printf_unknown): Likewise.
32927         (buffered_vfprintf): Likewise.
32928         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32929         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32930         (ReadFile): Likewise.
32931         * stdlib/qsort.c (SWAP): Likewise.
32932         (_quicksort): Likewise.
32933         * stdlib/setenv.c (__add_to_environ): Likewise.
32934         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32935         * stdlib/strtol_l.c (__strtol_l): Likewise.
32936         * stdlib/tst-strtod.c (main): Likewise.
32937         * stdlib/tst-strtol.c (main): Likewise.
32938         * stdlib/tst-strtoll.c (main): Likewise.
32939         * string/bits/string2.h (__strcmp_cc): Likewise.
32940         (__strcmp_cg): Likewise.
32941         (__strcspn_c1): Likewise.
32942         (__strcspn_c2): Likewise.
32943         (__strcspn_c3): Likewise.
32944         (__strspn_c1): Likewise.
32945         (__strspn_c2): Likewise.
32946         (__strspn_c3): Likewise.
32947         (__strsep_1c): Likewise.
32948         (__strsep_2c): Likewise.
32949         (__strsep_3c): Likewise.
32950         * string/memccpy.c (__memccpy): Likewise.
32951         * string/stpcpy.c (__stpcpy): Likewise.
32952         * string/strcmp.c (strcmp): Likewise.
32953         * string/strrchr.c (strrchr): Likewise.
32954         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32955         Likewise.
32956         * sysdeps/mach/hurd/getcwd.c
32957         (_hurd_canonicalize_directory_name_internal): Likewise.
32958         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32959         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32960         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32961         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32962         Likewise, in both definitions.
32963         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32964         definitions.
32965         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32966         64] (__bswap_64): Likewise.
32967         * time/test_time.c (main): Likewise.
32968         * time/tzfile.c (__tzfile_read): Likewise.
32969         (__tzfile_compute): Likewise.
32970         * time/tzset.c (__tzset_parse_tz): Likewise.
32971         (tzset_internal): Likewise.
32972         (compute_change): Likewise.
32973         * wcsmbs/wcscat.c (__wcscat): Likewise.
32974         * wcsmbs/wcschr.c (wcschr): Likewise.
32975         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32976         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32977         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32978         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32979         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32980         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32981         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32982         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32983         * wcsmbs/wmemset.c (wmemset): Likewise.
32985 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32987         * scripts/config.guess: Update to version 2013-05-16.
32988         * scripts/config.sub: Update to version 2013-04-24.
32989         * scripts/install-sh: Update to version 2011-11-20.07.
32990         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32991         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32993 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32995         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32996         * elf/sln.c: Likewise.
32997         * hurd/hurd/ioctl.h: Likewise.
32998         * hurd/hurdmalloc.c: Likewise.
32999         * hurd/xattr.c: Likewise.
33000         * include/shlib-compat.h: Likewise.
33001         * inet/ruserpass.c: Likewise.
33002         * libio/iofgets_u.c: Likewise.
33003         * libio/iofgetws_u.c: Likewise.
33004         * locale/programs/ld-identification.c: Likewise.
33005         * locale/programs/ld-time.c: Likewise.
33006         * mach/msg-destroy.c: Likewise.
33007         * nss/nss_files/files-netgrp.c: Likewise.
33008         * resolv/res_data.c: Likewise.
33009         * soft-fp/op-1.h: Likewise.
33010         * soft-fp/op-2.h: Likewise.
33011         * soft-fp/op-4.h: Likewise.
33012         * soft-fp/op-common.h: Likewise.
33013         * stdio-common/printf_fphex.c: Likewise.
33014         * stdlib/strtod_l.c: Likewise.
33015         * sunrpc/rpc/clnt.h: Likewise.
33016         * sysdeps/generic/framestate.c: Likewise.
33017         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33018         * sysdeps/i386/bsd-setjmp.S: Likewise.
33019         * sysdeps/i386/__longjmp.S: Likewise.
33020         * sysdeps/i386/setjmp.S: Likewise.
33021         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33022         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33023         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33024         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33025         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33026         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33027         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33028         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33029         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33030         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33031         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33032         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33033         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33034         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33035         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33036         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33037         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33038         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33039         * sysdeps/ieee754/support.c: Likewise.
33040         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33041         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33042         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33043         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33044         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33045         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33046         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33047         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33048         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33049         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33050         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33051         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33052         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33053         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33054         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33055         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33056         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33059 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33061         * posix/transbug.c: Remove executable mode.
33063 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33065         * crypt/speeds.c: Remove trailing whitespace.
33066         * dlfcn/default.c: Likewise.
33067         * elf/ifuncdep2.c: Likewise.
33068         * elf/ifuncmain1.c: Likewise.
33069         * elf/ifuncmain1vis.c: Likewise.
33070         * elf/testobj.h: Likewise.
33071         * elf/tst-stackguard1.c: Likewise.
33072         * gmon/sys/gmon.h: Likewise.
33073         * hurd/hurdmsg.c: Likewise.
33074         * hurd/new-fd.c: Likewise.
33075         * hurd/ports-get.c: Likewise.
33076         * iconvdata/ibm1008_420.c: Likewise.
33077         * inet/tst-getni1.c: Likewise.
33078         * inet/tst-getni2.c: Likewise.
33079         * libio/ioungetc.c: Likewise.
33080         * libio/wfiledoalloc.c: Likewise.
33081         * manual/libm-err-tab.pl: Likewise.
33082         * math/w_dremf.c: Likewise.
33083         * misc/ftruncate.c: Likewise.
33084         * posix/bug-glob2.c: Likewise.
33085         * posix/tst-pcre.c: Likewise.
33086         * posix/wait4.c: Likewise.
33087         * resolv/README: Likewise.
33088         * resolv/res_debug.h: Likewise.
33089         * resolv/tst-inet_ntop.c: Likewise.
33090         * setjmp/bug269-setjmp.c: Likewise.
33091         * soft-fp/extended.h: Likewise.
33092         * soft-fp/op-1.h: Likewise.
33093         * soft-fp/op-2.h: Likewise.
33094         * soft-fp/op-4.h: Likewise.
33095         * soft-fp/op-8.h: Likewise.
33096         * soft-fp/testit.c: Likewise.
33097         * stdio-common/bug16.c: Likewise.
33098         * stdlib/random.c: Likewise.
33099         * sunrpc/rpcsvc/rquota.x: Likewise.
33100         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33101         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33102         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33103         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33104         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33105         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33106         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33107         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33108         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33109         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33110         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33111         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33112         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33113         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33114         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33115         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33116         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33117         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33118         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33119         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33120         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33121         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33122         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33123         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33124         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33125         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33126         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33127         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33128         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33129         * sysdeps/ieee754/s_lib_version.c: Likewise.
33130         * sysdeps/mach/hurd/check_fds.c: Likewise.
33131         * sysdeps/mach/hurd/getsockname.c: Likewise.
33132         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33133         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33134         * sysdeps/powerpc/bits/link.h: Likewise.
33135         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33136         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33137         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33138         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33139         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33140         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33141         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33142         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33143         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33144         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33145         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33146         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33147         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33148         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33149         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33150         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33151         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33152         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33153         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33154         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33155         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33156         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33157         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33158         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33159         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33160         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33161         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33162         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33163         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33164         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33165         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33166         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33167         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33168         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33169         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33170         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33171         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33172         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33173         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33174         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33175         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33176         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33177         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33178         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33179         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33180         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33181         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33182         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33183         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33184         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33185         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33186         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33187         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33188         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33189         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33190         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33191         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33192         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33193         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33194         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33195         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33196         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33197         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33198         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33199         * sysdeps/powerpc/sysdep.h: Likewise.
33200         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33201         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33202         * sysdeps/sh/dl-trampoline.S: Likewise.
33203         * sysdeps/sh/memset.S: Likewise.
33204         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33205         * sysdeps/sh/strlen.S: Likewise.
33206         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33207         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33208         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33209         * sysdeps/sparc/sparc32/rem.S: Likewise.
33210         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33211         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33212         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33213         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33214         * sysdeps/sparc/sparc32/urem.S: Likewise.
33215         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33216         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33217         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33218         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33219         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33220         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33221         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33222         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33223         * sysdeps/unix/bsd/times.c: Likewise.
33224         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33225         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33229         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33230         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33231         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33232         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33233         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33234         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33235         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33236         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33237         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33238         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33239         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33240         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33241         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33242         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33243         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33244         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33245         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33246         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33247         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33248         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33249         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33250         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33251         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33252         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33253         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33254         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33255         * sysdeps/x86_64/strcspn.S: Likewise.
33257 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33259         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33260         generated file.  Regenerate properly from gen-translit.pl.
33261         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33262         locale/C-translit.h.
33264 2013-06-05  Andreas Schwab  <schwab@suse.de>
33266         [BZ #15100]
33267         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33268         week as 6 instead of -1.
33269         * time/tst-strptime.c (day_tests): Add test case.
33271 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33273         * sysdeps/generic/math_private.h
33274         (libc_feholdexcept_setround_53bit): Replace with
33275         libc_feholdsetround_53bit.
33276         (libc_feupdateenv_53bit): Replace with
33277         libc_feresetround_53bit.
33278         (SET_RESTORE_ROUND_53BIT): Adjust.
33280 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33282         * string/test-strchrnul.c: Add copyright header.
33284         * posix/tst-getaddrinfo4.c: Increase test timeout.
33286 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33288         [BZ #15536]
33289         * math/libm-test.inc (MAX_EXP): Remove
33290         (MIN_EXP): Define.
33291         (ulp): Use MIN_EXP - MANT_DIG.
33292         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33294 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33296         * po/be.po: Revert last change.
33297         * po/zh_CN.po: Likewise.
33298         * po/header.pot: Likewise.
33300 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33302         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33303         link-libc-deps to empty as target-specific variable.
33304         * Makerules (link-libc-args): New variable.
33305         (libc-for-link): Likewise.
33306         (link-libc-deps): Likewise.
33307         (lib%.so): Depend on $(link-libc-deps).  Link with
33308         $(link-libc-args).
33309         (build-module): Link with $(link-libc-args).
33310         (build-module-asneeded): Likewise.
33311         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33312         list of objects.
33313         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33314         target-specific variable.
33315         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33316         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33317         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33318         libc.
33319         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33320         libc and ld.so.
33321         ($(objpfx)libpcprofile.so): Likewise.
33322         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33323         libc_nonshared.a.
33324         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33325         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33326         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33327         $(link-libc-deps).
33328         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33329         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33330         * login/Makefile ($(objpfx)libutil.so): Likewise.
33331         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33332         * math/Makefile ($(objpfx)libm.so): Likewise.
33333         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33334         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33335         variable instead of depending directly on libc.
33336         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33337         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33338         $(link-libc-deps).
33339         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33340         libc.
33341         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33342         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33343         ($(objpfx)libanl.so): Likewise.
33344         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33345         ld.so.
33346         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33347         $(link-libc-deps).
33348         * sysdeps/i386/fpu/Makefile: Remove file.
33349         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33350         ($(objpfx)libm.so): Remove dependency on ld.so.
33352 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33354         [BZ # 15553]
33355         * nis/yp_xdr.c (XDRMAXNAME): Define.
33356         (XDRMAXRECORD): Define.
33357         (xdr_domainname): Use XDRMAXNAME.
33358         (xdr_mapname): Likewise.
33359         (xdr_peername): Likewise.
33360         (xdr_keydat): Use XDRMAXRECORD.
33361         (xdr_valdat): Likewise.
33363 2013-05-30  Jeff Law  <law@redhat.com>
33365         [BZ #14256]
33366         * manual/errno.texi (ESTALE): Update to account for more than
33367         just NFS file systems.
33368         * sysdeps/gnu/errlist.c: Regenerated.
33370 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33372         [BZ #15465]
33373         * elf/Makefile (tests): Add tst-null-argv.
33374         (modules-names):  Add tst-null-argv-lib.
33375         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33376         (tst-null-argv-ENV): Set environment for tst-null-argv.
33377         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33378         (RTLD_PROGNAME): New macro.
33379         * elf/tst-null-argv.c: New test case.
33380         * elf/tst-null-argv-lib.c: Library for test case.
33381         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33382         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33383         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33384         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33385         * elf/dl-init.c (call_init): Likewise.
33386         (_dl_init): Likewise.
33387         * elf/dl-load.c (print_search_path): Likewise.
33388         (_dl_map_object): Likewise.
33389         * elf/dl-lookup.c (do_lookup_x): Likewise.
33390         (add_dependency): Likewise.
33391         (_dl_lookup_symbol_x): Likewise.
33392         (_dl_debug_bindings): Likewise.
33393         * elf/dl-open.c (_dl_show_scope): Likewise.
33394         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33395         * elf/dl-version.c (match_symbol): Likewise.
33396         (_dl_check_map_versions): Likewise.
33397         * elf/rtld.c (dl_main): Likewise.
33398         (print_unresolved): Use RTLD_PROGNAME.
33399         (print_missing_version): Likewise.
33400         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33401         (elf_machine_rela): Likewise.
33402         * sysdeps/powerpc/powerpc32/dl-machine.c
33403         (__process_machine_rela): Likewise.
33404         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33405         Likewise.
33406         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33407         Likewise.
33408         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33409         Likewise.
33410         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33411         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33412         Likewise.
33413         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33414         Likewise.
33415         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33417 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33419         * po/be.po: Add descriptive title.
33420         * po/zh_CN.po: Likewise.
33421         * po/header.pot: Likewise.
33423 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33425         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33426         error message.
33427         (enlarge_archive): Likewise.
33429 2013-05-28  Ben North  <ben@redfrontdoor.org>
33431         * manual/arith.texi (frexp): It is the magnitude of the return
33432         value which lies in [0.5, 1), not the return value itself.
33434 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33438 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33440         * stdio-common/bug26.c (main): Correct fscanf template.
33442         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33443         declare _dl_skip_args.
33445         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33446         Don't declare.
33448         * manual/platform.texi: Add missing @end deftypefun.
33450 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33452         [BZ #15529]
33453         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33454         bit of mantissa of 2^16382.
33455         * math/libm-test.inc (hypot_test_data): Add more tests.
33457         * math/libm-test.inc: Add drem and pow10 to list of tested
33458         functions.
33459         (pow10_test): New function.
33460         (drem_test): Likewise.
33461         (drem_test_tonearest): Likewise.
33462         (drem_test_towardzero): Likewise.
33463         (drem_test_downward): Likewise.
33464         (drem_test_upward): Likewise.
33465         (main): Call the new functions.
33467         * math/libm-test.inc (finite_test_data): Remove.
33468         (finite_test): Run tests from isfinite_test_data.
33469         (gamma_test_data): Remove.
33470         (gamma_test): Run tests from lgamma_test_data.
33471         * sysdeps/i386/fpu/libm-test-ulps: Update.
33472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33474 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33476         * manual/platform.texi: Add PowerPC PPR function set documentation.
33477         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33478         implementation.
33480 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33482         * math/libm-test.inc (MAX_EXP): Define.
33483         (ULPDIFF): Define.
33484         (ulp): New function.
33485         (check_float_internal): Use ULPDIFF.
33486         (cpow_test): Disable failing test.
33487         (check_ulp): Test ulp() implemetnation.
33488         (main): Call check_ulp before starting tests.
33490 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33492         * math/gen-libm-test.pl (generate_testfile): Do not handle
33493         START_DATA and END_DATA.
33494         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33495         END_DATA.
33496         (acos_tonearest_test_data): Likewise.
33497         (acos_towardzero_test_data): Likewise.
33498         (acos_downward_test_data): Likewise.
33499         (acos_upward_test_data): Likewise.
33500         (acosh_test_data): Likewise.
33501         (asin_test_data): Likewise.
33502         (asin_tonearest_test_data): Likewise.
33503         (asin_towardzero_test_data): Likewise.
33504         (asin_downward_test_data): Likewise.
33505         (asin_upward_test_data): Likewise.
33506         (asinh_test_data): Likewise.
33507         (atan_test_data): Likewise.
33508         (atanh_test_data): Likewise.
33509         (atan2_test_data): Likewise.
33510         (cabs_test_data): Likewise.
33511         (cacos_test_data): Likewise.
33512         (cacosh_test_data): Likewise.
33513         (carg_test_data): Likewise.
33514         (casin_test_data): Likewise.
33515         (casinh_test_data): Likewise.
33516         (catan_test_data): Likewise.
33517         (catanh_test_data): Likewise.
33518         (cbrt_test_data): Likewise.
33519         (ccos_test_data): Likewise.
33520         (ccosh_test_data): Likewise.
33521         (ceil_test_data): Likewise.
33522         (cexp_test_data): Likewise.
33523         (cimag_test_data): Likewise.
33524         (clog_test_data): Likewise.
33525         (clog10_test_data): Likewise.
33526         (conj_test_data): Likewise.
33527         (copysign_test_data): Likewise.
33528         (cos_test_data): Likewise.
33529         (cos_tonearest_test_data): Likewise.
33530         (cos_towardzero_test_data): Likewise.
33531         (cos_downward_test_data): Likewise.
33532         (cos_upward_test_data): Likewise.
33533         (cosh_test_data): Likewise.
33534         (cosh_tonearest_test_data): Likewise.
33535         (cosh_towardzero_test_data): Likewise.
33536         (cosh_downward_test_data): Likewise.
33537         (cosh_upward_test_data): Likewise.
33538         (cpow_test_data): Likewise.
33539         (cproj_test_data): Likewise.
33540         (creal_test_data): Likewise.
33541         (csin_test_data): Likewise.
33542         (csinh_test_data): Likewise.
33543         (csqrt_test_data): Likewise.
33544         (ctan_test_data): Likewise.
33545         (ctan_tonearest_test_data): Likewise.
33546         (ctan_towardzero_test_data): Likewise.
33547         (ctan_downward_test_data): Likewise.
33548         (ctan_upward_test_data): Likewise.
33549         (ctanh_test_data): Likewise.
33550         (ctanh_tonearest_test_data): Likewise.
33551         (ctanh_towardzero_test_data): Likewise.
33552         (ctanh_downward_test_data): Likewise.
33553         (ctanh_upward_test_data): Likewise.
33554         (erf_test_data): Likewise.
33555         (erfc_test_data): Likewise.
33556         (exp_test_data): Likewise.
33557         (exp_tonearest_test_data): Likewise.
33558         (exp_towardzero_test_data): Likewise.
33559         (exp_downward_test_data): Likewise.
33560         (exp_upward_test_data): Likewise.
33561         (exp10_test_data): Likewise.
33562         (exp2_test_data): Likewise.
33563         (expm1_test_data): Likewise.
33564         (fabs_test_data): Likewise.
33565         (fdim_test_data): Likewise.
33566         (finite_test_data): Likewise.
33567         (floor_test_data): Likewise.
33568         (fma_test_data): Likewise.
33569         (fma_towardzero_test_data): Likewise.
33570         (fma_downward_test_data): Likewise.
33571         (fma_upward_test_data): Likewise.
33572         (fmax_test_data): Likewise.
33573         (fmin_test_data): Likewise.
33574         (fmod_test_data): Likewise.
33575         (fpclassify_test_data): Likewise.
33576         (frexp_test_data): Likewise.
33577         (gamma_test_data): Likewise.
33578         (hypot_test_data): Likewise.
33579         (ilogb_test_data): Likewise.
33580         (isfinite_test_data): Likewise.
33581         (isgreater_test_data): Likewise.
33582         (isgreaterequal_test_data): Likewise.
33583         (isinf_test_data): Likewise.
33584         (isless_test_data): Likewise.
33585         (islessequal_test_data): Likewise.
33586         (islessgreater_test_data): Likewise.
33587         (isnan_test_data): Likewise.
33588         (isnormal_test_data): Likewise.
33589         (issignaling_test_data): Likewise.
33590         (isunordered_test_data): Likewise.
33591         (j0_test_data): Likewise.
33592         (j1_test_data): Likewise.
33593         (jn_test_data): Likewise.
33594         (ldexp_test_data): Likewise.
33595         (lgamma_test_data): Likewise.
33596         (lrint_test_data): Likewise.
33597         (lrint_tonearest_test_data): Likewise.
33598         (lrint_towardzero_test_data): Likewise.
33599         (lrint_downward_test_data): Likewise.
33600         (lrint_upward_test_data): Likewise.
33601         (llrint_test_data): Likewise.
33602         (llrint_tonearest_test_data): Likewise.
33603         (llrint_towardzero_test_data): Likewise.
33604         (llrint_downward_test_data): Likewise.
33605         (llrint_upward_test_data): Likewise.
33606         (log_test_data): Likewise.
33607         (log10_test_data): Likewise.
33608         (log1p_test_data): Likewise.
33609         (log2_test_data): Likewise.
33610         (logb_test_data): Likewise.
33611         (logb_downward_test_data): Likewise.
33612         (lround_test_data): Likewise.
33613         (llround_test_data): Likewise.
33614         (modf_test_data): Likewise.
33615         (nearbyint_test_data): Likewise.
33616         (nextafter_test_data): Likewise.
33617         (nexttoward_test_data): Likewise.
33618         (pow_test_data): Likewise.
33619         (pow_tonearest_test_data): Likewise.
33620         (pow_towardzero_test_data): Likewise.
33621         (pow_downward_test_data): Likewise.
33622         (pow_upward_test_data): Likewise.
33623         (remainder_test_data): Likewise.
33624         (remainder_tonearest_test_data): Likewise.
33625         (remainder_towardzero_test_data): Likewise.
33626         (remainder_downward_test_data): Likewise.
33627         (remainder_upward_test_data): Likewise.
33628         (remquo_test_data): Likewise.
33629         (rint_test_data): Likewise.
33630         (rint_tonearest_test_data): Likewise.
33631         (rint_towardzero_test_data): Likewise.
33632         (rint_downward_test_data): Likewise.
33633         (rint_upward_test_data): Likewise.
33634         (round_test_data): Likewise.
33635         (scalb_test_data): Likewise.
33636         (scalbn_test_data): Likewise.
33637         (scalbln_test_data): Likewise.
33638         (signbit_test_data): Likewise.
33639         (sin_test_data): Likewise.
33640         (sin_tonearest_test_data): Likewise.
33641         (sin_towardzero_test_data): Likewise.
33642         (sin_downward_test_data): Likewise.
33643         (sin_upward_test_data): Likewise.
33644         (sincos_test_data): Likewise.
33645         (sinh_test_data): Likewise.
33646         (sinh_tonearest_test_data): Likewise.
33647         (sinh_towardzero_test_data): Likewise.
33648         (sinh_downward_test_data): Likewise.
33649         (sinh_upward_test_data): Likewise.
33650         (sqrt_test_data): Likewise.
33651         (tan_test_data): Likewise.
33652         (tan_tonearest_test_data): Likewise.
33653         (tan_towardzero_test_data): Likewise.
33654         (tan_downward_test_data): Likewise.
33655         (tan_upward_test_data): Likewise.
33656         (tanh_test_data): Likewise.
33657         (tgamma_test_data): Likewise.
33658         (trunc_test_data): Likewise.
33659         (y0_test_data): Likewise.
33660         (y1_test_data): Likewise.
33661         (yn_test_data): Likewise.
33662         (significand_test_data): Likewise.
33664         * math/gen-libm-test.pl (@functions): Remove variable.
33665         (generate_testfile): Don't handle START and END lines.
33666         * math/libm-test.inc (START): New macro.
33667         (END): Likewise.
33668         (END_COMPLEX): Likewise.
33669         (acos_test): Use END macro without arguments.
33670         (acos_test_tonearest): Likewise.
33671         (acos_test_towardzero): Likewise.
33672         (acos_test_downward): Likewise.
33673         (acos_test_upward): Likewise.
33674         (acosh_test): Likewise.
33675         (asin_test): Likewise.
33676         (asin_test_tonearest): Likewise.
33677         (asin_test_towardzero): Likewise.
33678         (asin_test_downward): Likewise.
33679         (asin_test_upward): Likewise.
33680         (asinh_test): Likewise.
33681         (atan_test): Likewise.
33682         (atanh_test): Likewise.
33683         (atan2_test): Likewise.
33684         (cabs_test): Likewise.
33685         (cacos_test): Use END_COMPLEX macro without arguments.
33686         (cacosh_test): Likewise.
33687         (carg_test): Use END macro without arguments.
33688         (casin_test): Use END_COMPLEX macro without arguments.
33689         (casinh_test): Likewise.
33690         (catan_test): Likewise.
33691         (catanh_test): Likewise.
33692         (cbrt_test): Use END macro without arguments.
33693         (ccos_test): Use END_COMPLEX macro without arguments.
33694         (ccosh_test): Likewise.
33695         (ceil_test): Use END macro without arguments.
33696         (cexp_test): Use END_COMPLEX macro without arguments.
33697         (cimag_test): Use END macro without arguments.
33698         (clog_test): Use END_COMPLEX macro without arguments.
33699         (clog10_test): Likewise.
33700         (conj_test): Likewise.
33701         (copysign_test): Use END macro without arguments.
33702         (cos_test): Likewise.
33703         (cos_test_tonearest): Likewise.
33704         (cos_test_towardzero): Likewise.
33705         (cos_test_downward): Likewise.
33706         (cos_test_upward): Likewise.
33707         (cosh_test): Likewise.
33708         (cosh_test_tonearest): Likewise.
33709         (cosh_test_towardzero): Likewise.
33710         (cosh_test_downward): Likewise.
33711         (cosh_test_upward): Likewise.
33712         (cpow_test): Use END_COMPLEX macro without arguments.
33713         (cproj_test): Likewise.
33714         (creal_test): Use END macro without arguments.
33715         (csin_test): Use END_COMPLEX macro without arguments.
33716         (csinh_test): Likewise.
33717         (csqrt_test): Likewise.
33718         (ctan_test): Likewise.
33719         (ctan_test_tonearest): Likewise.
33720         (ctan_test_towardzero): Likewise.
33721         (ctan_test_downward): Likewise.
33722         (ctan_test_upward): Likewise.
33723         (ctanh_test): Likewise.
33724         (ctanh_test_tonearest): Likewise.
33725         (ctanh_test_towardzero): Likewise.
33726         (ctanh_test_downward): Likewise.
33727         (ctanh_test_upward): Likewise.
33728         (erf_test): Use END macro without arguments.
33729         (erfc_test): Likewise.
33730         (exp_test): Likewise.
33731         (exp_test_tonearest): Likewise.
33732         (exp_test_towardzero): Likewise.
33733         (exp_test_downward): Likewise.
33734         (exp_test_upward): Likewise.
33735         (exp10_test): Likewise.
33736         (exp2_test): Likewise.
33737         (expm1_test): Likewise.
33738         (fabs_test): Likewise.
33739         (fdim_test): Likewise.
33740         (finite_test): Likewise.
33741         (floor_test): Likewise.
33742         (fma_test): Likewise.
33743         (fma_test_towardzero): Likewise.
33744         (fma_test_downward): Likewise.
33745         (fma_test_upward): Likewise.
33746         (fmax_test): Likewise.
33747         (fmin_test): Likewise.
33748         (fmod_test): Likewise.
33749         (fpclassify_test): Likewise.
33750         (frexp_test): Likewise.
33751         (gamma_test): Likewise.
33752         (hypot_test): Likewise.
33753         (ilogb_test): Likewise.
33754         (isfinite_test): Likewise.
33755         (isgreater_test): Likewise.
33756         (isgreaterequal_test): Likewise.
33757         (isinf_test): Likewise.
33758         (isless_test): Likewise.
33759         (islessequal_test): Likewise.
33760         (islessgreater_test): Likewise.
33761         (isnan_test): Likewise.
33762         (isnormal_test): Likewise.
33763         (issignaling_test): Likewise.
33764         (isunordered_test): Likewise.
33765         (j0_test): Likewise.
33766         (j1_test): Likewise.
33767         (jn_test): Likewise.
33768         (ldexp_test): Likewise.
33769         (lgamma_test): Likewise.
33770         (lrint_test): Likewise.
33771         (lrint_test_tonearest): Likewise.
33772         (lrint_test_towardzero): Likewise.
33773         (lrint_test_downward): Likewise.
33774         (lrint_test_upward): Likewise.
33775         (llrint_test): Likewise.
33776         (llrint_test_tonearest): Likewise.
33777         (llrint_test_towardzero): Likewise.
33778         (llrint_test_downward): Likewise.
33779         (llrint_test_upward): Likewise.
33780         (log_test): Likewise.
33781         (log10_test): Likewise.
33782         (log1p_test): Likewise.
33783         (log2_test): Likewise.
33784         (logb_test): Likewise.
33785         (logb_test_downward): Likewise.
33786         (lround_test): Likewise.
33787         (llround_test): Likewise.
33788         (modf_test): Likewise.
33789         (nearbyint_test): Likewise.
33790         (nextafter_test): Likewise.
33791         (nexttoward_test): Likewise.
33792         (pow_test): Likewise.
33793         (pow_test_tonearest): Likewise.
33794         (pow_test_towardzero): Likewise.
33795         (pow_test_downward): Likewise.
33796         (pow_test_upward): Likewise.
33797         (remainder_test): Likewise.
33798         (remainder_test_tonearest): Likewise.
33799         (remainder_test_towardzero): Likewise.
33800         (remainder_test_downward): Likewise.
33801         (remainder_test_upward): Likewise.
33802         (remquo_test): Likewise.
33803         (rint_test): Likewise.
33804         (rint_test_tonearest): Likewise.
33805         (rint_test_towardzero): Likewise.
33806         (rint_test_downward): Likewise.
33807         (rint_test_upward): Likewise.
33808         (round_test): Likewise.
33809         (scalb_test): Likewise.
33810         (scalbn_test): Likewise.
33811         (scalbln_test): Likewise.
33812         (signbit_test): Likewise.
33813         (sin_test): Likewise.
33814         (sin_test_tonearest): Likewise.
33815         (sin_test_towardzero): Likewise.
33816         (sin_test_downward): Likewise.
33817         (sin_test_upward): Likewise.
33818         (sincos_test): Likewise.
33819         (sinh_test): Likewise.
33820         (sinh_test_tonearest): Likewise.
33821         (sinh_test_towardzero): Likewise.
33822         (sinh_test_downward): Likewise.
33823         (sinh_test_upward): Likewise.
33824         (sqrt_test): Likewise.
33825         (tan_test): Likewise.
33826         (tan_test_tonearest): Likewise.
33827         (tan_test_towardzero): Likewise.
33828         (tan_test_downward): Likewise.
33829         (tan_test_upward): Likewise.
33830         (tanh_test): Likewise.
33831         (tgamma_test): Likewise.
33832         (trunc_test): Likewise.
33833         (y0_test): Likewise.
33834         (y1_test): Likewise.
33835         (yn_test): Likewise.
33836         (significand_test): Likewise.
33838 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33840         [BZ #15381]
33841         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33843 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33845         [BZ #14894]
33846         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33847         __ppc_mdoio and __ppc_mdoom.
33848         * manual/platform.texi: Document new functions __ppc_yield,
33849         __ppc_mdoio and __ppc_mdoom.
33851 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33853         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33854         (main): Mention "tls" pseudo-hwcap is legacy.
33855         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33857 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33859         * math/gen-libm-test.pl (parse_args): Output only string of
33860         arguments as text for test name, not full call or descriptions of
33861         tests for extra outputs.
33862         (generate_testfile): Do not pass function name to parse_args.
33863         Generate this_func variable from START.
33864         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33865         field to arg_str.
33866         (struct test_ff_f_data): Likewise.
33867         (test_ff_f_data_nexttoward): Likewise.
33868         (struct test_fi_f_data): Likewise.
33869         (struct test_fl_f_data): Likewise.
33870         (struct test_if_f_data): Likewise.
33871         (struct test_fff_f_data): Likewise.
33872         (struct test_c_f_data): Likewise.
33873         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33874         (struct test_fF_f1_data): Likewise.
33875         (struct test_ffI_f1_data): Likewise.
33876         (struct test_c_c_data): Rename test_name field to arg_str.
33877         (struct test_cc_c_data): Likewise.
33878         (struct test_f_i_data): Likewise.
33879         (struct test_ff_i_data): Likewise.
33880         (struct test_f_l_data): Likewise.
33881         (struct test_f_L_data): Likewise.
33882         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33883         and extra2_name.
33884         (COMMON_TEST_SETUP): New macro.
33885         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33886         (COMMON_TEST_CLEANUP): Likewise.
33887         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33888         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33889         macros.
33890         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33891         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33892         macros.
33893         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33894         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33895         cleanup macros.
33896         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33897         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33898         macros.
33899         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33900         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33901         macros.
33902         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33903         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33904         cleanup macros.
33905         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33906         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33907         cleanup macros.
33908         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33909         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33910         cleanup macros.
33911         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33912         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33913         macros.
33914         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33915         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33916         macros.
33917         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33918         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33919         macros.
33920         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33921         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33922         cleanup macros.
33923         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33924         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33925         cleanup macros.
33926         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33927         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33928         macros.
33929         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33930         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33931         cleanup macros.
33932         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33933         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33934         macros.
33935         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33936         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33937         macros.
33938         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33939         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33940         cleanup macros.
33941         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33943 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33945         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33946         to _sifields.sigfault.
33947         (si_addr_lsb): Define new macro.
33948         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33949         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33950         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33952 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33954         [BZ #15441]
33955         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33956         returns -1.
33957         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33958         null return -1.
33959         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33960         loading the domain.
33962 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33964         * math/gen-libm-test.pl (parse_args): Do not include expected
33965         result in test name.
33966         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33967         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33968         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33969         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33970         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33973 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33975         * benchtests/Makefile: Sort function entries.
33977         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33978         tanh, asinh, acosh, atanh.
33979         * benchtests/acos-inputs: New file.
33980         * benchtests/acosh-inputs: New file.
33981         * benchtests/asin-inputs: New file.
33982         * benchtests/asinh-inputs: New file.
33983         * benchtests/atanh-inputs: New file.
33984         * benchtests/cosh-inputs: New file.
33985         * benchtests/log-inputs: New file.
33986         * benchtests/sinh-inputs: New file.
33987         * benchtests/tanh-inputs: New file.
33989 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33991         [BZ #15339]
33992         * posix/tst-getaddrinfo4.c: New test.
33993         * posix/Makefile (tests): Add it.
33995 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33997         [BZ #15339]
33998         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33999         when no services were used.
34000         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34001         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34003 2013-05-21  Andreas Schwab  <schwab@suse.de>
34005         [BZ #15014]
34006         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34007         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34008         successful.
34009         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34010         redundant variable declarations and reallocation of buffer when
34011         parsing as IPv6 address.  Always set NSS status when called from
34012         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34013         buffer too small.  Correct computation of needed size.
34014         * nss/Makefile (tests): Add test-digits-dots.
34015         * nss/test-digits-dots.c: New test.
34017 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34019         * benchtests/Makefile: Remove instructions for adding
34020         benchmark tests.
34021         * benchtests/README: New file to explain how to execute and
34022         enhance the benchmark tests.
34024 2013-05-21  Andreas Schwab  <schwab@suse.de>
34026         [BZ #15493]
34027         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34028         * setjmp/tst-sigsetjmp.c: New test.
34030 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34032         * sysdeps/x86_64/memset.S (memset): New implementation.
34033         (__bzero): Likewise.
34034         (__memset_tail): New function.
34036 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34038         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34039         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34040         __memcpy_sse2_unaligned ifunc selection.
34041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34042         Add memcpy-sse2-unaligned.S.
34043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34044         Add: __memcpy_sse2_unaligned.
34046 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34048         [BZ #15490]
34049         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34050         math_force_eval before restoring floating-point envrionment.
34051         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34052         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34053         Likewise.
34054         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34055         <math_private.h>.
34056         (__nearbyintl): Use math_force_eval before restoring
34057         floating-point environment.
34058         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34060         * math/gen-libm-test.pl (special_functions): Remove.
34061         (parse_args): Don't handle TEST_extra.  Handle functions with no
34062         return value.
34063         * math/libm-test.inc (struct test_sincos_data): Replace with
34064         struct test_fFF_11_data.
34065         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34066         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34067         (sincos_test_data): Change element type to struct
34068         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34069         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34070         RUN_TEST_LOOP_sincos.
34071         * math/README.libm-test: Don't mention special handling of
34072         individual functions.
34073         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34074         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34075         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34076         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34077         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34080         * math/gen-libm-test.pl (get_variable): Remove function.
34081         (parse_args): Don't show pointer parameters to call in test
34082         names.  Use "extra output N" in test names for extra outputs
34083         rather than naming variables.
34085 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34087         [BZ #15488]
34088         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34089         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34090         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34091         double tests.
34092         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34093         disable.
34094         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34095         check_long_double.
34097         * math/gen-libm-test.pl (@tests): Remove variable.
34098         ($count): Likewise.
34099         (new_test): Remove function.
34100         (show_exceptions): New function.
34101         (special_functions): Use show_exceptions instead of new_test.
34102         (parse_args): Likewise.
34103         (generate_testfile): Pass only function name in generated call to
34104         print_max_error or print_complex_max_error.
34105         (get_ulps): Do not handle complex tests specially.
34106         (output_test): Rename to ...
34107         (get_all_ulps_for_test): ... this.  Return a string rather than
34108         printing to a file.  Require ulps to be present.
34109         (output_ulps): Generate arrays rather than #defines.
34110         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34111         (struct ulp_data): New type.
34112         (BUILD_COMPLEX_ULP): Remove macro.
34113         (compare_ulp_data): New function.
34114         (find_ulps): Likewise.
34115         (find_test_ulps): Likewise.
34116         (find_function_ulps): Likewise.
34117         (find_complex_function_ulps): Likewise.
34118         (print_max_error): Determine allowed ulps using
34119         find_function_ulps.
34120         (print_complex_max_error): Determine allowed ulps using
34121         find_complex_function_ulps.
34122         (check_float_internal): Determine max ulps using find_test_ulps.
34123         (check_float): Do not take max_ulp parameter.  Update call to
34124         check_float_internal.
34125         (check_complex): Likewise.
34126         (check_int): Do not take max_ulp parameter.
34127         (check_long): Likewise.
34128         (check_bool): Likewise.
34129         (check_longlong): Likewise.
34130         (struct test_f_f_data): Remove max_ulp field.
34131         (struct test_ff_f_data): Likewise.
34132         (struct test_ff_f_data_nexttoward): Likewise.
34133         (struct test_fi_f_data): Likewise.
34134         (struct test_fl_f_data): Likewise.
34135         (struct test_if_f_data): Likewise.
34136         (struct test_fff_f_data): Likewise.
34137         (struct test_c_f_data): Likewise.
34138         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34139         (struct test_fF_f1_data): Likewise.
34140         (struct test_ffI_f1_data): Likewise.
34141         (struct test_c_c_data): Remove max_ulp field.
34142         (struct test_cc_c_data): Likewise.
34143         (struct test_f_i_data): Likewise.
34144         (struct test_ff_i_data): Likewise.
34145         (struct test_f_l_data): Likewise.
34146         (struct test_f_L_data): Likewise.
34147         (struct test_sincos_data): Likewise.
34148         (RUN_TEST_f_f): Do not handle ulps.
34149         (RUN_TEST_LOOP_f_f): Likewise.
34150         (RUN_TEST_2_f): Likewise.
34151         (RUN_TEST_LOOP_2_f): Likewise.
34152         (RUN_TEST_fff_f): Likewise.
34153         (RUN_TEST_LOOP_fff_f): Likewise.
34154         (RUN_TEST_c_f): Likewise.
34155         (RUN_TEST_LOOP_c_f): Likewise.
34156         (RUN_TEST_f_f1): Likewise.
34157         (RUN_TEST_LOOP_f_f1): Likewise.
34158         (RUN_TEST_fF_f1): Likewise.
34159         (RUN_TEST_LOOP_fF_f1): Likewise.
34160         (RUN_TEST_fI_f1): Likewise.
34161         (RUN_TEST_LOOP_fI_f1): Likewise.
34162         (RUN_TEST_ffI_f1): Likewise.
34163         (RUN_TEST_LOOP_ffI_f1): Likewise.
34164         (RUN_TEST_c_c): Likewise.
34165         (RUN_TEST_LOOP_c_c): Likewise.
34166         (RUN_TEST_cc_c): Likewise.
34167         (RUN_TEST_LOOP_cc_c): Likewise.
34168         (RUN_TEST_f_i): Likewise.
34169         (RUN_TEST_LOOP_f_i): Likewise.
34170         (RUN_TEST_f_i_tg): Likewise.
34171         (RUN_TEST_LOOP_f_i_tg): Likewise.
34172         (RUN_TEST_ff_i_tg): Likewise.
34173         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34174         (RUN_TEST_f_b): Likewise.
34175         (RUN_TEST_LOOP_f_b): Likewise.
34176         (RUN_TEST_f_b_tg): Likewise.
34177         (RUN_TEST_LOOP_f_b_tg): Likewise.
34178         (RUN_TEST_f_l): Likewise.
34179         (RUN_TEST_LOOP_f_l): Likewise.
34180         (RUN_TEST_f_L): Likewise.
34181         (RUN_TEST_LOOP_f_L): Likewise.
34182         (RUN_TEST_sincos): Likewise.
34183         (RUN_TEST_LOOP_sincos): Likewise.
34185 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34187         [BZ #15480]
34188         [BZ #15485]
34189         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34190         main case of finite arguments, set rounding mode to FE_TONEAREST
34191         and discard exceptions.
34192         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34193         exceptions.
34194         (remainder_tonearest_test_data): New variable.
34195         (remainder_test_tonearest): New function.
34196         (remainder_towardzero_test_data): New variable.
34197         (remainder_test_towardzero): New function.
34198         (remainder_downward_test_data): New variable.
34199         (remainder_test_downward): New function.
34200         (remainder_upward_test_data): New variable.
34201         (remainder_test_upward): New function.
34202         (main): Call the new test functions.
34204         * math/libm-test.inc (struct test_f_f1_data): Remove field
34205         extra_init.
34206         (struct test_fF_f1_data): Likewise.
34207         (struct test_ffI_f1_data): Likewise.
34208         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34209         based on value of EXTRA_EXPECTED.
34210         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34211         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34212         EXTRA_VAR based on value of EXTRA_EXPECTED.
34213         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34214         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34215         EXTRA_VAR based on value of EXTRA_EXPECTED.
34216         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34217         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34218         EXTRA_VAR based on value of EXTRA_EXPECTED.
34219         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34220         * math/gen-libm-test.pl (parse_args): Don't output initializers
34221         for extra output values.
34223         * math/libm-test.inc (check_int): Expect result to be exactly
34224         equal to expected value and do not handle ulps.
34225         (check_long): Likewise.
34226         (check_longlong): Likewise.
34228         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34229         exceptions.
34230         (cimag_test_data): Likewise.
34231         (conj_test_data): Likewise.
34232         (copysign_test_data): Likewise.
34233         (cproj_test_data): Likewise.
34234         (creal_test_data): Likewise.
34235         (fabs_test_data): Likewise.
34236         (fdim_test_data): Likewise.
34237         (finite_test_data): Likewise.
34238         (floor_test_data): Likewise.
34239         (fmax_test_data): Likewise.
34240         (fmin_test_data): Likewise.
34241         (fmod_test_data): Likewise.
34242         (fpclassify_test_data): Likewise.
34243         (frexp_test_data): Likewise.
34244         (ilogb_test_data): Likewise.
34245         (isfinite_test_data): Likewise.
34246         (isgreater_test_data): Likewise.
34247         (isgreaterequal_test_data): Likewise.
34248         (isinf_test_data): Likewise.
34249         (isless_test_data): Likewise.
34250         (islessequal_test_data): Likewise.
34251         (islessgreater_test_data): Likewise.
34252         (isnan_test_data): Likewise.
34253         (isnormal_test_data): Likewise.
34254         (issignaling_test_data): Likewise.
34255         (isunordered_test_data): Likewise.
34256         (ldexp_test_data): Likewise.
34257         (lrint_test_data): Likewise.
34258         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34259         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34260         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34261         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34262         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34263         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34264         test input.
34265         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34266         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34267         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34268         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34269         that test input.
34270         (lrint_downward_test_data): Test for "inexact" exceptions.
34271         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34272         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34273         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34274         test input.
34275         (lrint_upward_test_data): Test for "inexact" exceptions.
34276         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34277         test input.
34278         (llrint_test_data): Test for "inexact" exceptions.
34279         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34280         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34281         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34282         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34283         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34284         (llrint_downward_test_data): Test for "inexact" exceptions.
34285         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34286         (llrint_upward_test_data): Test for "inexact" exceptions.
34287         (logb_test_data): Likewise.
34288         (logb_downward_test_data): Likewise.
34289         (nextafter_test_data): Likewise.
34290         (nexttoward_test_data): Likewise.
34291         (remainder_test_data): Likewise.
34292         (remquo_test_data): Likewise.
34293         (scalbn_test_data): Likewise.
34294         (scalbln_test_data): Likewise.
34295         (signbit_test_data): Likewise.
34296         (sqrt_test_data): Likewise.
34297         (significand_test_data): Likewise.
34299 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34301         [BZ #15424]
34302         * benchtests/bench-modf.c (struct args): Mark arg0 as
34303         volatile.
34304         * scripts/bench.pl: Mark members of struct args as volatile.
34306 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34308         [BZ # 15497]
34309         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34310         negative infinity on POWER6 or lower.
34311         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34313 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34315         [BZ #15442]
34316         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34317         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34318         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34319         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34320         (_FP_SETQNAN): New macro.
34321         (_FP_SETQNAN_SEMIRAW): Likewise.
34322         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34323         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34324         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34325         (FP_EXTEND): Use _FP_FRAC_SNANP.
34326         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34327         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34328         into account.
34329         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34330         New macro.
34331         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34332         Likewise.
34334 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34336         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34337         with DIVIDE_BY_ZERO_EXCEPTION.
34338         (gamma_test_data): Likewise.
34339         (lgamma_test_data): Likewise.
34340         (log_test_data): Likewise.
34341         (log10_test_data): Likewise.
34342         (log2_test_data): Likewise.
34343         (tgamma_test_data): Likewise.
34345         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34346         (acos_test_tonearest): Likewise.
34347         (acos_test_towardzero): Likewise.
34348         (acos_test_downward): Likewise.
34349         (acos_test_upward): Likewise.
34350         (acosh_test): Likewise.
34351         (asin_test): Likewise.
34352         (asin_test_tonearest): Likewise.
34353         (asin_test_towardzero): Likewise.
34354         (asin_test_downward): Likewise.
34355         (asin_test_upward): Likewise.
34356         (asinh_test): Likewise.
34357         (atan_test): Likewise.
34358         (atanh_test): Likewise.
34359         (atan2_test): Likewise.
34360         (cabs_test): Likewise.
34361         (cacos_test): Likewise.
34362         (cacosh_test): Likewise.
34363         (casin_test): Likewise.
34364         (casinh_test): Likewise.
34365         (catan_test): Likewise.
34366         (catanh_test): Likewise.
34367         (cbrt_test): Likewise.
34368         (ccos_test): Likewise.
34369         (ccosh_test): Likewise.
34370         (cexp_test): Likewise.
34371         (clog_test): Likewise.
34372         (clog10_test): Likewise.
34373         (cos_test): Likewise.
34374         (cos_test_tonearest): Likewise.
34375         (cos_test_towardzero): Likewise.
34376         (cos_test_downward): Likewise.
34377         (cos_test_upward): Likewise.
34378         (cosh_test): Likewise.
34379         (cosh_test_tonearest): Likewise.
34380         (cosh_test_towardzero): Likewise.
34381         (cosh_test_downward): Likewise.
34382         (cosh_test_upward): Likewise.
34383         (cpow_test): Likewise.
34384         (csin_test): Likewise.
34385         (csinh_test): Likewise.
34386         (csqrt_test): Likewise.
34387         (ctan_test): Likewise.
34388         (ctan_test_tonearest): Likewise.
34389         (ctan_test_towardzero): Likewise.
34390         (ctan_test_downward): Likewise.
34391         (ctan_test_upward): Likewise.
34392         (ctanh_test): Likewise.
34393         (ctanh_test_tonearest): Likewise.
34394         (ctanh_test_towardzero): Likewise.
34395         (ctanh_test_downward): Likewise.
34396         (ctanh_test_upward): Likewise.
34397         (erf_test): Likewise.
34398         (erfc_test): Likewise.
34399         (exp_test): Likewise.
34400         (exp_test_tonearest): Likewise.
34401         (exp_test_towardzero): Likewise.
34402         (exp_test_downward): Likewise.
34403         (exp_test_upward): Likewise.
34404         (exp10_test): Likewise.
34405         (exp2_test): Likewise.
34406         (expm1_test): Likewise.
34407         (fmod_test): Likewise.
34408         (gamma_test): Likewise.
34409         (hypot_test): Likewise.
34410         (j0_test): Likewise.
34411         (j1_test): Likewise.
34412         (jn_test): Likewise.
34413         (lgamma_test): Likewise.
34414         (log_test): Likewise.
34415         (log10_test): Likewise.
34416         (log1p_test): Likewise.
34417         (log2_test): Likewise.
34418         (logb_test_downward): Likewise.
34419         (pow_test): Likewise.
34420         (pow_test_tonearest): Likewise.
34421         (pow_test_towardzero): Likewise.
34422         (pow_test_downward): Likewise.
34423         (pow_test_upward): Likewise.
34424         (remainder_test): Likewise.
34425         (remquo_test): Likewise.
34426         (sin_test): Likewise.
34427         (sin_test_tonearest): Likewise.
34428         (sin_test_towardzero): Likewise.
34429         (sin_test_downward): Likewise.
34430         (sin_test_upward): Likewise.
34431         (sincos_test): Likewise.
34432         (sinh_test): Likewise.
34433         (sinh_test_tonearest): Likewise.
34434         (sinh_test_towardzero): Likewise.
34435         (sinh_test_downward): Likewise.
34436         (sinh_test_upward): Likewise.
34437         (sqrt_test): Likewise.
34438         (tan_test): Likewise.
34439         (tan_test_tonearest): Likewise.
34440         (tan_test_towardzero): Likewise.
34441         (tan_test_downward): Likewise.
34442         (tan_test_upward): Likewise.
34443         (tanh_test): Likewise.
34444         (tgamma_test): Likewise.
34445         (y0_test): Likewise.
34446         (y1_test): Likewise.
34447         (yn_test): Likewise.
34449         * math/gen-libm-test.pl (adjust_arg): Remove function.
34450         (special_function): Remove argument $in_func.  Only handle
34451         generating output for tables of tests, not inside functions.
34452         (parse_args): Likewise.
34453         (generate_testfile): Remove variable $in_func.  Update call to
34454         parse_args.
34455         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34456         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34457         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34458         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34459         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34460         (MAX_VALUE_INIT): Rename macro to max_value.
34461         (MIN_VALUE_INIT): Rename macro to min_value.
34462         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34463         (plus_zero): Remove variable.
34464         (minus_zero): Likewise.
34465         (plus_infty): Likewise.
34466         (minus_infty): Likewise.
34467         (qnan_value): Likewise.
34468         (max_value): Likewise.
34469         (min_value): Likewise.
34470         (min_subnorm_value): Likewise.
34472 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34474         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34475         uint64_t or uint32_t usage.
34476         * crypt/sha256-block.c: Likewise.
34477         * crypt/sha256-crypt.c: Likewise.
34478         * crypt/sha256.c: Likewise.
34479         * crypt/sha512-block.c: Likewise.
34480         * crypt/sha512-crypt.c: Likewise.
34481         * crypt/sha512.c: Likewise.
34482         * debug/backtrace-tst.c: Likewise.
34483         * debug/pcprofiledump.c: Likewise.
34484         * elf/cache.c: Likewise.
34485         * elf/dl-cache.c: Likewise.
34486         * elf/dl-misc.c: Likewise.
34487         * elf/dl-profile.c: Likewise.
34488         * elf/dl-support.c: Likewise.
34489         * elf/ldconfig.c: Likewise.
34490         * elf/sprof.c: Likewise.
34491         * iconv/dummy-repertoire.c: Likewise.
34492         * iconv/iconv_charmap.c: Likewise.
34493         * iconv/skeleton.c: Likewise.
34494         * iconvdata/8bit-generic.c: Likewise.
34495         * iconvdata/cp737.h: Likewise.
34496         * iconvdata/cp775.h: Likewise.
34497         * iconvdata/ibm1008.h: Likewise.
34498         * iconvdata/ibm1025.h: Likewise.
34499         * iconvdata/ibm1046.h: Likewise.
34500         * iconvdata/ibm1097.h: Likewise.
34501         * iconvdata/ibm1112.h: Likewise.
34502         * iconvdata/ibm1122.h: Likewise.
34503         * iconvdata/ibm1123.h: Likewise.
34504         * iconvdata/ibm1124.h: Likewise.
34505         * iconvdata/ibm1129.h: Likewise.
34506         * iconvdata/ibm1130.h: Likewise.
34507         * iconvdata/ibm1132.h: Likewise.
34508         * iconvdata/ibm1133.h: Likewise.
34509         * iconvdata/ibm1137.h: Likewise.
34510         * iconvdata/ibm1140.h: Likewise.
34511         * iconvdata/ibm1141.h: Likewise.
34512         * iconvdata/ibm1142.h: Likewise.
34513         * iconvdata/ibm1143.h: Likewise.
34514         * iconvdata/ibm1144.h: Likewise.
34515         * iconvdata/ibm1145.h: Likewise.
34516         * iconvdata/ibm1146.h: Likewise.
34517         * iconvdata/ibm1147.h: Likewise.
34518         * iconvdata/ibm1148.h: Likewise.
34519         * iconvdata/ibm1149.h: Likewise.
34520         * iconvdata/ibm1153.h: Likewise.
34521         * iconvdata/ibm1154.h: Likewise.
34522         * iconvdata/ibm1155.h: Likewise.
34523         * iconvdata/ibm1156.h: Likewise.
34524         * iconvdata/ibm1157.h: Likewise.
34525         * iconvdata/ibm1158.h: Likewise.
34526         * iconvdata/ibm1160.h: Likewise.
34527         * iconvdata/ibm1161.h: Likewise.
34528         * iconvdata/ibm1162.h: Likewise.
34529         * iconvdata/ibm1163.h: Likewise.
34530         * iconvdata/ibm1164.h: Likewise.
34531         * iconvdata/ibm1166.h: Likewise.
34532         * iconvdata/ibm1167.h: Likewise.
34533         * iconvdata/ibm12712.h: Likewise.
34534         * iconvdata/ibm1390.h: Likewise.
34535         * iconvdata/ibm1399.h: Likewise.
34536         * iconvdata/ibm16804.h: Likewise.
34537         * iconvdata/ibm4517.h: Likewise.
34538         * iconvdata/ibm4899.h: Likewise.
34539         * iconvdata/ibm4909.h: Likewise.
34540         * iconvdata/ibm4971.h: Likewise.
34541         * iconvdata/ibm5347.h: Likewise.
34542         * iconvdata/ibm803.h: Likewise.
34543         * iconvdata/ibm856.h: Likewise.
34544         * iconvdata/ibm901.h: Likewise.
34545         * iconvdata/ibm902.h: Likewise.
34546         * iconvdata/ibm9030.h: Likewise.
34547         * iconvdata/ibm9066.h: Likewise.
34548         * iconvdata/ibm921.h: Likewise.
34549         * iconvdata/ibm922.h: Likewise.
34550         * iconvdata/ibm9448.h: Likewise.
34551         * iconvdata/isiri-3342.h: Likewise.
34552         * iconvdata/jis0201.h: Likewise.
34553         * include/link.h: Likewise.
34554         * include/netdb.h: Likewise.
34555         * inet/check_native.c: Likewise.
34556         * inet/check_pf.c: Likewise.
34557         * inet/getipv4sourcefilter.c: Likewise.
34558         * inet/getnameinfo.c: Likewise.
34559         * inet/getsourcefilter.c: Likewise.
34560         * inet/htonl.c: Likewise.
34561         * inet/setipv4sourcefilter.c: Likewise.
34562         * inet/setsourcefilter.c: Likewise.
34563         * inet/test-inet6_opt.c: Likewise.
34564         * inet/tst-network.c: Likewise.
34565         * locale/C-collate.c: Likewise.
34566         * locale/C-ctype.c: Likewise.
34567         * locale/C-time.c: Likewise.
34568         * locale/C-translit.h: Likewise.
34569         * locale/loadarchive.c: Likewise.
34570         * locale/programs/3level.h: Likewise.
34571         * locale/programs/charmap.c: Likewise.
34572         * locale/programs/charmap.h: Likewise.
34573         * locale/programs/ld-address.c: Likewise.
34574         * locale/programs/ld-collate.c: Likewise.
34575         * locale/programs/ld-ctype.c: Likewise.
34576         * locale/programs/ld-identification.c: Likewise.
34577         * locale/programs/ld-measurement.c: Likewise.
34578         * locale/programs/ld-messages.c: Likewise.
34579         * locale/programs/ld-monetary.c: Likewise.
34580         * locale/programs/ld-name.c: Likewise.
34581         * locale/programs/ld-numeric.c: Likewise.
34582         * locale/programs/ld-paper.c: Likewise.
34583         * locale/programs/ld-telephone.c: Likewise.
34584         * locale/programs/ld-time.c: Likewise.
34585         * locale/programs/linereader.c: Likewise.
34586         * locale/programs/locale.c: Likewise.
34587         * locale/programs/locarchive.c: Likewise.
34588         * locale/programs/locfile.h: Likewise.
34589         * locale/programs/repertoire.c: Likewise.
34590         * locale/programs/simple-hash.c: Likewise.
34591         * locale/programs/simple-hash.h: Likewise.
34592         * malloc/memusage.c: Likewise.
34593         * malloc/memusagestat.c: Likewise.
34594         * nis/nis_defaults.c: Likewise.
34595         * nis/nis_hash.c: Likewise.
34596         * nis/nis_print.c: Likewise.
34597         * nis/nis_xdr.c: Likewise.
34598         * nscd/connections.c: Likewise.
34599         * nscd/hstcache.c: Likewise.
34600         * nscd/nscd_gethst_r.c: Likewise.
34601         * nscd/nscd_getserv_r.c: Likewise.
34602         * nscd/nscd_helper.c: Likewise.
34603         * nscd/servicescache.c: Likewise.
34604         * nss/makedb.c: Likewise.
34605         * nss/nss_db/db-XXX.c: Likewise.
34606         * nss/nss_db/db-initgroups.c: Likewise.
34607         * nss/nss_db/db-netgrp.c: Likewise.
34608         * nss/nss_files/files-network.c: Likewise.
34609         * nss/nss_files/files-parse.c: Likewise.
34610         * posix/bug-regex5.c: Likewise.
34611         * posix/fnmatch_loop.c: Likewise.
34612         * posix/regcomp.c: Likewise.
34613         * posix/regexec.c: Likewise.
34614         * posix/tst-rfc3484-2.c: Likewise.
34615         * posix/tst-rfc3484-3.c: Likewise.
34616         * posix/tst-rfc3484.c: Likewise.
34617         * resolv/nss_dns/dns-canon.c: Likewise.
34618         * resolv/nss_dns/dns-network.c: Likewise.
34619         * resolv/res_init.c: Likewise.
34620         * resolv/res_mkquery.c: Likewise.
34621         * resolv/tst-aton.c: Likewise.
34622         * stdlib/cxa_atexit.c: Likewise.
34623         * stdlib/cxa_finalize.c: Likewise.
34624         * stdlib/gen-fpioconst.c: Likewise.
34625         * stdlib/strtol_l.c: Likewise.
34626         * string/tst-endian.c: Likewise.
34627         * sunrpc/auth_des.c: Likewise.
34628         * sunrpc/clnt_udp.c: Likewise.
34629         * sunrpc/rtime.c: Likewise.
34630         * sunrpc/svcauth_des.c: Likewise.
34631         * sunrpc/xdr.c: Likewise.
34632         * sunrpc/xdr_intXX_t.c: Likewise.
34633         * sunrpc/xdr_rec.c: Likewise.
34634         * sysdeps/generic/ldconfig.h: Likewise.
34635         * sysdeps/generic/ldsodefs.h: Likewise.
34636         * sysdeps/generic/memusage.h: Likewise.
34637         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34638         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34639         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34640         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34641         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34642         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34643         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34644         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34645         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34646         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34647         * sysdeps/posix/getaddrinfo.c: Likewise.
34648         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34649         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34650         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34651         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34652         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34653         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34654         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34655         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34656         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34657         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34658         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34659         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34660         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34661         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34662         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34663         * sysdeps/x86_64/dl-tls.h: Likewise.
34664         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34665         * time/alt_digit.c: Likewise.
34666         * time/era.c: Likewise.
34667         * wcsmbs/tst-c16c32-1.c: Likewise.
34669 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34671         * math/libm-test.inc (struct test_sincos_data): New type.
34672         (RUN_TEST_LOOP_sincos): New macro.
34673         (sincos_test_data): New variable.
34674         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34676 2013-05-16  Richard Henderson  <rth@redhat.com>
34678         * math/atest-exp2.c (LIMB64): New macro.
34679         (CONSTSZ): New macro.
34680         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34681         (hexdig): Move ...
34682         (print_mpn_fp): ... to function scope.
34683         (read_mpn_hex): Remove.
34684         (get_log2): Remove.
34685         (exp2_mpn): Use mp_log2.
34686         (main): Use mp_exp1.
34688 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34690         * math/libm-test.inc: Remove comment about not testing "inexact"
34691         exceptions.
34692         (INEXACT_EXCEPTION): New macro.
34693         (NO_INEXACT_EXCEPTION): Likewise.
34694         (INVALID_EXCEPTION_OK): Update value.
34695         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34696         (OVERFLOW_EXCEPTION_OK): Likewise.
34697         (UNDERFLOW_EXCEPTION_OK): Likewise.
34698         (IGNORE_ZERO_INF_SIGN): Likewise.
34699         (ERRNO_UNCHANGED): Likewise.
34700         (ERRNO_EDOM): Likewise.
34701         (ERRNO_ERANGE): Likewise.
34702         (test_exceptions): Handle testing "inexact" exceptions.
34703         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34704         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34705         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34706         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34707         INEXACT_EXCEPTION.
34708         (rint_towardzero_test_data): Likewise.
34709         (rint_downward_test_data): Likewise.
34710         (rint_upward_test_data): Likewise.
34712         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34713         with OVERFLOW_EXCEPTION.
34714         (exp10_test_data): Likewise.
34715         (exp2_test_data): Likewise.
34716         (expm1_test_data): Likewise.
34717         (lgamma_test_data): Likewise.
34718         (pow_test_data): Likewise.
34719         (tgamma_test_data): Likewise.
34720         (yn_test_data): Remove duplicate test of overflow.
34722         * math/libm-test.inc (struct test_cc_c_data): New type.
34723         (RUN_TEST_LOOP_cc_c): New macro.
34724         (cpow_test_data): New variable.
34725         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34727         * math/libm-test.inc (struct test_f_L_data): New type.
34728         (RUN_TEST_LOOP_f_L): New macro.
34729         (llrint_test_data): New variable.
34730         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34731         (llrint_tonearest_test_data): New variable.
34732         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34733         (llrint_towardzero_test_data): New variable.
34734         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34735         (llrint_downward_test_data): New variable.
34736         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34737         (llrint_upward_test_data): New variable.
34738         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34739         (llround_test_data): New variable.
34740         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34742 2013-05-13  Peter Collingbourne  <pcc@google.com>
34744         * math/atest-exp2.c (get_log2): Remove const attribute.
34746 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34748         * math/libm-test.inc (struct test_f_l_data): New type.
34749         (RUN_TEST_LOOP_f_l): New macro.
34750         (lrint_test_data): New variable.
34751         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34752         (lrint_tonearest_test_data): New variable.
34753         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34754         (lrint_towardzero_test_data): New variable.
34755         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34756         (lrint_downward_test_data): New variable.
34757         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34758         (lrint_upward_test_data): New variable.
34759         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34760         (lround_test_data): New variable.
34761         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34763 2013-05-15  Peter Collingbourne  <pcc@google.com>
34765         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34766         (EXTRACT_WORDS64) Use where appropriate.
34767         (INSERT_WORDS64) Likewise.
34769         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34770         constraints with x constraints.
34771         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34773         * malloc/obstack.c (_obstack_compat): Add initializer.
34775 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34777         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34778         si_trapno and add si_addr_lsb to _sifields.sigfault.
34779         (si_trapno): Remove macro.
34780         (si_addr_lsb): Define new macro.
34781         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34783 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34785         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34786         instead of TEST_f_l.
34787         (llrint_test_tonearest): Likewise.
34788         (llrint_test_towardzero): Likewise.
34789         (llrint_test_downward): Likewise.
34790         (llrint_test_upward): Likewise.
34791         (llround_test): Likewise.
34793         * math/libm-test.inc (struct test_f_i_data): Add comment.
34794         (RUN_TEST_LOOP_f_b): New macro.
34795         (RUN_TEST_LOOP_f_b_tg): Likewise.
34796         (finite_test_data): New variable.
34797         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34798         (isfinite_test_data): New variable.
34799         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34800         (isinf_test_data): New variable.
34801         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34802         (isnan_test_data): New variable.
34803         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34804         (isnormal_test_data): New variable.
34805         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34806         (issignaling_test_data): New variable.
34807         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34808         (signbit_test_data): New variable.
34809         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34811         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34812         with INVALID_EXCEPTION.
34813         (acosh_test_data): Likewise.
34814         (asin_test_data): Likewise.
34815         (atanh_test_data): Likewise.
34816         (fmod_test_data): Likewise.
34817         (log_test_data): Likewise.
34818         (log10_test_data): Likewise.
34819         (log2_test_data): Likewise.
34820         (pow_test_data): Likewise.
34821         (sqrt_test_data): Likewise.
34822         (y0_test_data): Likewise.
34823         (y1_test_data): Likewise.
34824         (yn_test_data): Likewise.
34826         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34827         function contents.
34829         * math/libm-test.inc (struct test_ff_i_data): New type.
34830         (RUN_TEST_LOOP_ff_i_tg): New macro.
34831         (isgreater_test_data): New variable.
34832         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34833         (isgreaterequal_test_data): New variable.
34834         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34835         (isless_test_data): New variable.
34836         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34837         (islessequal_test_data): New variable.
34838         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34839         (islessgreater_test_data): New variable.
34840         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34841         (isunordered_test_data): New variable.
34842         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34844 2013-05-14  David S. Miller  <davem@davemloft.net>
34846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34848 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34850         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34852         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34853         extra_test to int.
34854         (struct test_f_i_data): Change type of max_ulp to int.
34856         * math/libm-test.inc (test_ffI_f1_data): New type.
34857         (RUN_TEST_LOOP_ffI_f1): New macro.
34858         (remquo_test_data): New variable.
34859         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34861         * setjmp/tst-setjmp-fp.c: New file.
34862         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34863         (link-libm): New variable.
34864         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34866         * math/libm-test.inc (struct test_f_i_data): New type.
34867         (RUN_TEST_LOOP_f_i): New macro.
34868         (RUN_TEST_LOOP_f_i_tg): Likewise.
34869         (fpclassify_test_data): New variable.
34870         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34871         (ilogb_test_data): New variable.
34872         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34874         * math/libm-test.inc (scalbln_test): Correct function name in END
34875         call.
34877         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34878         (RUN_TEST_LOOP_fI_f1): New macro.
34879         (frexp_test_data): New variable.
34880         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34882         * math/libm-test.inc (struct test_fF_f1_data): New type.
34883         (RUN_TEST_LOOP_fF_f1): New macro.
34884         (modf_test_data): New variable.
34885         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34887         * math/libm-test.inc (struct test_f_f1_data): New type.
34888         (RUN_TEST_LOOP_f_f1): New macro.
34889         (gamma_test_data): New variable.
34890         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34891         (lgamma_test_data): New variable.
34892         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34894 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34896         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34897         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34898         (main): Comment "tls" pseudo-hwcap.
34900 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34902         * math/libm-test.inc (struct test_fl_f_data): New type.
34903         (RUN_TEST_LOOP_fl_f): New variable.
34904         (scalbln_test_data): New variable.
34905         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34907         * math/libm-test.inc (struct test_fi_f_data): New type.
34908         (RUN_TEST_LOOP_fi_f): New macro.
34909         (ldexp_test_data): New variable.
34910         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34911         (scalbn_test_data): New variable.
34912         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34914         * math/libm-test.inc (struct test_c_f_data): New type.
34915         (RUN_TEST_LOOP_c_f): New macro.
34916         (cabs_test_data): New variable.
34917         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34918         (carg_test_data): New variable.
34919         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34920         (cimag_test_data): New variable.
34921         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34922         (creal_test_data): New variable.
34923         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34925         * math/libm-test.inc (struct test_if_f_data): New type.
34926         (RUN_TEST_LOOP_if_f): New macro.
34927         (jn_test_data): New variable.
34928         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34929         (yn_test_data): New variable.
34930         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34932         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34934 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34936         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34937         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34939 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34941         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34942         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34943         (bench-deps): Add bench-timing.h.
34944         * benchtests-bench-skeleton.c: Include bench-timing.h.
34945         (main): Use TIMING_* macros instead of clock_gettime.
34946         * benchtests/bench-timing.h: New file.
34948         [BZ #14582]
34949         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34950         Renamed from _LIB_VERSION.
34951         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34953 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34955         * math/libm-test.inc (struct test_fff_f_data): New type.
34956         (RUN_TEST_LOOP_fff_f): New macro.
34957         (fma_test_data): New variable.
34958         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34959         (fma_towardzero_test_data): New variable.
34960         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34961         (fma_downward_test_data): New variable.
34962         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34963         (fma_upward_test_data): New variable.
34964         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34966         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34967         (struct test_c_c_data): New type.
34968         (RUN_TEST_LOOP_c_c): New macro.
34969         (cacos_test_data): New variable.
34970         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34971         (cacosh_test_data): New variable.
34972         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34973         (casin_test_data): New variable.
34974         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34975         (casinh_test_data): New variable.
34976         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34977         (catan_test_data): New variable.
34978         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34979         (catanh_test_data): New variable.
34980         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34981         (ccos_test_data): New variable.
34982         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34983         (ccosh_test_data): New variable.
34984         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34985         (cexp_test_data): New variable.
34986         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34987         (clog_test_data): New variable.
34988         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34989         (clog10_test_data): New variable.
34990         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34991         (conj_test_data): New variable.
34992         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34993         (cproj_test_data): New variable.
34994         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34995         (csin_test_data): New variable.
34996         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34997         (csinh_test_data): New variable.
34998         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34999         (csqrt_test_data): New variable.
35000         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35001         (ctan_test_data): New variable.
35002         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35003         (ctan_tonearest_test_data): New variable.
35004         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35005         (ctan_towardzero_test_data): New variable.
35006         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35007         (ctan_downward_test_data): New variable.
35008         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35009         (ctan_upward_test_data): New variable.
35010         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35011         (ctanh_test_data): New variable.
35012         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35013         (ctanh_tonearest_test_data): New variable.
35014         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35015         (ctanh_towardzero_test_data): New variable.
35016         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35017         (ctanh_downward_test_data): New variable.
35018         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35019         (ctanh_upward_test_data): New variable.
35020         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35021         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35022         of BUILD_COMPLEX.
35024         * math/libm-test.inc (struct test_ff_f_data): New type.
35025         (struct test_ff_f_data_nexttoward): Likewise.
35026         (RUN_TEST_LOOP_2_f): New macro.
35027         (RUN_TEST_LOOP_ff_f): Likewise.
35028         (atan2_test_data): New variable.
35029         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35030         (copysign_test_data): New variable.
35031         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35032         (fdim_test_data): New variable.
35033         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35034         (fmax_test_data): New variable.
35035         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35036         (fmin_test_data): New variable.
35037         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35038         (fmod_test_data): New variable.
35039         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35040         (hypot_test_data): New variable.
35041         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35042         (nextafter_test_data): New variable.
35043         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35044         (nexttoward_test_data): New variable.
35045         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35046         (pow_test_data): New variable.
35047         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35048         (pow_tonearest_test_data): New variable.
35049         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35050         (pow_towardzero_test_data): New variable.
35051         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35052         (pow_downward_test_data): New variable.
35053         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35054         (pow_upward_test_data): New variable.
35055         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35056         (remainder_test_data): New variable.
35057         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35058         (scalb_test_data): New variable.
35059         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35060         * sysdeps/i386/fpu/libm-test-ulps: Update.
35062 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35064         * math/libm-test.inc (fma_test): Use max_value instead of local
35065         variable fltmax.
35066         (nextafter_test): Likewise.
35068         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35069         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35070         (acos_downward_test_data): New variable.
35071         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35072         (acos_upward_test_data): New variable.
35073         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35074         (acosh_test_data): New variable.
35075         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35076         (asin_test_data): New variable.
35077         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35078         (asin_tonearest_test_data): New variable.
35079         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35080         (asin_towardzero_test_data): New variable.
35081         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35082         (asin_downward_test_data): New variable.
35083         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35084         (asin_upward_test_data): New variable.
35085         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35086         (asinh_test_data): New variable.
35087         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35088         (atan_test_data): New variable.
35089         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35090         (atanh_test_data): New variable.
35091         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35092         (cbrt_test_data): New variable.
35093         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35094         (ceil_test_data): New variable.
35095         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35096         (cos_test_data): New variable.
35097         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35098         (cos_tonearest_test_data): New variable.
35099         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35100         (cos_towardzero_test_data): New variable.
35101         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35102         (cos_downward_test_data): New variable.
35103         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35104         (cos_upward_test_data): New variable.
35105         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35106         (cosh_test_data): New variable.
35107         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35108         (cosh_tonearest_test_data): New variable.
35109         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35110         (cosh_towardzero_test_data): New variable.
35111         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35112         (cosh_downward_test_data): New variable.
35113         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35114         (cosh_upward_test_data): New variable.
35115         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35116         (erf_test_data): New variable.
35117         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35118         (erfc_test_data): New variable.
35119         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35120         (exp_test_data): New variable.
35121         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35122         (exp_tonearest_test_data): New variable.
35123         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35124         (exp_towardzero_test_data): New variable.
35125         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35126         (exp_downward_test_data): New variable.
35127         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35128         (exp_upward_test_data): New variable.
35129         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35130         (exp10_test_data): New variable.
35131         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35132         (exp2_test_data): New variable.
35133         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35134         (expm1_test_data): New variable.
35135         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35136         (fabs_test_data): New variable.
35137         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35138         (floor_test_data): New variable.
35139         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35140         (j0_test_data): New variable.
35141         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35142         (j1_test_data): New variable.
35143         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35144         (log_test_data): New variable.
35145         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35146         (log10_test_data): New variable.
35147         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35148         (log1p_test_data): New variable.
35149         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35150         (log2_test_data): New variable.
35151         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35152         (logb_test_data): New variable.
35153         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35154         (logb_downward_test_data): New variable.
35155         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35156         (nearbyint_test_data): New variable.
35157         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35158         (rint_test_data): New variable.
35159         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35160         (rint_tonearest_test_data): New variable.
35161         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35162         (rint_towardzero_test_data): New variable.
35163         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35164         (rint_downward_test_data): New variable.
35165         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35166         (rint_upward_test_data): New variable.
35167         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35168         (round_test_data): New variable.
35169         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35170         (sin_test_data): New variable.
35171         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35172         (sin_tonearest_test_data): New variable.
35173         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35174         (sin_towardzero_test_data): New variable.
35175         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35176         (sin_downward_test_data): New variable.
35177         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35178         (sin_upward_test_data): New variable.
35179         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35180         (sinh_test_data): New variable.
35181         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35182         (sinh_tonearest_test_data): New variable.
35183         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35184         (sinh_towardzero_test_data): New variable.
35185         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35186         (sinh_downward_test_data): New variable.
35187         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35188         (sinh_upward_test_data): New variable.
35189         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35190         (sqrt_test_data): New variable.
35191         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35192         (tan_test_data): New variable.
35193         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35194         (tan_tonearest_test_data): New variable.
35195         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35196         (tan_towardzero_test_data): New variable.
35197         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35198         (tan_downward_test_data): New variable.
35199         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35200         (tan_upward_test_data): New variable.
35201         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35202         (tanh_test_data): New variable.
35203         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35204         (tgamma_test_data): New variable.
35205         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35206         (trunc_test_data): New variable.
35207         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35208         (y0_test_data): New variable.
35209         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35210         (y1_test_data): New variable.
35211         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35212         (significand_test_data): New variable.
35213         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35215 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35217         [BZ #12387]
35218         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35220 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35222         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35224 2013-05-10  Andreas Jaeger  <aj@suse.de>
35226         [BZ #15448]
35227         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35228         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35230 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35232         * math/gen-libm-test.pl (adjust_arg): New function.
35233         (special_functions): Handle generating output in both functions
35234         and arrays.
35235         (parse_args): Likewise.
35236         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35237         $in_func argument to parse_args.
35238         * math/libm-test.inc (struct test_f_f_data): New type.
35239         (IF_ROUND_INIT_): New macro.
35240         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35241         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35242         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35243         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35244         (ROUND_RESTORE_): Likewise.
35245         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35246         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35247         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35248         (ROUND_RESTORE_FE_UPWARD): Likewise.
35249         (RUN_TEST_LOOP_f_f): New macro.
35250         (acos_test_data): New variable.
35251         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35252         (acos_tonearest_test_data): New variable.
35253         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35255 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35257         * benchtests/bench-skeleton.c (startup): Fix coding style.
35259 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35261         [BZ #6809]
35262         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35263         negative infinity argument.
35264         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35265         negative infinity argument.
35266         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35267         negative infinity argument.
35268         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35269         domain errors.
35271 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35273         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35274         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35275         * iconv/iconv_prog.c (main): Likewise.
35276         * locale/programs/charmap-dir.c (charmap_readdir)
35277         (fopen_uncompressed): Likewise.
35278         * locale/programs/locfile.c (siblings_uncached)
35279         (write_locale_data): Use lstat64 instead of lstat.
35280         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35281         stat.
35283 2013-05-10  Andreas Jaeger  <aj@suse.de>
35285         [BZ #15395]
35286         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35287         localization.
35288         Include <locale.h>.
35290 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35292         * elf/dl-close.c (_dl_close_worker): Add comments.
35294 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35296         [BZ #15359]
35297         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35298         high part of pi/2.
35299         (__ieee754_rem_pio2l): Update comments.
35301         [BZ #15429]
35302         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35303         high part of pi/2.
35304         (__ieee754_rem_pio2l): Update comments.
35306         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35307         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35309         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35310         M_PI_4l.
35312         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35313         (M_PI_34_LOG10El): Likewise.
35314         (M_PI2_LOG10El): Likewise.
35315         (M_PI4_LOG10El): Likewise.
35316         (M_PI_LOG10El): Likewise.
35318 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35322 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35324         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35325         (MINUS_ZERO_INIT): Likewise.
35326         (PLUS_INFTY_INIT): Likewise.
35327         (MINUS_INFTY_INIT): Likewise.
35328         (QNAN_VALUE_INIT): Likewise.
35329         (MAX_VALUE_INIT): Likewise.
35330         (MIN_VALUE_INIT): Likewise.
35331         (MIN_SUBNORM_VALUE_INIT): Likewise.
35332         (plus_zero): Initialize with PLUS_ZERO_INIT.
35333         (minus_zero): Initialize with MINUS_ZERO_INIT.
35334         (plus_infty): Initialize with PLUS_INFTY_INIT.
35335         (minus_infty): Initialize with MINUS_INFTY_INIT.
35336         (qnan_value): Initialize with QNAN_VALUE_INIT.
35337         (max_value): Initialize with MAX_VALUE_INIT.
35338         (min_value): Initialize with MIN_VALUE_INIT.
35339         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35341         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35342         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35343         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35344         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35346         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35347         (RUN_TEST_2_f): Likewise.
35348         (RUN_TEST_ff_f): Likewise.
35349         (RUN_TEST_fi_f): Likewise.
35350         (RUN_TEST_fl_f): Likewise.
35351         (RUN_TEST_fff_f): Likewise.
35352         (RUN_TEST_c_f): Likewise.
35353         (RUN_TEST_f_f1): Likewise.
35354         (RUN_TEST_fF_f1): Likewise.
35355         (RUN_TEST_fI_f1): Likewise.
35356         (RUN_TEST_ffI_f1): Likewise.
35357         (RUN_TEST_c_c): Likewise.
35358         (RUN_TEST_cc_c): Likewise.
35359         (RUN_TEST_f_i): Likewise.
35360         (RUN_TEST_f_i_tg): Likewise.
35361         (RUN_TEST_ff_i_tg): Likewise.
35362         (RUN_TEST_f_b): Likewise.
35363         (RUN_TEST_f_b_tg): Likewise.
35364         (RUN_TEST_f_l): Likewise.
35365         (RUN_TEST_f_L): Likewise.
35366         (RUN_TEST_sincos): Likewise.
35367         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35368         whether to show exceptions.  Do not include ");\n" in return
35369         value.
35370         (special_functions): Output call to RUN_TEST_sincos instead of
35371         check_float calls.  Update calls to new_test.
35372         (parse_args): Output call to single RUN_TEST_* macro instead of
35373         check_* calls and other assignments.  Update calls to new_test.
35375         [BZ #2546]
35376         [BZ #2560]
35377         [BZ #5159]
35378         [BZ #15426]
35379         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35380         input to result for tgamma overflow.
35381         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35382         (gamma_coeff): New variable.
35383         (NCOEFF): New macro.
35384         (gamma_positive): New function.
35385         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35386         underflow here.  Use gamma_positive instead of exp (lgamma) for
35387         other arguments.
35388         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35389         (gamma_coeff): New variable.
35390         (NCOEFF): New macro.
35391         (gammaf_positive): New function.
35392         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35393         underflow here.  Use gamma_positive instead of exp (lgamma) for
35394         other arguments.
35395         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35396         (gamma_coeff): New variable.
35397         (NCOEFF): New macro.
35398         (gammal_positive): New function.
35399         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35400         underflow here.  Use gamma_positive instead of exp (lgamma) for
35401         other arguments.
35402         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35403         (gamma_coeff): New variable.
35404         (NCOEFF): New macro.
35405         (gammal_positive): New function.
35406         (__ieee754_gammal_r): Handle positive infinity, overflow and
35407         underflow here.  Handle NaN the same as positive infinity.  Remove
35408         check x < 0xffffffff for negative integers.  Use gamma_positive
35409         instead of exp (lgamma) for other arguments.
35410         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35411         (gamma_coeff): New variable.
35412         (NCOEFF): New macro.
35413         (gammal_positive): New function.
35414         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35415         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35416         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35417         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35418         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35419         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35420         * sysdeps/generic/math_private.h (__gamma_productf): New
35421         prototype.
35422         (__gamma_product): Likewise.
35423         (__gamma_productl): Likewise.
35424         * math/Makefile (libm-calls): Add gamma_product.
35425         * math/libm-test.inc (tgamma_test): Add more tests.
35426         * sysdeps/i386/fpu/libm-test-ulps: Update.
35427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35429 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35431         * benchtests/bench-skeleton.c (main): Preheat CPU.
35433 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35435         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35437 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35439         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35440         and _dl_skip_args_internal.
35442 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35444         * manual/message.texi (Message Translation): Talk about users.
35445         Message to key mapping impacts design.
35447 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35449         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35451         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35453         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35454         * sysdeps/wordsize-64/glob64.c: ... here.
35456         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35457         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35458         New macros.
35460         * debug/getlogin_r_chk.c: Moved to ...
35461         * login/getlogin_r_chk.c: ... here.
35462         * debug/Makefile (routines): Move getlogin_r_chk to ...
35463         * login/Makefile (routines): ... here.
35464         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35465         * login/Versions (libc: GLIBC_2.4): ... here.
35467         * io/poll.c (__poll): Renamed from poll.
35468         Add libc_hidden_def.
35469         (poll): Define as weak alias.
35471         * debug/ptsname_r_chk.c: Moved to ...
35472         * login/ptsname_r_chk.c: ... here.
35473         * debug/Makefile (routines): Move ptsname_r_chk to ...
35474         * login/Makefile (routines): ... here.
35475         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35476         * login/Versions (libc: GLIBC_2.4): ... here.
35478         * posix/getlogin.c: Moved to ...
35479         * login/getlogin.c: ... here.
35480         * posix/getlogin_r.c: Moved to ...
35481         * login/getlogin_r.c: ... here.
35482         * posix/getlogin_r.c: Moved to ...
35483         * login/getlogin_r.c: ... here.
35484         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35485         * login/Makefile (routines): ... here.
35486         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35487         * login/Versions (libc: GLIBC_2.0): ... here.
35489         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35490         (setrlimit): Define as weak alias.
35492         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35493         Call __ names for open, ftruncate, and close.
35494         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35495         (truncate): Define as weak alias.
35497 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35499         * math/gen-libm-test.pl (parse_args): Initialize x before each
35500         test of frexp, modf and remquo.
35502         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35503         test signgam value.
35505 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35507         [BZ #15418]
35508         [BZ #15419]
35509         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35510         internal tests.
35511         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35513 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35515         * elf/dl-writev.h: New file.
35516         * elf/dl-misc.c: Include it.
35517         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35518         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35520 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35522         * math/libm-test.inc (noXFails): Remove variable.
35523         (noXPasses): Likewise.
35524         (BUILD_COMPLEX_INT): Remove macro.
35525         (print_screen): Remove xfail argument.
35526         (print_screen_max_error): Likewise.
35527         (update_stats): Likewise.
35528         (print_max_error): Likewise.  Update calls to other affected
35529         functions.
35530         (print_complex_max_error): Likewise.
35531         (test_single_exception): Update calls to print_screen.
35532         (test_single_errno): Likewise.
35533         (check_float_internal): Remove xfail argument.  Update calls to
35534         other affected functions.
35535         (check_float): Likewise.
35536         (check_complex): Likewise.
35537         (check_int): Likewise.
35538         (check_long): Likewise.
35539         (check_bool): Likewise.
35540         (check_longlong): Likewise.
35541         (main): Don't print noXFails and noXPasses.
35542         * math/gen-libm-test.pl (top level): Don't mention expected
35543         failure handling in comment.
35544         (new_test): Don't handle expected failures.
35545         (parse_args): Don't mention expected failure handling in comment.
35546         (generate_testfile): Don't handle expected failures.
35547         (parse_ulps): Likewise.
35548         (print_ulps_file): Likewise.
35549         (get_failure): Remove function.
35550         (output_test): Don't handle expected failures.
35551         * make/README.libm-test: Don't mention expected failure handling.
35553         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35554         (minus_zero): Likewise.
35555         (plus_infty): Likewise.
35556         (minus_infty): Likewise.
35557         (qnan_value): Likewise.
35558         (max_value): Likewise.
35559         (min_value): Likewise.
35560         (min_subnorm_value): Likewise.
35561         (initialize): Do not initialize those variables dynamically.
35563 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35565         * io/open.c (__open_2): Moved to ...
35566         * io/open_2.c: ... this new file.
35567         * io/open64.c (__open64_2): Moved to ...
35568         * io/open64_2.c: ... this new file.
35569         * io/openat.c (__openat_2): Moved to ...
35570         * io/openat_2.c: ... this new file.
35571         * io/openat64.c (__openat64_2): Moved to ...
35572         * io/openat64_2.c: ... this new file.
35573         * io/Makefile (routines): Add them.
35574         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35575         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35576         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35577         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35578         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35579         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35580         (__openat64): Add hidden_ver.
35581         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35582         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35584         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35585         Separately conditionalize setting of GLRO(dl_sysinfo) so
35586         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35587         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35589 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35591         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35592         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35593         definition.
35594         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35595         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35596         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35597         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35598         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35600 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35602         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35603         test signgam value.
35605         * math/libm-test.inc (hypot_test): Do not use
35606         IGNORE_ZERO_INF_SIGN.
35608 2013-05-03  Andreas Jaeger  <aj@suse.de>
35610         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35611         Linux 3.9.
35612         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35613         (PF_MAX): Adjust for VSOCK change.
35615 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35619 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35621         [BZ #15264]
35622         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35623         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35624         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35626 2013-05-02  David S. Miller  <davem@davemloft.net>
35628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35630 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35632         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35634 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35636         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35638 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35640         [BZ #14952]
35641         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35642         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35643         Use __attribute__ ((__gnu_inline__)).
35644         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35645         Don't use __attribute__ ((__gnu_inline__)).
35647 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35649         [BZ #15423]
35650         * math/s_catan.c (__catan): Handle small real or imaginary part of
35651         input specially to avoid spurious underflow.
35652         * math/s_catanf.c (__catanf): Likewise.
35653         * math/s_catanh.c (__catanh): Likewise.
35654         * math/s_catanhf.c (__catanhf): Likewise.
35655         * math/s_catanhl.c (__catanhl): Likewise.
35656         * math/s_catanl.c (__catanl): Likewise.
35657         * math/libm-test.inc (catan_test): Add more tests.
35658         (catanh_test): Likewise.
35659         * sysdeps/i386/fpu/libm-test-ulps: Update.
35660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35662 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35666 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35668         [BZ #15416]
35669         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35670         accurately for denominator in atan2.
35671         * math/s_catanf.c (__catanf): Likewise.
35672         * math/s_catanh.c (__catanh): Likewise.
35673         * math/s_catanhf.c (__catanhf): Likewise.
35674         * math/s_catanhl.c (__catanhl): Likewise.
35675         * math/s_catanl.c (__catanl): Likewise.
35676         * math/libm-test.inc (catan_test): Add more tests.
35677         (catanh_test): Likewise.
35678         * sysdeps/i386/fpu/libm-test-ulps: Update.
35679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35681 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35683         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35685         * benchtests/Makefile (bench): Remove slow benchmarks.
35686         * benchtests/atan-inputs: Add slow benchmark inputs.
35687         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35688         (BENCH_FUNC): Accept variant offset.
35689         (VARIANT): Define.
35690         * benchtests/bench-skeleton.c (main): Run benchmark for each
35691         variant.
35692         * benchtests/cos-inputs: Add slow benchmark inputs.
35693         * benchtests/exp-inputs: Likewise.
35694         * benchtests/pow-inputs: Likewise.
35695         * benchtests/sin-inputs: Likewise.
35696         * benchtests/slowatan-inputs: Remove.
35697         * benchtests/slowatan.c: Remove.
35698         * benchtests/slowcos-inputs: Remove.
35699         * benchtests/slowcos.c: Remove.
35700         * benchtests/slowexp-inputs: Remove.
35701         * benchtests/slowexp.c: Remove.
35702         * benchtests/slowpow-inputs: Remove.
35703         * benchtests/slowpow.c: Remove.
35704         * benchtests/slowsin-inputs: Remove.
35705         * benchtests/slowsin.c: Remove.
35706         * benchtests/slowtan-inputs: Remove.
35707         * benchtests/slowtan.c: Remove.
35708         * benchtests/tan-inputs: Add slow benchmark inputs.
35709         * scripts/bench.pl: Parse comments and directives.
35711         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35712         in CPPFLAGS.
35713         ($(objpfx)bench-%.c): Remove *-ITER.
35714         * benchtests/bench-modf.c: Remove definition of ITER.
35715         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35716         (main): Loop for DURATION seconds instead of fixed number of
35717         iterations.
35718         * scripts/bench.pl: Don't expect iterations in parameters.
35720 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35722         * io/fchdir.c (__fchdir): Renamed from fchdir.
35723         (fchdir): Define as weak alias.
35725 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35727         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35728         (ERRNO_EDOM): Likewise.
35729         (ERRNO_ERANGE): Likewise.
35730         (noErrnoTests): New variable.
35731         (init_max_error): Set errno to 0.
35732         (test_single_errno): New function.
35733         (test_errno): Likewise.
35734         (check_float_internal): Call test_errno.  Set errno to 0.
35735         (check_complex): Refer to errno tests in comment.
35736         (check_int): Call test_errno.  Set errno to 0.
35737         (check_long): Likewise.
35738         (check_bool): Likewise.
35739         (check_longlong): Likewise.
35740         (cos_test): Use ERRNO_* flags for errno tests instead of
35741         check_int.
35742         (expm1_test): Likewise.
35743         (fmod_test): Likewise.
35744         (ilogb_test): Likewise.
35745         (lgamma_test): Likewise.
35746         (pow_test): Likewise.
35747         (remainder_test): Likewise.
35748         (sin_test): Likewise.
35749         (tan_test): Likewise.
35750         (yn_test): Likewise.
35751         (initialize): Set errno to 0.
35752         (main): Print number of errno tests.
35753         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35755 2013-04-29  Andreas Jaeger  <aj@suse.de>
35757         [BZ #15084]
35758         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35759         and RES_USEVC.
35761         [BZ #15085]
35762         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35763         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35764         unimplemented.
35766         [BZ #15380]
35767         * stdlib/random.c (__initstate): Return NULL if
35768         __initstate fails.
35770         [BZ #15086]
35771         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35772         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35773         RES_SNGLKUPREOP.
35775 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35779 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35781         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35782         of individual tests.
35783         (casin_test): Likewise.
35784         (casinh_test): Likewise.
35786 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35788         [BZ #15409]
35789         * math/s_catan.c (__catan): Handle arguments with large real or
35790         imaginary part separately without squaring.
35791         * math/s_catanf.c (__catanf): Likewise.
35792         * math/s_catanh.c (__catanh): Likewise.
35793         * math/s_catanhf.c (__catanhf): Likewise.
35794         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35795         and redefine.
35796         (__catanhl): Handle arguments with large real or imaginary part
35797         separately without squaring.
35798         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35799         and redefine.
35800         (__catanl): Handle arguments with large real or imaginary part
35801         separately without squaring.
35802         * math/libm-test.inc (catan_test): Add more tests.
35803         (catanh_test): Likewise.
35804         * sysdeps/i386/fpu/libm-test-ulps: Update.
35805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35807 2013-04-27  Andreas Jaeger  <aj@suse.de>
35809         [BZ #15007]
35810         * stdlib/stdlib.h: Update guards for qecvt.
35811         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35812         <stdlib.h>.
35814 2013-04-27  Allan McRae  <allan@archlinux.org>
35816         * sysdeps/i386/fpu/libm-test-ulps: Update.
35818 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35820         [BZ #15406]
35821         * math/s_catan.c: Include <float.h>.
35822         (__catan): Ensure underflow exception occurs for underflowed
35823         result.
35824         * math/s_catanf.c: Include <float.h>.
35825         (__catanf): Ensure underflow exception occurs for underflowed
35826         result.
35827         * math/s_catanh.c: Include <float.h>.
35828         (__catanh): Ensure underflow exception occurs for underflowed
35829         result.
35830         * math/s_catanhf.c: Include <float.h>.
35831         (__catanhf): Ensure underflow exception occurs for underflowed
35832         result.
35833         * math/s_catanhl.c: Include <float.h>.
35834         (__catanhl): Ensure underflow exception occurs for underflowed
35835         result.
35836         * math/s_catanl.c: Include <float.h>.
35837         (__catanl): Ensure underflow exception occurs for underflowed
35838         result.
35839         * math/libm-test.inc (catan_test): Add more tests.
35840         (catanh_test): Likewise.
35842         [BZ #15405]
35843         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35844         underflowed result.
35845         * math/s_ccoshf.c (__ccoshf): Likewise.
35846         * math/s_ccoshl.c (__ccoshl): Likewise.
35847         * math/s_csin.c (__csin): Likewise.
35848         * math/s_csinf.c (__csinf): Likewise.
35849         * math/s_csinh.c (__csinh): Likewise.
35850         * math/s_csinhf.c (__csinhf): Likewise.
35851         * math/s_csinhl.c (__csinhl): Likewise.
35852         * math/s_csinl.c (__csinl): Likewise.
35853         * math/libm-test.inc (ccos_test): Add more tests.
35854         (ccosh_test): Likewise.
35855         (csin_test): Likewise.
35856         (csinh_test): Likewise.
35858 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35860         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35861         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35862         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35863         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35864         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35865         powerpc/power5+/fpu folders.
35866         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35869 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35873 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35875         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35876         additions to variable.
35877         [$(config-machine) = x86_64] (modules-names): Likewise.
35878         ($(objpfx)tst-audit3): Remove dependency.
35879         ($(objpfx)tst-audit3.out): Likewise.
35880         ($(objpfx)tst-audit4): Likewise.
35881         ($(objpfx)tst-audit4.out): Likewise.
35882         ($(objpfx)tst-audit5): Likewise.
35883         ($(objpfx)tst-audit5.out): Likewise.
35884         ($(objpfx)tst-audit6): Likewise.
35885         ($(objpfx)tst-audit6.out): Likewise.
35886         ($(objpfx)tst-audit7): Likewise.
35887         ($(objpfx)tst-audit7.out): Likewise.
35888         (tst-audit3-ENV): Remove variable.
35889         (tst-audit4-ENV): Likewise.
35890         (tst-audit5-ENV): Likewise.
35891         (tst-audit6-ENV): Likewise.
35892         (tst-audit7-ENV): Likewise.
35893         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35894         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35895         addition to variable.
35896         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35897         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35898         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35899         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35900         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35901         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35902         tst-audit3, tst-audit4 and tst-audit5.
35903         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35904         tst-audit6 and tst-audit7.
35905         [$(subdir) = elf] (modules-names): Add audit modules for those
35906         tests.
35907         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35908         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35909         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35910         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35911         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35912         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35913         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35914         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35915         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35916         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35917         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35918         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35919         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35920         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35921         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35922         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35923         Likewise.
35924         [$(subdir) = elf && $(config-cflags-avx) = yes]
35925         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35926         [$(subdir) = elf && $(config-cflags-avx) = yes]
35927         (CFLAGS-tst-auditmod4a.c): Likewise.
35928         [$(subdir) = elf && $(config-cflags-avx) = yes]
35929         (CFLAGS-tst-auditmod4b.c): Likewise.
35930         [$(subdir) = elf && $(config-cflags-avx) = yes]
35931         (CFLAGS-tst-auditmod6b.c): Likewise.
35932         [$(subdir) = elf && $(config-cflags-avx) = yes]
35933         (CFLAGS-tst-auditmod6c.c): Likewise.
35934         [$(subdir) = elf && $(config-cflags-avx) = yes]
35935         (CFLAGS-tst-auditmod7b.c): Likewise.
35936         * elf/tst-audit3.c: Move to ...
35937         * sysdeps/x86_64/tst-audit3.c: ... here.
35938         * elf/tst-audit4.c: Move to ...
35939         * sysdeps/x86_64/tst-audit4.c: ... here.
35940         * elf/tst-audit5.c: Move to ...
35941         * sysdeps/x86_64/tst-audit5.c: ... here.
35942         * elf/tst-audit6.c: Move to ...
35943         * sysdeps/x86_64/tst-audit6.c: ... here.
35944         * elf/tst-audit7.c: Move to ...
35945         * sysdeps/x86_64/tst-audit7.c: ... here.
35946         * elf/tst-auditmod3a.c: Move to ...
35947         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35948         * elf/tst-auditmod3b.c: Move to ...
35949         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35950         * elf/tst-auditmod4a.c: Move to ...
35951         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35952         * elf/tst-auditmod4b.c: Move to ...
35953         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35954         * elf/tst-auditmod5a.c: Move to ...
35955         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35956         * elf/tst-auditmod5b.c: Move to ...
35957         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35958         * elf/tst-auditmod6a.c: Move to ...
35959         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35960         * elf/tst-auditmod6b.c: Move to ...
35961         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35962         * elf/tst-auditmod6c.c: Move to ...
35963         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35964         * elf/tst-auditmod7a.c: Move to ...
35965         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35966         * elf/tst-auditmod7b.c: Move to ...
35967         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35969 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35971         [BZ #15366]
35972         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35973         define unconditionally.
35974         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35975         define unconditionally.
35976         (INT8_C, INT16_C, etc.): Likewise.
35978 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35980         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35981         __ehdr_start with hidden visibility.
35983         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35985 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35987         * math/libm-test.inc (cos_test): Use accurate hex constants.
35988         (sincost_test): Likewise.
35990 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35992         * math/libm-test.inc (catan_test): Add more tests.
35993         (catanh_test): Likewise.
35995         * math/s_catanf.c (__catanf): Use suffixed floating-point
35996         constants.
35997         * math/s_catanhf.c (__catanhf): Likewise.
35998         * math/s_catanhl.c (__catanhl): Likewise.
35999         * math/s_catanl.c (__catanl): Likewise.
36001         [BZ #15394]
36002         * math/s_catan.c (__catan): Calculate imaginary part of result
36003         with log1p not log unless computing log of number close to 0.
36004         * math/s_catanf.c (__catanf): Likewise.
36005         * math/s_catanl.c (__catanl): Likewise.
36006         * math/s_catanh.c (__catanh): Calculate real part of result with
36007         log1p not log unless computing log of number close to 0.
36008         * math/s_catanhf.c (__catanhf): Likewise.
36009         * math/s_catanhl.c (__catanhl): Likewise.
36010         * math/libm-test.inc (catan_test): Add more tests.
36011         (catanh_test): Likewise.
36012         * sysdeps/i386/fpu/libm-test-ulps: Update.
36013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36015 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36017         * benchtests/Makefile: Mention files in which fast and slow
36018         paths of math functions are implemented.
36020 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36022         * sysdeps/posix/timespec_get.c: New file.
36024 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36026         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36027         POWER.
36028         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36029         for POWER.
36030         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36031         powerpc/power5/fpu folders.
36032         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36033         * benchtests/Makefile: Add modf testcase.
36034         * benchtests/bench-modf.c: New file: Benchmark test for mo
36036 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36038         [BZ #14888]
36039         * time/Makefile (tests): Add tst-strptime-whitespace.
36040         * time/strptime_l.c (get_number): Use ISSPACE.
36041         (__strptime_internal): Likewise.
36042         * time/tst-strptime-whitespace.c: New test case.
36044 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36046         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36047         member.
36048         (_nss_files_init): Set it here.
36050 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36052         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36053         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36054         unsigned.
36056 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36058         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36060 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36062         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36063         size just once.
36065 2013-04-21  David S. Miller  <davem@davemloft.net>
36067         * po/ru.po: Update Russion translation from translation project.
36069 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36071         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36072         and setfsgid.
36074 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36076         * configure.in: Remove i386 configure warning. Remove i386 case.
36077         * configure: Regenerate.
36078         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36079         Add example to error message.
36080         * sysdeps/i386/configure: Regenerate.
36082 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36084         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36085         slowtan.
36086         * benchtests/cos-inputs: New file.
36087         * benchtests/slowcos-inputs: New file.
36088         * benchtests/slowcos.c: New file.
36089         * benchtests/slowtan-inputs: New file.
36090         * benchtests/slowtan.c: New file.
36091         * benchtests/tan-inputs: New file.
36093 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36095         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36096         considered kosher.
36098 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36100         * benchtests/Makefile: Include cppflags-iterator.mk to add
36101         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36103         * Makefile.in (bench-clean): New target.
36104         * benchtests/Makefile (bench-clean): Likewise.
36106 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36108         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36110 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36112         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36114 2013-04-15  Andreas Schwab  <schwab@suse.de>
36116         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36117         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36118         * nscd/pwdcache.c (cache_addpw): Likewise.
36119         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36120         more than recsize.
36122 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36124         * benchtests/Makefile (bench): Write all output to
36125         bench-out.tmp together.
36127 2013-04-15  Andreas Schwab  <schwab@suse.de>
36129         * nscd/nscd.c (main): Don't fork again after closing files.
36131 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36133         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36135         * benchtests/Rules (bench-deps): Collect dependencies into a
36136         single variable.  Add Makefile to dependencies.
36137         ($(objpfx)bench-%.c): Depend on bench-deps.
36139 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36140             Xavier Roche  <roche+kml2@exalead.com>
36142         [BZ #15361]
36143         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36144         just that it's a file descriptor.
36145         * manual/llio.texi (Synchronizing AIO Operations): Update description
36146         for EBADF error from aio_fsync.
36148 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36150         * Rules (bench): Move target definition...
36151         * benchtests/Makefile: ... here.
36153 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36155         * math/libm-test.inc (cos_test): Fix PI/2 test.
36156         (sincos_test): Likewise.
36157         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36158         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36160 2013-04-11  Andreas Schwab  <schwab@suse.de>
36162         [BZ #13988]
36163         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36164         accept exponent character only when digits were seen.
36165         * stdio-common/Makefile (tests): Add bug26.
36166         * stdio-common/bug26.c: New file.
36168         [BZ #14293]
36169         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36170         non-freeable.
36172 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36174         * Makeconfig (rtld-prefix): Define built linker prefix.
36175         * Rules (run-bench): Use it.
36176         * math/Makefile (run-regen-ulps): Likewise.
36178         * Rules (bench): Remove eval.
36180 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36181             Roland McGrath  <roland@hack.frob.com>
36182             Ondrej Bilka  <neleai@seznam.cz>
36184         [BZ #15346]
36185         * time/getdate.c: Include ctype.h and alloca.h.
36186         (__getdate_r): Trim leading and trailing spaces of input.
36187         * time/tst-getdate.c (tests): Add tests with leading and
36188         trailing spaces.
36190 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36192         [BZ #14280]
36193         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36194         when computing value.
36196 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36198         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36199         Use testrun.sh to run libm tests.
36201         [BZ #15309]
36202         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36204 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36206         [BZ #15264]
36207         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36209 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36211         * Makefile.in (regen-ulps): New target.
36212         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36213         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36214         [ifneq (no,$(PERL)] (regen-ulps): New target.
36215         [ifeq (no,$(PERL)] (regen-ulps): New target.
36216         * math/libm-test.inc (ulps_file_name): Define.
36217         (output_dir): New variable.
36218         (options): Add "output-dir" option.
36219         (parse_opt): Handle 'o' case.
36220         (main): If output_dir is non-NULL use it as a prefix
36221         otherwise use "".
36222         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36224 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36226         [BZ #10060, #10062]
36227         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36228         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36229         fail configure if __sync_val_compare_and_swap is not inlined.
36230         * sysdeps/i386/configure: Regenerate.
36231         * configure.in: Build for i686 when configured for i386.
36232         * configure: Regenerate.
36233         * README: Remove i386 reference.
36235 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36237         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36238         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36240 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36242         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36243         (lmsnanval): New variables.
36244         (F): Add conversion tests.
36245         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36246         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36248         * stdio-common/tstdiomisc.c (F): Properly collect individual
36249         tests' results.
36251         [BZ #14686, #15336]
36252         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36253         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36254         Instead, use input NaN values or generate a qNaN by arithmetic
36255         operation.  Also fix bugs to comply with the standard.
36256         * math/libm-test.inc (remainder_test): Add more tests.
36258         [BZ #15335, #15342]
36259         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36260         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36261         input NaN values or generate a qNaN by arithmetic operation.
36263         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36264         unreachable code.
36266         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36267         definitions.
36269 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36271         [BZ #14478]
36272         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36273         underflowed result.
36274         * math/s_cexpf.c (__cexpf): Likewise.
36275         * math/s_cexpl.c (__cexpl): Likewise.
36276         * math/libm-test.inc (cexp_test): Add more tests.
36278 2013-04-03  Andreas Schwab  <schwab@suse.de>
36280         [BZ #15330]
36281         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36282         order arrays from heap if bigger than alloca cutoff.
36284 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36286         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36287         (SNAN_TESTS_double): Refer to GCC PR56831.
36288         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36289         GCC PR56828.
36291 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36293         * Rules (bench): Move bench.out after the run is complete.
36295         * Rules (bench): Echo currently running benchmark.
36297         * benchtests/Makefile (bench): Add atan and slowatan.
36298         * benchtests/atan-inputs: New file.
36299         * benchtests/slowatan-inputs: New file.
36300         * benchtests/slowatan.c: New file.
36302         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36303         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36304         its value.
36306         [BZ #15305]
36307         * sysdeps/unix/sysv/linux/kernel-features.h
36308         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36309         __ASSUME_XFS_RESTRICTED_CHOWN.
36310         * sysdeps/unix/sysv/linux/pathconf.c
36311         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36312         Save and restore errno.
36314 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36316         [BZ #15327]
36317         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36318         arguments using __kernel_casinh.
36319         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36320         arguments using __kernel_casinhf.
36321         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36322         arguments using __kernel_casinhl.
36323         * math/libm-test.inc (cacosh_test): Add more tests.
36324         * sysdeps/i386/fpu/libm-test-ulps: Update.
36325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36327 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36329         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36330         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36332         * bench/Makefile (bench): Add sin and slowsin.
36333         * benchtests/sin-inputs: New file.
36334         * benchtests/slowsin-inputs: New file.
36335         * benchtests/slowsin.c: New file.
36337         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36338         (bench): Add slowexp and slowpow.
36339         (exp-ITER): Increase iterations.
36340         (pow-ITER): Likewise.
36341         * benchtests/exp-inputs: Change input.
36342         * benchtests/pow-inputs: Likewise.
36343         * benchtests/slowexp-inputs: New file.
36344         * benchtests/slowexp.c: New file.
36345         * benchtests/slowpow-inputs: New file.
36346         * benchtests/slowpow.c: New file.
36348 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36350         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36351         instructions.
36352         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36353         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36354         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36355         * benchtests/Makefile: Add rint benchtest.
36356         * benchtests/rint-inputs: Input for rint benchtest.
36358 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36360         * Versions.def (libm): Add GLIBC_2.18.
36361         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36362         hidden libm prototypes.
36363         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36364         * math/Makefile (libm-calls): Add s_issignaling.
36365         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36366         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36367         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36368         declaration.
36369         * math/math.h [__USE_GNU] (issignaling): New macro.
36370         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36371         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36372         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36373         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36374         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36375         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36376         * manual/arith.texi (issignaling): New section.
36377         * manual/libm-err-tab.pl (@all_functions): Update comment.
36378         * math/gen-libm-test.pl (parse_args): Apply special handling for
36379         issignaling.
36380         * math/libm-test.inc (print_float, issignaling_test): New
36381         functions.
36382         (check_float_internal): Add issignaling checks.
36383         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36384         default definition.
36385         * sysdeps/powerpc/math-tests.h: New file.
36386         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36387         tests.
36388         * math/test-snan.c (TEST_FUNC): Likewise.
36390 2013-03-30  David S. Miller  <davem@davemloft.net>
36392         * po/de.po: Update from translation team.
36394 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36396         [BZ #10357]
36397         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36398         imaginary part less than 1.0 and real part less than 0.5
36399         specially.
36400         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36401         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36402         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36403         (cacos_test): Add more tests.
36404         (casin_test): Likewise.
36405         (casinh_test): Likewise.
36406         * sysdeps/i386/fpu/libm-test-ulps: Update.
36407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36409 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36411         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36412         ONE with its value.
36414         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36415         (__pow_mp): Replace ONE and MONE with their values.
36416         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36417         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36418         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36419         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36420         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36421         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36423         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36425         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36426         (__pow_mp): Replace ZERO and MZERO with their values.
36427         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36428         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36429         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36430         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36431         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36432         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36433         (__sqr): Likewise.
36435         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36437         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36439 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36441         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36442         Declare with __attribute__ ((weak)).
36443         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36444         Call __call_tls_dtors only if it's not NULL.
36446 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36448         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36449         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36450         magic __ehdr_start linker symbol if it's defined.
36451         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36452         them up here if it was already done.
36454         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36455         (_dl_aux_init): Use const in cast when setting it.
36456         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36457         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36458         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36460         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36461         Declare them here.
36462         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36463         * csu/libc-tls.c: Nor here.
36464         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36466         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36467         (__libc_message): Never call vsyslog.
36469 2013-03-28  Alan Modra  <amodra@gmail.com>
36471         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36472         Define as empty.
36473         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36474         Likewise.
36476 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36478         [BZ #15214]
36479         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36480         underflow.
36481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36483 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36485         [BZ #15304]
36486         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36487         Don't add gid passed as argument.
36489         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36491 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36493         [BZ #15307]
36494         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36495         imaginary part between 1.0 and 1.5 and real part less than 0.5
36496         specially.
36497         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36498         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36499         * math/libm-test.inc (cacos_test): Add more tests.
36500         (casin_test): Likewise.
36501         (casinh_test): Likewise.
36502         * sysdeps/i386/fpu/libm-test-ulps: Update.
36503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36505 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36507         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36508         constants.
36509         (norm): Likewise.
36510         (denorm): Likewise.
36511         (__dbl_mp): Likewise.
36512         (add_magnitudes): Likewise.
36513         (sub_magnitudes): Likewise.
36514         (__add): Likewise.
36515         (__sub): Likewise.
36516         (__mul): Likewise.
36517         (__sqr): Likewise.
36518         (__inv): Likewise.
36519         (__dvd): Likewise.
36521         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36522         commented code.
36523         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36524         (__dubcos): Likewise.
36525         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36526         (__ieee754_acos): Likewise.
36527         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36528         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36529         (__exp1): Likewise.
36530         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36531         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36532         (log1): Likewise.
36533         (my_log2): Likewise.
36534         (checkint): Likewise.
36535         * sysdeps/ieee754/dbl-64/e_remainder.c
36536         (__ieee754_remainder): Likewise.
36537         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36538         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36539         (bsloww): Likewise.
36540         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36542         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36543         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36544         MANTISSA_STORE_T to store computations on mantissa.  Use
36545         macros for rounding and division.
36546         (denorm): Likewise.
36547         (__dbl_mp): Likewise.
36548         (add_magnitudes): Likewise.
36549         (sub_magnitudes): Likewise.
36550         (__mul): Likewise.
36551         (__sqr): Likewise.
36552         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36553         powers of two in terms of TWOPOW macro.
36554         (mp_no): Make type of mantissa as MANTISSA_T.
36555         [!RADIXI]: Define RADIXI.
36556         [!TWO52]: Define TWO52.
36557         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36559 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36561         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36562         llroundl symbol when building for PPC32.
36564 2013-03-24  Mark H Weaver  <mhw@netris.org>
36566         * manual/arith.texi (Normalization Functions): Fix prototypes for
36567         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36569 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36571         [BZ #13889]
36572         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36573         high value to check if expl overflow.
36574         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36575         to check for underflow and overflow.
36576         * math/libm-test.inc: Add exp test.
36578 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36580         [BZ #11120]
36581         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36582         with NOT_IN_libc.
36584 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36586         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36587         symbol.
36589 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36591         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36592         wrap blocks consisting of several statements.
36594         * sysdeps/generic/math-tests.h: New file.
36595         * sysdeps/i386/fpu/math-tests.h: Likewise.
36596         * math/test-snan.c: Include it.
36597         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36599 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36601         [BZ #15285]
36602         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36603         (__ieee754_j0l): Do not improve calculations using cos of twice
36604         input for inputs above LDBL_MAX / 2.0L.
36605         (__ieee754_y0l): Likewise.
36606         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36607         (__ieee754_j1l): Do not improve calculations using cos of twice
36608         input for inputs above LDBL_MAX / 2.0L.
36609         (__ieee754_y1l): Likewise.
36610         * math/libm-test.inc (j0_test): Add another test.
36611         (j1_test): Likewise.
36612         (y0_test): Likewise.
36613         (y1_test): Likewise.
36614         * sysdeps/i386/fpu/libm-test-ulps: Update.
36616 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36618         * Rules ($(objpfx)bench-%.c): Include code from a C source
36619         file.
36621 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36623         [BZ #15287]
36624         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36625         imaginary part 1.0 and real part less than 0.5 specially.
36626         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36627         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36628         * math/libm-test.inc (cacos_test): Add more tests.
36629         (casin_test): Likewise.
36630         (casinh_test): Likewise.
36631         * sysdeps/i386/fpu/libm-test-ulps: Update.
36632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36634 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36636         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36637         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36639 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36641         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36642         * config.make.in (config-cflags-sse4): Remove variable.
36643         (config-cflags-avx): Likewise.
36644         (config-cflags-sse2avx): Likewise.
36645         (config-cflags-novzeroupper): Likewise.
36646         (config-asflags-i686): Likewise.
36647         (have-mfma4): Likewise.
36648         (have-as-vis3): Likewise.
36649         (MIG): Likewise.
36650         * configure.in (MIG): Do not AC_SUBST.
36651         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36652         (libc_cv_cc_sse4): Do not AC_SUBST.
36653         (libc_cv_cc_avx): Likewise.
36654         (libc_cv_cc_sse2avx): Likewise.
36655         (libc_cv_cc_novzeroupper): Likewise.
36656         (libc_cv_cc_fma4): Likewise.
36657         (libc_cv_as_i686): Likewise.
36658         (libc_cv_sparc_as_vis3): Likewise.
36659         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36660         LIBC_CONFIG_VAR.
36661         (config-asflags-i686): Likewise.
36662         (config-cflags-avx): Likewise.
36663         (config-cflags-sse2avx): Likewise.
36664         (have-mfma4): Likewise.
36665         (config-cflags-novzeroupper): Likewise.
36666         * sysdeps/mach/configure.in (MIG): Likewise.
36667         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36668         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36669         LIBC_CONFIG_VAR.
36670         (config-cflags-avx): Likewise.
36671         (config-cflags-sse2avx): Likewise.
36672         (have-mfma4): Likewise.
36673         (config-cflags-novzeroupper): Likewise.
36674         * configure: Regenerated.
36675         * sysdeps/i386/configure: Likewise.
36676         * sysdeps/mach/configure: Likewise.
36677         * sysdeps/sparc/configure: Likewise.
36678         * sysdeps/x86_64/configure: Likewise.
36680 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36682         [BZ #14812]
36683         * locale/programs/localedef.c (options): Put N_ translation marker
36684         on argument names, not just descriptions.
36686 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36688         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36690 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36692         [BZ #14176]
36693         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36695 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36697         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36698         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36699         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36700         [!BEFORE_ABORT] (before_abort): New function.
36701         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36702         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36703         (writev_for_fatal): New function.
36704         (WRITEV_FOR_FATAL): New macro; call that.
36705         (backtrace_and_maps): New function.
36706         (BEFORE_ABORT): New macro; call that.
36707         (struct str_list): Type removed.
36708         (__libc_message, __libc_fatal): Functions removed.
36709         Include <sysdeps/posix/libc_fatal.c> instead.
36711 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36713         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36714         constants.
36715         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36716         double constants.
36718 2013-03-19  Andreas Schwab  <schwab@suse.de>
36720         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36721         * sysdeps/gnu/configure: Regenerate.
36723         * configure.in: Substitute libc_cv_rtlddir.
36724         * configure: Regenerate.
36725         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36726         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36727         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36728         * elf/Makefile (install-others, CFLAGS-interp.c)
36729         (ldso_install, common-ldd-rewrite): Likewise.
36730         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36731         $(inst_slibdir)/$(rtld-installed-name).
36732         * scripts/rellns-sh: Add -p option.
36733         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36734         for source.
36736 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36738         * manual/nptl.texi: Renamed to ...
36739         * manual/threads.texi: ... this.
36740         * manual/Makefile (chapters): Update.
36742 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36744         [BZ #14812]
36745         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36746         on argument names, not just descriptions.
36747         * malloc/memusagestat.c (options): Likewise.
36748         * nss/getent.c (options): Likewise.
36750 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36752         [BZ #14812]
36753         * iconv/iconv_prog.c (options): Put N_ translation marker
36754         on argument names, not just descriptions.
36755         * iconv/iconvconfig.c (options): Likewise.
36757 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36759         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36760         implementation which is faster on all x86_64 architectures.
36761         Tested on AMD, Intel Nehalem, SNB, IVB.
36762         * sysdeps/x86_64/strnlen.S: Likewise.
36764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36765         Remove all multiarch strlen and strnlen versions.
36766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36767         Remove strlen and strnlen related parts.
36769         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36770         Inline strlen part.
36771         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36773         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36774         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36775         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36776         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36777         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36778         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36780 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36782         * manual/memory.texi (Malloc Tunable Parameters):
36783         Sort parameters alphabetically. Add comments for missing entries.
36785 2013-03-17  David S. Miller  <davem@davemloft.net>
36787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36789 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36791         [BZ #15283]
36792         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36793         for arguments at most half maximum finite value.
36794         * math/libm-test.inc (j0_test): Add more tests.
36795         (j1_test): Likewise.
36796         (y0_test): Likewise.
36797         (y1_test): Likewise.
36798         * sysdeps/i386/fpu/libm-test-ulps: Update.
36799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36801         [BZ #14155]
36802         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36803         1 / x and functions P and Q for arguments above 0x1p256L.
36804         (__ieee754_y0l): Likewise.
36805         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36806         (__ieee754_y1l): Likewise.
36807         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36808         (j1_test): Likewise.
36809         (y0_test): Likewise.
36810         (y1_test): Likewise.
36812 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36814         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36815         variable.
36817 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36819         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36820         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36821         zero since it's initialized to EXEC_PAGESIZE.
36823         * sysdeps/unix/sysv/linux/ldsodefs.h
36824         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36825         * sysdeps/generic/ldsodefs.h: ... here.
36827 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36829         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36831         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36832         math/test-snan.c.
36833         * math/test-snan.c: Renamed from
36834         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36835         * math/Makefile (tests): Add test-snan.
36836         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36837         test-powerpc-snan.
36839         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36840         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36841         functions.
36842         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36843         __builtin_nan family of functions.
36844         * math/libm-test.inc (initialize): Initialize qnan_value with
36845         __builtin_nan family of functions.
36846         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36847         Remove variables.
36848         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36849         Remove functions.
36850         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36851         storage class.  Initialize qNaN_var and sNaN_var with
36852         __builtin_nan and __builtin_nans families of functions,
36853         respectively.
36855         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36856         (sqrt_test): Remove duplicate test with qNaN input.
36857         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36858         (round_test, signbit_test, significand_test): Note missing +/-Inf
36859         as well as qNaN tests.
36861         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36862         qNaN_var.  Fix a few strings, too.
36863         * math/libm-test.inc (nan_value): Rename to qnan_value.
36864         * math/gen-libm-test.pl (%beautify): Adjust to that.
36865         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36866         * math/test-misc.c (main): Likewise.
36867         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36868         to __qnan_bytes, and __qnan_union, respectively.
36869         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36870         Likewise.
36871         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36872         and lqnanval, respectively.
36873         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36874         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36875         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36876         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36878         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36879         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36880         doubles.
36882         * math/test-misc.c (main): Fix copy'n'pastos.
36883         * misc/tst-efgcvt.c (special): Likewise.
36885         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36886         Remove declarations.
36888 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36890         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36891         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36892         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36893         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36895 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36897         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36898         macro to return vdso values correctly in IFUNC implementations.
36899         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36900         Optimization by using IFUNC.
36902 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36903             Richard Henderson  <rth@redhat.com>
36904             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36906         * Makefile.in (bench): New target.
36907         * NEWS: Mention the benchmark framework.
36908         * Rules (bench): Likewise.
36909         (binaries-bench): Generate binaries for functions to
36910         benchmark.
36911         * benchtests/Makefile: New makefile for benchmark tests.
36912         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36913         programs.
36914         * benchtests/exp-inputs: New input file for EXP function.
36915         * benchtests/pow-inputs: New input file for POW function.
36916         * scripts/bench.pl: New script to generate source files for
36917         benchmark programs.
36919 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36921         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36922         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36923         computations on mantissa.  Use macros for rounding and
36924         division.
36925         (denorm): Likewise.
36926         (__dbl_mp): Likewise.
36927         (add_magnitudes): Likewise.
36928         (sub_magnitudes): Likewise.
36929         (__mul): Likewise.
36930         (__sqr): Likewise.
36931         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36932         powers of two in terms of TWOPOW macro.
36933         (mp_no): Make type of mantissa as MANTISSA_T.
36934         [!RADIXI]: Define RADIXI.
36935         [!TWO52]: Define TWO52.
36936         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36938         * manual/nptl.texi (cindex): Modify threads to pthreads.
36940 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36942         * sysdeps/x86_64/preconfigure: Regenerated.
36944 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36946         [BZ #14155]
36947         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36948         0x1p28 and above.
36949         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36950         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36951         0x1p28 and above.
36952         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36953         * math/libm-test.inc (j0_test): Do not allow one spurious
36954         underflow exception.
36955         (y1_test): Likewise.
36957 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36959         * manual/Makefile (chapters): Add nptl.
36960         * manual/debug.texi (Debugging Support): Add link to Threads
36961         chapter.
36962         * manual/nptl.texi: New file.
36964         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36966 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36968         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36969         for non-NULL pointer before the memory validity test. Pointed
36970         out by Holger Brunck <holger.brunck@keymile.com>.
36972 2013-03-13  Andreas Schwab  <schwab@suse.de>
36974         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36975         instead of .os.
36977 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36979         * timezone/zic.c: Update from tzcode 2013b.
36981 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36983         * manual/install.texi (Configuring and compiling):
36984         Mention i686 and i586.
36985         * INSTALL: Regenerate.
36987 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36989         * sysdeps/init_array/elf-init.c: New file.
36990         * csu/elf-init.c
36991         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36992         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36994         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36995         __gmon_start__ as global, but as static with a .preinit_array pointer.
36996         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36997         * sysdeps/init_array/crti.S: New file, empty except for comments.
36998         * sysdeps/init_array/crtn.S: Likewise.
37000 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37002         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37003         definining bcopy.
37004         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37005         Remove Prefer_SSE_for_memop.
37006         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37007         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37008         HAS_PREFER_SSE_FOR_MEMOP.
37009         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37010         memset-x86-64.
37011         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37012         Remove bzero, memset ifunc support.
37013         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37014         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37015         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37016         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37018 2013-03-11  Andreas Schwab  <schwab@suse.de>
37020         [BZ #15234]
37021         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37022         by SHLIB_COMPAT.
37023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37024         (GLIBC_2.16): Remove pthread_atfork.
37026 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37028         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37029         (ptestcases.h): Likewise.
37031 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37033         * Makeconfig ($(common-objpfx)config.status): Depend on
37034         sysdeps/*/preconfigure{,.in} too.
37036 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37038         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37039         (__free_hook): Use void * instead of __malloc_ptr_t.
37040         (__malloc_hook): Likewise.
37041         (__realloc_hook): Likewise.
37042         (__memalign_hook): Likewise.
37043         (__after_morecore_hook): Likewise.
37044         * malloc/arena.c (save_malloc_hook): Likewise.
37045         (save_free_hook): Likewise.
37046         * malloc/hooks.c (malloc_hook_ini): Likewise.
37047         (realloc_hook_ini): Likewise.
37048         (memalign_hook_ini): Likewise.
37049         * malloc/malloc.c (malloc_hook_ini): Likewise.
37050         (realloc_hook_ini): Likewise.
37051         (memalign_hook_ini): Likewise.
37052         (__free_hook): Likewise.
37053         (__malloc_hook): Likewise.
37054         (__realloc_hook): Likewise.
37055         (__memalign_hook): Likewise.
37056         (__libc_malloc): Likewise.
37057         (__libc_free): Likewise.
37058         (__libc_realloc): Likewise.
37059         (__libc_memalign): Likewise.
37060         (__libc_valloc): Likewise.
37061         (__libc_pvalloc): Likewise.
37062         (__libc_calloc): Likewise.
37063         (__posix_memalign): Likewise.
37064         * malloc/morecore.c (__sbrk): Likewise.
37065         (__default_morecore): Likewise.
37067         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37069         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37070         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37071         __malloc_ptrdiff_t.
37073         * malloc/malloc.h (__malloc_size_t): Remove macro.
37074         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37075         __malloc_size_t.
37076         (old_memalign_hook): Likewise.
37077         (old_realloc_hook): Likewise.
37078         (struct hdr): Likewise.
37079         (flood): Likewise.
37080         (mallochook): Likewise.
37081         (memalignhook): Likewise.
37082         (reallochook): Likewise.
37083         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37084         (tr_old_realloc_hook): Likewise.
37085         (tr_old_memalign_hook): Likewise.
37086         (tr_mallochook): Likewise.
37087         (tr_reallochook): Likewise.
37088         (tr_memalignhook): Likewise.
37090 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37092         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37093         default_ldbl_pack and using as default implementation.
37094         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37095         implementation.
37096         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37097         redundant definition.
37098         (ldbl_insert_mantissa): Likewise.
37099         (ldbl_canonicalize): Likewise.
37100         (ldbl_nearbyint): Likewise.
37101         (ldbl_pack): Rename to ldbl_pack_ppc.
37102         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37103         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37104         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37106 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37108         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37109         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37110         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37111         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37112         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37113         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37114         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37115         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37117 2013-03-07  Andreas Jaeger  <aj@suse.de>
37119         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37120         bits/mman-linux.h.
37122 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37124         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37125         Include mpa.h and declare __MPEXP.
37126         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37127         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37128         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37129         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37130         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37131         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37132         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37134         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37135         (__slowpow): Use long double EXPL and LOGL functions to
37136         compute POW.
37137         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37138         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37139         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37140         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37141         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37142         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37144         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37145         intermediate variable to calculate exponent.
37146         (__sqr): Likewise.
37147         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37148         Likewise.
37149         (__sqr): Likewise.
37151         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37152         [!NO__SQR]: Define __sqr.
37153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37154         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37155         sysdeps/ieee754/dbl-64/mpa.c.
37156         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37158         [BZ #12723]
37159         * posix/Makefile (tests): Add tst-pathconf.
37160         * posix/tst-pathconf.c: New test case.
37161         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37162         _PC_PIPE_BUF.
37163         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37165 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37167         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37169 2013-03-06  Andreas Jaeger  <aj@suse.de>
37171         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37172         definition via __MAP_ANONYMOUS.
37174         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37175         it's not part of Linux headers.
37177         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37178         (MAP_HUGE_MASK): Define.
37180         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37181         Define.
37182         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37183         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37184         Define.
37185         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37186         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37187         Define.
37188         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37189         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37190         Define.
37191         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37193         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37194         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37195         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37196         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37197         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37198         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37200         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37201         Handle f2fs.
37203         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37204         Handle f2fs and efivarfs.
37206         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37207         f2fs.
37209         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37210         (EFIVARFS_MAGIC): Add.
37211         (F2FS_LINK_MAX): Add.
37213 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37215         * stdio-common/vfprintf.c: Replace __builtin_expect with
37216         __glibc_unlikely.
37218 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37220         [BZ #13550]
37221         * sysdeps/generic/bp-sym.h: Remove file.
37222         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37223         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37224         <bp-sym.h> and <bp-asm.h>.
37225         (__longjmp): Don't use BP_SYM.
37226         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37227         and <bp-asm.h>.
37228         (memcpy): Don't use BP_SYM.
37229         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37230         <bp-sym.h> and <bp-asm.h>.
37231         (memcpy): Don't use BP_SYM.
37232         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37233         <bp-asm.h>.
37234         (memcpy): Don't use BP_SYM.
37235         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37236         <bp-asm.h>.
37237         (memset): Don't use BP_SYM.
37238         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37239         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37240         (__bzero): Don't use BP_SYM.
37241         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37242         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37243         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37244         <bp-sym.h> and <bp-asm.h>.
37245         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37246         pointers.
37247         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37248         <bp-sym.h> and <bp-asm.h>.
37249         (memcpy): Don't use BP_SYM.
37250         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37251         <bp-sym.h> and <bp-asm.h>.
37252         (memset): Don't use BP_SYM.
37253         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37254         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37255         (__bzero): Don't use BP_SYM.
37256         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37257         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37258         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37259         <bp-sym.h> and <bp-asm.h>.
37260         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37261         pointers.
37262         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37263         <bp-sym.h> and <bp-asm.h>.
37264         (memcpy): Don't use BP_SYM.
37265         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37266         <bp-sym.h> and <bp-asm.h>.
37267         (memset): Don't use BP_SYM.
37268         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37269         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37270         (__bzero): Don't use BP_SYM.
37271         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37272         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37273         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37274         <bp-sym.h> and <bp-asm.h>.
37275         (__memchr): Don't use BP_SYM.
37276         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37277         <bp-sym.h> and <bp-asm.h>.
37278         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37279         pointers.
37280         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37281         <bp-sym.h> and <bp-asm.h>.
37282         (memcpy): Don't use BP_SYM.
37283         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37284         <bp-sym.h> and <bp-asm.h>.
37285         (__mempcpy): Don't use BP_SYM.
37286         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37287         <bp-sym.h> and <bp-asm.h>.
37288         (__memrchr): Don't use BP_SYM.
37289         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37290         <bp-sym.h> and <bp-asm.h>.
37291         (memset): Don't use BP_SYM.
37292         (__bzero): Likewise.
37293         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37294         <bp-sym.h> and <bp-asm.h>.
37295         (__rawmemchr): Don't use BP_SYM.
37296         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37297         <bp-sym.h> and <bp-asm.h>.
37298         (__STRCMP): Don't use BP_SYM.
37299         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37300         <bp-sym.h> and <bp-asm.h>.
37301         (strchr): Don't use BP_SYM.
37302         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37303         <bp-sym.h> and <bp-asm.h>.
37304         (__strchrnul): Don't use BP_SYM.
37305         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37306         <bp-sym.h> and <bp-asm.h>.
37307         (strlen): Don't use BP_SYM.
37308         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37309         <bp-sym.h> and <bp-asm.h>.
37310         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37311         pointers.
37312         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37313         <bp-sym.h> and <bp-asm.h>.
37314         (__strnlen): Don't use BP_SYM.
37315         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37316         <bp-sym.h> and <bp-asm.h>.
37317         (__GI__setjmp): Don't use BP_SYM.
37318         (_setjmp): Likewise.
37319         (__sigsetjmp): Likewise.
37320         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37321         (L(start_addresses)): Don't use BP_SYM.
37322         (_start): Likewise.
37323         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37324         <bp-asm.h>.
37325         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37326         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37327         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37328         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37329         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37330         <bp-asm.h>.
37331         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37332         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37333         about bounded pointers.
37334         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37335         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37336         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37337         <bp-asm.h>.
37338         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37339         about bounded pointers.  Remove GKM FIXME comments.
37340         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37341         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37342         <bp-asm.h>.
37343         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37344         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37345         Remove GKM FIXME comments.
37346         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37347         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37348         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37349         <bp-asm.h>.
37350         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37351         about bounded pointers.  Remove GKM FIXME comment.
37352         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37353         and <bp-asm.h>.
37354         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37355         pointers.
37356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37357         <bp-sym.h> and <bp-asm.h>.
37358         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37360         <bp-sym.h> and <bp-asm.h>.
37361         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37362         comment.
37364 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37366         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37367         call free(NULL).
37369 2013-03-05  David S. Miller  <davem@davemloft.net>
37371         * po/es.po: Update from translation team.
37373 2013-03-05  Andreas Jaeger  <aj@suse.de>
37375         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37376         <bits/mman-linux.h>.
37377         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37378         is fine.
37379         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37380         <bits/mman-linux.h> to end of file.
37381         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37382         is fine.
37383         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37384         <bits/mman-linux.h> to end of file.
37385         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37386         is fine.
37387         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37388         <bits/mman-linux.h> to end of file.
37390         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37391         (MCL_CURRENT, MCL_FUTURE): Define here.
37393 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37395         [BZ #15232]
37396         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37397         attribute_hidden.
37398         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37400 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37402         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37403         fourth parameter needed for rt_sigprocmask syscall.
37404         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37405         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37406         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37407         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37408         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37409         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37411 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37413         [BZ #13550]
37414         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37415         comment about bounded pointers.
37416         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37417         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37419 2013-03-04  Andreas Jaeger  <aj@suse.de>
37421         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37422         common definitions.
37424         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37425         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37426         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37427         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37428         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37429         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37431 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37433         [BZ #15055]
37434         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37435         __ieee754_sqrl instead of __sqrl.
37437 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37439         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37440         * sysdeps/powerpc/fpu_control.h: ... here.
37441         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37442         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37443         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37444         * sysdeps/powerpc/bits/mathinline.h: ... here.
37446 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37448         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37449         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37450         to just [NEED_DL_SYSINFO_DSO].
37451         * elf/dl-support.c: Likewise.
37452         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37453         * elf/rtld.c (dl_main): Likewise.
37454         * elf/setup-vdso.h (setup_vdso): Likewise.
37455         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37456         * sysdeps/unix/sysv/linux/dl-sysdep.c
37457         (_dl_discover_osversion): Likewise.
37459 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37461         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37462         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37464 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37466         * NEWS: Mention libm performance improvements and non-x86 PI
37467         futex support.
37469         * csu/libc-start.c (__pthread_initialize_minimal): Change
37470         function arguments.
37471         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37473 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37475         [BZ #13550]
37476         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37477         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37478         <bp-sym.h> and <bp-asm.h>.
37479         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37480         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37481         and <bp-asm.h>.
37482         (memcpy): Don't use BP_SYM.
37483         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37484         <bp-asm.h>.
37485         (__mpn_add_n): Don't use BP_SYM.
37486         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37487         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37488         and <bp-asm.h>.
37489         (__mpn_addmul_1): Don't use BP_SYM.
37490         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37491         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37492         <bp-sym.h>.
37493         (_setjmp): Don't use BP_SYM.
37494         (__novmx_setjmp): Likewise.
37495         (__GI__setjmp): Likewise.
37496         (__vmx_setjmp): Likewise.
37497         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37498         <bp-sym.h>.
37499         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37500         (__bzero): Don't use BP_SYM.
37501         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37502         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37503         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37504         <bp-sym.h> and <bp-asm.h>.
37505         (memcpy): Don't use BP_SYM.
37506         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37507         <bp-sym.h> and <bp-asm.h>.
37508         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37509         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37510         <bp-sym.h> and <bp-asm.h>.
37511         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37512         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37513         <bp-asm.h>.
37514         (__mpn_lshift): Don't use BP_SYM.
37515         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37516         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37517         <bp-asm.h>.
37518         (memset): Don't use BP_SYM.
37519         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37520         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37521         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37522         <bp-asm.h>.
37523         (__mpn_mul_1): Don't use BP_SYM.
37524         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37525         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37526         <bp-sym.h> and <bp-asm.h>.
37527         (memcmp): Don't use BP_SYM.
37528         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37529         <bp-sym.h> and <bp-asm.h>.
37530         (memcpy): Don't use BP_SYM.
37531         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37532         <bp-sym.h> and <bp-asm.h>.
37533         (memset): Don't use BP_SYM.
37534         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37535         <bp-sym.h> and <bp-asm.h>.
37536         (strncmp): Don't use BP_SYM.
37537         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37538         <bp-sym.h> and <bp-asm.h>.
37539         (memcpy): Don't use BP_SYM.
37540         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37541         <bp-sym.h> and <bp-asm.h>.
37542         (memset): Don't use BP_SYM.
37543         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37544         <bp-sym.h> and <bp-asm.h>.
37545         (__memchr): Don't use BP_SYM.
37546         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37547         <bp-sym.h> and <bp-asm.h>.
37548         (memcmp): Don't use BP_SYM.
37549         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37550         <bp-sym.h> and <bp-asm.h>.
37551         (memcpy): Don't use BP_SYM.
37552         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37553         <bp-sym.h> and <bp-asm.h>.
37554         (__mempcpy): Don't use BP_SYM.
37555         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37556         <bp-sym.h> and <bp-asm.h>.
37557         (__memrchr): Don't use BP_SYM.
37558         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37559         <bp-sym.h> and <bp-asm.h>.
37560         (memset): Don't use BP_SYM.
37561         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37562         <bp-sym.h> and <bp-asm.h>.
37563         (__rawmemchr): Don't use BP_SYM.
37564         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37565         <bp-sym.h> and <bp-asm.h>.
37566         (__STRCMP): Don't use BP_SYM.
37567         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37568         <bp-sym.h> and <bp-asm.h>.
37569         (strchr): Don't use BP_SYM.
37570         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37571         <bp-sym.h> and <bp-asm.h>.
37572         (__strchrnul): Don't use BP_SYM.
37573         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37574         <bp-sym.h> and <bp-asm.h>.
37575         (strlen): Don't use BP_SYM.
37576         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37577         <bp-sym.h> and <bp-asm.h>.
37578         (strncmp): Don't use BP_SYM.
37579         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37580         <bp-sym.h> and <bp-asm.h>.
37581         (__strnlen): Don't use BP_SYM.
37582         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37583         <bp-asm.h>.
37584         (__mpn_rshift): Don't use BP_SYM.
37585         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37586         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37587         <bp-sym.h> and <bp-asm.h>.
37588         (__sigsetjmp): Don't use BP_SYM.
37589         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37590         (L(start_addresses)): Don't use BP_SYM.
37591         (_start): Likewise.
37592         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37593         <bp-asm.h>.
37594         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37595         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37596         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37597         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37598         <bp-asm.h>.
37599         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37600         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37601         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37602         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37603         <bp-asm.h>.
37604         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37605         comments.
37606         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37607         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37608         <bp-asm.h>.
37609         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37610         FIXME comments.
37611         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37612         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37613         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37614         <bp-asm.h>.
37615         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37616         comment.
37617         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37618         and <bp-asm.h>.
37619         (strncmp): Don't use BP_SYM,
37620         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37621         <bp-asm.h>.
37622         (__mpn_sub_n): Don't use BP_SYM.
37623         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37624         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37625         and <bp-asm.h>.
37626         (__mpn_submul_1): Don't use BP_SYM.
37627         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37629         <bp-sym.h> and <bp-asm.h>.
37630         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37632         <bp-sym.h> and <bp-asm.h>.
37633         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37634         comment.
37636 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37639         Use ZK to minimize writes to Z.
37640         (sub_magnitudes): Simplify code a bit.
37641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37642         Use ZK to minimize writes to Z.
37643         (sub_magnitudes): Simplify code a bit.
37645 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37647         * csu/gmon-start.c: Add special exception to license text.
37649 2013-02-27  Richard Henderson  <rth@redhat.com>
37651         * scripts/config.guess: Update from config.git.
37652         * scripts/config.sub: Likewise.
37654 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37656         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37658         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37660         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37662         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37664         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37666 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37668         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37669         [$(build-shared = yes].
37671 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37673         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37674         (__mul): Reduce iterations for calculating mantissa.
37676         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37677         MPTWO.
37678         (__mpranred): Likewise.
37680         [BZ #15160]
37681         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37682         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37684 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37686         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37687         Define __attribute__.
37689 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37691         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37692         unused.
37693         * posix/regex_internal.h (__attribute): Remove.
37694         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37695         (re_string_context_at): Likewise.
37696         (bitset_not): Use __attribute__ and mark function as possibly
37697         unused.
37698         (bitset_merge): Likewise.
37699         (bitset_mask): Likewise.
37700         (re_string_char_size_at): Likewise.
37701         (re_string_wchar_at): Likewise.
37702         (re_string_elem_size_at): Likewise.
37704 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37706         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37707         code.
37708         (cc32): Likewise.
37710         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37711         (__acr): Likewise.
37712         (__cpy): Likewise.
37713         (norm): Likewise.
37714         (denorm): Likewise.
37715         (__dbl_mp): Likewise.
37716         (add_magnitudes): Likewise.
37717         (sub_magnitudes): Likewise.
37718         (__mul): Likewise.
37719         (__inv): Likewise.
37721         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37722         style.
37724         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37725         style.
37727         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37728         code.
37730         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37731         up changes with default code.
37732         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37733         Likewise.
37735 2013-02-24  Allan McRae  <allan@archlinux.org>
37737         * manual/socket.texi (The Internet Namespace): Order menu items
37738         to match that in the file.
37740         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37741         node listing of the info page menu.
37743 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37745         [BZ #13550]
37746         * sysdeps/i386/bp-asm.h: Remove file.
37747         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37748         (PARMS): Do not use macros from bp-asm.h.
37749         (S1): Likewise.
37750         (S2): Likewise.
37751         (SIZE): Likewise.
37752         (__mpn_add_n): Do not use BP_SYM
37753         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37754         "bp-asm.h".
37755         (PARMS): Do not use macros from bp-asm.h.
37756         (S1): Likewise.
37757         (SIZE): Likewise.
37758         (__mpn_addmul_1): Do not use BP_SYM
37759         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37760         "bp-asm.h".
37761         (PARMS): Do not use macros from bp-asm.h.
37762         (SIGMSK): Likewise.
37763         (_setjmp): Likewise.  Do not use BP_SYM.
37764         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37765         "bp-asm.h".
37766         (PARMS): Do not use macros from bp-asm.h.
37767         (SIGMSK): Likewise.
37768         (setjmp): Likewise.  Do not use BP_SYM.
37769         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37770         "bp-asm.h".
37771         (PARMS): Do not use macros from bp-asm.h.
37772         (__frexp): Do not use BP_SYM.
37773         (frexp): Likewise.
37774         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37775         "bp-asm.h".
37776         (PARMS): Do not use macros from bp-asm.h.
37777         (__frexpf): Do not use BP_SYM.
37778         (frexpf): Likewise.
37779         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37780         "bp-asm.h".
37781         (PARMS): Do not use macros from bp-asm.h.
37782         (__frexpl): Do not use BP_SYM.
37783         (frexpl): Likewise.
37784         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37785         "bp-asm.h".
37786         (PARMS): Do not use macros from bp-asm.h.
37787         (__remquo): Do not use BP_SYM.
37788         (remquo): Likewise.
37789         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37790         "bp-asm.h".
37791         (PARMS): Do not use macros from bp-asm.h.
37792         (__remquof): Do not use BP_SYM.
37793         (remquof): Likewise.
37794         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37795         "bp-asm.h".
37796         (PARMS): Do not use macros from bp-asm.h.
37797         (__remquol): Do not use BP_SYM.
37798         (remquol): Likewise.
37799         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37800         "bp-asm.h".
37801         (PARMS): Do not use macros from bp-asm.h.
37802         (DEST): Likewise.
37803         (SRC): Likewise.
37804         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37805         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37806         "bp-asm.h".
37807         (PARMS): Do not use macros from bp-asm.h.
37808         (strlen): Do not use BP_SYM.
37809         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37810         "bp-asm.h".
37811         (PARMS): Do not use macros from bp-asm.h.
37812         (S1): Likewise.
37813         (S2): Likewise.
37814         (SIZE): Likewise.
37815         (__mpn_add_n): Do not use BP_SYM.
37816         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37817         "bp-asm.h".
37818         (PARMS): Do not use macros from bp-asm.h.
37819         (S1): Likewise.
37820         (SIZE): Likewise.
37821         (__mpn_addmul_1): Do not use BP_SYM.
37822         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37823         weak_alias.
37824         (bzero): Likewise.
37825         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37826         "bp-asm.h".
37827         (PARMS): Do not use macros from bp-asm.h.
37828         (S): Likewise.
37829         (SIZE): Likewise.
37830         (__mpn_lshift): Do not use BP_SYM.
37831         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37832         "bp-asm.h".
37833         (PARMS): Do not use macros from bp-asm.h.
37834         (DEST): Likewise.
37835         (SRC): Likewise.
37836         (LEN): Likewise.
37837         (memcpy): Likewise.  Do not use BP_SYM.
37838         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37839         libc_hidden_def and weak_alias.
37840         (mempcpy): Do not use BP_SYM in weak_alias.
37841         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37842         "bp-asm.h".
37843         (PARMS): Do not use macros from bp-asm.h.
37844         (DEST): Likewise.
37845         (LEN): Likewise.
37846         [!BZERO_P] (CHR): Likewise.
37847         (memset): Likewise.  Do not use BP_SYM.
37848         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37849         "bp-asm.h".
37850         (PARMS): Do not use macros from bp-asm.h.
37851         (S1): Likewise.
37852         (SIZE): Likewise.
37853         (__mpn_mul_1): Do not use BP_SYM.
37854         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37855         "bp-asm.h".
37856         (PARMS): Do not use macros from bp-asm.h.
37857         (S): Likewise.
37858         (SIZE): Likewise.
37859         (__mpn_rshift): Do not use BP_SYM.
37860         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37861         "bp-asm.h".
37862         (PARMS): Do not use macros from bp-asm.h.
37863         (STR): Likewise.
37864         (CHR): Likewise.
37865         (strchr): Likewise.  Do not use BP_SYM.
37866         (index): Do not use BP_SYM in weak_alias.
37867         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37868         "bp-asm.h".
37869         (PARMS): Do not use macros from bp-asm.h.
37870         (DEST): Likewise.
37871         (SRC): Likewise.
37872         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37873         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37874         "bp-asm.h".
37875         (PARMS): Do not use macros from bp-asm.h.
37876         (strlen): Do not use BP_SYM.
37877         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37878         "bp-asm.h".
37879         (PARMS): Do not use macros from bp-asm.h.
37880         (S1): Likewise.
37881         (S2): Likewise.
37882         (SIZE): Likewise.
37883         (__mpn_sub_n): Do not use BP_SYM.
37884         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37885         "bp-asm.h".
37886         (PARMS): Do not use macros from bp-asm.h.
37887         (S1): Likewise.
37888         (SIZE): Likewise.
37889         (__mpn_submul_1): Do not use BP_SYM.
37890         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37891         "bp-asm.h".
37892         (PARMS): Do not use macros from bp-asm.h.
37893         (S1): Likewise.
37894         (S2): Likewise.
37895         (SIZE): Likewise.
37896         (__mpn_add_n): Do not use BP_SYM.
37897         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37898         weak_alias.
37899         (bzero): Likewise.
37900         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37901         "bp-asm.h".
37902         (PARMS): Do not use macros from bp-asm.h.
37903         (BLK2): Likewise.
37904         (LEN): Likewise.
37905         (memcmp): Do not use BP_SYM.
37906         (bcmp): Do not use BP_SYM in weak_alias.
37907         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37908         "bp-asm.h".
37909         (PARMS): Do not use macros from bp-asm.h.
37910         (DEST): Likewise.
37911         (SRC): Likewise.
37912         (LEN): Likewise.
37913         (memcpy): Likewise.  Do not use BP_SYM.
37914         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37915         "bp-asm.h".
37916         (PARMS): Do not use macros from bp-asm.h.
37917         (DEST): Likewise.
37918         (SRC): Likewise.
37919         (LEN): Likewise.
37920         (memmove): Likewise.  Do not use BP_SYM.
37921         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37922         "bp-asm.h".
37923         (PARMS): Do not use macros from bp-asm.h.
37924         (DEST): Likewise.
37925         (SRC): Likewise.
37926         (LEN): Likewise.
37927         (__mempcpy): Likewise.  Do not use BP_SYM.
37928         (mempcpy): Do not use BP_SYM in weak_alias.
37929         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37930         "bp-asm.h".
37931         (PARMS): Do not use macros from bp-asm.h.
37932         (DEST): Likewise.
37933         (LEN): Likewise.
37934         [!BZERO_P] (CHR): Likewise.
37935         (memset): Likewise.  Do not use BP_SYM.
37936         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37937         "bp-asm.h".
37938         (PARMS): Do not use macros from bp-asm.h.
37939         (STR2): Likewise.
37940         (strcmp): Do not use BP_SYM.
37941         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37942         "bp-asm.h".
37943         (PARMS): Do not use macros from bp-asm.h.
37944         (STR): Likewise.
37945         (DELIM): Likewise.
37946         [USE_AS_STRTOK_R] (SAVE): Likewise.
37947         (FUNCTION): Likewise.  Do not use BP_SYM.
37948         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37949         aliases.
37950         (strtok_r): Likewise.
37951         (__GI___strtok_r): Likewise.
37952         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37953         (PARMS): Do not use macros from bp-asm.h.
37954         (S): Likewise.
37955         (SIZE): Likewise.
37956         (__mpn_lshift): Do not use BP_SYM.
37957         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37958         (PARMS): Do not use macros from bp-asm.h.
37959         (STR): Likewise.
37960         (CHR): Likewise.
37961         (__memchr): Do not use BP_SYM.
37962         (memchr): Do not use BP_SYM in weak_alias.
37963         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37964         (PARMS): Do not use macros from bp-asm.h.
37965         (BLK2): Likewise.
37966         (LEN): Likewise.
37967         (memcmp): Do not use BP_SYM.
37968         (bcmp): Do not use BP_SYM in weak_alias.
37969         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37970         (PARMS): Do not use macros from bp-asm.h.
37971         (S1): Likewise.
37972         (SIZE): Likewise.
37973         (__mpn_mul_1): Do not use BP_SYM.
37974         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37975         "bp-asm.h".
37976         (PARMS): Do not use macros from bp-asm.h.
37977         (STR): Likewise.
37978         (CHR): Likewise.
37979         (__rawmemchr): Do not use BP_SYM.
37980         (rawmemchr): Do not use BP_SYM in weak_alias.
37981         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37982         (PARMS): Do not use macros from bp-asm.h.
37983         (S): Likewise.
37984         (SIZE): Likewise.
37985         (__mpn_rshift): Do not use BP_SYM.
37986         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37987         (PARMS): Do not use macros from bp-asm.h.
37988         (SIGMSK): Likewise.
37989         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37990         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37991         (_start): Do not use BP_SYM.
37992         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37993         (PARMS): Do not use macros from bp-asm.h.
37994         (DEST): Likewise.
37995         (SRC): Likewise.
37996         (__stpcpy): Likewise.  Do not use BP_SYM.
37997         (stpcpy): Do not use BP_SYM in weak_alias.
37998         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37999         "bp-asm.h".
38000         (PARMS): Do not use macros from bp-asm.h.
38001         (DEST): Likewise.
38002         (SRC): Likewise.
38003         (LEN): Likewise.
38004         (__stpncpy): Likewise.  Do not use BP_SYM.
38005         (stpncpy): Do not use BP_SYM in weak_alias.
38006         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38007         (PARMS): Do not use macros from bp-asm.h.
38008         (STR): Likewise.
38009         (CHR): Likewise.
38010         (strchr): Likewise.  Do not use BP_SYM.
38011         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38012         "bp-asm.h".
38013         (PARMS): Do not use macros from bp-asm.h.
38014         (STR): Likewise.
38015         (CHR): Likewise.
38016         (__strchrnul): Likewise.  Do not use BP_SYM.
38017         (strchrnul): Do not use BP_SYM in weak_alias.
38018         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38019         "bp-asm.h".
38020         (PARMS): Do not use macros from bp-asm.h.
38021         (STOP): Likewise.
38022         (strcspn): Do not use BP_SYM.
38023         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38024         "bp-asm.h".
38025         (PARMS): Do not use macros from bp-asm.h.
38026         (STR): Likewise.
38027         (STOP): Likewise.
38028         (strpbrk): Likewise.  Do not use BP_SYM.
38029         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38030         "bp-asm.h".
38031         (PARMS): Do not use macros from bp-asm.h.
38032         (STR): Likewise.
38033         (CHR): Likewise.
38034         (strrchr): Likewise.  Do not use BP_SYM.
38035         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38036         (PARMS): Do not use macros from bp-asm.h.
38037         (SKIP): Likewise.
38038         (strspn): Do not use BP_SYM.
38039         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38040         (PARMS): Do not use macros from bp-asm.h.
38041         (STR): Likewise.
38042         (DELIM): Likewise.
38043         (SAVE): Likewise.
38044         (FUNCTION): Likewise.  Do not use BP_SYM.
38045         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38046         aliases.
38047         (strtok_r): Likewise.
38048         (__GI___strtok_r): Likewise.
38049         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38050         (PARMS): Do not use macros from bp-asm.h.
38051         (S1): Likewise.
38052         (S2): Likewise.
38053         (SIZE): Likewise.
38054         (__mpn_sub_n): Do not use BP_SYM.
38055         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38056         "bp-asm.h".
38057         (PARMS): Do not use macros from bp-asm.h.
38058         (S1): Likewise.
38059         (SIZE): Likewise.
38060         (__mpn_submul_1): Do not use BP_SYM.
38061         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38062         <bp-sym.h>.
38063         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38064         and <bp-asm.h>.
38065         (PARMS): Do not use macros from bp-asm.h.
38066         (FLAGS): Likewise.
38067         (PTID): Likewise.
38068         (TLS): Likewise.
38069         (CTID): Likewise.
38070         (__clone): Do not use BP_SYM.
38071         (clone): Do not use BP_SYM in weak_alias.
38072         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38073         and <bp-asm.h>.
38074         (PARMS): Do not use macros from bp-asm.h.
38075         (LEN): Likewise.
38076         (__mmap64): Do not use BP_SYM.
38077         (mmap64): Do not use BP_SYM in weak_alias.
38078         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38079         <bp-sym.h> and <bp-asm.h>.
38080         (PARMS): Do not use macros from bp-asm.h.
38081         (__posix_fadvise64_l64): Do not use BP_SYM.
38082         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38083         (PARMS): Do not use macros from bp-asm.h.
38084         (NSOPS): Likewise.
38085         (semtimedop): Do not use BP_SYM.
38086         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38087         and <bp-asm.h>.
38089 2013-02-21  Allan McRae  <allan@archlinux.org>
38091         * manual/message.texi (Charset conversion in gettext):
38092         Move @end statement to beginning of line.
38094 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38097         static.
38098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38099         Likewise.
38101         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38102         (denorm): Likewise.
38103         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38104         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38106 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38108         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38109         tail-call to the resolved function if pltexit isn't needed.
38111 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38113         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38114         or Y being zero as being unlikely.
38115         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38116         Likewise.
38118 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38120         * manual/nss.texi (System Databases and Name Service Switch):
38121         Remove frobnicate @pxref.
38123 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38125         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38126         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38128 2013-02-20  Petr Machata  <pmachata@redhat.com>
38130         * elf/elf.h (R_ARM_TARGET1): New macro.
38131         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38132         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38133         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38134         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38135         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38136         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38137         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38138         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38139         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38140         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38141         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38142         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38143         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38144         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38145         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38146         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38147         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38148         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38149         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38150         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38151         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38152         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38153         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38154         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38155         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38156         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38157         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38158         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38159         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38160         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38161         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38162         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38163         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38164         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38165         (R_ARM_THM_GOT_BREL12): Likewise.
38166         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38167         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38168         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38169         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38170         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38171         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38172         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38173         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38174         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38176 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38178         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38179         __attribute_used__ to __attribute__ ((unused)).
38181 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38183         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38184         powerpc mpa.c.
38185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38186         comment formatting.
38187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38189 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38191         [BZ #13550]
38192         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38193         Remove macro.
38194         (ENTER): Remove both macro definitions.
38195         (LEAVE): Likewise.
38196         (CHECK_BOUNDS_LOW): Likewise.
38197         (CHECK_BOUNDS_HIGH): Likewise.
38198         (CHECK_BOUNDS_BOTH): Likewise.
38199         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38200         (RETURN_BOUNDED_POINTER): Likewise.
38201         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38202         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38203         (POP_ERRNO_LOCATION_RETURN): Likewise.
38204         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38205         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38206         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38207         macros.
38208         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38209         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38210         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38211         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38212         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38213         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38214         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38215         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38216         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38217         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38218         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38219         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38220         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38221         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38222         removed macros.
38223         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38224         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38225         macros.
38226         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38227         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38228         * sysdeps/i386/i586/memset.S (memset): Likewise.
38229         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38230         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38231         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38232         macros.
38233         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38234         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38235         Change uses of L(2) to L(out).
38236         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38237         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38238         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38239         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38240         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38241         removed macros.
38242         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38243         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38244         macros.
38245         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38246         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38247         (RETURN): Do not use macro LEAVE.
38248         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38249         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38250         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38251         * sysdeps/i386/i686/memset.S (memset): Likewise.
38252         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38253         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38254         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38255         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38256         Likewise.
38257         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38258         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38259         L(1_2) and L(1_3) into L(1).
38260         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38261         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38262         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38263         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38264         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38265         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38266         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38267         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38268         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38269         macros.
38270         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38271         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38272         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38273         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38274         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38275         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38276         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38277         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38278         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38279         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38280         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38281         * sysdeps/i386/strspn.S (strspn): Likewise.
38282         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38283         conditional code.
38284         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38285         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38286         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38287         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38288         L(1_3) into L(1_1).
38289         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38290         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38291         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38292         macros.
38293         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38295 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38297         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38298         macro.
38300 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38302         * math/atest-exp.c (exp_mpn): Remove ROUND.
38303         * math/atest-exp2.c (exp_mpn): Likewise.
38304         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38306         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38307         * stdlib/tst-tls-atexit-lib.c: Likewise.
38308         * stdlib/tst-tls-atexit.c: Likewise.
38310 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38312         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38313         and __attribute_alloc_size__.
38315 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38317         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38318         __attribute_alloc_size__.
38319         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38320         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38322 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38324         * include/programs/xmalloc.h: New file.
38325         * catgets/gencat.c: Include it.
38326         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38327         * elf/pldd.c: Likewise.
38328         * iconv/iconv_charmap.c: Likewise.
38329         * iconv/iconvconfig.c: Likewise.
38330         * iconv/strtab.c: Likewise.
38331         * locale/programs/locale.c: Likewise.
38332         * locale/programs/localedef.h: Likewise.
38333         * locale/programs/simple-hash.c: Likewise.
38334         * nscd/nscd.h: Likewise.
38335         * nss/makedb.c: Likewise.
38336         * sysdeps/generic/ldconfig.h: Likewise.
38338 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38340         * Versions.def: Add GLIBC_2.18.
38341         * include/link.h (struct link_map): New member l_tls_dtor_count.
38342         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38343         (__call_tls_dtors): Likewise.
38344         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38345         __cxa_thread_atexit_impl.
38346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38347         Likewise.
38348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38349         Likewise.
38350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38351         Likewise.
38352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38353         Likewise.
38354         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38356         Likewise.
38357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38358         Likewise.
38359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38361         Likewise.
38362         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38363         (tests): Add test case tst-tls-atexit.
38364         (modules-names): Add shared library for tst-tls-atexit.
38365         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38366         (GLIBC_PRIVATE): Add __call_tls_dtors.
38367         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38368         for libstdc++.
38369         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38370         * stdlib/tst-tls-atexit.c: New test case.
38371         * stdlib/tst-tls-atexit-lib.c: New test case.
38373         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38375         * elf/Versions (ld): Add _dl_find_dso_for_object.
38376         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38377         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38378         (dl_open_worker): Use _dl_find_dso_for_object.
38379         * elf/dl-sym.c (do_sym): Likewise.
38380         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38382 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38384         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38385         Syntactic changes only.
38386         (_dl_runtime_profile): Do a tail-call to the resolved function.
38388 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38390         [BZ #13550]
38391         * sysdeps/x86_64/bp-asm.h: Remove file.
38392         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38393         <bp-sym.h> and <bp-asm.h>.
38394         (__clone): Do not use BP_SYM.
38395         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38396         <bp-sym.h> and <bp-asm.h>.
38397         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38398         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38399         "bp-asm.h".
38400         (_setjmp): Do not use BP_SYM.
38401         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38402         "bp-asm.h".
38403         (setjmp): Do not use BP_SYM.
38404         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38405         libc_hidden_def.
38406         (mempcpy): Do not use BP_SYM in weak_alias.
38407         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38408         "bp-asm.h".
38409         (strchr): Do not use BP_SYM.
38410         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38411         "bp-asm.h".
38412         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38413         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38414         (_start): Do not use BP_SYM.
38415         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38416         "bp-asm.h".
38417         (strcat): Do not use BP_SYM.
38418         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38419         "bp-asm.h".
38420         (STRCMP): Do not use BP_SYM.
38421         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38422         "bp-asm.h".
38423         (STRCPY): Do not use BP_SYM.
38424         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38425         "bp-asm.h".
38426         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38427         "bp-asm.h".
38428         (FUNCTION): Do not use BP_SYM.
38429         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38430         weak_alias.
38431         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38433 2013-02-17  Andreas Jaeger  <aj@suse.de>
38435         * time/Versions: Sort entries.
38436         * string/Versions: Likewise.
38437         * resolv/Versions: Likewise.
38438         * posix/Versions: Likewise.
38439         * iconv/Versions: Likewise.
38440         * elf/Versions: Likewise.
38441         * wcsmbs/Versions: Likewise.
38443 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38445         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38446         loop termination condition.
38448         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38449         variable to calculate EZ.
38450         (__sqr): Likewise.
38452         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38453         the lower precision input.
38455 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38457         [BZ #13550]
38458         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38459         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38460         (run-via-rtld-prefix): Do not handle %-bp tests.
38461         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38462         (all-object-suffixes): Remove .ob.
38463         (bppfx): Remove variable.
38464         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38465         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38466         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38467         [$(build-bounded) = yes] (libtype.ob): Likewise.
38468         * Makerules (elide-routines.ob): Remove variable.
38469         (do-tests-clean): Do not handle *-bp.out.
38470         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38471         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38472         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38473         (tests): Do not include $(tests-bp.out).
38474         (xtests): Do not include $(xtests-bp.out).
38475         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38476         [$(build-bounded) = yes] ($(addprefix
38477         $(objpfx),$(binaries-bounded))): Remove rule.
38478         ($(objpfx)%-bp.out): Remove rule.
38479         * config.make.in (build-bounded): Remove variable.
38480         * crypt/Makefile [$(build-bounded) = yes]
38481         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38482         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38483         append to variable.
38484         [$(build-bounded) = yes] (install-lib): Likewise.
38485         [$(build-bounded) = yes] (generated): Likewise.
38486         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38487         Remove rule.
38488         * intl/Makefile [$(build-bounded) = yes]
38489         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38490         * math/Makefile [$(build-bounded) = yes]
38491         ($(tests:%=$(objpfx)%-bp): Likewise.
38492         * misc/Makefile [$(build-bounded) = yes]
38493         ($(objpfx)tst-tsearch-bp): Likewise.
38494         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38495         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38496         Remove dependency.
38497         * string/Makefile (o-objects.ob): Remove variable.
38498         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38499         (CFLAGS-.ob): Remove variable.
38500         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38501         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38502         both definitions of variable.
38503         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38504         (ASFLAGS-.ob): Remove variable.
38506 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38508         [BZ #13550]
38509         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38510         Remove __BOUNDED_POINTERS__ from condition.
38511         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38512         * string/bits/string2.h [!__NO_STRING_INLINES &&
38513         !__BOUNDED_POINTERS__]: Likewise.
38514         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38515         Likewise.
38516         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38517         Remove conditional code.
38518         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38519         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38520         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38521         condition.
38523         [BZ #13550]
38524         * csu/libc-start.c: Do not include <bp-sym.h>.
38525         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38526         * elf/dl-open.c: Do not include <bp-sym.h>.
38527         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38528         * math/fegetenv.c: Do not include <bp-sym.h>.
38529         (fegetenv): Do not use BP_SYM in versioned symbols.
38530         * nptl/sysdeps/pthread/bits/libc-lockP.h
38531         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38532         <bp-sym.h>.
38533         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38534         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38535         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38536         (__pthread_mutex_destroy): Likewise.
38537         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38538         (__pthread_mutex_lock): Likewise.
38539         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38540         (__pthread_mutex_trylock): Likewise.
38541         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38542         (__pthread_mutex_unlock): Likewise.
38543         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38544         (__pthread_mutexattr_init): Likewise.
38545         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38546         (__pthread_mutexattr_destroy): Likewise.
38547         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38548         (__pthread_mutexattr_settype): Likewise.
38549         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38550         (__pthread_rwlock_init): Likewise.
38551         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38552         (__pthread_rwlock_destroy): Likewise.
38553         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38554         (__pthread_rwlock_rdlock): Likewise.
38555         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38556         (__pthread_rwlock_tryrdlock): Likewise.
38557         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38558         (__pthread_rwlock_wrlock): Likewise.
38559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38560         (__pthread_rwlock_trywrlock): Likewise.
38561         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38562         (__pthread_rwlock_unlock): Likewise.
38563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38564         (__pthread_key_create): Likewise.
38565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38566         (__pthread_setspecific): Likewise.
38567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38568         (__pthread_getspecific): Likewise.
38569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38570         Likewise.
38571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38572         (_pthread_cleanup_push_defer): Likewise.
38573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38574         (_pthread_cleanup_pop_restore): Likewise.
38575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38576         (pthread_setcancelstate): Likewise.
38577         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38578         <bp-sym.h>.
38579         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38580         (memchr): Do not use BP_SYM in weak_alias.
38581         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38582         (fegetenv): Do not use BP_SYM in versioned symbols.
38583         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38584         (fesetenv): Do not use BP_SYM in versioned symbols.
38585         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38586         (feupdateenv): Do not use BP_SYM in versioned symbols.
38587         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38588         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38589         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38590         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38591         (open64): Do not use BP_SYM in weak_alias.
38592         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38593         (fegetenv): Do not use BP_SYM in versioned symbols.
38594         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38595         (fesetenv): Do not use BP_SYM in versioned symbols.
38596         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38597         (feupdateenv): Do not use BP_SYM in versioned symbols.
38598         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38599         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38600         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38601         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38602         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38603         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38604         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38605         <bp-sym.h>.
38606         (__libc_start_main): Do not use BP_SYM.
38608 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38611         redundant return line.
38612         (norm): Likewise.
38613         (denorm): Likewise.
38614         (dbl_mp): Likewise.
38615         (sub_magnitudes): Likewise.
38616         (__add): Likewise.
38617         (__sub): Likewise.
38618         (__mul): Likewise.
38619         (__inv): Likewise.
38620         (__dvd): Likewise.
38621         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38622         (norm): Likewise.
38623         (denorm): Likewise.
38624         (dbl_mp): Likewise.
38625         (sub_magnitudes): Likewise.
38626         (__add): Likewise.
38627         (__sub): Likewise.
38628         (__mul): Likewise.
38629         (__inv): Likewise.
38630         (__dvd): Likewise.
38632         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38633         instead of __mul.
38634         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38635         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38636         (cc32): Likewise.
38638         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38639         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38640         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38641         of __mul for squares.
38642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38643         function
38644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38645         Likewise.
38646         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38647         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38649 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38651         [BZ #13550]
38652         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38653         code.
38654         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38655         prototype or function definition.  Rename ubp_* variables and
38656         parameters.  Remove argv definitions conditional on
38657         [__BOUNDED_POINTERS__].
38658         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38659         * elf/dl-runtime.c (_dl_fixup): Likewise.
38660         * include/set-hooks.h (RUN_HOOK): Likewise.
38661         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38662         definition.
38663         * string/strcpy.c (strcpy): Do not use __unbounded.
38664         * sysdeps/generic/frame.h (struct layout): Likewise.
38665         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38666         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38667         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38668         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38669         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38670         (__backtrace): Likewise.
38671         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38672         use __ptrvalue.
38673         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38674         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38675         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38676         Likewise.
38677         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38678         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38679         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38680         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38681         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38682         Do not use __unbounded.
38683         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38684         Rename __unboundedrlimits parameter to rlimits in prototype.
38685         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38686         Do not use __unbounded.
38687         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38688         not use __ptrvalue.
38689         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38690         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38691         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38692         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38693         __ptrvalue or __unbounded.
38694         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38695         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38696         use __unbounded.
38697         (__new_msgctl): Do not use __ptrvalue.
38698         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38699         __unbounded.
38700         (__libc_msgrcv): Do not use __ptrvalue.
38701         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38702         startup_info): Do not use __unbounded.
38703         (__libc_start_main): Likewise.  Rename ubp_* variables and
38704         parameters.  Remove argv definitions conditional on
38705         [__BOUNDED_POINTERS__].
38706         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38707         __ptrvalue.
38708         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38709         use __unbounded.
38710         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38711         or __ptrvalue.
38712         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38713         use __unbounded.
38714         (__new_shmctl): Do not use __ptrvalue.
38715         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38716         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38717         Likewise.
38718         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38719         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38720         (__libc_sigaction): Likewise.
38721         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38722         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38723         Likewise.
38724         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38726 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38728         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38730         * string/mempcpy.c: Implement by calling memcpy.
38732 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38734         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38736         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38737         evaluation.
38739         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38740         values in the mantissa.
38742         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38743         minimize writes to Z.
38744         (sub_magnitudes): Simplify code a bit.
38746 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38748         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38749         from the message.  The linker prefixes all warnings with that already.
38751 2013-02-12  Andreas Schwab  <schwab@suse.de>
38753         [BZ #15078]
38754         * posix/regexec.c (extend_buffers): Add parameter min_len.
38755         (check_matching): Pass minimum needed length.
38756         (clean_state_log_if_needed): Likewise.
38757         (get_subexp): Likewise.
38758         * posix/Makefile (tests): Add bug-regex34.
38759         (bug-regex34-ENV): Define.
38760         * posix/bug-regex34.c: New file.
38762         [BZ #11561]
38763         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38764         elements compare against the byte sequence of it, not its name.
38765         * posix/Makefile (tests): Add bug-regex35.
38766         (bug-regex35-ENV): Define.
38767         * posix/bug-regex35.c: New file.
38769 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38771         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38772         comment.
38773         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38774         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38775         (CHECK_EOL): Add undef.
38777 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38779         * bits/stdlib-bsearch.h: New file.
38780         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38781         * stdlib/stdlib.h: Likewise.
38783 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38785         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38786         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38787         declaration.
38788         * manual/search.texi (Array Search Function): Add missing const in
38789         lfind prototype.
38790         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38791         declaration to use rlim_t.
38792         (Basic Scheduling Functions): Remove erroneous const from
38793         sched_getparam prototype.  Remove erroneous * from
38794         sched_get_priority_max and sched_get_priority_min prototypes.
38795         (Resource Usage): Fix summary @comment on vtimes to refer to
38796         sys/vtimes.h rather than vtimes.h.
38797         Add missing *s in vtimes prototype.
38798         (Limits on Resources): Fix ulimit prototype to return long int.
38799         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38800         prototypes to use long int rather than double.
38801         (BSD Random): Fix initstate and setstate to use char *, not void *.
38802         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38803         prototype to make second argument 'struct aiocb64 *const[]'.
38804         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38805         (Status of AIO Operations): Remove erroneous const in aio_return and
38806         aio_return64 prototypes.
38807         (Synchronizing I/O): Fix sync prototype to return void.
38808         * manual/startup.texi (Suboptions): Remove an erroneous const in
38809         getsubopt prototype.
38810         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38811         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38812         use size_t rather than int.
38813         (Scanning All Users): Likewise for getpwent_r.
38814         (Setting Groups): Add missing const to setgroups prototype.
38815         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38816         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38817         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38818         'const void *' rather than 'const char *'.
38819         (Host Address Functions): Likewise for inet_ntop.
38820         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38821         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38822         ssize_t for return value.
38823         (Sending Data): Likewise for send, sendto, sendmsg.
38824         (Socket Option Functions): Add a missing const in setsockopt prototype.
38825         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38826         use wchar_t for the argument.
38827         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38828         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38829         take no arguments.
38830         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38831         double/float/long double for second argument.
38832         Fix return types of significand, significandf, significandl.
38833         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38834         argument in fchmod prototype.
38835         (File Owner): Use uid_t and gid_t in fchown prototype.
38836         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38837         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38838         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38839         use 'const struct dirent **' as argument types to CMP function pointer
38840         argument.
38841         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38842         (File Times): Fix summary magic @comment for struct utimbuf and utime
38843         to refer to utime.h, not time.h.
38844         * manual/string.texi (Argz Functions): Add missing const in
38845         argz_extract and argz_next prototypes.
38846         (Finding Tokens in a String): Likewise for basename.
38847         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38848         (Copying and Concatenation): Fix typo in wmemmove prototype.
38849         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38850         (Signal Stack): Remove erroneous const in sigstack prototype.
38851         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38852         prototype.
38853         (Simple Calendar Time): Likewise for stime.
38854         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38855         prototype.
38856         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38857         say sys/sysctl.h instead.
38858         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38859         and vsyslog prototypes.
38861 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38863         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38864         Remove.
38866 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38868         * misc/sys/mman.h: Fix typo in mremap comment.
38870 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38872         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38873         the '\0' terminator.
38875 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38877         [BZ #13550]
38878         * debug/segfault.c: Don't include <bp-checks.h>.
38879         * sysdeps/generic/bp-checks.h: Remove file.
38880         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38881         (__GETDENTS): Don't use CHECK_N.
38882         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38883         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38884         (__getgroups): Don't use CHECK_N.
38885         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38886         (setgroups): Don't use CHECK_N.
38887         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38888         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38889         (__libc_msgrcv): Don't use CHECK_N.
38890         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38891         (__libc_msgsnd): Don't use CHECK_N.
38892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38893         <bp-checks.h>.
38894         (__libc_pread): Don't use CHECK_N.
38895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38896         include <bp-checks.h>.
38897         (__libc_pread64): Don't use CHECK_N.
38898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38899         include <bp-checks.h>.
38900         (__libc_pwrite): Don't use CHECK_N.
38901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38902         include <bp-checks.h>.
38903         (__libc_pwrite64): Don't use CHECK_N.
38904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38905         <bp-checks.h>.
38906         (__libc_pread): Don't use CHECK_N.
38907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38908         include <bp-checks.h>.
38909         (__libc_pread64): Don't use CHECK_N.
38910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38911         include <bp-checks.h>.
38912         (__libc_pwrite): Don't use CHECK_N.
38913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38914         include <bp-checks.h>.
38915         (__libc_pwrite64): Don't use CHECK_N.
38916         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38917         (do_pread): Don't use CHECK_N.
38918         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38919         (do_pread64): Don't use CHECK_N.
38920         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38921         (do_pwrite): Don't use CHECK_N.
38922         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38923         (do_pwrite64): Don't use CHECK_N.
38924         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38925         (__libc_readv): Don't use CHECK_N.
38926         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38927         (semop): Don't use CHECK_N.
38928         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38929         <bp-checks.h>.
38930         (semtimedop): Don't use CHECK_N.
38931         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38932         (__libc_pread): Don't use CHECK_N.
38933         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38934         <bp-checks.h>.
38935         (__libc_pread64): Don't use CHECK_N.
38936         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38937         <bp-checks.h>.
38938         (__libc_pwrite): Don't use CHECK_N.
38939         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38940         <bp-checks.h>.
38941         (__libc_pwrite64): Don't use CHECK_N.
38942         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38943         <bp-checks.h>.
38944         (__libc_msgrcv): Don't use CHECK_N.
38945         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38946         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38947         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38948         (__libc_writev): Don't use CHECK_N.
38950 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38952         * string/strcpy.c: Removed unused variable.
38954         * Makeconfig (+sysdep-includes): Define with := rather than =.
38955         Use an existing include/ subdir of each sysdeps dir before it.
38957 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38959         * nscd/connection.c (register_traced_file): Comment function.
38960         [HAVE_INOTIFY] (union __inev): Define.
38961         [HAVE_INOTIFY] (inotify_check_files): New function.
38962         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38963         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38964         clear_db_cache.
38965         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38967 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38969         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38970         loaded if not already and that a failure is permanent.
38972 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38974         [BZ #15006]
38975         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38976         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38978 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38980         [BZ #13550]
38981         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38982         (CHECK_1_NULL_OK): Likewise.
38983         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38984         (__fxstat): Do not use CHECK_1.
38985         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38986         <bp-checks.h>.
38987         (___fxstat64): Do not use CHECK_1.
38988         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38989         <bp-checks.h>.
38990         (__fxstatat): Do not use CHECK_1.
38991         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38992         <bp-checks.h>.
38993         (__fxstatat64): Do not use CHECK_1.
38994         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38995         <bp-checks.h>.
38996         (__fxstat): Do not use CHECK_1.
38997         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38998         <bp-checks.h>.
38999         (__fxstatat): Do not use CHECK_1.
39000         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39001         <bp-checks.h>.
39002         (__getresgid): Do not use CHECK_1.
39003         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39004         <bp-checks.h>.
39005         (__getresuid): Do not use CHECK_1.
39006         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39007         <bp-checks.h>.
39008         (__lxstat): Do not use CHECK_1.
39009         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39010         <bp-checks.h>.
39011         (__old_msgctl): Do not use CHECK_1.
39012         (__new_msgctl): Likewise.
39013         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39014         <bp-checks.h>.
39015         (__new_setrlimit): Do not use CHECK_1.
39016         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39017         <bp-checks.h>.
39018         (__old_shmctl): Do not use CHECK_1.
39019         (__new_shmctl): Likewise.
39020         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39021         <bp-checks.h>.
39022         (__xstat): Do not use CHECK_1.
39023         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39024         (__lxstat): Do not use CHECK_1.
39025         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39026         <bp-checks.h>.
39027         (___lxstat64): Do not use CHECK_1.
39028         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39029         (__old_msgctl): Do not use CHECK_1.
39030         (__new_msgctl): Likewise.
39031         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39032         <bp-checks.h>.
39033         (__gettimeofday): Do not use CHECK_1.
39034         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39035         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39036         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39037         <bp-checks.h>.
39038         (__gettimeofday): Do not use CHECK_1.
39039         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39040         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39041         (__new_shmctl): Do not use CHECK_1.
39042         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39043         <bp-checks.h>.
39044         (do_sigtimedwait): Do not use CHECK_1.
39045         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39046         <bp-checks.h>.
39047         (do_sigwaitinfo): Do not use CHECK_1.
39048         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39049         <bp-checks.h>.
39050         (msgctl): Do not use CHECK_1.
39051         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39052         <bp-checks.h>.
39053         (shmctl): Do not use CHECK_1.
39054         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39055         (ustat): Do not use CHECK_1.
39056         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39057         <bp-checks.h>.
39058         (__fxstat): Do not use CHECK_1.
39059         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39060         <bp-checks.h>.
39061         (__fxstatat): Do not use CHECK_1.
39062         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39063         <bp-checks.h>.
39064         (__lxstat): Do not use CHECK_1.
39065         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39066         <bp-checks.h>.
39067         (__xstat): Do not use CHECK_1.
39068         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39069         (__xstat): Do not use CHECK_1.
39070         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39071         (___xstat64): Do not use CHECK_1.
39073         [BZ #13550]
39074         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39075         definitions.
39076         (CHECK_BOUNDS_HIGH): Likewise.
39077         * string/strcpy.c: Do not include <bp-checks.h>.
39078         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39080 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39082         * nscd/nscd-client.h (__nscd_drop_map_ref):
39083         Add __attribute__ ((unused)).
39084         * nis/nss-nisplus.h (niserr2nss): Likewise.
39086         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39087         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39089         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39090         Remove inline keyword.
39091         * include/rounding-mode.h (round_away): Likewise.
39092         * libio/wfileops.c (adjust_wide_data): Likewise.
39093         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39094         (__m128i_strloadu_tolower): Likewise.
39095         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39096         (__m128i_strloadu_tolower): Likewise.
39097         * time/mktime.c (ydhms_diff): Likewise.
39098         * locale/elem-hash.h (elem_hash): Likewise.
39099         * locale/setlocale.c (setdata): Likewise.
39100         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39101         (re_string_wchar_at): Likewise.
39102         (bitset_not, bitset_merge, bitset_mask): Likewise.
39103         [!(__GNUC__ > 3)] (inline): Remove macro.
39104         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39105         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39106         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39107         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39108         * string/memcmp.c (memcmp_bytes): Likewise.
39109         * locale/programs/locarchive.c (compute_hashval): Likewise.
39110         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39111         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39112         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39113         * nss/getent.c (print_rpc, print_protocols): Likewise.
39114         (print_passwd, print_group, print_aliases): Likewise.
39115         * nis/nss-nisplus.h (niserr2nss): Likewise.
39116         * nscd/connections.c (restart_p): Likewise.
39117         Change return type to bool.
39119 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39121         * Makeconfig (all-Depend-files): Add existing
39122         $(sorted-subdirs:=/Depend) files.
39123         (all-subdirs): Remove nss.
39124         * sysdeps/unix/inet/Subdirs: Add it here instead.
39125         * hesiod/Depend: New file.
39127         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39128         instead of calling alloca.
39130         * io/lseek.c (__lseek): Rename to __libc_lseek.
39131         Define __lseek as an alias.
39133         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39135 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39137         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39138         else clause and remove check for non-standard endianness.
39140 2013-02-04  David S. Miller  <davem@davemloft.net>
39142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39144 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39146         [BZ #13550]
39147         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39148         (__ubp_memchr): Remove prototype.
39149         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39150         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39151         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39152         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39153         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39154         Remove alias.
39155         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39156         (__ubp_memchr): Likewise.
39157         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39158         (__ubp_memchr): Likewise.
39159         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39160         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39161         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39162         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39163         CHECK_STRING.
39164         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39165         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39166         (__getcwd): Do not use CHECK_STRING.
39167         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39168         <bp-checks.h>.
39169         (__real_chown): Do not use CHECK_STRING.
39170         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39171         <bp-checks.h>.
39172         (fchownat): Do not use CHECK_STRING.
39173         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39174         CHECK_STRING.
39175         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39176         <bp-checks.h>.
39177         (__lchown): Do not use CHECK_STRING.
39178         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39179         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39180         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39181         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39183         include <bp-checks.h>.
39184         (truncate64): Do not use CHECK_STRING.
39185         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39186         <bp-checks.h>.
39187         (__real_chown): Do not use CHECK_STRING.
39188         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39189         <bp-checks.h>.
39190         (__lchown): Do not use CHECK_STRING.
39191         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39192         <bp-checks.h>.
39193         (__chown): Do not use CHECK_STRING.
39194         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39195         <bp-checks.h>.
39196         (truncate64): Do not use CHECK_STRING.
39197         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39198         Likewise.
39199         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39200         (__xmknod): Do not use CHECK_STRING.
39201         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39202         <bp-checks.h>.
39203         (__xmknodat): Do not use CHECK_STRING.
39204         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39205         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39207 2013-02-04  Andreas Schwab  <schwab@suse.de>
39209         [BZ #14142]
39210         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39211         * include/netdb.h: Likewise for h_errno.
39212         * elf/tst-stackguard1.c: Include <tls.h>.
39214 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39216         * elf/link.h (struct link_map): Extend the l_addr comment.
39217         * include/link.h (struct link_map): Likewise.
39219 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39221         [BZ #13550]
39222         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39223         (BOUNDED_1): Remove macro.
39224         * debug/backtrace.c: Don't include <bp-checks.h>.
39225         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39226         (__backtrace): Likewise.
39227         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39228         <bp-checks.h>.
39229         (__backtrace): Don't use BOUNDED_1.
39230         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39231         <bp-checks.h>.
39232         (__backtrace): Don't use BOUNDED_1.
39233         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39234         (__backtrace): Don't use BOUNDED_1.
39235         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39236         (shmat): Don't use BOUNDED_N.
39238 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39240         [BZ #13550]
39241         * sysdeps/generic/bp-start.h: Remove file.
39242         * csu/libc-start.c: Don't include <bp-start.h>.
39243         (LIBC_START_MAIN): Set up __environ directly instead of using
39244         INIT_ARGV_and_ENVIRON.
39245         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39246         <bp-start.h>.
39248         [BZ #13550]
39249         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39250         definitions.
39251         (CHECK_FCNTL): Likewise.
39252         (CHECK_N_PAGES): Likewise.
39254         [BZ #13550]
39255         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39256         definitions.
39257         (CHECK_SIGSET_NULL_OK): Likewise.
39258         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39259         <bp-checks.h>.
39260         (sigpending): Don't use CHECK_SIGSET.
39261         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39262         <bp-checks.h>.
39263         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39264         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39265         <bp-checks.h>.
39266         (do_sigsuspend): Don't use CHECK_SIGSET.
39267         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39268         use CHECK_SIGSET.
39269         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39270         (do_sigwait): Don't use CHECK_SIGSET.
39271         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39272         use CHECK_SIGSET.
39273         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39274         include <bp-checks.h>.
39275         (sigpending): Don't use CHECK_SIGSET.
39276         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39277         include <bp-checks.h>.
39278         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39279         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39280         <bp-checks.h>.
39281         (sigpending): Don't use CHECK_SIGSET.
39282         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39283         <bp-checks.h>.
39284         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39286         [BZ #13550]
39287         * sysdeps/generic/bp-semctl.h: Remove file.
39288         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39289         <bp-checks.h> and <bp-semctl.h>.
39290         (__old_semctl): Don't use CHECK_SEMCTL.
39291         (__new_semctl): Likewise.
39292         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39293         and <bp-semctl.h>.
39294         (__old_semctl): Don't use CHECK_SEMCTL.
39295         (__new_semctl): Likewise.
39296         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39297         <bp-checks.h> and <bp-semctl.h>.
39298         (__old_semctl): Don't use CHECK_SEMCTL.
39299         (__new_semctl): Likewise.
39300         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39301         <bp-checks.h> and <bp-semctl.h>.
39302         (semctl): Don't use CHECK_SEMCTL.
39304         [BZ #13550]
39305         * Makerules (elide-bp-thunks): Remove variable.
39306         (elide-routines.oS): Don't use $(elide-bp-thunks).
39307         (elide-routines.os): Likewise.
39308         (elide-routines.o): Likewise.
39309         (elide-routines.op): Likewise.
39310         (elide-routines.og): Likewise.
39311         (objects): Don't use $(bp-thunks).
39312         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39313         include.
39314         (common-generated): Do not add s-proto-bp.d.
39315         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39316         (int): Likewise.
39317         (typ): Likewise.
39318         Do not generate makefile rules for bounded-pointer thunks.
39319         * sysdeps/generic/bp-thunks.h: Remove file.
39320         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39321         * sysdeps/unix/s-proto-bp.S: Likewise.
39323         [BZ #15062]
39324         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39325         parts of result separately when argument is not close to line from
39326         -i to i and one part of argument is small.
39327         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39328         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39329         * math/libm-test.inc (cacos_test): Add more tests.
39330         (casin_test): Likewise.
39331         (casinh_test): Likewise.
39332         * sysdeps/i386/fpu/libm-test-ulps: Update.
39333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39335 2013-01-31  David S. Miller  <davem@davemloft.net>
39337         * po/de.po: Update from translation team.
39339 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39341         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39343 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39345         * configure.in (_AC_PROG_CC_C89): New definition.
39346         * configure: Regenerate.
39348         * configure.in (AC_PROG_CPP): New definition.
39349         * configure: Regenerate.
39351 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39353         * debug/tst-backtrace.h: New file.
39354         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39355         (ret): Remove variable.
39356         (x): Likewise.
39357         (FAIL): Remove macro.
39358         (NO_INLINE): Likewise.
39359         (fn1): Use match function instead of strstr.
39360         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39361         (ret): Remove variable.
39362         (x): Likewise.
39363         (FAIL): Remove macro.
39364         (NO_INLINE): Likewise.
39365         (fn): Use match function instead of strstr.
39366         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39367         (ret): Remove variable.
39368         (x): Likewise.
39369         (FAIL): Remove macro.
39370         (NO_INLINE): Likewise.
39371         (handle_signal): Use match function instead of strstr.
39372         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39373         (ret): Remove variable.
39374         (x): Likewise.
39375         (FAIL): Remove macro.
39376         (NO_INLINE): Likewise.
39377         (handle_signal): Use match function instead of strstr.
39379 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39381         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39383 2013-01-23  David S. Miller  <davem@davemloft.net>
39385         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39386         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39387         argument of CAS if possible.
39388         * sysdeps/sparc/sparc64/bits/atomic.h
39389         (__arch_compare_and_exchange_val_32_acq): Likewise.
39390         (__arch_compare_and_exchange_val_64_acq): Likewise.
39392 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39394         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39395         * sysdeps/posix/ulimit.c: ... this.
39396         Include <limits.h>.
39397         * sysdeps/unix/bsd/ulimit.c: Remove file.
39399 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39401         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39402         (LDFLAGS-tst-array5): Likewise.
39404 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39406         [BZ #15036]
39407         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39408         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39409         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39410         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39412 2013-01-21  David S. Miller  <davem@davemloft.net>
39414         * sysdeps/sparc/backtrace.c: New file.
39415         * sysdeps/sparc/sparc32/backtrace.h: New file.
39416         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39417         * sysdeps/sparc/sparc64/backtrace.h: New file.
39418         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39419         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39420         -funwind-tables.
39422 2013-01-21  Andreas Schwab  <schwab@suse.de>
39424         [BZ #15020]
39425         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39426         closed its stdout.
39428 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39431         "mpa2.h".
39432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39434 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39435             Mark Mitchell  <mark@codesourcery.com>
39436             Tom de Vries  <tom@codesourcery.com>
39437             Paul Pluzhnikov  <ppluzhnikov@google.com>
39439         * debug/tst-backtrace2.c: New file.
39440         * debug/tst-backtrace3.c: Likewise.
39441         * debug/tst-backtrace4.c: Likewise.
39442         * debug/tst-backtrace5.c: Likewise.
39443         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39444         (CFLAGS-tst-backtrace3.c): Likewise.
39445         (CFLAGS-tst-backtrace4.c): Likewise.
39446         (CFLAGS-tst-backtrace5.c): Likewise.
39447         (LDFLAGS-tst-backtrace2): Likewise.
39448         (LDFLAGS-tst-backtrace3): Likewise.
39449         (LDFLAGS-tst-backtrace4): Likewise.
39450         (LDFLAGS-tst-backtrace5): Likewise.
39451         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39452         tst-backtrace4 and tst-backtrace5.
39454 2013-01-18  Anton Blanchard  <anton@samba.org>
39455             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39457         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39458         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39459         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39460         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39462         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39463         "+r" and remove output regs list as redundant.  Add explicit inline
39464         asm to specify register of return val to work around compiler codegen
39465         bug.  Remove (int) cast on return value.  Add return type parameter to
39466         use in macro so that this macro does not truncate return value for
39467         64-bit values.
39468         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39469         pass to INTERNAL_VSYSCALL_NCS.
39470         (INLINE_VSYSCALL): Add 'long int' as return type to
39471         INTERNAL_VSYSCALL_NCS macro invocation.
39472         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39473         INTERNAL_VSYSCALL_NCS macro invocation.
39474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39476 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39478         [BZ #14496]
39479         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39480         Fix application of SIMD FP exception mask.
39482         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39483         mp_no from a power of two.
39484         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39485         __mpexp_twomm1.  Use __pow_mp.
39487         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39488         multiplication.
39490 2013-01-17  David S. Miller  <davem@davemloft.net>
39492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39494 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39496         [BZ #15023]
39497         * include/complex.h: Condition contents on [!_COMPLEX_H].
39498         (__kernel_casinhf): New prototype.
39499         (__kernel_casinh): Likewise.
39500         (__kernel_casinhl): Likewise.
39501         * math/Makefile (libm_calls): Add k_casinh.
39502         * math/k_casinh.c: New file.
39503         * math/k_casinhf.c: Likewise.
39504         * math/k_casinhl.c: Likewise.
39505         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39506         finite nonzero arguments.
39507         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39508         finite nonzero arguments.
39509         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39510         finite nonzero arguments.
39511         * math/s_casinh.c: Do not include <float.h>.
39512         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39513         * math/s_casinhf.c: Do not include <float.h>.
39514         (__casinhf): Move code for finite nonzero arguments to
39515         k_casinhf.c.
39516         * math/s_casinhl.c: Do not include <float.h>.
39517         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39518         redefine.
39519         (__casinhl): Move code for finite nonzero arguments to
39520         k_casinhl.c.
39521         * math/libm-test.inc (cacos_test): Add more tests.
39522         * sysdeps/i386/fpu/libm-test-ulps: Update.
39523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39525 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39527         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39528         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39529         [!HAVE_MREMAP]: Remove [defined linux] case.
39530         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39532 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39534         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39536 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39538         * elf/elf.h (R_386_SIZE32): New relocation.
39539         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39540         R_386_SIZE32.
39541         (elf_machine_rela): Likewise.
39542         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39543         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39545 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39547         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39548         (FP_FAST_FMA): Do not define.
39549         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39550         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39551         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39552         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39553         !_SOFT_FLOAT]: Likewise.
39554         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39555         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39556         value.
39557         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39558         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39559         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39560         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39561         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39562         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39563         file.
39565 2013-01-16  Andreas Schwab  <schwab@suse.de>
39567         [BZ #14327]
39568         * include/stdlib.h (__mktemp): Add declaration.
39569         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39570         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39572 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39574         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39575         definitions.
39576         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39577         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39578         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39579         definitions here.
39580         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39581         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39582         definitions.
39583         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39584         and ONE.
39585         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39586         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39587         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39588         definitions.
39589         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39590         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39591         definitions.
39592         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39594         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39596 2013-01-15  David S. Miller  <davem@davemloft.net>
39598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39599         trunc{,f} to libm-sysdep_routes.
39600         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39602         file.
39603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39605         file.
39606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39607         file.
39608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39610         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39611         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39612         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39613         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39614         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39615         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39618         nearbyint{,f} to libm-sysdep_routes.
39619         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39621         New file.
39622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39623         file.
39624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39625         New file.
39626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39627         file.
39628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39630         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39631         file.
39632         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39633         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39634         file.
39635         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39636         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39637         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39639         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39640         libc_feholdexcept and libc_fesetenv.
39642 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39644         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39646 2013-01-14  David S. Miller  <davem@davemloft.net>
39648         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39649         (SPARC_ASM_VIS2_IFUNC): Likewise.
39650         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39652         use of 'siam' instruction.
39653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39654         Likewise.
39655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39656         Likewise.
39657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39658         Likewise.
39659         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39660         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39661         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39662         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39664         file.
39665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39666         file.
39667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39668         file.
39669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39670         file.
39671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39673         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39674         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39676         new VIS2 routines.
39677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39680         Likewise.
39681         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39682         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39683         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39684         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39686         routines to libm-sysdep_routines.
39687         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39690         fdim/fdimf to libm-sysdep_routines.
39691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39692         file.
39693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39695         file.
39696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39699         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39700         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39701         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39702         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39704 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39706         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39707         to optimize copies.
39709         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39710         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39713         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39714         local variable MPTWO.
39715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39716         Likewise.
39718 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39720         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39721         GLOB_NOESCAPE.
39723 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39725         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39727 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39729         * manual/pattern.texi (glob_t): Document gl_flags.
39730         (glob64_t): Likewise.
39732 2013-01-11  David S. Miller  <davem@davemloft.net>
39734         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39735         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39736         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39737         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39738         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39739         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39740         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39741         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39742         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39743         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39744         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39745         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39746         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39748         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39749         sparc V9 rather than using V8 code.
39750         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39751         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39753         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39754         Move to...
39755         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39756         Here.
39758 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39760         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39761         not in the main loop.
39762         * configure: Regenerated.
39764 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39766         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39767         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39768         to just #else.
39769         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39770         [!__GLIBC_HAVE_LONG_LONG] case.
39771         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39772         condition to just #else.
39773         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39774         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39775         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39776         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39777         unconditional.
39778         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39779         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39780         #elif condition to just #else.
39781         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39782         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39783         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39784         #elif condition to just #else.
39786 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39788         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39789         (EF_MIPS_ARCH_64): Fix value.
39790         (EF_MIPS_ARCH_32R2): New.
39791         (EF_MIPS_ARCH_64R2): New.
39793 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39795         * Makeconfig (+link-pie-before-libc): New.
39796         (+link-pie-after-libc): Likewise.
39797         (+link-pie-tests): Likewise.
39798         (+link-pie): Rewritten.
39799         (link-before-libc): Remove $(config-LDFLAGS).
39800         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39801         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39802         (config-LDFLAGS): Renamed to ...
39803         (rtld-LDFLAGS): This.
39804         (rtld-tests-LDFLAGS): New macro.
39805         (link-libc-rpath-link): Likewise.
39806         (link-libc-tests-rpath-link): Likewise.
39807         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39808         (link-libc): Prepand $(link-libc-rpath-link).
39809         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39810         (test-program-prefix): New macro.
39811         (test-via-rtld-prefix): Likewise.
39812         (test-program-cmd): Likewise.
39813         (host-test-program-cmd): Likewise.
39814         * Makefile ($(common-objpfx)testrun.sh): Replace
39815         $(run-program-prefix) with $(test-program-prefix).
39816         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39817         $(rtld-LDFLAGS).
39818         ($(common-objpfx)shlib.lds): Likewise.
39819         (build-module-helper): Likewise.
39820         ($(common-objpfx)format.lds): Likewise.
39821         * Rules (binaries-pie-tests): New.
39822         (binaries-pie-notests): Likewise.
39823         (binaries-pie): Rewritten.
39824         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39825         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39826         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39827         (make-test-out): Replace $(host-built-program-cmd) with
39828         $(host-test-program-cmd).
39829         * config.make.in (build-hardcoded-path-in-tests): New variable.
39830         * configure.in (--enable-hardcoded-path-in-tests): New configure
39831         option.
39832         (hardcoded_path_in_tests): New AC_SUBST.
39833         * configure: Regenerated.
39834         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39835         $(built-program-cmd) with $(test-program-cmd).
39836         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39837         (test_program_cmd): This.
39838         * elf/Makefile ($(objpfx)order.out): Run test with
39839         $(test-program-prefix).
39840         ($(objpfx)order2.out): Likewise.
39841         ($(objpfx)tst-initorder.out): Likewise.
39842         ($(objpfx)tst-initorder2.out): Likewise.
39843         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39844         $(test-program-cmd).
39845         ($(objpfx)tst-array1-static.out): Likewise.
39846         ($(objpfx)tst-array2.out): Likewise.
39847         ($(objpfx)tst-array3.out): Likewise.
39848         ($(objpfx)tst-array4.out): Likewise.
39849         ($(objpfx)tst-array5.out): Likewise.
39850         ($(objpfx)tst-array5-static.out): Likewise.
39851         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39852         $(test-program-cmd).
39853         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39854         $(run-program-prefix) with $(test-program-prefix).
39855         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39856         (test_program_prefix): This.
39857         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39858         $(run-program-prefix) with $(test-program-prefix).
39859         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39860         (test_program_prefix): This.
39861         * iconvdata/tst-tables.sh: Likewise.
39862         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39863         $(run-program-prefix) with $(test-program-prefix).
39864         ($(objpfx)tst-translit.out): Likewise.
39865         ($(objpfx)tst-gettext2.out): Likewise.
39866         ($(objpfx)tst-gettext4.out): Likewise.
39867         ($(objpfx)tst-gettext6.out): Likewise.
39868         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39869         (test_program_prefix): This.
39870         * intl/tst-gettext2.sh: Likewise.
39871         * intl/tst-gettext4.sh  Likewise.
39872         * intl/tst-gettext6.sh: Likewise.
39873         * intl/tst-translit.sh: Likewise.
39874         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39875         with $(test-program-cmd).
39876         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39877         $(run-program-prefix) with $(test-program-prefix).
39878         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39879         (test_program_prefix): This.
39880         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39881         $(run-program-prefix) with $(test-program-prefix).
39882         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39883         (test_program_prefix): This.
39884         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39885         * posix/Makefile ($(objpfx)globtest.out): Replace
39886         $(run-via-rtld-prefix) and $(test-wrapper) with
39887         $(test-program-prefix) and $(test-via-rtld-prefix).
39888         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39889         $(test-program-prefix).
39890         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39891         $(host-test-program-cmd).
39892         (tst-spawn-ARGS): Likewise.
39893         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39894         $(test-program-prefix).
39895         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39896         (test_via_rtld_prefix): This.
39897         (test_wrapper): Renamed to ...
39898         (test_program_prefix): This.
39899         (run_program_prefix): Replaced by test_program_prefix.
39900         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39901         (test_program_prefix): This.
39902         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39903         with $(host-test-program-cmd).
39904         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39905         $(run-program-prefix) with $(test-program-prefix).
39906         ($(objpfx)tst-printf.out): Likewise.
39907         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39908         $(test-program-cmd).
39909         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39910         (test_program_prefix): This.
39911         * stdio-common/tst-unbputc.sh: Likewise.
39912         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39913         $(run-program-prefix) with $(test-program-prefix).
39914         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39915         (test_program_prefix): This.
39916         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39917         $(built-program-cmd) with $(test-program-cmd).
39919 2013-01-11  Andreas Jaeger  <aj@suse.de>
39921         [BZ #15003]
39922         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39923         value. Sync with Linux 3.7.
39925 2013-01-10  David S. Miller  <davem@davemloft.net>
39927         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39928         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39929         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39931 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39933         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39934         never set.
39935         * configure: Regenerated.
39937 2013-01-10  David S. Miller  <davem@davemloft.net>
39939         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39940         sparc V9 rather than using V8 code.
39941         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39942         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39944 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39946         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39947         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39948         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39949         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39950         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39951         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39952         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39953         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39954         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39955         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39956         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39957         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39958         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39959         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39960         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39961         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39962         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39963         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39964         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39965         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39966         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39967         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39968         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39969         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39970         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39971         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39972         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39974 2013-01-10  David S. Miller  <davem@davemloft.net>
39976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39978 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39980         * posix/Makefile (tests-static): New variable.
39981         (tests): Add $(tests-static).
39982         (tst-exec-static-ARGS): New variable.
39983         (tst-spawn-static-ARGS): Likewise.
39984         * posix/tst-exec-static.c: New file.
39985         * posix/tst-spawn-static.c: Likewise.
39986         * posix/tst-exec.c: Support run directly.
39987         * posix/tst-spawn.c: Likewise.
39989 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39991         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39992         long.
39993         * math/bits/mathcalls.h (llrint): Likewise.
39994         (llround): Likewise.
39995         * stdlib/stdlib.h (struct drand48_data): Likewise.
39996         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39997         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39998         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39999         Likewise.
40000         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40001         Likewise.
40002         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40003         (elf_greg_t): Likewise.
40004         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40005         (__jmp_buf): Likewise.
40006         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40007         definitions.
40008         (llrint): Likewise, for all definitions.
40009         (llrintl): Likewise.
40011         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40012         Remove [__GNUC__] condition.
40013         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40014         condition to just [__USE_ISOC99].
40015         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40017 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40019         [BZ #14200]
40020         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40021         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40022         defined.
40023         (_POSIX_V6_ILP32_OFF32): Likewise.
40024         (_XBS5_ILP32_OFF32): Likewise.
40025         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40026         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40028 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40030         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40032         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40033         doubles __mpexp_twomm1.  Adjust usage.
40034         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40035         Remove.
40037 2013-01-10  Andreas Schwab  <schwab@suse.de>
40039         [BZ #14964]
40040         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40041         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40043 2013-01-09  David S. Miller  <davem@davemloft.net>
40045         [BZ #15003]
40046         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40047         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40048         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40049         (TCP_FASTOPEN): Define.
40050         (tcp_repair_opt): New structure.
40051         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40052         enum values.
40053         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40054         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40055         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40056         (tcp_cookie_transactions): New structure.
40058 2013-01-09  Anton Blanchard  <anton@samba.org>
40060         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40061         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40062         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40063         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40065 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40067         * include/features.h (__USE_ANSI): Remove.
40069 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40071         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40073         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40075 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40077         * sysdeps/s390/fpu/libm-test-ulps: Update.
40079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40081         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40082         (__acr): Likewise.
40083         (__cpy): Likewise.
40084         (norm): Likewise.
40085         (denorm): Likewise.
40086         (__mp_dbl): Likewise.
40087         (__dbl_mp): Likewise.
40088         (add_magnitudes): Likewise.
40089         (sub_magnitudes): Likewise.
40090         (__add): Likewise.
40091         (__sub): Likewise.
40092         (__mul): Likewise.
40093         (__inv): Likewise.
40094         (__dvd): Likewise.
40095         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40096         (__acr): Likewise.
40097         (__cpy): Likewise.
40098         (norm): Likewise.
40099         (denorm): Likewise.
40100         (__mp_dbl): Likewise.
40101         (__dbl_mp): Likewise.
40102         (add_magnitudes): Likewise.
40103         (sub_magnitudes): Likewise.
40104         (__add): Likewise.
40105         (__sub): Likewise.
40106         (__mul): Likewise.
40107         (__inv): Likewise.
40108         (__dvd): Likewise.
40109         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40110         (__acr): Likewise.
40111         (__cpy): Likewise.
40112         (norm): Likewise.
40113         (denorm): Likewise.
40114         (__mp_dbl): Likewise.
40115         (__dbl_mp): Likewise.
40116         (add_magnitudes): Likewise.
40117         (sub_magnitudes): Likewise.
40118         (__add): Likewise.
40119         (__sub): Likewise.
40120         (__mul): Likewise.
40121         (__inv): Likewise.
40122         (__dvd): Likewise.
40124 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40126         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40127         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40128         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40129         2 && __USE_EXTERN_INLINES]: Likewise.
40131 2013-01-08  Andreas Jaeger  <aj@suse.de>
40133         [BZ# 14985]
40134         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40135         Remove.
40136         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40137         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40139 2013-01-07  Anton Blanchard  <anton@samba.org>
40141         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40142         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40143         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40144         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40145         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40146         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40147         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40148         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40150         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40151         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40152         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40153         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40154         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40155         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40156         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40157         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40158         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40159         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40160         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40161         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40162         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40163         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40164         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40165         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40166         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40167         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40168         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40169         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40170         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40171         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40172         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40173         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40174         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40175         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40176         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40177         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40178         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40179         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40180         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40181         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40182         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40183         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40185 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40187         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40188         (__MALLOC_PMT): Likewise.
40189         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40190         [__GNUC__], only on [_LIBC].
40191         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40192         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40193         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40194         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40195         forward declaration.
40196         (realloc_hook_ini): Likewise.
40197         (memalign_hook_ini): Likewise.
40198         (__libc_memalign): Do not use __MALLOC_PMT in variable
40199         declaration.
40200         (__libc_valloc): Likewise.
40201         (__libc_pvalloc): Likewise.
40202         (__libc_calloc): Likewise.
40203         (__posix_memalign): Likewise.
40205         [BZ #14996]
40206         * math/s_casinh.c: Include <float.h>.
40207         (__casinh): Do not do computation with squaring and square root
40208         for large arguments.
40209         * math/s_casinhf.c: Include <float.h>.
40210         (__casinhf): Do not do computation with squaring and square root
40211         for large arguments.
40212         * math/s_casinhl.c: Include <float.h>.
40213         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40214         (__casinhl): Do not do computation with squaring and square root
40215         for large arguments.
40216         * math/libm-test.inc (casin_test): Add more tests.
40217         (casinh_test): Likewise.
40218         * sysdeps/i386/fpu/libm-test-ulps: Update.
40219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40221 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40223         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40224         (__x86_64_raw_data_cache_size): Likewise.
40225         (__x86_64_data_cache_size_half): Likewise.
40226         (__x86_64_raw_data_cache_size_half): Likewise.
40227         (__x86_64_shared_cache_size): Likewise.
40228         (__x86_64_raw_shared_cache_size): Likewise.
40229         (__x86_64_shared_cache_size_half): Likewise.
40230         (__x86_64_raw_shared_cache_size_half): Likewise.
40231         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40232         to ...
40233         (__x86_data_cache_size): This.
40234         (__x86_64_raw_data_cache_size): Renamed to ...
40235         (__x86_raw_data_cache_size): This.
40236         (__x86_64_data_cache_size_half): Renamed to ...
40237         (__x86_data_cache_size_half): This.
40238         (__x86_64_raw_data_cache_size_half): Renamed to ...
40239         (__x86_raw_data_cache_size_half): This.
40240         (__x86_64_shared_cache_size): Renamed to ...
40241         (__x86_shared_cache_size): This.
40242         (__x86_64_raw_shared_cache_size): Renamed to ...
40243         (__x86_raw_shared_cache_size): This.
40244         (__x86_64_shared_cache_size_half): Renamed to ...
40245         (__x86_shared_cache_size_half): This.
40246         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40247         (__x86_raw_shared_cache_size_half): This.
40248         * sysdeps/x86_64/memcpy.S: Updated.
40249         * sysdeps/x86_64/memset.S: Likewise.
40250         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40251         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40252         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40254 2013-01-04  David S. Miller  <davem@davemloft.net>
40256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40258 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40260         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40261         1 to avoid redefinition warning.
40262         (__USE_GNU): Don't define.
40263         (init_signaling_nan): Protoize.
40265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40267 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40269         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40271         (__cpymn): Likewise.
40272         (norm): Remove commented code.
40273         (denorm): Likewise.
40274         (__mp_dbl): Likewise.
40275         (__inv): Likewise.
40276         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40277         (__cpymn): Likewise.
40278         (norm): Remove commented code.
40279         (denorm): Likewise.
40280         (__mp_dbl): Likewise.
40281         (__inv): Likewise.
40283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40284         mp_no value for 1.0 and 2.0.
40285         (norm): Use RADIXI instead of radixi.d.
40286         (denorm): Likewise.
40287         (__mul): Use 0.0 instead of zero.d.
40288         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40289         mp_no value for 1.0 and 2.0.
40290         (norm): Use RADIXI instead of radixi.d.
40291         (denorm): Likewise.
40292         (__mul): Use 0.0 instead of zero.d.
40294 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40296         [BZ #14994]
40297         * math/s_casinh.c (__casinh): Reduce finite argument to first
40298         quadrant then set signs of results at the end.
40299         * math/s_casinhf.c (__casinhf): Likewise.
40300         * math/s_casinhl.c (__casinhl): Likewise.
40301         * math/libm-test.inc (casin_test): Add more tests.
40302         (casinh_test): Likewise.
40303         * sysdeps/i386/fpu/libm-test-ulps: Update.
40304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40306 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40308         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40310         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40312         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40313         declarations.
40314         (denorm): Likewise.
40315         (__mp_dbl): Likewise.
40316         (__inv): Likewise.
40318         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40319         and adjust the header comment.
40321         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40322         variable name from declaration.
40324 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40326         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40327         Initialize COMMON_CPUID_INDEX_7 element.
40328         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40329         (CPUID_RTM): Likewise.
40330         (HAS_RTM): Likewise.
40331         (COMMON_CPUID_INDEX_7): New enum.
40333 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40335         [BZ #14981]
40336         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40337         size is zero, record memory as freed.
40339 2013-01-03  Andreas Jaeger  <aj@suse.de>
40341         * po/ia.po: Add new Interlingua translation.
40343 2012-01-03  Allan McRae  <allan@archlinux.org>
40345         * locale/programs/localedef.c: Fix description of '--posix' flag.
40347 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40349         * NEWS: Update dates in second copyright notice.
40350         * README: Update copyright dates in example.
40351         * manual/libc.texinfo: Update copyright dates.
40352         * scripts/test-installation.pl: Update copyright date in --version
40353         output.
40355         * hurd/ctty-input.c: Fix copyright notice formatting.
40356         * hurd/ctty-output.c: Likewise.
40357         * hurd/dtable.c: Likewise.
40358         * hurd/hurd-raise.c: Likewise.
40359         * hurd/hurdprio.c: Likewise.
40360         * hurd/msgportdemux.c: Likewise.
40361         * misc/sys/file.h: Likewise.
40362         * misc/sys/ioctl.h: Likewise.
40363         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40364         * sysdeps/mach/hurd/chdir.c: Likewise.
40365         * sysdeps/mach/hurd/fchdir.c: Likewise.
40366         * sysdeps/mach/hurd/rename.c: Likewise.
40367         * sysdeps/mach/hurd/rmdir.c: Likewise.
40368         * sysdeps/mach/hurd/seekdir.c: Likewise.
40369         * sysdeps/mach/hurd/setsid.c: Likewise.
40370         * sysdeps/posix/wait3.c: Likewise.
40372         * All files with FSF copyright notices: Update copyright dates
40373         using scripts/update-copyrights.
40374         * intl/plural.c: Regenerated.
40375         * locale/programs/charmap-kw.h: Likewise.
40376         * locale/programs/locfile-kw.h: Likewise.
40378 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40380         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40381         four values.
40383         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40384         calculation loop and add branch prediction.
40386         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40387         check access beyond bounds of m1np.
40389         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40390         MPTWO.
40391         (__inv): Remove local variable MPTWO to use the global
40392         constant.
40393         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40394         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40395         variable MPTWO.
40396         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40397         MP3HALFS static const.
40399 2013-01-01  David S. Miller  <davem@davemloft.net>
40401         * po/ca.po: Update from translation team.
40403 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40405         * scripts/update-copyrights: New file.
40406         * Makeconfig: Reformat copyright notice.
40407         * ctype/ctype.h: Likewise.
40408         * debug/swprintf_chk.c: Likewise.
40409         * elf/dl-cache.c: Likewise.
40410         * elf/dl-debug.c: Likewise.
40411         * elf/dl-object.c: Likewise.
40412         * grp/initgroups.c: Likewise.
40413         * hurd/Makefile: Likewise.
40414         * hurd/hurd/signal.h: Likewise.
40415         * hurd/hurdfault.c: Likewise.
40416         * hurd/hurdioctl.c: Likewise.
40417         * hurd/hurdlookup.c: Likewise.
40418         * hurd/intr-msg.c: Likewise.
40419         * iconv/gconv_open.c: Likewise.
40420         * libio/swprintf.c: Likewise.
40421         * locale/lc-ctype.c: Likewise.
40422         * locale/nl_langinfo.c: Likewise.
40423         * mach/Machrules: Likewise.
40424         * mach/Makefile: Likewise.
40425         * malloc/obstack.h: Likewise.
40426         * manual/Makefile: Likewise.
40427         * manual/tsort.awk: Likewise.
40428         * misc/bits/stab.def: Likewise.
40429         * nis/nis_print_group_entry.c: Likewise.
40430         * nis/nis_table.c: Likewise.
40431         * nis/nss_compat/compat-pwd.c: Likewise.
40432         * nis/nss_compat/compat-spwd.c: Likewise.
40433         * po/Makefile: Likewise.
40434         * posix/fnmatch.c: Likewise.
40435         * posix/regex.h: Likewise.
40436         * resolv/Makefile: Likewise.
40437         * resolv/nss_dns/dns-network.c: Likewise.
40438         * resolv/res_hconf.c: Likewise.
40439         * scripts/gen-sorted.awk: Likewise.
40440         * soft-fp/soft-fp.h: Likewise.
40441         * stdio-common/printf.h: Likewise.
40442         * stdlib/monetary.h: Likewise.
40443         * stdlib/random.c: Likewise.
40444         * stdlib/random_r.c: Likewise.
40445         * sysdeps/generic/Makefile: Likewise.
40446         * sysdeps/gnu/Makefile: Likewise.
40447         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40448         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40449         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40450         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40451         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40452         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40453         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40454         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40455         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40456         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40457         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40458         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40459         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40460         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40461         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40462         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40463         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40464         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40465         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40466         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40467         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40468         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40469         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40470         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40471         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40472         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40473         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40474         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40475         * sysdeps/mach/hurd/errnos.awk: Likewise.
40476         * sysdeps/mach/hurd/fork.c: Likewise.
40477         * sysdeps/mach/hurd/getcwd.c: Likewise.
40478         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40479         * sysdeps/mach/hurd/mmap.c: Likewise.
40480         * sysdeps/mach/hurd/utimes.c: Likewise.
40481         * sysdeps/mach/hurd/xmknod.c: Likewise.
40482         * sysdeps/posix/profil.c: Likewise.
40483         * sysdeps/posix/readdir_r.c: Likewise.
40484         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40485         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40486         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40487         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40489         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40490         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40491         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40493         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40494         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40495         * sysdeps/pthread/lio_listio.c: Likewise.
40496         * sysdeps/sparc/dl-procinfo.h: Likewise.
40497         * sysdeps/unix/i386/sysdep.S: Likewise.
40498         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40499         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40500         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40501         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40503         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40504         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40505         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40506         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40507         * sysdeps/wordsize-32/divdi3.c: Likewise.
40508         * time/sys/time.h: Likewise.
40509         * wcsmbs/Makefile: Likewise.
40511 2013-01-01  David S. Miller  <davem@davemloft.net>
40513         * po/fr.po: Update from translation team.
40515         * catgets/gencat.c: Update copyright year.
40516         * csu/version.c: Likewise.
40517         * debug/catchsegv.sh: Likewise.
40518         * debug/pcprofiledump.c: Likewise.
40519         * debug/xtrace.sh: Likewise.
40520         * elf/ldconfig.c: Likewise.
40521         * elf/ldd.bash.in: Likewise.
40522         * elf/pldd.c: Likewise.
40523         * elf/sotruss.ksh: Likewise.
40524         * elf/sprof.c: Likewise.
40525         * iconv/iconv_prog.c: Likewise.
40526         * iconv/iconvconfig.c: Likewise.
40527         * locale/programs/locale.c: Likewise.
40528         * locale/programs/localedef.c: Likewise.
40529         * login/programs/pt_chown.c: Likewise.
40530         * malloc/memusage.sh: Likewise.
40531         * malloc/memusagestat.c: Likewise.
40532         * malloc/mtrace.pl: Likewise.
40533         * nscd/nscd.c: Likewise.
40534         * nss/getent.c: Likewise.
40535         * nss/makedb.c: Likewise.
40536         * posix/getconf.c: Likewise.
40538 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40540         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40541         numbers.
40543 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40545         * math/bits/mathcalls.h (modf): Use __nonnull.
40547 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40549         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40550         (split): Use macro CN instead of the bare value.
40551         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40552         could be used.
40553         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40554         instead of the bare value.
40555         (power1): Likewise.
40557 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40559         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40560         __ATAN_TWOM.
40561         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40563         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40564         their values.
40565         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40566         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40567         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40568         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40570 2012-12-28  Andreas Jaeger  <aj@suse.de>
40572         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40573         values are from Linux 3.7.
40575         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40576         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40578 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40580         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40581         TRUE case.
40583         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40584         (norm): Likewise.
40585         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40586         variables with preprocessor constants.
40587         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40588         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40589         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40591 2012-12-27  Bruno Haible  <bruno@clisp.org>
40593         [BZ #14317]
40594         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40595         only if needed.
40597 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40599         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40600         and use variable directly.
40601         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40603         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40604         MPONE.
40605         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40606         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40607         variable MPONE.
40608         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40609         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40610         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40611         include directive.  Remove local variable MPONE.
40612         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40613         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40614         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40616 2012-12-25  David S. Miller  <davem@davemloft.net>
40618         * version.h (RELEASE): Set to "development".
40619         (VERSION): Set to "2.17.90".
40620         * NEWS: Add 2.18 section.
40622 2012-12-21  David S. Miller  <davem@davemloft.net>
40624         * po/hr.po: Update from translation team.
40626 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40628         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40630 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40632         * NEWS:  Mention new memcpy for MIPS.
40634 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40636         * manual/contrib.texi (Contributors): Spelling correction.
40638 2012-12-15  David S. Miller  <davem@davemloft.net>
40640         * po/ru.po: Update from translation team.
40642 2012-12-13  David S. Miller  <davem@davemloft.net>
40644         * NEWS: Mention IFUNC testsuite enhancements.
40646         * po/pl.po: Update from translation team.
40647         * po/bg.po: Likewise.
40649         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40650         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40652 2012-12-11  David S. Miller  <davem@davemloft.net>
40654         * po/sv.po: Update from translation team.
40656         * po/vi.po: Update from translation team.
40658         * po/cs.po: Update from translation team.
40660         * po/de.po: Update from translation team.
40661         * po/eo.po: Likewise.
40662         * po/nl.po: Likewise.
40664 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40666         [BZ #14246]
40667         * manual/argp.texi (Argp Helper Functions): Move node to follow
40668         Argp Parsing State.
40670         [BZ #14872]
40671         * manual/conf.texi (Limits on File System Capacity): Mention if
40672         terminating null is included in the max size.
40674 2012-12-10  Andreas Jaeger  <aj@suse.de>
40676         * po/cs.po: Update from translation team.
40678 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40680         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40681         void pointer and cast to uintptr_t.
40682         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40683         path.
40684         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40685         * sysdeps/s390/s390-64/memset.S: Likewise.
40687 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40689         [BZ #14833]
40690         * menual/message.texi (Message Translation): Fix typos.
40691         (Helper programs for gettext): Likewise.
40693 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40695         [BZ #14898]
40696         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40697         Change to -1.
40699 2012-12-07  David S. Miller  <davem@davemloft.net>
40701         * po/libc.pot: Update.
40703 2012-12-07  Richard Henderson  <rth@redhat.com>
40705         [BZ #10114]
40706         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40707         normal/normal case to before the switch.
40708         (_FP_DIV): Likewise.
40710 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40711             Mike Frysinger  <vapier@gentoo.org>
40713         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40714         check for __NR_fadvise64_64.
40716 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40718         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40719         0, not just to plain "0" as a statement.
40720         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40721         with cw.
40723 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40725         * NEWS: Use sourceware.org in Bugzilla URL.
40727 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40730         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40732         * stdio-common/tst-put-error.c (do_test): Add newline to the
40733         padded test to ensure flush.
40735 2012-12-05  Jeff Law  <law@redhat.com>
40737         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40739 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40741         * README: Don't refer to ports add-on as distributed separately.
40742         Mention AArch64 in list of systems supported in the ports add-on.
40744         * LICENSES: Add more non-FSF copyright and license notices.
40746         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40747         ((unused)).
40749         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40751         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40752         10000 as width of padded output.
40754 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40756         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40758         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40759         variable LX with __attribute__ ((unused)).
40760         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40761         Likewise.
40762         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40763         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40764         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40765         with __attribute__ ((unused)).
40767 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40769         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40771 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40773         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40774         (CFLAGS-nldbl-acos.c): New variable.
40775         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40776         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40777         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40778         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40779         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40780         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40781         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40782         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40783         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40784         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40785         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40786         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40787         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40788         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40789         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40790         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40791         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40792         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40793         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40794         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40795         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40796         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40797         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40798         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40799         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40800         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40801         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40802         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40803         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40804         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40805         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40806         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40807         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40808         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40809         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40810         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40811         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40812         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40813         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40814         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40815         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40816         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40817         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40818         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40819         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40820         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40821         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40822         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40823         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40824         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40825         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40826         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40827         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40828         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40829         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40830         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40831         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40832         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40833         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40834         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40835         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40836         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40837         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40838         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40839         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40840         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40841         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40842         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40843         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40844         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40845         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40846         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40847         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40848         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40849         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40850         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40851         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40852         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40853         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40854         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40855         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40856         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40857         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40858         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40859         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40860         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40861         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40862         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40863         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40864         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40865         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40866         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40867         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40868         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40869         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40870         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40871         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40874         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40876         [BZ #14914]
40877         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40878         whole low double instead of just low 47 bits when splitting values
40879         into two parts.
40881 2012-12-03  Allan McRae  <allan@archlinux.org>
40883         * manual/stdio.texi (Predefined Printf Handlers): Remove
40884         @hsep and @vsep usage.
40886 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40888         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40889         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40891 2012-12-03  Jeff Law  <law@redhat.com>
40893         * time/sys/time.h (settimeofday): Do not mark TV argument
40894         as __nonnull.
40896 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40898         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40899         when currently writing and seek to current position when not.
40900         * libio/Makefile (tests): Remove bug-fclose1.
40901         * libio/bug-fclose1.c: Delete.
40903 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40905         * manual/arith.texi (feenableexcept): Fix typo.
40906         (fedisableexcept): Likewise.
40908 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40910         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40911         second, differently-typed declaration, rather than a cast.
40913 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40915         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40916         * include/rpc/svc.h: ... here.
40918 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40920         [BZ #13013]
40921         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40922         depending n and resplen2 to catch cases where answer
40923         equals answerp2.
40925 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40927         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40928         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40930 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40932         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40934 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40936         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40938 2012-11-28  Jeff Law  <law@redhat.com>
40940         [BZ #13761]
40941         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40942         dataset_temporary.  Track alloca usage into alloca_used.
40943         If dataset is large allocate and release it via malloc/free.
40945 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40947         [BZ #14197]
40948         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40950 2012-11-28  David S. Miller  <davem@davemloft.net>
40952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40954 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40956         [BZ #14803]
40957         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40958         of pi/2 rounded to nearest to 64 bits.
40959         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40960         nearest to 64 bits.
40961         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40962         bits.
40964 2012-11-28  Jeff Law <law@redhat.com>
40965             Martin Osvald <mosvald@redhat.com>
40967         [BZ #14889]
40968         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40969         * sunrpc/svc.c: Include time.h.
40970         (__svc_accept_failed): New function.
40971         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40972         any reason other than EINTR, call __svc_accept_failed.
40973         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40974         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40976 2012-11-28  Andreas Schwab  <schwab@suse.de>
40978         * scripts/abilist.awk: Also handle indirect functions in .opd
40979         section.
40981 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40983         [BZ #13881]
40984         * sysdeps/x86/fpu/powl_helper.c: New file.
40985         * sysdeps/x86/fpu/Makefile: Likewise.
40986         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40987         (p3): New object.
40988         (__ieee754_powl): Use __powl_helper for finite arguments except
40989         integer exponents below 8.
40990         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40991         (p3): New object.
40992         (__ieee754_powl): Use __powl_helper for finite arguments except
40993         integer exponents below 8.
40994         * math/libm-test.inc (pow_test): Add more tests and enable some
40995         previously disabled tests.
40996         * sysdeps/i386/fpu/libm-test-ulps: Update.
40997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40999 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41000             Carlos O'Donell  <carlos_odonell@mentor.com>
41002         * nss/makedb.c (is_prime): Assert that input is odd and greater
41003         than 4.  Note that fact in a comment too.
41004         (next_prime): Add 4 to input.
41006 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41008         [BZ #11741]
41009         * libio/Makefile (tests): Add test case tst-fwrite-error.
41010         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41011         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41012         * libio/tst-fwrite-error.c: New test case.
41014 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41016         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41017         before casting to void *.
41018         * include/libc-internal.h (__pointer_type): New macro.
41019         (__integer_if_pointer_type_sub): Likewise.
41020         (__integer_if_pointer_type): Likewise.
41021         (cast_to_integer): Likewise.
41022         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41023         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41024         before casting to atomic64_t.
41025         (atomic_exchange_acq): Likewise.
41026         (__arch_exchange_and_add_body): Likewise.
41027         (__arch_add_body): Likewise.
41028         (atomic_add_negative): Likewise.
41029         (atomic_add_zero): Likewise.
41031 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41033         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41034         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41035         (add_fdes): Likewise.
41036         (linear_search_fdes): Likewise.
41037         (binary_search_unencoded_fdes): Likewise.
41039 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41041         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41043 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41045         * configure.in: Autodetect C++ header directories.
41046         * configure: Regenerated.
41048 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41050         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41052 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41056 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41058         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41059         LDBL_MANT_DIG == 106]: Disable some tests.
41060         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41061         Likewise.
41062         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41063         Likewise.
41065         [BZ #14871]
41066         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41067         input for small inputs.  Return +/- pi/2 for large inputs.
41068         * math/libm-test.inc (atan_test): Add more tests.
41070         * sysdeps/generic/unwind-dw2-fde-glibc.c
41071         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41072         __attribute__ ((unused)).
41074         [BZ #14645]
41075         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41076         x * y if x and y are nonzero and z is zero.
41078         [BZ #14811]
41079         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41080         nonzero exponents with absolute value below 0x1p-117 to +/-
41081         0x1p-117.
41083         [BZ #14869]
41084         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41085         up arguments below 2**-450, not just those below 2**-500.
41086         * math/libm-test.inc (hypot_test): Add another test.
41088         [BZ #14868]
41089         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41090         Return a+b for ratio over 2**120, not 2**60.
41091         * math/libm-test.inc (hypot_test): Add another test.
41093         * math/libm-test.inc (clog_test): Use
41094         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41095         (clog10_test): Likewise.
41097         [BZ #6778]
41098         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41100 2012-11-22  Andreas Schwab  <schwab@suse.de>
41102         * sysdeps/i386/fpu/libm-test-ulps: Update.
41104 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41106         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41107         printf output with newline.
41109 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41111         [BZ #14865]
41112         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41113         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41114         -z nodlopen, -z initfirst and -z execstack support.
41115         * configure: Regenerated.
41117         * elf/elf.h (DF_1_NODIRECT): New macro.
41118         (DF_1_IGNMULDEF): Likewise.
41119         (DF_1_NOKSYMS): Likewise.
41120         (DF_1_NOHDR): Likewise.
41121         (DF_1_EDITED): Likewise.
41122         (DF_1_NORELOC): Likewise.
41123         (DF_1_SYMINTPOSE): Likewise.
41124         (DF_1_GLOBAUDIT): Likewise.
41125         (DF_1_SINGLETON): Likewise.
41126         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41127         DT_1_SUPPORTED_MASK bits.
41128         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41130 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41132         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41134 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41136         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41137         macro.
41139         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41140         (sendmmsg): Move declarations...
41141         * socket/sys/socket.h: ... here.
41142         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41143         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41144         include it from...
41145         * socket/recvmmsg.c: ... this new file.
41146         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41147         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41148         definition of __sendmmsg hidden.
41149         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41150         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41151         Move ENOSYS stub into and include it from...
41152         * socket/sendmmsg.c: ... this new file.
41153         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41154         (sysdep_routines): Move recvmmsg and sendmmsg...
41155         * socket/Makefile (routines): ... here.
41156         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41157         (GLIBC_PRIVATE): Add __sendmmsg.
41158         * include/sys/socket.h (__sendmmsg): Add declarations.
41159         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41160         sendmmsg.
41162 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41164         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41165         variable I1 with __attribute__ ((unused)).
41166         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41168 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41170         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41171         DUMMY variables with __attribute__ ((unused)).
41173         * bits/byteswap.h: Include <bits/types.h>.
41174         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41176 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41178         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41179         string_t.  Do not manually set errno.
41180         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41181         length with __strnlen.  Make sure to both set errno and return it on
41182         failure.
41184 2012-11-19  David S. Miller  <davem@davemloft.net>
41186         With help from Joseph Myers.
41187         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41188         very large arguments properly.
41189         * math/libm-test.inc (atan_test): New tests.
41190         (atan2_test): New tests.
41191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41192         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41194 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41196         [BZ #14856]
41197         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41198         Define to 3.
41200         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41201         [POSIX] (EADDRNOTAVAIL): Likewise.
41202         [POSIX] (EAFNOSUPPORT): Likewise.
41203         [POSIX] (EALREADY): Likewise.
41204         [POSIX] (ECONNABORTED): Likewise.
41205         [POSIX] (ECONNREFUSED): Likewise.
41206         [POSIX] (ECONNRESET): Likewise.
41207         [POSIX] (EDESTADDRREQ): Likewise.
41208         [POSIX] (EDQUOT): Likewise.
41209         [POSIX] (EHOSTUNREACH): Likewise.
41210         [POSIX] (EIDRM): Likewise.
41211         [POSIX] (EISCONN): Likewise.
41212         [POSIX] (ELOOP): Likewise.
41213         [POSIX] (EMULTIHOP): Likewise.
41214         [POSIX] (ENETDOWN): Likewise.
41215         [POSIX] (ENETUNREACH): Likewise.
41216         [POSIX] (ENOBUFS): Likewise.
41217         [POSIX] (ENODATA): Likewise.
41218         [POSIX] (ENOLINK): Likewise.
41219         [POSIX] (ENOMSG): Likewise.
41220         [POSIX] (ENOPROTOOPT): Likewise.
41221         [POSIX] (ENOSR): Likewise.
41222         [POSIX] (ENOSTR): Likewise.
41223         [POSIX] (ENOTCONN): Likewise.
41224         [POSIX] (ENOTSOCK): Likewise.
41225         [POSIX] (EOPNOTSUPP): Likewise.
41226         [POSIX] (EOVERFLOW): Likewise.
41227         [POSIX] (EPROTO): Likewise.
41228         [POSIX] (EPROTONOSUPPORT): Likewise.
41229         [POSIX] (EPROTOTYPE): Likewise.
41230         [POSIX] (ESTALE): Likewise.
41231         [POSIX] (ETIME): Likewise.
41232         [POSIX] (ETXTBSY): Likewise.
41233         [POSIX] (EWOULDBLOCK): Likewise.
41234         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41235         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41236         [POSIX] (SEEK_CUR): Likewise.
41237         [POSIX] (SEEK_END): Likewise.
41238         [POSIX || UNIX98] (mode_t): Do not require.
41239         [POSIX] (off_t): Likewise.
41240         [POSIX] (pid_t): Likewise.
41241         [POSIX] (sys/stat.h): Do not allow header.
41242         [POSIX] (unistd.h): Likewise.
41243         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41244         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41245         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41246         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41247         require.
41248         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41249         sigevent): Specify elements.
41250         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41251         entry.
41252         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41253         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41255         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41256         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41257         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41258         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41259         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41260         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41261         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41262         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41263         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41264         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41265         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41266         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41267         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41268         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41269         Likewise.
41270         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41271         Likewise.
41272         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41273         Likewise.
41274         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41275         Likewise.
41276         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41277         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41278         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41279         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41280         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41281         Specify lower bound on value.
41282         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41283         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41284         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41285         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41286         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41287         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41288         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41289         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41290         value.
41291         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41292         as optional.
41293         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41294         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41295         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41296         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41297         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41298         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41299         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41300         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41301         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41302         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41303         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41304         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41305         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41306         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41307         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41308         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41309         entry.
41310         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41311         optional.
41312         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41313         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41314         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41315         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41316         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41317         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41318         Likewise.
41319         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41320         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41321         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41322         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41323         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41324         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41325         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41326         as optional.
41327         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41328         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41329         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41330         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41331         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41332         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41333         specify as optional.
41334         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41335         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41336         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41337         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41338         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41339         [XPG3] (NL_LANGMAX): Likewise.
41340         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41341         [POSIX || XPG3] (NL_NMAX): Likewise.
41342         [POSIX || XPG3] (NL_SETMAX): Likewise.
41343         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41344         [XPG3] (NZERO): Likewise.
41345         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41346         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41347         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41348         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41349         (REG_ERANGE): Expect.
41350         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41351         optional-constant.
41352         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41353         Use (void) in prototype.
41354         [POSIX] (*_t): Allow.
41355         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41356         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41357         (WRDE_BADVAL): Expect.
41359         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41360         expect.
41361         [XPG3 || XPG4] (O_RSYNC): Likewise.
41362         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41363         Likewise.
41364         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41365         [XPG3 || XPG4] (sigqueue): Likewise.
41366         [XPG3 || XPG4] (sigtimedwait): Likewise.
41367         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41368         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41369         [XPG3 || XPG4] (vsnprintf): Likewise.
41370         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41371         Likewise.
41372         [XPG3 || XPG4] (blksize_t): Likewise.
41373         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41374         Likewise.
41375         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41376         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41377         [XPG3 || XPG4] (struct itimerspec): Likewise.
41378         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41379         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41380         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41381         [XPG3 || XPG4] (clockid_t): Likewise.
41382         [XPG3 || XPG4] (timer_t): Likewise.
41383         [XPG3 || XPG4] (clock_getres): Likewise.
41384         [XPG3 || XPG4] (clock_gettime): Likewise.
41385         [XPG3 || XPG4] (clock_settime): Likewise.
41386         [XPG3 || XPG4] (nanosleep): Likewise.
41387         [XPG3 || XPG4] (timer_create): Likewise.
41388         [XPG3 || XPG4] (timer_delete): Likewise.
41389         [XPG3 || XPG4] (timer_gettime): Likewise.
41390         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41391         [XPG3 || XPG4] (timer_settime): Likewise.
41392         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41393         [XPG3 || XPG4] (getlogin_r): Likewise.
41394         [XPG3 || XPG4] (pread): Likewise.
41395         [XPG3 || XPG4] (pthread_atfork): Likewise.
41396         [XPG3 || XPG4] (pwrite): Likewise.
41398         [BZ #14835]
41399         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41400         <bits/siginfo.h>.
41402 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41404         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41405         finalizing MALLSTREAM.
41407         * sysdeps/mach/hurd/syncfs.c: New file.
41409 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41411         [BZ #14719]
41412         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41413         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41414         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41415         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41416         (_nss_dns_gethostbyname4_r): Likewise.
41417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41418         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41420 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41422         [BZ #13763]
41423         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41425 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41427         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41428         * elf/cache.c (print_entry): Print ",AArch64" for
41429         FLAG_AARCH64_LIB64
41431         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41432         * elf/cache.c (print_entry): Print ",hard-float" for
41433         FLAG_ARM_LIBHF.
41435 2012-11-18  David S. Miller  <davem@davemloft.net>
41437         With help from Joseph Myers.
41438         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41439         cutoff to 2**-13.
41440         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41441         cutoff to 2**-25.
41442         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41443         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41444         small.
41445         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41446         * math/libm-test.inc (y0_test): New tests.
41447         (y1_test): New tests.
41448         * sysdeps/i386/fpu/libm-test-ulps: Update.
41449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41452 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41454         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41455         64-bit targets.
41456         * configure: Regenerated.
41458 2012-11-17  David S. Miller  <davem@davemloft.net>
41460         [BZ #14811]
41461         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41462         nonzero exponents with absolute value below 0x1p-128 to +/-
41463         0x1p-128.
41465 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41467         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41469         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41471         * posix/getconf-speclist.c: New file.
41472         * posix/posix-envs.def: Likewise.
41473         * posix/confstr.c (START_ENV_GROUP): New macro.
41474         (END_ENV_GROUP): Likewise.
41475         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41476         (KNOWN_PRESENT_ENV_STRING): Likewise.
41477         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41478         (UNKNOWN_ENVIRONMENT): Likewise.
41479         (confstr): Include posix-envs.def instead of handling
41480         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41481         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41482         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41483         (END_ENV_GROUP): Likewise.
41484         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41485         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41486         (UNKNOWN_ENVIRONMENT): Likewise.
41487         (__sysconf): Include posix-envs.def instead of handling associated
41488         cases directly here.
41489         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41490         preprocessing getconf-speclist.c rather than running getconf or
41491         generating empty file.
41493 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41495         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41497 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41499         [BZ #14672]
41500         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41502 2012-11-16  David S. Miller  <davem@davemloft.net>
41504         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41505         smaller than LDBL_EPSILON/2.0L, just return xm1.
41507 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41509         * elf/tst-array1.c (init): Set constructor priority to 1000.
41510         (fini): Set destructor priority to 1000.
41511         * elf/tst-array2dep.c: Likewise.
41513 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41515         [BZ #11741]
41516         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41517         (_IO_new_file_xsputn): Also return EOF if none of the input
41518         data was written when overflow failed.
41519         * libio/iopadn.c (_IO_padn): Likewise.
41520         * libio/iowpadn.c (_IO_wpadn): Likewise.
41521         * stdio-common/tst-put-error.c: Add copyright notice.
41522         (do_test): Add case for printing padded string.
41523         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41524         _IO_padn returned error.
41525         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41526         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41527         return EOF.
41529 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41531         * libio/libioP.h: Add comment note that the references to C++
41532         bits are now obsolete.
41534 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41536         * math/libm-test.inc (check_complex): Use asprintf.
41538 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41540         * debug/pcprofiledump.c (print_version): Update copyright year.
41541         * malloc/memusagestat.c (print_version): Likewise.
41543 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41545         [BZ #14831]
41546         * elf/Makefile (tests): Add tst-audit8.
41547         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41548         ($(objpfx)tst-audit8.out): New target.
41549         (tst-audit8-ENV): New variable.
41550         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41551         audit if l_reloc_result is NULL.
41552         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41553         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41554         * elf/tst-audit8.c: New file.
41556 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41558         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41559         * misc/Makefile (CFLAGS-select.c): Define.
41560         * posix/Makefile (CFLAGS-pause.c): Define.
41562 2012-11-13  David S. Miller  <davem@davemloft.net>
41564         * crypt/Makefile: Move test targets after toplevel Rules
41565         inclusion.  Grab any necessary sysdep routines when linking.
41566         * crypt/md5.c (md5_process_block): Remove define, we will always
41567         name it __md5_process_block.
41568         (md5_finish_ctx): Update md5_process_block call.
41569         (md5_stream): Likewise.
41570         (md5_process_bytes): Likewise.
41571         (md5_process_block): Rename to __md5_process_block and move to ...
41572         * crypt/md5-block.c: ... here.
41573         * crypt/sha256.c (sha256_process_block): Move to ...
41574         * crypt/sha256-block.c: ... here.
41575         * crypt/sha512.c (sha512_process_block): Move to ...
41576         * crypt/sha512-block.c: ... here.
41577         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41578         path.
41579         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41580         * sysdeps/sparc/sparc64/multiarch/Makefile
41581         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41582         crypt subdir.
41583         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41584         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41585         multiarch changes.
41586         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41587         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41588         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41589         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41590         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41591         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41592         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41593         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41594         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41595         file.
41596         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41597         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41598         file.
41599         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41601 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41603         * timezone/tzselect.ksh: Update from tzcode git revision
41604         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41605         * timezone/zdump.c: Likewise.
41606         * timezone/zic.c: Likewise.
41607         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41608         in TZVERSION setting, not $(PKGVERSION).
41609         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41610         REPORT_BUGS_TO settings.
41612         [BZ #14838]
41613         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41614         macro.
41616 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41618         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41619         detection to immediately after _FP_ROUND().
41620         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41621         bits are 0.
41623 2012-11-11  David S. Miller  <davem@davemloft.net>
41625         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41626         inttypes.h
41627         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41628         __close rather than their public counterparts.
41630 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41632         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41633         file.
41634         [UNIX98] (sem_timedwait): Do not expect.
41635         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41636         [XPG4 || UNIX98] (sockatmark): Do not expect.
41637         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41638         (clock_getcpuclockid): Do not expect.
41639         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41640         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41641         Do not expect.
41642         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41643         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41644         [UNIX98] (vwscanf): Likewise.
41645         [UNIX98] (vswscanf): Likewise.
41647 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41649         * timezone/version.h: Remove file.
41650         * timezone/README: Do not refer to version.h.
41651         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41652         $(objpfx)version.h.
41653         ($(objpfx)zdump.o): Likewise.
41654         ($(objpfx)version.h): New target.
41656         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41657         2012i.
41658         * timezone/README: Don't mention modification to tzselect.ksh.
41659         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41660         work on unmodified tzselect.ksh.  Substitute version numbers in
41661         tzselect.ksh.
41663         * Makefile (format-me): Remove.
41664         (INSTALL): Adjust indentation.  Use commands directly instead of
41665         using $(format-me).
41667         * aclocal.m4 (ACX_PKGVERSION): New macro.
41668         (ACX_BUGURL): Likewise.
41669         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41670         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41671         (REPORT_BUGS_TO): Likewise.
41672         * configure: Regenerated.
41673         * config.h.in (PKGVERSION): New macro.
41674         (REPORT_BUGS_TO): Likewise.
41675         * config.make.in (PKGVERSION): New variable.
41676         (PKGVERSION_TEXI): Likewise.
41677         (REPORT_BUGS_TO): Likewise.
41678         (REPORT_BUGS_TEXI): Likewise.
41679         * Makefile (format-me): Use -I$(common-objpfx)manual.
41680         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41681         ($(common-objpfx)manual/%): New target.
41682         (manual/%): Remove target.
41683         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41684         (print_version): Use PKGVERSION.
41685         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41686         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41687         and REPORT_BUGS_TO.
41688         ($(objpfx)xtrace): Likewise.
41689         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41690         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41691         (print_version): Use PKGVERSION.
41692         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41693         (do_version): Use PKGVERSION.
41694         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41695         REPORT_BUGS_TO.
41696         (common-ldd-rewrite): Likewise.
41697         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41698         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41699         (print_version): Use PKGVERSION.
41700         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41701         * elf/pldd.c (argp_program_bug_address): Remove variable.
41702         (more_help): New function.
41703         (argp): Use more_help.
41704         (print_version): Use PKGVERSION.
41705         * elf/sln.c (main): Use PKGVERSION.
41706         (usage): Use REPORT_BUGS_TO.
41707         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41708         (top level): Use PKGVERSION.
41709         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41710         (print_version): Use PKGVERSION.
41711         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41712         (print_version): Use PKGVERSION.
41713         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41714         (print_version): Use PKGVERSION.
41715         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41716         (print_version): Use PKGVERSION.
41717         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41718         (print_version): Use PKGVERSION.
41719         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41720         (print_version): Use PKGVERSION.
41721         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41722         and BUGURL.
41723         ($(objpfx)memusage): Likewise.
41724         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41725         (do_version): Use PKGVERSION.
41726         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41727         (print_version): Use PKGVERSION.
41728         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41729         ($PKGVERSION): New variable.
41730         ($REPORT_BUGS_TO): Likewise.
41731         (usage): Use $REPORT_BUGS_TO.
41732         (top level): Use $PKGVERSION.
41733         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41734         ($(objpfx)pkgvers.texi): New rule.
41735         ($(objpfx)stamp-pkgvers): Likewise.
41736         * manual/install.texi: Include pkgvers.texi.
41737         (--with-pkgversion): Document new configure option.
41738         (--with-bugurl): Likewise.
41739         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41740         than necessarily for this particular distribution.  Use
41741         REPORT_BUGS_TO for where to report bugs.
41742         * INSTALL: Regenerated.
41743         * manual/libc.texinfo: Include pkgvers.texi.
41744         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41745         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41746         (print_version): Use PKGVERSION.
41747         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41748         (print_version): Use PKGVERSION.
41749         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41750         (print_version): Use PKGVERSION.
41751         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41752         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41753         macro.
41754         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41755         (print_version): Use PKGVERSION.
41756         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41757         (print_version): Use PKGVERSION.
41758         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41759         and PKGVERSION.
41761         * timezone/checktab.awk: Update from tzcode 2012i.
41762         * timezone/ialloc.c: Likewise.
41763         * timezone/private.h: Likewise.
41764         * timezone/scheck.c: Likewise.
41765         * timezone/tzfile.h: Likewise.
41766         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41767         (TZVERSION): Hardcode tzcode version number.
41768         * timezone/zdump.c: Update from tzcode 2012i.
41769         * timezone/zic.c: Likewise.
41770         * timezone/version.h: New file.
41771         * timezone/README: Describe version.h.  Update upstream location.
41773         [BZ #14824]
41774         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41775         (mktemp): Enable declaration.
41776         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41777         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41778         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41779         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41780         Likewise.
41781         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41782         Likewise.
41783         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41784         Likewise.
41785         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41786         Likewise.
41787         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41788         Likewise.
41789         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41790         Likewise.
41792         [BZ #14821]
41793         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41794         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41795         for copies of such integer values.
41796         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41797         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41799 2012-11-09  Andreas Jaeger  <aj@suse.de>
41801         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41802         definitions and declarations that are provided by
41803         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41805 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41807         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41808         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41809         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41810         definition.
41812 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41814         * elf/elf.h: Update comment before AArch64 relocations.
41816 2012-11-07  David S. Miller  <davem@davemloft.net>
41818         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41819         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41820         (__start_context): Declare.
41821         (__makecontext_ret): Delete.
41822         (__makecontext): Hook up __start_context instead of
41823         __makecontext_ret.
41824         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41825         (sysdep_routines): Add __start_context when in stdlib.
41827 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41829         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41830         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41831         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41832         hardcoded "nm".
41833         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41834         (READELF): New variable.  Use it instead of hardcoded "readelf".
41836 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41838         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41839         * sysdeps/x86/Makefile: Here.
41840         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41841         * sysdeps/x86/tst-xmmymm.sh: This.
41843 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41845         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41846         expectations.
41847         [UNIX98] (pthread_barrier_t): Do not expect.
41848         [UNIX98] (pthread_barrierattr_t): Likewise.
41849         [UNIX98] (pthread_spinlock_t): Likewise.
41850         [UNIX98] (pthread_barrier_destroy): Likewise.
41851         [UNIX98] (pthread_barrier_init): Likewise.
41852         [UNIX98] (pthread_barrier_wait): Likewise.
41853         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41854         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41855         [UNIX98] (pthread_barrierattr_init): Likewise.
41856         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41857         [UNIX98] (pthread_getcpuclockid): Likewise.
41858         [UNIX98] (pthread_mutex_timedlock): Likewise.
41859         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41860         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41861         [UNIX98] (pthread_sigmask): Likewise.
41862         [UNIX98] (pthread_spin_destroy): Likewise.
41863         [UNIX98] (pthread_spin_init): Likewise.
41864         [UNIX98] (pthread_spin_lock): Likewise.
41865         [UNIX98] (pthread_spin_trylock): Likewise.
41866         [UNIX98] (pthread_spin_unlock): Likewise.
41867         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41868         Do not expect.
41869         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41870         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41871         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41872         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41873         [XPG3 || XPG4] (pthread_key_t): Likewise.
41874         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41875         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41876         [XPG3 || XPG4] (pthread_once_t): Likewise.
41877         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41878         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41879         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41880         [XPG3 || XPG4] (pthread_t): Likewise.
41882         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41883         not expect.
41884         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41886         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41887         Change function return type to int.
41889         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41890         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41891         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41892         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41893         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41894         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41895         [!POSIX] (posix_madvise): Likewise.
41896         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41897         && !UNIX98].
41898         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41899         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41900         (mode_t): Likewise.
41901         (posix_mem_offset): Likewise.
41902         (posix_typed_mem_get_info): Likewise.
41903         (posix_typed_mem_open): Likewise.
41905         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41906         Change condition to [XOPEN2K8].
41908         * conform/conformtest.pl: Preprocess allow-header data with -x c
41909         instead of from stdin.
41910         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41911         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41912         [C99-based standards] (cerfc): Likewise.
41913         [C99-based standards] (cexp2): Likewise.
41914         [C99-based standards] (cexpm1): Likewise.
41915         [C99-based standards] (clog10): Likewise.
41916         [C99-based standards] (clog1p): Likewise.
41917         [C99-based standards] (clog2): Likewise.
41918         [C99-based standards] (clgamma): Likewise.
41919         [C99-based standards] (ctgamma): Likewise.
41920         [C99-based standards] (cerff): Likewise.
41921         [C99-based standards] (cerfcf): Likewise.
41922         [C99-based standards] (cexp2f): Likewise.
41923         [C99-based standards] (cexpm1f): Likewise.
41924         [C99-based standards] (clog10f): Likewise.
41925         [C99-based standards] (clog1pf): Likewise.
41926         [C99-based standards] (clog2f): Likewise.
41927         [C99-based standards] (clgammaf): Likewise.
41928         [C99-based standards] (ctgammaf): Likewise.
41929         [C99-based standards] (cerfl): Likewise.
41930         [C99-based standards] (cerfcl): Likewise.
41931         [C99-based standards] (cexp2l): Likewise.
41932         [C99-based standards] (cexpm1l): Likewise.
41933         [C99-based standards] (clog10l): Likewise.
41934         [C99-based standards] (clog1pl): Likewise.
41935         [C99-based standards] (clog2l): Likewise.
41936         [C99-based standards] (clgammal): Likewise.
41937         [C99-based standards] (ctgammal): Likewise.
41938         * conform/data/inttypes.h-data [C99-based standards]: Include
41939         stdint.h-data.  Remove all expectations for stdint.h contents.
41940         [C99-based standards] (PRI*): Do not allow.
41941         [C99-based standards] (SCN*): Likewise.
41942         [C99-based standards] (*_t): Likewise.
41943         [C99-based-standards] (PRId8): Expect macro.
41944         [C99-based-standards] (PRIi8): Likewise.
41945         [C99-based-standards] (PRIo8): Likewise.
41946         [C99-based-standards] (PRIu8): Likewise.
41947         [C99-based-standards] (PRIx8): Likewise.
41948         [C99-based-standards] (PRIX8): Likewise.
41949         [C99-based-standards] (SCNd8): Likewise.
41950         [C99-based-standards] (SCNi8): Likewise.
41951         [C99-based-standards] (SCNo8): Likewise.
41952         [C99-based-standards] (SCNu8): Likewise.
41953         [C99-based-standards] (SCNx8): Likewise.
41954         [C99-based-standards] (PRIdLEAST8): Likewise.
41955         [C99-based-standards] (PRIiLEAST8): Likewise.
41956         [C99-based-standards] (PRIoLEAST8): Likewise.
41957         [C99-based-standards] (PRIuLEAST8): Likewise.
41958         [C99-based-standards] (PRIxLEAST8): Likewise.
41959         [C99-based-standards] (PRIXLEAST8): Likewise.
41960         [C99-based-standards] (SCNdLEAST8): Likewise.
41961         [C99-based-standards] (SCNiLEAST8): Likewise.
41962         [C99-based-standards] (SCNoLEAST8): Likewise.
41963         [C99-based-standards] (SCNuLEAST8): Likewise.
41964         [C99-based-standards] (SCNxLEAST8): Likewise.
41965         [C99-based-standards] (PRIdFAST8): Likewise.
41966         [C99-based-standards] (PRIiFAST8): Likewise.
41967         [C99-based-standards] (PRIoFAST8): Likewise.
41968         [C99-based-standards] (PRIuFAST8): Likewise.
41969         [C99-based-standards] (PRIxFAST8): Likewise.
41970         [C99-based-standards] (PRIXFAST8): Likewise.
41971         [C99-based-standards] (SCNdFAST8): Likewise.
41972         [C99-based-standards] (SCNiFAST8): Likewise.
41973         [C99-based-standards] (SCNoFAST8): Likewise.
41974         [C99-based-standards] (SCNuFAST8): Likewise.
41975         [C99-based-standards] (SCNxFAST8): Likewise.
41976         [C99-based-standards] (PRId16): Likewise.
41977         [C99-based-standards] (PRIi16): Likewise.
41978         [C99-based-standards] (PRIo16): Likewise.
41979         [C99-based-standards] (PRIu16): Likewise.
41980         [C99-based-standards] (PRIx16): Likewise.
41981         [C99-based-standards] (PRIX16): Likewise.
41982         [C99-based-standards] (SCNd16): Likewise.
41983         [C99-based-standards] (SCNi16): Likewise.
41984         [C99-based-standards] (SCNo16): Likewise.
41985         [C99-based-standards] (SCNu16): Likewise.
41986         [C99-based-standards] (SCNx16): Likewise.
41987         [C99-based-standards] (PRIdLEAST16): Likewise.
41988         [C99-based-standards] (PRIiLEAST16): Likewise.
41989         [C99-based-standards] (PRIoLEAST16): Likewise.
41990         [C99-based-standards] (PRIuLEAST16): Likewise.
41991         [C99-based-standards] (PRIxLEAST16): Likewise.
41992         [C99-based-standards] (PRIXLEAST16): Likewise.
41993         [C99-based-standards] (SCNdLEAST16): Likewise.
41994         [C99-based-standards] (SCNiLEAST16): Likewise.
41995         [C99-based-standards] (SCNoLEAST16): Likewise.
41996         [C99-based-standards] (SCNuLEAST16): Likewise.
41997         [C99-based-standards] (SCNxLEAST16): Likewise.
41998         [C99-based-standards] (PRIdFAST16): Likewise.
41999         [C99-based-standards] (PRIiFAST16): Likewise.
42000         [C99-based-standards] (PRIoFAST16): Likewise.
42001         [C99-based-standards] (PRIuFAST16): Likewise.
42002         [C99-based-standards] (PRIxFAST16): Likewise.
42003         [C99-based-standards] (PRIXFAST16): Likewise.
42004         [C99-based-standards] (SCNdFAST16): Likewise.
42005         [C99-based-standards] (SCNiFAST16): Likewise.
42006         [C99-based-standards] (SCNoFAST16): Likewise.
42007         [C99-based-standards] (SCNuFAST16): Likewise.
42008         [C99-based-standards] (SCNxFAST16): Likewise.
42009         [C99-based-standards] (PRId32): Likewise.
42010         [C99-based-standards] (PRIi32): Likewise.
42011         [C99-based-standards] (PRIo32): Likewise.
42012         [C99-based-standards] (PRIu32): Likewise.
42013         [C99-based-standards] (PRIx32): Likewise.
42014         [C99-based-standards] (PRIX32): Likewise.
42015         [C99-based-standards] (SCNd32): Likewise.
42016         [C99-based-standards] (SCNi32): Likewise.
42017         [C99-based-standards] (SCNo32): Likewise.
42018         [C99-based-standards] (SCNu32): Likewise.
42019         [C99-based-standards] (SCNx32): Likewise.
42020         [C99-based-standards] (PRIdLEAST32): Likewise.
42021         [C99-based-standards] (PRIiLEAST32): Likewise.
42022         [C99-based-standards] (PRIoLEAST32): Likewise.
42023         [C99-based-standards] (PRIuLEAST32): Likewise.
42024         [C99-based-standards] (PRIxLEAST32): Likewise.
42025         [C99-based-standards] (PRIXLEAST32): Likewise.
42026         [C99-based-standards] (SCNdLEAST32): Likewise.
42027         [C99-based-standards] (SCNiLEAST32): Likewise.
42028         [C99-based-standards] (SCNoLEAST32): Likewise.
42029         [C99-based-standards] (SCNuLEAST32): Likewise.
42030         [C99-based-standards] (SCNxLEAST32): Likewise.
42031         [C99-based-standards] (PRIdFAST32): Likewise.
42032         [C99-based-standards] (PRIiFAST32): Likewise.
42033         [C99-based-standards] (PRIoFAST32): Likewise.
42034         [C99-based-standards] (PRIuFAST32): Likewise.
42035         [C99-based-standards] (PRIxFAST32): Likewise.
42036         [C99-based-standards] (PRIXFAST32): Likewise.
42037         [C99-based-standards] (SCNdFAST32): Likewise.
42038         [C99-based-standards] (SCNiFAST32): Likewise.
42039         [C99-based-standards] (SCNoFAST32): Likewise.
42040         [C99-based-standards] (SCNuFAST32): Likewise.
42041         [C99-based-standards] (SCNxFAST32): Likewise.
42042         [C99-based-standards] (PRId64): Likewise.
42043         [C99-based-standards] (PRIi64): Likewise.
42044         [C99-based-standards] (PRIo64): Likewise.
42045         [C99-based-standards] (PRIu64): Likewise.
42046         [C99-based-standards] (PRIx64): Likewise.
42047         [C99-based-standards] (PRIX64): Likewise.
42048         [C99-based-standards] (SCNd64): Likewise.
42049         [C99-based-standards] (SCNi64): Likewise.
42050         [C99-based-standards] (SCNo64): Likewise.
42051         [C99-based-standards] (SCNu64): Likewise.
42052         [C99-based-standards] (SCNx64): Likewise.
42053         [C99-based-standards] (PRIdLEAST64): Likewise.
42054         [C99-based-standards] (PRIiLEAST64): Likewise.
42055         [C99-based-standards] (PRIoLEAST64): Likewise.
42056         [C99-based-standards] (PRIuLEAST64): Likewise.
42057         [C99-based-standards] (PRIxLEAST64): Likewise.
42058         [C99-based-standards] (PRIXLEAST64): Likewise.
42059         [C99-based-standards] (SCNdLEAST64): Likewise.
42060         [C99-based-standards] (SCNiLEAST64): Likewise.
42061         [C99-based-standards] (SCNoLEAST64): Likewise.
42062         [C99-based-standards] (SCNuLEAST64): Likewise.
42063         [C99-based-standards] (SCNxLEAST64): Likewise.
42064         [C99-based-standards] (PRIdFAST64): Likewise.
42065         [C99-based-standards] (PRIiFAST64): Likewise.
42066         [C99-based-standards] (PRIoFAST64): Likewise.
42067         [C99-based-standards] (PRIuFAST64): Likewise.
42068         [C99-based-standards] (PRIxFAST64): Likewise.
42069         [C99-based-standards] (PRIXFAST64): Likewise.
42070         [C99-based-standards] (SCNdFAST64): Likewise.
42071         [C99-based-standards] (SCNiFAST64): Likewise.
42072         [C99-based-standards] (SCNoFAST64): Likewise.
42073         [C99-based-standards] (SCNuFAST64): Likewise.
42074         [C99-based-standards] (SCNxFAST64): Likewise.
42075         [C99-based-standards] (PRIdMAX): Likewise.
42076         [C99-based-standards] (PRIiMAX): Likewise.
42077         [C99-based-standards] (PRIoMAX): Likewise.
42078         [C99-based-standards] (PRIuMAX): Likewise.
42079         [C99-based-standards] (PRIxMAX): Likewise.
42080         [C99-based-standards] (PRIXMAX): Likewise.
42081         [C99-based-standards] (SCNdMAX): Likewise.
42082         [C99-based-standards] (SCNiMAX): Likewise.
42083         [C99-based-standards] (SCNoMAX): Likewise.
42084         [C99-based-standards] (SCNuMAX): Likewise.
42085         [C99-based-standards] (SCNxMAX): Likewise.
42086         [C99-based-standards] (PRIdPTR): Likewise.
42087         [C99-based-standards] (PRIiPTR): Likewise.
42088         [C99-based-standards] (PRIoPTR): Likewise.
42089         [C99-based-standards] (PRIuPTR): Likewise.
42090         [C99-based-standards] (PRIxPTR): Likewise.
42091         [C99-based-standards] (PRIXPTR): Likewise.
42092         [C99-based-standards] (SCNdPTR): Likewise.
42093         [C99-based-standards] (SCNiPTR): Likewise.
42094         [C99-based-standards] (SCNoPTR): Likewise.
42095         [C99-based-standards] (SCNuPTR): Likewise.
42096         [C99-based-standards] (SCNxPTR): Likewise.
42097         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42098         allow.
42099         * conform/data/stdint.h-data: Update comments to clarify
42100         requirements.
42101         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42102         type.
42103         [C99-based standards] (INT8_MAX): Likewise.
42104         [C99-based standards] (INT16_MIN): Likewise.
42105         [C99-based standards] (INT16_MAX): Likewise.
42106         [C99-based standards] (INT32_MIN): Likewise.
42107         [C99-based standards] (INT32_MAX): Likewise.
42108         [C99-based standards] (INT64_MIN): Likewise.
42109         [C99-based standards] (INT64_MAX): Likewise.
42110         [C99-based standards] (UINT8_MAX): Likewise.
42111         [C99-based standards] (UINT16_MAX): Likewise.
42112         [C99-based standards] (UINT32_MAX): Likewise.
42113         [C99-based standards] (UINT64_MAX): Likewise.
42114         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42115         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42116         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42117         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42118         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42119         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42120         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42121         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42122         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42123         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42124         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42125         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42126         [C99-based standards] (INT_FAST8_MIN): Likewise.
42127         [C99-based standards] (INT_FAST8_MAX): Likewise.
42128         [C99-based standards] (INT_FAST16_MIN): Likewise.
42129         [C99-based standards] (INT_FAST16_MAX): Likewise.
42130         [C99-based standards] (INT_FAST32_MIN): Likewise.
42131         [C99-based standards] (INT_FAST32_MAX): Likewise.
42132         [C99-based standards] (INT_FAST64_MIN): Likewise.
42133         [C99-based standards] (INT_FAST64_MAX): Likewise.
42134         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42135         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42136         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42137         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42138         [C99-based standards] (INTPTR_MIN): Likewise.
42139         [C99-based standards] (INTPTR_MAX): Likewise.
42140         [C99-based standards] (UINTPTR_MAX): Likewise.
42141         [C99-based standards] (INTMAX_MIN): Likewise.
42142         [C99-based standards] (INTMAX_MAX): Likewise.
42143         [C99-based standards] (UINTMAX_MAX): Likewise.
42144         [C99-based standards] (PTRDIFF_MIN): Likewise.
42145         [C99-based standards] (PTRDIFF_MAX): Likewise.
42146         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42147         [C99-based standards] (SIZE_MAX): Likewise.
42148         [C99-based standards] (WCHAR_MAX): Likewise.
42149         [C99-based standards] (WINT_MAX): Likewise.
42150         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42151         constraint on value.
42152         [C99-based standards] (WCHAR_MIN): Likewise.
42153         [C99-based standards] (WINT_MIN): Likewise.
42154         [C99-based standards] (*_t): Allow.
42155         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42156         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42157         Include math.h-data and complex.h-data.  Remove all expectations
42158         of math.h and complex.h contents.
42159         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42160         at end of line.
42161         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42162         (struct tm): Expect tag.
42163         [C99-based-standards] (wcstof): Expect function.
42164         [C99-based-standards] (wcstold): Likewise.
42165         [C99-based-standards] (wcstoll): Likewise.
42166         [C99-based-standards] (wcstoull): Likewise.
42167         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42168         macro-int-constant.  Specify type.
42169         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42170         constraint on value.
42171         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42172         Specify type.
42173         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42174         Specify value.
42175         [ISO C standards]: Do not allow headers.
42176         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42177         wcs[abcdefghijklmnopqrstuvwxyz]*.
42178         [ISO C standards] (*_t): Do not allow.
42179         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42180         Expect function.
42181         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42182         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42183         Specify type.
42184         [ISO C standards]: Do not allow headers.
42185         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42186         is[abcdefghijklmnopqrstuvwxyz]*.
42187         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42188         to[abcdefghijklmnopqrstuvwxyz]*.
42189         [ISO C standards] (*_t): Do not allow.
42190         * conform/data/stdalign.h-data: New file.
42191         * conform/data/stdbool.h-data: Likewise.
42192         * conform/data/stdnoreturn.h-data: Likewise.
42194 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42196         [BZ #14815]
42197         * manual/filesys.texi (Directory Entries): Typo fix.
42198         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42200 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42202         * elf/elf.h (EM_AARCH64): New macro.
42203         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42204         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42205         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42206         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42207         (R_AARCH64_TLSDESC): Likewise.
42208         (NT_ARM_TLS): Likewise.
42209         (NT_ARM_HW_BREAK): Likewise.
42210         (NT_ARM_HW_WATCH): Likewise.
42212 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42214         [BZ #14811]
42215         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42216         (__ieee754_powl): Saturate nonzero exponents with absolute value
42217         below 0x1p-79 to +/- 0x1p-79.
42218         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42219         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42220         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42221         nonzero exponents with absolute value below 0x1p-32 to +/-
42222         0x1p-32.
42223         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42224         (__ieee754_powl): Saturate nonzero exponents with absolute value
42225         below 0x1p-79 to +/- 0x1p-79.
42226         * math/libm-test.inc (pow_test): Add more tests.
42228 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42230         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42231         _dl_s390_cap_flags with kernel. Increase string length.
42232         (_dl_s390_platforms): Add z196 and zEC12.
42234 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42236         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42237         Change XOPEN21K to XOPEN2K.
42239 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42241         * string/memmove.c: Use memcpy when possible.
42243 2012-11-06  Andreas Jaeger  <aj@suse.de>
42245         * po/eo.po: Update from translation team.
42247 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42249         [BZ #14793]
42250         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42251         exponent and small x and y exponents, scale x or y up.  Increase
42252         by 2 the exponent used in scaling up.
42253         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42254         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42255         * math/libm-test.inc (fma_test): Add more tests.
42256         (fma_test_towardzero): Likewise.
42257         (fma_test_downward): Likewise.
42258         (fma_test_upward): Likewise.
42260 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42262         [BZ #14805]
42263         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42264         fenv_t *.
42266         [BZ #14801]
42267         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42268         namespace for names of struct fields.
42269         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42270         fenv_t fields.
42271         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42272         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42274 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42276         [BZ #3665]
42277         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42279 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42281         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42282         PTR_DEMANGLE.
42284         [BZ #5246]
42285         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42286         PTR_DEMANGLE.
42288 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42290         [BZ #14797]
42291         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42292         definitely overflow as x * y not x * y + z.
42293         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42294         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42295         * math/libm-test.inc (fma_test): Add more tests.
42296         (fma_test_towardzero): Likewise.
42297         (fma_test_downward): Likewise.
42298         (fma_test_upward): Likewise.
42300 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42302         [BZ #157]
42304         * include/stub-tag.h: Remove file.
42305         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42306         '#include' of it.
42307         * manual/maint.texi (Porting): Don't reference it.
42308         * Makerules ($(objpfx)stubs): Likewise.
42309         * dirent/closedir.c: Don't include <stub-tag.h>.
42310         * dirent/dirfd.c: Likewise.
42311         * dirent/fdopendir.c: Likewise.
42312         * dirent/getdents.c: Likewise.
42313         * dirent/getdents64.c: Likewise.
42314         * dirent/opendir.c: Likewise.
42315         * dirent/readdir.c: Likewise.
42316         * dirent/readdir64.c: Likewise.
42317         * dirent/readdir64_r.c: Likewise.
42318         * dirent/readdir_r.c: Likewise.
42319         * dirent/rewinddir.c: Likewise.
42320         * dirent/seekdir.c: Likewise.
42321         * dirent/telldir.c: Likewise.
42322         * gmon/profil.c: Likewise.
42323         * grp/setgroups.c: Likewise.
42324         * inet/if_index.c: Likewise.
42325         * io/access.c: Likewise.
42326         * io/chdir.c: Likewise.
42327         * io/chmod.c: Likewise.
42328         * io/chown.c: Likewise.
42329         * io/close.c: Likewise.
42330         * io/dup.c: Likewise.
42331         * io/dup2.c: Likewise.
42332         * io/dup3.c: Likewise.
42333         * io/euidaccess.c: Likewise.
42334         * io/faccessat.c: Likewise.
42335         * io/fchdir.c: Likewise.
42336         * io/fchmod.c: Likewise.
42337         * io/fchmodat.c: Likewise.
42338         * io/fchown.c: Likewise.
42339         * io/fchownat.c: Likewise.
42340         * io/fcntl.c: Likewise.
42341         * io/flock.c: Likewise.
42342         * io/fstatfs.c: Likewise.
42343         * io/fstatfs64.c: Likewise.
42344         * io/fstatvfs.c: Likewise.
42345         * io/fstatvfs64.c: Likewise.
42346         * io/futimens.c: Likewise.
42347         * io/fxstat.c: Likewise.
42348         * io/fxstat64.c: Likewise.
42349         * io/fxstatat.c: Likewise.
42350         * io/fxstatat64.c: Likewise.
42351         * io/getcwd.c: Likewise.
42352         * io/isatty.c: Likewise.
42353         * io/lchmod.c: Likewise.
42354         * io/lchown.c: Likewise.
42355         * io/link.c: Likewise.
42356         * io/linkat.c: Likewise.
42357         * io/lseek.c: Likewise.
42358         * io/lseek64.c: Likewise.
42359         * io/lxstat64.c: Likewise.
42360         * io/mkdir.c: Likewise.
42361         * io/mkdirat.c: Likewise.
42362         * io/mkfifo.c: Likewise.
42363         * io/mkfifoat.c: Likewise.
42364         * io/open.c: Likewise.
42365         * io/open64.c: Likewise.
42366         * io/openat.c: Likewise.
42367         * io/openat64.c: Likewise.
42368         * io/pipe.c: Likewise.
42369         * io/pipe2.c: Likewise.
42370         * io/poll.c: Likewise.
42371         * io/posix_fadvise.c: Likewise.
42372         * io/posix_fadvise64.c: Likewise.
42373         * io/posix_fallocate.c: Likewise.
42374         * io/posix_fallocate64.c: Likewise.
42375         * io/read.c: Likewise.
42376         * io/readlink.c: Likewise.
42377         * io/readlinkat.c: Likewise.
42378         * io/rmdir.c: Likewise.
42379         * io/sendfile.c: Likewise.
42380         * io/sendfile64.c: Likewise.
42381         * io/statfs.c: Likewise.
42382         * io/statfs64.c: Likewise.
42383         * io/statvfs.c: Likewise.
42384         * io/statvfs64.c: Likewise.
42385         * io/symlink.c: Likewise.
42386         * io/symlinkat.c: Likewise.
42387         * io/ttyname.c: Likewise.
42388         * io/ttyname_r.c: Likewise.
42389         * io/umask.c: Likewise.
42390         * io/unlink.c: Likewise.
42391         * io/unlinkat.c: Likewise.
42392         * io/utime.c: Likewise.
42393         * io/utimensat.c: Likewise.
42394         * io/write.c: Likewise.
42395         * io/xmknod.c: Likewise.
42396         * io/xmknodat.c: Likewise.
42397         * io/xstat.c: Likewise.
42398         * io/xstat64.c: Likewise.
42399         * login/getpt.c: Likewise.
42400         * login/grantpt.c: Likewise.
42401         * login/unlockpt.c: Likewise.
42402         * math/e_acoshl.c: Likewise.
42403         * math/e_acosl.c: Likewise.
42404         * math/e_asinl.c: Likewise.
42405         * math/e_atan2l.c: Likewise.
42406         * math/e_atanhl.c: Likewise.
42407         * math/e_coshl.c: Likewise.
42408         * math/e_expl.c: Likewise.
42409         * math/e_fmodl.c: Likewise.
42410         * math/e_gammal_r.c: Likewise.
42411         * math/e_hypotl.c: Likewise.
42412         * math/e_j0l.c: Likewise.
42413         * math/e_j1l.c: Likewise.
42414         * math/e_jnl.c: Likewise.
42415         * math/e_lgammal_r.c: Likewise.
42416         * math/e_log10l.c: Likewise.
42417         * math/e_log2l.c: Likewise.
42418         * math/e_logl.c: Likewise.
42419         * math/e_powl.c: Likewise.
42420         * math/e_rem_pio2l.c: Likewise.
42421         * math/e_sinhl.c: Likewise.
42422         * math/e_sqrtl.c: Likewise.
42423         * math/fclrexcpt.c: Likewise.
42424         * math/fedisblxcpt.c: Likewise.
42425         * math/feenablxcpt.c: Likewise.
42426         * math/fegetenv.c: Likewise.
42427         * math/fegetexcept.c: Likewise.
42428         * math/fegetround.c: Likewise.
42429         * math/feholdexcpt.c: Likewise.
42430         * math/fesetenv.c: Likewise.
42431         * math/fesetround.c: Likewise.
42432         * math/feupdateenv.c: Likewise.
42433         * math/fgetexcptflg.c: Likewise.
42434         * math/fraiseexcpt.c: Likewise.
42435         * math/fsetexcptflg.c: Likewise.
42436         * math/ftestexcept.c: Likewise.
42437         * math/k_cosl.c: Likewise.
42438         * math/k_rem_pio2l.c: Likewise.
42439         * math/k_sinl.c: Likewise.
42440         * math/k_tanl.c: Likewise.
42441         * math/s_asinhl.c: Likewise.
42442         * math/s_atanl.c: Likewise.
42443         * math/s_cbrtl.c: Likewise.
42444         * math/s_erfl.c: Likewise.
42445         * math/s_expm1l.c: Likewise.
42446         * math/s_log1pl.c: Likewise.
42447         * math/s_tanhl.c: Likewise.
42448         * misc/acct.c: Likewise.
42449         * misc/brk.c: Likewise.
42450         * misc/chflags.c: Likewise.
42451         * misc/chroot.c: Likewise.
42452         * misc/fchflags.c: Likewise.
42453         * misc/fgetxattr.c: Likewise.
42454         * misc/flistxattr.c: Likewise.
42455         * misc/fremovexattr.c: Likewise.
42456         * misc/fsetxattr.c: Likewise.
42457         * misc/fsync.c: Likewise.
42458         * misc/ftruncate.c: Likewise.
42459         * misc/futimes.c: Likewise.
42460         * misc/futimesat.c: Likewise.
42461         * misc/getdomain.c: Likewise.
42462         * misc/getdtsz.c: Likewise.
42463         * misc/gethostid.c: Likewise.
42464         * misc/gethostname.c: Likewise.
42465         * misc/getloadavg.c: Likewise.
42466         * misc/getpagesize.c: Likewise.
42467         * misc/getsysstats.c: Likewise.
42468         * misc/getxattr.c: Likewise.
42469         * misc/gtty.c: Likewise.
42470         * misc/ioctl.c: Likewise.
42471         * misc/lgetxattr.c: Likewise.
42472         * misc/listxattr.c: Likewise.
42473         * misc/llistxattr.c: Likewise.
42474         * misc/lremovexattr.c: Likewise.
42475         * misc/lsetxattr.c: Likewise.
42476         * misc/lutimes.c: Likewise.
42477         * misc/madvise.c: Likewise.
42478         * misc/mincore.c: Likewise.
42479         * misc/mlock.c: Likewise.
42480         * misc/mlockall.c: Likewise.
42481         * misc/mmap.c: Likewise.
42482         * misc/mprotect.c: Likewise.
42483         * misc/msync.c: Likewise.
42484         * misc/munlock.c: Likewise.
42485         * misc/munlockall.c: Likewise.
42486         * misc/munmap.c: Likewise.
42487         * misc/preadv.c: Likewise.
42488         * misc/preadv64.c: Likewise.
42489         * misc/ptrace.c: Likewise.
42490         * misc/pwritev.c: Likewise.
42491         * misc/pwritev64.c: Likewise.
42492         * misc/readv.c: Likewise.
42493         * misc/reboot.c: Likewise.
42494         * misc/remap_file_pages.c: Likewise.
42495         * misc/removexattr.c: Likewise.
42496         * misc/revoke.c: Likewise.
42497         * misc/select.c: Likewise.
42498         * misc/setdomain.c: Likewise.
42499         * misc/setegid.c: Likewise.
42500         * misc/seteuid.c: Likewise.
42501         * misc/sethostid.c: Likewise.
42502         * misc/sethostname.c: Likewise.
42503         * misc/setregid.c: Likewise.
42504         * misc/setreuid.c: Likewise.
42505         * misc/setxattr.c: Likewise.
42506         * misc/sstk.c: Likewise.
42507         * misc/stty.c: Likewise.
42508         * misc/swapoff.c: Likewise.
42509         * misc/swapon.c: Likewise.
42510         * misc/sync.c: Likewise.
42511         * misc/syncfs.c: Likewise.
42512         * misc/syscall.c: Likewise.
42513         * misc/truncate.c: Likewise.
42514         * misc/ualarm.c: Likewise.
42515         * misc/usleep.c: Likewise.
42516         * misc/ustat.c: Likewise.
42517         * misc/utimes.c: Likewise.
42518         * misc/vhangup.c: Likewise.
42519         * misc/writev.c: Likewise.
42520         * posix/_exit.c: Likewise.
42521         * posix/alarm.c: Likewise.
42522         * posix/execve.c: Likewise.
42523         * posix/fexecve.c: Likewise.
42524         * posix/fork.c: Likewise.
42525         * posix/fpathconf.c: Likewise.
42526         * posix/getaddrinfo.c: Likewise.
42527         * posix/getegid.c: Likewise.
42528         * posix/geteuid.c: Likewise.
42529         * posix/getgid.c: Likewise.
42530         * posix/getgroups.c: Likewise.
42531         * posix/getlogin.c: Likewise.
42532         * posix/getlogin_r.c: Likewise.
42533         * posix/getpgid.c: Likewise.
42534         * posix/getpid.c: Likewise.
42535         * posix/getppid.c: Likewise.
42536         * posix/getresgid.c: Likewise.
42537         * posix/getresuid.c: Likewise.
42538         * posix/getsid.c: Likewise.
42539         * posix/getuid.c: Likewise.
42540         * posix/glob64.c: Likewise.
42541         * posix/nanosleep.c: Likewise.
42542         * posix/pathconf.c: Likewise.
42543         * posix/pause.c: Likewise.
42544         * posix/posix_madvise.c: Likewise.
42545         * posix/pread.c: Likewise.
42546         * posix/pread64.c: Likewise.
42547         * posix/pwrite.c: Likewise.
42548         * posix/pwrite64.c: Likewise.
42549         * posix/sched_getaffinity.c: Likewise.
42550         * posix/sched_getp.c: Likewise.
42551         * posix/sched_gets.c: Likewise.
42552         * posix/sched_primax.c: Likewise.
42553         * posix/sched_primin.c: Likewise.
42554         * posix/sched_rr_gi.c: Likewise.
42555         * posix/sched_setaffinity.c: Likewise.
42556         * posix/sched_setp.c: Likewise.
42557         * posix/sched_sets.c: Likewise.
42558         * posix/sched_yield.c: Likewise.
42559         * posix/setgid.c: Likewise.
42560         * posix/setlogin.c: Likewise.
42561         * posix/setpgid.c: Likewise.
42562         * posix/setresgid.c: Likewise.
42563         * posix/setresuid.c: Likewise.
42564         * posix/setsid.c: Likewise.
42565         * posix/setuid.c: Likewise.
42566         * posix/sleep.c: Likewise.
42567         * posix/spawni.c: Likewise.
42568         * posix/sysconf.c: Likewise.
42569         * posix/times.c: Likewise.
42570         * posix/wait.c: Likewise.
42571         * posix/wait3.c: Likewise.
42572         * posix/wait4.c: Likewise.
42573         * posix/waitpid.c: Likewise.
42574         * resolv/gai_sigqueue.c: Likewise.
42575         * resource/getpriority.c: Likewise.
42576         * resource/getrlimit.c: Likewise.
42577         * resource/getrusage.c: Likewise.
42578         * resource/nice.c: Likewise.
42579         * resource/setpriority.c: Likewise.
42580         * resource/setrlimit.c: Likewise.
42581         * resource/ulimit.c: Likewise.
42582         * rt/aio_cancel.c: Likewise.
42583         * rt/aio_fsync.c: Likewise.
42584         * rt/aio_read.c: Likewise.
42585         * rt/aio_sigqueue.c: Likewise.
42586         * rt/aio_suspend.c: Likewise.
42587         * rt/aio_write.c: Likewise.
42588         * rt/clock_getres.c: Likewise.
42589         * rt/clock_gettime.c: Likewise.
42590         * rt/clock_nanosleep.c: Likewise.
42591         * rt/clock_settime.c: Likewise.
42592         * rt/lio_listio.c: Likewise.
42593         * rt/mq_close.c: Likewise.
42594         * rt/mq_getattr.c: Likewise.
42595         * rt/mq_notify.c: Likewise.
42596         * rt/mq_open.c: Likewise.
42597         * rt/mq_receive.c: Likewise.
42598         * rt/mq_send.c: Likewise.
42599         * rt/mq_setattr.c: Likewise.
42600         * rt/mq_timedreceive.c: Likewise.
42601         * rt/mq_timedsend.c: Likewise.
42602         * rt/mq_unlink.c: Likewise.
42603         * rt/shm_open.c: Likewise.
42604         * rt/shm_unlink.c: Likewise.
42605         * rt/timer_create.c: Likewise.
42606         * rt/timer_delete.c: Likewise.
42607         * rt/timer_getoverr.c: Likewise.
42608         * rt/timer_gettime.c: Likewise.
42609         * rt/timer_settime.c: Likewise.
42610         * setjmp/__longjmp.c: Likewise.
42611         * setjmp/setjmp.c: Likewise.
42612         * signal/kill.c: Likewise.
42613         * signal/killpg.c: Likewise.
42614         * signal/raise.c: Likewise.
42615         * signal/sigaction.c: Likewise.
42616         * signal/sigaltstack.c: Likewise.
42617         * signal/sigblock.c: Likewise.
42618         * signal/sigignore.c: Likewise.
42619         * signal/sigintr.c: Likewise.
42620         * signal/signal.c: Likewise.
42621         * signal/sigpause.c: Likewise.
42622         * signal/sigpending.c: Likewise.
42623         * signal/sigqueue.c: Likewise.
42624         * signal/sigreturn.c: Likewise.
42625         * signal/sigset.c: Likewise.
42626         * signal/sigsetmask.c: Likewise.
42627         * signal/sigstack.c: Likewise.
42628         * signal/sigsuspend.c: Likewise.
42629         * signal/sigtimedwait.c: Likewise.
42630         * signal/sigvec.c: Likewise.
42631         * signal/sigwait.c: Likewise.
42632         * signal/sigwaitinfo.c: Likewise.
42633         * signal/sysv_signal.c: Likewise.
42634         * socket/accept.c: Likewise.
42635         * socket/accept4.c: Likewise.
42636         * socket/bind.c: Likewise.
42637         * socket/connect.c: Likewise.
42638         * socket/getpeername.c: Likewise.
42639         * socket/getsockname.c: Likewise.
42640         * socket/getsockopt.c: Likewise.
42641         * socket/isfdtype.c: Likewise.
42642         * socket/listen.c: Likewise.
42643         * socket/recv.c: Likewise.
42644         * socket/recvfrom.c: Likewise.
42645         * socket/recvmsg.c: Likewise.
42646         * socket/send.c: Likewise.
42647         * socket/sendmsg.c: Likewise.
42648         * socket/sendto.c: Likewise.
42649         * socket/setsockopt.c: Likewise.
42650         * socket/shutdown.c: Likewise.
42651         * socket/sockatmark.c: Likewise.
42652         * socket/socket.c: Likewise.
42653         * socket/socketpair.c: Likewise.
42654         * stdio-common/ctermid.c: Likewise.
42655         * stdio-common/cuserid.c: Likewise.
42656         * stdio-common/remove.c: Likewise.
42657         * stdio-common/rename.c: Likewise.
42658         * stdio-common/renameat.c: Likewise.
42659         * stdio-common/tempname.c: Likewise.
42660         * stdlib/getcontext.c: Likewise.
42661         * stdlib/makecontext.c: Likewise.
42662         * stdlib/setcontext.c: Likewise.
42663         * stdlib/swapcontext.c: Likewise.
42664         * stdlib/system.c: Likewise.
42665         * streams/fattach.c: Likewise.
42666         * streams/fdetach.c: Likewise.
42667         * streams/getmsg.c: Likewise.
42668         * streams/getpmsg.c: Likewise.
42669         * streams/putmsg.c: Likewise.
42670         * streams/putpmsg.c: Likewise.
42671         * sysdeps/unix/bsd/getpt.c: Likewise.
42672         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42673         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42674         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42676         Likewise.
42677         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42678         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42679         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42680         * sysvipc/msgctl.c: Likewise.
42681         * sysvipc/msgget.c: Likewise.
42682         * sysvipc/msgrcv.c: Likewise.
42683         * sysvipc/msgsnd.c: Likewise.
42684         * sysvipc/semctl.c: Likewise.
42685         * sysvipc/semget.c: Likewise.
42686         * sysvipc/semop.c: Likewise.
42687         * sysvipc/semtimedop.c: Likewise.
42688         * sysvipc/shmat.c: Likewise.
42689         * sysvipc/shmctl.c: Likewise.
42690         * sysvipc/shmdt.c: Likewise.
42691         * sysvipc/shmget.c: Likewise.
42692         * termios/tcdrain.c: Likewise.
42693         * termios/tcflow.c: Likewise.
42694         * termios/tcflush.c: Likewise.
42695         * termios/tcgetattr.c: Likewise.
42696         * termios/tcgetpgrp.c: Likewise.
42697         * termios/tcsendbrk.c: Likewise.
42698         * termios/tcsetattr.c: Likewise.
42699         * termios/tcsetpgrp.c: Likewise.
42700         * time/adjtime.c: Likewise.
42701         * time/clock.c: Likewise.
42702         * time/getitimer.c: Likewise.
42703         * time/gettimeofday.c: Likewise.
42704         * time/setitimer.c: Likewise.
42705         * time/settimeofday.c: Likewise.
42706         * time/stime.c: Likewise.
42707         * time/time.c: Likewise.
42709 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42711         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42712         /usr/old/bin.
42714         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42715         instead of spaces.
42716         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42718 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42720         [BZ #14796]
42721         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42722         FE_TONEAREST before applying Dekker multiplication and Knuth
42723         addition.  Clear inexact exceptions and check for exact zero
42724         results afterwards.
42725         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42726         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42727         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42728         * math/libm-test.inc (fma_test): Add more tests.
42729         (fma_test_towardzero): Likewise.
42730         (fma_test_downward): Likewise.
42731         (fma_test_upward): Likewise.
42732         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42733         function.
42734         (libc_fesetround): New macro.
42735         (libc_fesetroundf): Likewise.
42736         (libc_fesetroundl): Likewise.
42737         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42738         function.
42739         (libc_fesetround_387): Likewise.
42740         (libc_fesetroundf): New macro.
42741         (libc_fesetround): Likewise.
42742         (libc_fesetroundl): Likewise.
42743         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42744         function.
42745         (libc_fesetroundf): New macro.
42746         (libc_fesetround): Likewise.
42747         (libc_fesetroundl): Likewise.
42748         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42749         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42750         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42751         libm_hidden_ver.
42752         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42753         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42754         libm_hidden_def.
42755         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42756         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42757         libm_hidden_ver.
42758         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42759         libm_hidden_def.
42761         [BZ #3439]
42762         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42763         integer constant usable in #if and use that to give value to enum
42764         constant.
42765         (FE_DIVBYZERO): Likewise.
42766         (FE_UNDERFLOW): Likewise.
42767         (FE_OVERFLOW): Likewise.
42768         (FE_INVALID): Likewise.
42769         (FE_INVALID_SNAN): Likewise.
42770         (FE_INVALID_ISI): Likewise.
42771         (FE_INVALID_IDI): Likewise.
42772         (FE_INVALID_ZDZ): Likewise.
42773         (FE_INVALID_IMZ): Likewise.
42774         (FE_INVALID_COMPARE): Likewise.
42775         (FE_INVALID_SOFTWARE): Likewise.
42776         (FE_INVALID_SQRT): Likewise.
42777         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42778         (FE_TONEAREST): Likewise.
42779         (FE_TOWARDZERO): Likewise.
42780         (FE_UPWARD): Likewise.
42781         (FE_DOWNWARD): Likewise.
42782         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42783         (FE_DIVBYZERO): Likewise.
42784         (FE_OVERFLOW): Likewise.
42785         (FE_UNDERFLOW): Likewise.
42786         (FE_INEXACT): Likewise.
42787         (FE_TONEAREST): Likewise.
42788         (FE_DOWNWARD): Likewise.
42789         (FE_UPWARD): Likewise.
42790         (FE_TOWARDZERO): Likewise.
42791         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42792         (FE_UNDERFLOW): Likewise.
42793         (FE_OVERFLOW): Likewise.
42794         (FE_DIVBYZERO): Likewise.
42795         (FE_INVALID): Likewise.
42796         (FE_TONEAREST): Likewise.
42797         (FE_TOWARDZERO): Likewise.
42798         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42799         (FE_OVERFLOW): Likewise.
42800         (FE_UNDERFLOW): Likewise.
42801         (FE_DIVBYZERO): Likewise.
42802         (FE_INEXACT): Likewise.
42803         (FE_TONEAREST): Likewise.
42804         (FE_TOWARDZERO): Likewise.
42805         (FE_UPWARD): Likewise.
42806         (FE_DOWNWARD): Likewise.
42807         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42808         (FE_DIVBYZERO): Likewise.
42809         (FE_OVERFLOW): Likewise.
42810         (FE_UNDERFLOW): Likewise.
42811         (FE_INEXACT): Likewise.
42812         (FE_TONEAREST): Likewise.
42813         (FE_DOWNWARD): Likewise.
42814         (FE_UPWARD): Likewise.
42815         (FE_TOWARDZERO): Likewise.
42817 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42819         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42821 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42823         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42824         commands.  Quote $PWD.
42825         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42826         -x" by "export".
42827         (remove_newlines): Remove.
42829 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42831         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42832         * stdlib/stdlib.h (atof): Moved to ...
42833         * include/bits/stdlib-float.h: Here.  New file.
42834         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42835         * stdlib/bits/stdlib-float.h: New file.
42836         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42837         -mno-sse -mno-mmx.
42838         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42839         <xmmintrin.h>.
42841 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42843         * conform/conformtest.pl (@headers): Add fenv.h.
42844         * conform/data/fenv.h-data: New file.
42845         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42846         include of <math/fenv.h>.
42848         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42849         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42850         && !UNIX98].  Enables tests for XOPEN2K8.
42851         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42852         POSIX2008]: Likewise.
42854         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42855         (struct rusage): Do not expect type or its members.
42857         [BZ #3439]
42858         * math/math.h (FP_NAN): Define macro to integer constant usable in
42859         #if and use that to give value to enum constant.
42860         (FP_INFINITE): Likewise.
42861         (FP_ZERO): Likewise.
42862         (FP_SUBNORMAL): Likewise.
42863         (FP_NORMAL): Likewise.
42865 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42867         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42868         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42869         arguments.
42871 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42873         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42874         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42875         autoconf-time if not.
42876         * configure.in: Remove AC_PREREQ.
42878 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42880         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42881         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42882         of the internal implementation.
42884 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42886         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42887         except include of <misc/sys/syslog.h>.
42889 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42892         function returns with a NULL context exit with zero.
42894 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42896         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42898 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42900         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42901         (run_program_cmd): This.
42902         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42903         (tst_langinfo): New variable.  Use it.
42905 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42907         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42908         floating point opcodes.
42910 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42912         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42913         variable.
42915         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42917         * sysdeps/mach/hurd/powerpc: Remove directory.
42918         * sysdeps/mach/powerpc: Likewise.
42920 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42922         * scripts/check-local-headers.sh: Ignore c++ headers.
42924 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42926         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42927         __libc_cleanup_region_start argument.
42929 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42931         [BZ #14784]
42932         [BZ #14785]
42933         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42934         x * y using scaling, not as x * y + z.
42935         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42936         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42937         * math/libm-test.inc (fma_test): Add more tests.
42938         (fma_test_towardzero): Likewise.
42939         (fma_test_downward): Likewise.
42940         (fma_test_upward): Likewise.
42942 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42944         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42946 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42948         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42949         New variable.
42951 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42953         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42955 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42958         Fix sort order.
42959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42960         Likewise.
42962 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42965         Fix the order of the list for glibc 2.17.
42966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42967         Likewise.
42969 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42973 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42975         [BZ #14610]
42976         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42977         for low part of x being zero before using __atanl (y).
42978         * math/libm-test.inc (atan2_test): Add another test.
42980         * manual/install.texi (Configuring and compiling): Document
42981         general use of test-wrapper and test-wrapper-env.
42982         * INSTALL: Regenerated.
42984         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42985         (__fma): Do not extract and scale down low bits on after-rounding
42986         systems when result rounded to normal precision would have normal
42987         exponent.
42988         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42989         (__fmal): Do not extract and scale down low bits on after-rounding
42990         systems when result rounded to normal precision would have normal
42991         exponent.
42992         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42993         (__fmal): Do not extract and scale down low bits on after-rounding
42994         systems when result rounded to normal precision would have normal
42995         exponent.
42996         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42997         macro.
42998         (fma_test): Add more tests.
42999         (fma_test_towardzero): Likewise.
43000         (fma_test_downward): Likewise.
43001         (fma_test_upward): Likewise.
43003 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43005         * sysdeps/i386/tininess.h: Renamed to ...
43006         * sysdeps/x86/tininess.h: This.
43007         * sysdeps/x86_64/tininess.h: Removed.
43009 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43011         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43012         input.  Use $(build-program-cmd).
43013         ($(objpfx)tst-array1-static.out): Likewise.
43014         ($(objpfx)tst-array2.out): Likewise.
43015         ($(objpfx)tst-array3.out): Likewise.
43016         ($(objpfx)tst-array4.out): Likewise.
43017         ($(objpfx)tst-array5.out): Likewise.
43018         ($(objpfx)tst-array5-static.out): Likewise.
43020 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43022         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43023         if defined.
43025         * nss/nsswitch.h (nss_interface_function): Provide new
43026         macro for use with NSS functions.
43027         * grp/initgroups.c: Use new macro.
43028         * nss/getXXbyYY.c: Likewise.
43029         * nss/getXXbyYY_r.c: Likewise.
43030         * nss/getXXent.c: Likewise.
43031         * nss/getXXent_r.c: Likewise.
43032         * sysdeps/posix/getaddrinfo.c: Likewise.
43034 2012-10-30  Andreas Jaeger  <aj@suse.de>
43036         * po/ru.po: Update Russion translation from translation project.
43038 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43040         [BZ #14152]
43041         [BZ #14783]
43042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43043         result and shift together with sticky bit instead of replicating
43044         round-to-nearest rounding.
43045         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43046         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43047         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43048         missing underflow exceptions.
43049         (fma_test_towardzero): Add more tests.
43050         (fma_test_downward): Likewise.
43051         (fma_test_upward): Likewise.
43053         [BZ #14047]
43054         * sysdeps/generic/tininess.h: New file.
43055         * sysdeps/i386/tininess.h: Likewise.
43056         * sysdeps/sh/tininess.h: Likewise.
43057         * sysdeps/x86_64/tininess.h: Likewise.
43058         * stdlib/tst-strtod-underflow.c: Likewise.
43059         * stdlib/tst-tininess.c: Likewise.
43060         * stdlib/strtod_l.c: Include <tininess.h>.
43061         (round_and_return): Do not set errno for exact underflow cases.
43062         Force an underflow exception when setting errno for underflow.
43063         Determine underflow based on rounding to normal precision if
43064         TININESS_AFTER_ROUNDING.
43065         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43066         ERANGE for exact underflow cases.
43067         * stdlib/Makefile (tests): Add tst-tininess and
43068         tst-strtod-underflow.
43069         ($(objpfx)tst-tininess): Use $(link-libm).
43070         ($(objpfx)tst-strtod-underflow): Likewise.
43072 2012-10-30  Andreas Jaeger  <aj@suse.de>
43074         [BZ#14767]
43075         * elf/Makefile (tests): Remove conditional for have-initfini-array
43076         since this is now always required and the variable does not exist
43077         anymore.
43078         (tests-static): Likewise.
43079         (modules-names): Likewise.
43081         * po/eo.po: Add Esperanto translation from translation project.
43083         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43084         merged with constructor/destructor.
43085         (init_array): Likewise.
43086         * elf/tst-array2dep.c (fini_array): Likewise.
43087         (init_array): Likewise.
43089 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43091         * manual/message.texi: Delete @cartouche tags.
43093 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43095         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43096         EOPNOTSUPP.
43097         * sysdeps/mach/hurd/fsync.c: Likewise.
43099         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43100         [_POSIX_REALTIME_SIGNALS]: Change condition to
43101         [_POSIX_REALTIME_SIGNALS > 0].
43103 2012-10-27  Andreas Jaeger  <aj@suse.de>
43105         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43106         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43107         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43108         [__WORDSIZE != 64]: Likewise.
43110 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43112         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43113         *  iconvdata/tst-tables.sh: Likewise.
43115 2012-10-25  David S. Miller  <davem@davemloft.net>
43117         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43118         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43119         of strtoull.
43121         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43122         ifunc-impl-list.c
43123         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43124         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43125         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43126         file.
43128 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43130         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43131         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43132         __getdirentries.
43134 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43135             Jim Blandy  <jimb@codesourcery.com>
43137         * scripts/cross-test-ssh.sh: New file.
43138         * manual/install.texi (Configuring and compiling): Document use of
43139         cross-test-ssh.sh.
43140         * INSTALL: Regenerated.
43142 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43144         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43145         EOPNOTSUPP.
43147 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43149         * Makeconfig (run-program-prefix): Fix comment.
43151 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43152             Jim Blandy  <jimb@codesourcery.com>
43154         * Makeconfig (test-wrapper): New variable,
43155         (test-wrapper-env): Likewise.
43156         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43157         (run-built-tests): Define to yes.
43158         (run-program-prefix): Use $(test-wrapper).
43159         (built-program-cmd): Likewise.
43160         * Rules (make-test-out): Use $(test-wrapper-env) and
43161         $(host-built-program-cmd).
43162         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43163         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43164         tst-pathopt.sh.
43165         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43166         $(test-wrapper-env) to tst-rtld-load-self.sh.
43167         ($(objpfx)order2.out): Use $(test-wrapper).
43168         ($(objpfx)tst-initorder.out): Likewise.
43169         ($(objpfx)tst-initorder2.out): Likewise.
43170         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43171         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43172         (test_wrapper_env): New variable.  Use it to run ld.so.
43173         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43174         Use it to run ld.so.
43175         (test_wrapper_env): Likewise.
43176         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43177         $(test-wrapper) to run-iconv-test.sh.
43178         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43179         (ICONV): Use $test_wrapper.
43180         * posix/Makefile ($(objpfx)globtest.out): Pass
43181         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43182         globtest.sh, not $(run-program-prefix).
43183         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43184         (test_wrapper): Likewise.
43185         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43186         set together with run_via_rtld_prefix.
43187         (run_program_prefix): Define in terms of test_wrapper and
43188         run_via_rtld_prefix.
43190 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43192         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43193         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43194         Targets removed.
43196         [BZ #14743]
43197         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43198         Declare __clock_getres, __clock_gettime, __clock_settime,
43199         __clock_nanosleep, and __clock_getcpuclockid.
43200         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43201         Remove librt_hidden_def (clock_gettime).
43202         * sysdeps/unix/clock_gettime.c: Likewise.
43203         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43204         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43205         * rt/clock_getres.c: Define __clock_getres as an alias.
43206         * sysdeps/posix/clock_getres.c: Likewise.
43207         * rt/clock_settime.c: Define __clock_settime as an alias.
43208         * sysdeps/unix/clock_settime.c: Likewise.
43209         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43210         * sysdeps/unix/clock_nanosleep.c: Likewise.
43211         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43212         * rt/clock-compat.c: New file.
43213         * rt/Makefile (librt-routines): Add clock-compat and move
43214         $(clock-routines) to ...
43215         (routines): ... here, new variable.
43216         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43217         Don't add get_clockfreq here.
43218         * rt/Versions (libc: GLIBC_2.17): New version set.
43219         Add clock_* symbols here.
43220         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43221         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43222         (GLIBC_2.17): Add clock_* symbols.
43223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43225         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43227         Likewise.
43228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43229         Likewise.
43230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43234         * NEWS: Mention the move.
43236         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43237         Use __open, __read, __close rather than their public counterparts.
43238         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43239         (__get_clockfreq_via_cpuinfo): Likewise.
43240         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43241         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43243         * config.h.in (HAVE_IFUNC): New #undef.
43244         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43245         was successful.
43246         * configure: Regenerated.
43248 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43250         * configure.in: Move READELF check to start of file.
43251         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43252         libc_cv_asm_gnu_indirect_function in the process.
43253         * configure: Regenerated.
43255 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43257         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43258         send the output to /dev/null.
43259         (libc_cv_cc_with_libunwind): Likewise.
43260         (libc_cv_as_noexecstack): Likewise.
43261         * configure: Regenerate.
43263 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43265         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43267         * posix/globtest.sh (TMPDIR): Do not set.
43268         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43269         (testout): Likewise.
43271 2012-10-24  Andreas Jaeger  <aj@suse.de>
43273         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43274         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43275         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43276         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43277         posix_fadvise64, posix_fallocate64.
43279         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43280         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43281         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43282         Likewise.
43283         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43284         Likewise.
43285         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43287         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43288         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43289         <bits/fcntl-linux.h>.
43290         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43292         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43293         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43294         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43295         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43296         [__WORDSIZE != 64]: Likewise.
43298 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43300         * Makeconfig (run-built-tests): New variable.
43301         * Rules [$(cross-compiling) = yes]: Change condition to
43302         [$(run-built-tests) = no].
43303         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43304         to [$(run-built-tests) = yes].
43305         * elf/Makefile [$(cross-compiling) = no]: Likewise
43306         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43307         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43308         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43309         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43310         * io/Makefile [$(cross-compiling) = no]: Likewise.
43311         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43312         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43313         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43314         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43315         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43316         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43317         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43318         * string/Makefile [$(cross-compiling) = no]: Likewise.
43320         * posix/Makefile ($(objpfx)globtest.out): Pass
43321         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43322         $(rtld-installed-name).
43323         * posix/globtest.sh (elf_objpfx): Remove variable.
43324         (rtld_installed_name): Likewise.
43325         (library_path): Likewise.
43326         (run_program_prefix): New variable.  Use for running globtest
43327         binary.
43329 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43330             Joseph Myers  <joseph@codesourcery.com>
43332         * Makeconfig (host-built-program-cmd): New variable.
43333         * elf/Makefile (tst-stackguard1-ARGS): Use
43334         $(host-built-program-cmd).
43335         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43336         (tst-spawn-ARGS): Likewise.
43337         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43339 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43340             Jim Blandy  <jimb@codesourcery.com>
43342         * Makeconfig (run-via-rtld-prefix): New variable.
43343         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43344         (built-program-cmd): Likewise.
43346 2012-10-22  Andreas Jaeger  <aj@suse.de>
43348         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43349         __O_RSYNC if it exists, otherwise to O_SYNC.
43351 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43352             Joseph Myers  <joseph@codesourcery.com>
43354         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43355         /dev/null.
43356         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43357         from /dev/null
43358         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43359         /dev/null.
43361 2012-10-22  Andreas Jaeger  <aj@suse.de>
43363         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43364         Define always.
43365         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43367         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43368         bits/fcntl-linux.h.
43370         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43371         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43373         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43374         to __O_LARGEFILE.
43375         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43376         to __O_LARGEFILE.
43378 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43379             Joseph Myers  <joseph@codesourcery.com>
43381         * config.make.in (NM): New variable.
43383 2012-10-21  Andreas Jaeger  <aj@suse.de>
43385         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43386         definitions and declarations that are provided by
43387         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43389 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43391         [BZ #14683]
43392         * elf/Makefile (tests-static): Add tst-leaks1-static.
43393         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43394         ($(objpfx)tst-leaks1-static): New rule.
43395         ($(objpfx)tst-leaks1-static-mem): Likewise.
43396         (tst-leaks1-static-ENV): New macro.
43397         * elf/dl-open.c (dl_open_worker): Check the main application
43398         only if SHARED is defined.
43399         * elf/tst-leaks1-static.c: New file.
43401 2012-10-20  Andreas Jaeger  <aj@suse.de>
43403         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43404         generic values for Linux.
43405         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43406         and declarations that are provided by <bits/fcntl-linux.h> and
43407         include <bits/fcntl-linux.h>.
43408         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43409         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43411 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43413         * io/fcntl.h: Move include of <bits/types.h> to the top and
43414         include it unconditionally.
43416 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43418         * wcsmbs/Makefile (tests-ifunc): New variable.
43419         (tests): Add $(tests-ifunc).
43420         * wcsmbs/test-wcschr-ifunc.c: New file.
43421         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43422         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43423         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43424         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43425         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43427         * string/Makefile (tests-ifunc): New variable.
43428         (tests): Add $(tests-ifunc).
43429         * string/test-memccpy.c (TEST_NAME): New macro.
43430         * string/test-memchr.c (TEST_NAME): Likewise.
43431         * string/test-memcmp.c (TEST_NAME): Likewise.
43432         * string/test-memcpy.c (TEST_NAME): Likewise.
43433         * string/test-memmem.c (TEST_NAME): Likewise.
43434         * string/test-memmove.c (TEST_NAME): Likewise.
43435         * string/test-memset.c (TEST_NAME): Likewise.
43436         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43437         * string/test-stpcpy.c (TEST_NAME): Likewise.
43438         * string/test-stpncpy.c (TEST_NAME): Likewise.
43439         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43440         * string/test-strcasestr.c (TEST_NAME): Likewise.
43441         * string/test-strcat.c (TEST_NAME): Likewise.
43442         * string/test-strchr.c (TEST_NAME): Likewise.
43443         * string/test-strcmp.c(TEST_NAME): Likewise.
43444         * string/test-strcpy.c (TEST_NAME): Likewise.
43445         * string/test-strcspn.c (TEST_NAME): Likewise.
43446         * string/test-strlen.c (TEST_NAME): Likewise.
43447         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43448         * string/test-strncmp.c (TEST_NAME): Likewise.
43449         * string/test-strncpy.c (TEST_NAME): Likewise.
43450         * string/test-strnlen.c (TEST_NAME): Likewise.
43451         * string/test-strpbrk.c (TEST_NAME): Likewise.
43452         * string/test-strrchr.c (TEST_NAME): Likewise.
43453         * string/test-strspn.c (TEST_NAME): Likewise.
43454         * string/test-strstr.c (TEST_NAME): Likewise.
43455         * string/test-bcopy-ifunc.c: New file.
43456         * string/test-bzero-ifunc.c: Likewise.
43457         * string/test-memccpy-ifunc.c: Likewise.
43458         * string/test-memchr-ifunc.c: Likewise.
43459         * string/test-memcmp-ifunc.c: Likewise.
43460         * string/test-memcpy-ifunc.c: Likewise.
43461         * string/test-memmem-ifunc.c: Likewise.
43462         * string/test-memmove-ifunc.c: Likewise.
43463         * string/test-mempcpy-ifunc.c: Likewise.
43464         * string/test-memset-ifunc.c: Likewise.
43465         * string/test-rawmemchr-ifunc.c: Likewise.
43466         * string/test-stpcpy-ifunc.c: Likewise.
43467         * string/test-stpncpy-ifunc.c: Likewise.
43468         * string/test-strcasecmp-ifunc.c: Likewise.
43469         * string/test-strcasestr-ifunc.c: Likewise.
43470         * string/test-strcat-ifunc.c: Likewise.
43471         * string/test-strchr-ifunc.c: Likewise.
43472         * string/test-strchrnul-ifunc.c: Likewise.
43473         * string/test-strcmp-ifunc.c: Likewise.
43474         * string/test-strcpy-ifunc.c: Likewise.
43475         * string/test-strcspn-ifunc.c: Likewise.
43476         * string/test-strlen-ifunc.c: Likewise.
43477         * string/test-strncasecmp-ifunc.c: Likewise.
43478         * string/test-strncat-ifunc.c: Likewise.
43479         * string/test-strncmp-ifunc.c: Likewise.
43480         * string/test-strncpy-ifunc.c: Likewise.
43481         * string/test-strnlen-ifunc.c: Likewise.
43482         * string/test-strpbrk-ifunc.c: Likewise.
43483         * string/test-strrchr-ifunc.c: Likewise.
43484         * string/test-strspn-ifunc.c: Likewise.
43485         * string/test-strstr-ifunc.c: Likewise.
43487         * debug/Makefile (tests-ifunc): New variable.
43488         (tests): Add $(tests-ifunc).
43489         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43490         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43491         * debug/test-stpcpy_chk-ifunc.c: New file.
43492         * debug/test-strcpy_chk-ifunc.c: Likewise.
43494 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43496         [BZ #13601]
43497         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43498         header is not read in.
43500 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43502         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43503         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43504         directly.  Pass built executable to script as
43505         $(built-program-cmd).
43506         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43507         $testprogram without using LD_LIBRARY_PATH and $ldso.
43509         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43510         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43511         $(rtld-installed-name).
43512         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43513         (rtld_installed_name): Likewise.
43514         (library_path): Likewise.
43515         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43516         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43517         $(run-program-prefix) to tst-tables.sh.
43518         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43519         it to run tst-table-from and tst-table-to.
43520         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43521         Pass it to tst-table.sh.
43522         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43523         $(run-program-prefix) to tst-gettext.sh.
43524         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43525         tst-translit.sh.
43526         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43527         tst-gettext2.sh.
43528         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43529         to run tst-gettext.
43530         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43531         to run tst-gettext2.
43532         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43533         to run tst-translit.
43534         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43535         $(run-program-prefix) to tst-mtrace.sh.
43536         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43537         to run tst-mtrace.
43538         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43539         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43540         $(rtld-installed-name).
43541         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43542         (rtld_installed_name): Likewise.
43543         (run_program_prefix): New variable.  Use it to run wordexp-test.
43545         * Makeconfig (ARCH): Remove all definitions.
43546         (machine): Likewise.
43547         [ARCH]: Remove conditional code.
43548         [!objdir]: Give error.
43549         [!objdir] (objpfx): Remove.
43550         [!objdir] (common-objpfx): Likewise.
43551         [!objdir] (common-objdir): Likewise.
43552         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43553         AC_CONFIG_FILES call.
43554         * configure: Regenerated.
43556         [BZ #13888]
43557         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43558         or TMPDIR.
43559         (testout): Likewise.
43561         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43562         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43563         $(rtld-installed-name).
43564         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43565         (rtld_installed_name): Likwise.
43566         (runit): Remove function.
43567         (run_getconf): New variable,  Use it for running getconf binary.
43569 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43571         [BZ #14716]
43572         * string/test-memmem.c (check_result): New function.
43573         (do_one_test): Use it.
43574         (check1): New function.
43575         (test_main): Use it.
43577 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43579         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43581 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43583         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43584         (_G_LSEEK64): Likewise.
43585         (_G_MMAP64): Likewise.
43586         (_G_FSTAT64): Likewise.
43587         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43588         (_G_LSEEK64): Likewise.
43589         (_G_MMAP64): Likewise.
43590         (_G_FSTAT64): Likewise.
43591         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43592         unconditional.  Call __mmap64 directly.
43593         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43594         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43595         __lseek64 directly.
43596         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43597         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43598         __mmap64 directly.
43599         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43600         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43601         __lseek64 directly.
43602         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43603         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43604         __lseek64 directly.
43605         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43606         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43607         __lseek64 directly.
43608         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43609         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43610         __fxstat64 directly.
43611         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43612         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43613         unconditional.
43614         (freopen64) [!_G_OPEN64]: Remove conditional code.
43615         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43616         unconditional.
43617         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43618         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43619         unconditional.
43620         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43621         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43622         unconditional.
43623         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43624         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43625         unconditional.
43626         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43627         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43628         unconditional.
43629         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43630         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43631         unconditional.
43632         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43633         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43634         unconditional.
43635         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43637 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43639         [BZ #12140]
43640         * manual/memory.texi (Malloc Tunable Parameters): Add note
43641         about free list pointers overwriting some perturb bytes.
43642         Wording suggested by Roland McGrath.
43644 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43646         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43647         (lgamma_test): Likewise.
43648         (tgamma_test): Likewise.
43650 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43652         [BZ #14700]
43653         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43654         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43656 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43658         * NEWS: Mention BZ #14716.
43659         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43660         when removing AVAILABLE1_USES_J macro.
43662 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43664         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43665         (__bswap_64): __uint64_t for unsigned 64-bit int.
43667 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43669         * include/string.h (memmem): Declare libc hidden alias.
43670         * string/memmem.c (memmem): Define libc hidden alias.
43671         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43672         __read, __close instead of open, read, close.
43674 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43676         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43677         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43678         global and hidden.
43679         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43680         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43681         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43682         Likewise.
43683         (__rawmemchr_sse2): Likewise.
43684         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43685         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43686         (__strchr_sse2): Likewise.
43687         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43688         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43689         (__strcasecmp_sse2): Likewise.
43690         (__strncasecmp_sse2): Likewise.
43691         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43692         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43693         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43694         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43695         (__strrchr_sse2): Likewise.
43696         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43697         ifunc-impl-list.c.
43698         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43699         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43700         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43701         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43702         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43703         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43704         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43705         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43706         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43707         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43708         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43709         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43710         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43711         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43712         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43713         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43714         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43715         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43716         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43717         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43718         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43719         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43720         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43721         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43722         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43723         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43724         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43725         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43726         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43727         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43729         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43730         global and hidden.
43731         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43732         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43733         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43734         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43735         Likewise.
43736         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43737         Likewise.
43738         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43739         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43740         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43741         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43742         ifunc-impl-list.c.
43743         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43744         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43745         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43746         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43747         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43748         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43749         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43750         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43751         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43752         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43753         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43754         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43755         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43756         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43757         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43758         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43759         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43760         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43761         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43762         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43763         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43764         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43765         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43766         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43767         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43768         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43769         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43770         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43771         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43772         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43773         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43774         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43775         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43776         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43777         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43778         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43779         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43780         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43781         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43782         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43783         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43785         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43786         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43787         * include/ifunc-impl-list.h: New file.
43788         * misc/ifunc-impl-list.c: Likewise.
43789         * misc/Makefile (routines): Add ifunc-impl-list.
43790         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43791         * string/test-string.h: Include <ifunc-impl-list.h>.
43792         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43793         TEST_NAME]: New variables.
43794         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43795         are defined.
43796         (test_init): Call __libc_ifunc_impl_list to initialize
43797         func_list if TEST_IFUNC and TEST_NAME are defined.
43799         * string/Makefile (strop-tests): Add bcopy and bzero.
43800         * string/test-bcopy.c: New file.
43801         * string/test-bzero.c: Likewise.
43802         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43803         defined.
43804         * string/test-memset.c: Support bzero test if TEST_BZERO is
43805         defined.
43806         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43807         __libc_memmove.
43808         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43809         __libc_memset.
43810         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43811         of memset.
43813 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43815         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43816         * configure: Regenerated.
43818         * Makeconfig (+link-static-before-libc): Don't include
43819         $(link-static-libc).
43821         * libio/libio.h (_IO_pos_t): Remove.
43823 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43825         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43826         McGrath.
43828 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43830         * crypt/crypt-entry.c: Include fips-private.h.
43831         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43832         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43833         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43834         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43836 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43838         * crypt/crypt-private.h: Include stdbool.h.
43839         (_ufc_setup_salt_r): Return bool.
43840         * crypt/crypt-entry.c: Include errno.h.
43841         (__crypt_r): Return NULL with EINVAL for bad salt.
43842         * crypt/crypt_util.c (bad_for_salt): New.
43843         (_ufc_setup_salt_r): Check that salt is long enough and within
43844         the specified alphabet.
43845         * crypt/badsalttest.c: New file.
43846         * crypt/Makefile (tests): Add it.
43847         ($(objpfx)badsalttest): New.
43849 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43851         * NEWS: Add entry for BZ #14602.
43853 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43855         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43856         type-generic.
43857         * math/libm-test.inc: Update comment listing what functions and
43858         macros are tested.
43859         (isgreater_test): New function.
43860         (isgreaterequal_test): Likewise.
43861         (isless_test): Likewise.
43862         (islessequal_test): Likewise.
43863         (islessgreater_test): Likewise.
43864         (isunordered_test): Likewise.
43865         (main): Call the new functions.
43867 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43869         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43870         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43871         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43872         * sysdeps/i386/configure: Regenerated.
43873         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43874         * sysdeps/mach/configure: Regenerated.
43875         * sysdeps/mach/hurd/configure: Regenerated.
43876         * sysdeps/powerpc/configure: Regenerated.
43877         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43878         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43879         * sysdeps/s390/s390-32/configure: Regenerated.
43880         * sysdeps/s390/s390-64/configure: Regenerated.
43881         * sysdeps/sh/configure: Regenerated.
43882         * sysdeps/sparc/configure: Regenerated.
43883         * sysdeps/unix/sysv/linux/configure: Regenerated.
43884         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43885         * sysdeps/x86_64/configure: Regenerated.
43887         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43888         defined.  Don't check if MAP is NULL.
43890 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43892         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43893         (_G_stat64): Likewise.
43894         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43895         (_G_stat64): Likewise.
43896         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43897         instead of struct _G_stat64.
43898         * libio/fileops.c (mmap_remap_check): Likewise.
43899         (decide_maybe_mmap): Likewise.
43900         (_IO_new_file_seekoff): Likewise.
43901         (_IO_file_stat): Likewise.
43902         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43903         _G_off64_t.
43904         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43905         instead of struct _G_stat64.
43906         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43908 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43910         [BZ #14602]
43911         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43912         Replace with ...
43913         (CHECK_EOL): New macro.
43914         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43915         CHECK_EOL.
43916         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43917         Replace with CHECK_EOL.
43918         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43919         Replace with CHECK_EOL.
43921 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43923         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43924         type-generic.
43925         * math/libm-test.inc: Update comment listing what functions and
43926         macros are tested.
43927         (finite_test): New function.
43928         (isinf_test): Likewise.
43929         (isnan_test): Likewise.
43930         (fpclassify_test): Test subnormal input.
43931         (isfinite_test): Likewise.
43932         (isnormal_test): Likewise.
43933         (main): Call the new functions.
43935 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43937         [BZ #14660]
43938         * Makerules (%.dynsym): Force C locale when running
43939         $(OBJDUMP) --dynamic-syms.
43941 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43943         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43944         <stdint.h>.
43946 2012-10-06  David S. Miller  <davem@davemloft.net>
43948         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43949         upper 32-bits of the length value in %o2 since we use branch-on-register
43950         tests which consider the entire 64-bit register.
43952 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43954         * string/test-strstr.c (check2): Add a test for page boundary.
43956 2012-10-05  David S. Miller  <davem@davemloft.net>
43958         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43959         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43960         file.
43961         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43962         sysdep_routines.
43963         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43964         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43965         and bzero when HWCAP_SPARC_CRYPTO is present.
43967 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43969         [BZ #14602]
43970         * string/test-strstr.c (check2): New function.
43971         (test_main): Call check2.
43973         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43974         and bug-strchr1.
43975         * string/bug-strcasestr1.c (do_test): Moved to ...
43976         * string/test-strcasestr.c (check1): Here.  New function.
43977         (do_one_test): Break out result checking code into ...
43978         (check_result): This.  New function.
43979         (do_one_test): Call check_result.
43980         (test_main): Call check1.
43981         * string/bug-strchr1.c (do_test): Moved to ...
43982         * string/test-strchr.c (check1): Here.  New function.
43983         (do_one_test): Break out result checking code into ...
43984         (check_result): This.  New function.
43985         (do_one_test): Call check_result.
43986         (test_main): Call check1.
43987         * string/bug-strstr1.c (main): Moved to ...
43988         * string/test-strstr.c (check1): Here.  New function.
43989         (do_one_test): Break out result checking code into ...
43990         (check_result): This.  New function.
43991         (do_one_test): Call check_result.
43992         (test_main): Call check1.
43993         * string/bug-strcasestr1.c: Removed.
43994         * string/bug-strchr1.c: Likewise.
43995         * string/bug-strstr1.c: Likewise.
43997         * elf/Makefile (dl-routines): Add hwcaps.
43998         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43999         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44000         (_dl_important_hwcaps): Moved to ...
44001         * elf/dl-hwcaps.c: Here.  New file.
44002         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44004         [BZ #14557]
44005         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44006         if IS_IN_rtld isn't defined.
44008         * elf/dl-support.c (_dl_sysinfo_map): New.
44009         Include "get-dynamic-info.h" and "setup-vdso.h".
44010         (_dl_non_dynamic_init): Call setup_vdso.
44011         * elf/dynamic-link.h: Don't include <assert.h>.
44012         (elf_get_dynamic_info): Moved to ...
44013         * elf/get-dynamic-info.h: Here.  New file.
44014         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44015         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44016         * elf/setup-vdso.h: Here.  New file.
44017         * elf/rtld.c: Include "setup-vdso.h".
44018         (dl_main): Call setup_vdso.
44020 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44022         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44023         creal in comment listing functions tested.  List finite, isinf,
44024         isnan, isless, islessequal, isgreater, isgreaterequal,
44025         islessgreater, isunordered, lgamma_r and pow10 as functions and
44026         macros not tested.  Mention which functions not tested are aliases
44027         for other functions.  Fix typo.  Note that signs of NaNs are not
44028         tested.
44030         * scripts/config.guess: Update from config.git.
44031         * scripts/config.sub: Likewise.
44033 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44035         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44036         * misc/madvise.c (madvise): Renamed to __madvise.
44037         Make madvise a weak alias.
44038         * include/sys/mman.h: Declare __madvise.
44039         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44040         * sysdeps/unix/syscalls.list
44041         (madvise): Make __madvise the strong name, and madvise a weak alias.
44042         * sysdeps/unix/sysv/linux/syscalls.list
44043         (madvise, mmap): Remove redundant entries.
44044         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44045         * malloc/malloc.c (mtrim): Likewise.
44046         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44048 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44050         * sysdeps/mach/hurd/dl-cache.c: File removed.
44051         * config.h.in (USE_LDCONFIG): New #undef.
44052         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44053         * configure: Regenerated.
44054         * elf/Makefile (dl-routines): Add dl-cache only under
44055         [$(use-ldconfig) = yes].
44056         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44057         cache on [USE_LDCONFIG].
44058         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44059         [USE_LDCONFIG].
44060         * elf/rtld.c (dl_main): Likewise.
44062 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44064         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44065         _SC_LEVEL4_CACHE_LINESIZE.
44067 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44069         * sysdeps/unix/bsd/confstr.h: File removed.
44071 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44073         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44074         sys/sdt-config.h.
44076 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44078         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44079         Make 'mapoff' field ElfW(Off) rather than off_t.
44081 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44083         * nscd/Makefile: Remove nscd-cflags and all its users.
44084         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44085         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44087         [BZ #10631]
44088         * malloc.c (malloc_printerr): Clarify error message.
44090 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44092         [BZ #14648]
44093         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44094         Set bit_FMA_Usable if FMA is supported.
44095         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44096         macro.
44097         (bit_FMA4_Usable): Updated.
44098         (index_FMA_Usable): New macro.
44099         (CPUID_FMA): Likewise
44100         (HAS_FMA): Defined with bit_FMA_Usable.
44102 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44104         * bits/types.h (__swblk_t): Type removed.
44105         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44106         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44107         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44108         (__SWBLK_T_TYPE): Likewise.
44109         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44110         (__SWBLK_T_TYPE): Likewise.
44111         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44112         (__SWBLK_T_TYPE): Likewise.
44113         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44114         (__SWBLK_T_TYPE): Likewise.
44116 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44117             Honza Horak <hhorak@redhat.com>
44119         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44120         (xdr_mapname): Use YPMAXMAP as maxsize.
44121         (xdr_peername): Use YPMAXPEER as maxsize.
44122         (xdr_keydat): Use YPAXRECORD as maxsize.
44123         (xdr_valdat): Use YPMAXRECORD as maxsize.
44125 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44127         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44129         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44130         * csu/init-first.c: ... here.
44131         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44132         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44133         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44134         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44135         * sysdeps/i386/init-first.c: File removed.
44136         * sysdeps/sh/init-first.c: File removed.
44138 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44140         [BZ #14645]
44141         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44142         if x * y might underflow to zero and z is zero.
44143         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44144         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44145         * math/libm-test.inc (min_subnorm_value): New variable.
44146         (fma_test): Add more tests.
44147         (fma_test_towardzero): Likewise.
44148         (fma_test_downward): Likewise
44149         (fma_test_upward): Likewise.
44150         (initialize): Set min_subnorm_value.
44152 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44154         [BZ #14638]
44155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44156         0 + 0.
44157         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44158         mode for addition resulting in exact zero.
44159         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44160         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44161         exact 0 + 0.
44162         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44164         * math/libm-test.inc (fma_test): Add more tests.
44165         (fma_test_towardzero): New function.
44166         (fma_test_downward): Likewise.
44167         (fma_test_upward): Likewise.
44168         (main): Call the new functions.
44170 2012-09-28  David S. Miller  <davem@davemloft.net>
44172         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44174 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44176         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44177         instead of SIGALRM.
44179         * sysdeps/gnu/_G_config.h: Moved to ...
44180         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44181         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44182         * sysdeps/generic/_G_config.h: ... here.
44184         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44186         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44188         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44189         Conditionalize target on [libnss_test1.so-version].
44191         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44193         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44194         (elfobjdir): Move out of conditionals.
44196         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44197         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44198         (__nss_lookup_function): Conditionalize label remove_from_tree on
44199         [!DO_STATIC_NSS || SHARED], matching its only use.
44201 2012-09-28  David S. Miller  <davem@davemloft.net>
44203         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44204         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44205         file.
44206         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44207         sysdep_routines.
44208         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44209         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44210         when HWCAP_SPARC_CRYPTO is present.
44212 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44214         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44216 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44218         [BZ #6530]
44219         * stdio-common/vfprintf.c (process_string_arg): Revert
44220         2000-07-22 change.
44222 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44224         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44225         for testcase.
44226         * stdio-common/tst-sprintf.c: Include <locale.h>
44227         (main): Test sprintf's handling of incomplete multibyte
44228         characters.
44230 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44232         * elf/dl-runtime.c (VERSYMIDX): Removed.
44233         * elf/dl-version.c (VERSYMIDX): Likewise.
44234         * elf/do-rel.h (VERSYMIDX): Likewise.
44235         (VALIDX): Likewise.
44236         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44237         * elf/rtld.c (VALIDX): Likewise.
44238         (ADDRIDX): Likewise.
44239         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44240         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44241         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44242         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44243         (VALIDX): Likewise.
44244         (ADDRIDX): Likewise.
44246 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44248         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44250 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44252         [BZ #11438]
44253         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44254         to global scope.
44255         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44256         addresses are in the same scope as 192.0.2/24.
44257         * posix/gai.conf: Document new scope table defaults.
44259 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44261         [BZ #5298]
44262         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44263         for ftell.  Compute offsets from write pointers instead.
44264         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44266 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44268         [BZ #14543]
44269         * libio/Makefile (tests): New test case tst-fseek.
44270         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44271         combination works in wide mode.
44272         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44273         state when the external buffer state changes.
44275 2012-09-27  David S. Miller  <davem@davemloft.net>
44277         [BZ #14376]
44278         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44279         pass reloc->r_addend in as the 'high' argument to
44280         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44284 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44286         * rt/tst-aio2.c: Include <pthread.h>.
44287         * rt/tst-aio3.c: Likewise.
44289 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44291         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44293 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44295         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44296         contents on [SHARED].
44298 2012-09-26  Marek Polacek  <polacek@redhat.com>
44300         [BZ #14530]
44301         [BZ #13741]
44302         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44303         for C++ and GCC <4.3 as well as for non GCC compilers.
44305 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44309 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44311         * Makefile.in (all, install): Declare with .PHONY.
44312         Reported by Michael Hope <michael.hope@linaro.org>.
44314 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44316         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44317         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44318         system header.
44319         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44320         Likewise.
44321         (sydep_routines): Add the new and the internal functions.
44322         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44323         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44325         (GLIBC_2.17): Add the new function.
44326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44327         (GLIBC_2.17): Likewise.
44328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44329         (GLIBC_2.17): Likewise.
44330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44331         (GLIBC_2.17): Likewise.
44332         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44334 2012-09-25  Alan Modra  <amodra@gmail.com>
44336         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44337         Add release barrier before setting once_control to say
44338         initialisation is done.  Add hints on lwarx.  Use macro in
44339         place of isync.
44340         (clear_once_control): Add release barrier.
44342 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44344         [BZ #13629]
44345         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44346         specially.
44347         * math/s_clog10.c (__clog10): Likewise.
44348         * math/s_clog10f.c (__clog10f): Likewise.
44349         * math/s_clog10l.c (__clog10l): Likewise.
44350         * math/s_clogf.c (__clogf): Likewise.
44351         * math/s_clogl.c (__clogl): Likewise.
44352         * math/Makefile (libm-calls): Add x2y2m1.
44353         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44354         (__x2y2m1): Likewise.
44355         (__x2y2m1l): Likewise.
44356         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44357         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44358         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44359         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44360         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44361         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44362         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44363         * sysdeps/i386/fpu/libm-test-ulps: Update.
44364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44366         [BZ #14621]
44367         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44368         int as type of variable DEPTH.
44369         (glob): Use size_t instead of int as type of variables NEWCOUNT
44370         and OLD_PATHC.
44372 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44374         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44375         Add s_sincosf-sse2.
44376         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44377         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44378         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44379         macros for using routine as __sincosf_ia32.
44380         Use macro for function declaration and weak_alias.
44381         * sysdeps/i386/fpu/libm-test-ulps: Update.
44383         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44386         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44387         subnormal argument.
44388         * math/s_cexpf.c (__cexpf): Likewise.
44389         * math/s_csinf.c (__csinf): Likewise.
44390         * math/s_csinhf.c (__csinhf): Likewise.
44391         * math/s_ctanf.c (__ctanf): Likewise.
44392         * math/s_ctanhf.c (__ctanhf): Likewise.
44393         * math/s_ccosh.c (__ccoshf): Likewise.
44394         * math/s_cexp.c (__cexpl): Likewise.
44395         * math/s_csin.c (__csin): Likewise.
44396         * math/s_csinh.c (__csinh): Likewise.
44397         * math/s_ctan.c (__ctan): Likewise.
44398         * math/s_ctanh.c (ctanh): Likewise.
44399         * math/s_ccoshl.c (__ccoshl): Likewise.
44400         * math/s_cexpl.c (__cexpl): Likewise.
44401         * math/s_csinl.c (__csinl): Likewise.
44402         * math/s_csinhl.c (__csinhl): Likewise.
44403         * math/s_ctanl.c (__ctanl): Likewise.
44404         * math/s_ctanhl.c (__ctanhl): Likewise.
44406 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44408         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44409         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44410         (_IO_off_t): Define to __off_t, not _G_off_t.
44411         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44412         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44413         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44414         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44415         type of __dummy and __dummy2 fields.
44416         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44417         (_G_ssize_t): Likewise.
44418         (_G_off_t): Likewise.
44419         (_G_pid_t): Likewise.
44420         (_G_uid_t): Likewise.
44421         (_G_wchar_t): Likewise.
44422         (_G_wint_t): Likewise.
44423         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44424         (_G_ssize_t): Likewise.
44425         (_G_off_t): Likewise.
44426         (_G_pid_t): Likewise.
44427         (_G_uid_t): Likewise.
44428         (_G_wchar_t): Likewise.
44429         (_G_wint_t): Likewise.
44430         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44431         (_G_ssize_t): Likewise.
44432         (_G_off_t): Likewise.
44433         (_G_pid_t): Likewise.
44434         (_G_uid_t): Likewise.
44435         (_G_wchar_t): Likewise.
44436         (_G_wint_t): Likewise.
44438 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44440         * malloc/arena.c: Include malloc-sysdep.h.
44441         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44442         is sufficient to shrink the heap or an unmap is needed.
44443         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44444         new function check_may_shrink_heap.
44445         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44446         new function check_may_shrink_heap.
44448 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44450         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44451         comments.
44453 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44455         * catgets/test-gencat.sh: Add "set -e".
44456         * elf/tst-pathopt.sh: Likewise.
44457         * grp/tst_fgetgrent.sh: Likewise.
44458         * iconvdata/run-iconv-test.sh: Likewise.
44459         * intl/tst-gettext.sh: Likewise.
44460         * intl/tst-gettext2.sh: Likewise.
44461         * intl/tst-gettext4.sh: Likewise.
44462         * intl/tst-gettext6.sh: Likewise.
44463         * intl/tst-translit.sh: Likewise.
44464         * io/ftwtest-sh: Likewise.
44465         * libio/test-freopen.sh: Likewise.
44466         * malloc/tst-mtrace.sh: Likewise.
44467         * posix/globtest.sh: Likewise.
44468         * posix/tst-getconf.sh: Likewise.
44469         * posix/wordexp-tst.sh: Likewise.
44470         * stdio-common/tst-printf.sh: Likewise.
44471         * stdio-common/tst-unbputc.sh: Likewise.
44472         * stdlib/tst-fmtmsg.sh: Likewise.
44473         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44474         * catgets/Makefile: Do not specify -e option when running
44475         testsuite shell scripts.
44476         * elf/Makefile: Likewise.
44477         * grp/Makefile: Likewise.
44478         * iconvdata/Makefile: Likewise.
44479         * intl/Makefile: Likewise.
44480         * io/Makefile: Likewise.
44481         * libio/Makefile: Likewise.
44482         * malloc/Makefile: Likewise.
44483         * posix/Makefile: Likewise.
44484         * stdio-common/Makefile: Likewise.
44485         * stdlib/Makefile: Likewise.
44486         * sysdeps/x86_64/Makefile: Likewise.
44488         * io/ftwtest-sh: Add copyright header.
44489         * posix/globtest.sh: Likewise.
44490         * posix/tst-getconf.sh: Likewise.
44491         * posix/wordexp-tst.sh: Likewise.
44492         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44494 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44496         [BZ #13679]
44497         * Makeconfig (+link): Defined as $(+link-static) if
44498         $(build-shared) isn't yes.
44499         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44500         isn't yes.
44501         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44503         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44505         [BZ #14562]
44506         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44507         new chunk size with MALLOC_ALIGN_MASK.
44509 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44511         [BZ #5044]
44512         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44513         <rounding-mode.h>.
44514         (__printf_fphex): Determine rounding using get_rounding_mode and
44515         round_away.
44516         * stdio-common/tst-printf-round.c (struct hex_test): New
44517         structure.
44518         (hex_tests): New variable.
44519         (test_hex_in_one_mode): New function.
44520         (do_test): Also run tests for hex float output.
44522 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44524         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44525         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44526         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44527         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44528         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44529         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44530         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44531         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44533 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44535         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44536         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44537         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44538         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44540 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44542         [BZ #14579]
44543         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44544         mode only.
44545         * elf/tst-rtld-load-self.sh: New test.
44546         * elf/Makefile: Run it.
44548 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44550         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44551         (tst-writev-ENV): Remove.
44552         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44554 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44556         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44558 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44560         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44561         unconditional.
44562         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44563         Likewise.
44564         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44565         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44566         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44567         Likewise.
44569 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44571         [BZ #14587]
44572         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44573         * config.make.in (have-cpp-asm-debuginfo): Removed.
44574         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44575         * configure: Regenerated.
44577 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44579         [BZ #5044]
44580         * stdio-common/printf_fp.c: Include <stdbool.h> and
44581         <rounding-mode.h>.
44582         (___printf_fp): Determine rounding using get_rounding_mode and
44583         round_away.
44584         * stdio-common/tst-printf-round.c: New file.
44585         * stdio-common/Makefile (tests): Add tst-printf-round.
44586         (link-libm): New variable.
44587         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44589 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44591         [BZ #14576]
44592         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44593         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44594         Likewise.
44595         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44596         Likewise.
44598 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44600         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44601         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44602         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44603         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44605 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44607         [BZ #14518]
44608         * include/rounding-mode.h: New file.
44609         * sysdeps/generic/get-rounding-mode.h: Likewise.
44610         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44611         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44612         (MAX_VALUE): New macro.
44613         (MIN_VALUE): Likewise.
44614         (overflow_value): New function.
44615         (underflow_value): Likewise.
44616         (round_and_return): Use overflow_value and underflow_value to
44617         determine return values in overflow and underflow cases.  Use
44618         round_away to determine rounding depending on rounding mode.
44619         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44620         determine return values in overflow and underflow cases.
44621         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44622         (struct test_results): New structure.
44623         (struct test): Use struct test_results to store expected results
44624         for all rounding modes.
44625         (TEST): Include expected results for all rounding modes.
44626         (test_in_one_mode): New function.
44627         (do_test): Use test_in_one_mode to compute and check results.
44628         Check results for all rounding modes.
44629         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44630         $(link-libm).
44632 2012-12-09  Allan McRae  <allan@archlinux.org>
44634         * sysdeps/i386/fpu/libm-test-ulps: Update
44636 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44638         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44639         (_G_int32_t): Likewise.
44640         (_G_uint16_t): Likewise.
44641         (_G_uint32_t): Likewise.
44642         (_G_HAVE_BOOL): Likewise.
44643         (_G_HAVE_ATEXIT): Likewise.
44644         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44645         (_G_HAVE_IO_FILE_OPEN): Likewise.
44646         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44647         (_G_int32_t): Likewise.
44648         (_G_uint16_t): Likewise.
44649         (_G_uint32_t): Likewise.
44650         (_G_HAVE_BOOL): Likewise.
44651         (_G_HAVE_ATEXIT): Likewise.
44652         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44653         (_G_HAVE_IO_FILE_OPEN): Likewise.
44654         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44655         (_G_int32_t): Likewise.
44656         (_G_uint16_t): Likewise.
44657         (_G_uint32_t): Likewise.
44658         (_G_HAVE_BOOL): Likewise.
44659         (_G_HAVE_ATEXIT): Likewise.
44660         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44661         (_G_HAVE_IO_FILE_OPEN): Likewise.
44663 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44665         * csu/libc-tls.c: Update copyright years.
44667 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44669         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44670         [!_G_USING_THUNKS]: Remove conditional code.
44671         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44672         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44674         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44675         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44676         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44677         (_G_VTABLE_LABEL_PREFIX): Likewise.
44678         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44679         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44680         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44681         (_G_VTABLE_LABEL_PREFIX): Likewise.
44682         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44683         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44684         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44685         (_G_VTABLE_LABEL_PREFIX): Likewise.
44686         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44688 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44690         * libio/Makefile: Include ../Makeconfig before tests.
44691         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44692         only if $(build-shared) is yes.
44694         * iconv/gconv_db.c: Update copyright years.
44696 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44698         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44699         unwind info if defined PIC. Fix special cases description.
44700         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44702         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44703         DP_HI_MASK entry.
44704         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44706 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44708         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44710         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44711         is NULL.
44713         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44714         (LDLIBS-tst-chk4): This.
44715         (LDFLAGS-tst-chk5): Renamed to ...
44716         (LDLIBS-tst-chk5): This.
44717         (LDFLAGS-tst-chk6): Renamed to ...
44718         (LDLIBS-tst-chk6): This.
44719         (LDFLAGS-tst-lfschk4): Renamed to ...
44720         (LDLIBS-tst-lfschk4): This.
44721         (LDFLAGS-tst-lfschk5): Renamed to ...
44722         (LDLIBS-tst-lfschk5): This.
44723         (LDFLAGS-tst-lfschk6): Renamed to ...
44724         (LDLIBS-tst-lfschk6): This.
44726         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44727         on $(common-objpfx)soversions.mk.
44729 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44731         [BZ #10014]
44732         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44733         example host name.
44735 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44737         * malloc/arena.c (arena_get_retry): New function that gets
44738         another arena for the caller to try its request on.
44739         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44740         current arena cannot fulfill the request.
44741         (__libc_memalign): Likewise.
44742         (__libc_memalign): Likewise.
44743         (__libc_pvalloc): Likewise.
44744         (__libc_calloc): Likewise.
44746 2012-09-05  John Tobey  <john.tobey@gmail.com>
44748         [BZ #13542]
44749         * manual/arith.texi (Operations on Complex): Fix description
44750         of carg branch cut.
44752 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44754         [BZ #10014]
44755         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44756         host name.
44758         [BZ #10038]
44759         * manual/memory.texi (Memory): Make order of menu items match
44760         order of sections.
44762 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44764         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44765         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44766         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44768 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44770         * csu/libc-tls.c (static_dtv): Renamed to ...
44771         (_dl_static_dtv): This.  Make it global.
44772         (_dl_initial_dtv): Removed.
44773         (__libc_setup_tls): Updated.
44774         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44775         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44776         DL_INITIAL_DTV.
44778 2012-09-06  Petr Machata  <pmachata@redhat.com>
44780         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44781         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44782         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44783         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44785 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44787         [BZ #14545]
44788         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44789         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44790         freeing dtv[-1].
44792 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44794         [BZ #14544]
44795         * Makeconfig (link-static-before-libc): Replace $(+prector)
44796         with $(+prectorT).
44797         (link-static-after-libc): Replace $(+postctor) with
44798         $(+postctorT).
44799         (link-bounded): Replace $(+prector)/$(+postctor) with
44800         $(+prectorT)/$(+postctorT).
44801         (+prectorT): New macro.
44802         (+postctorT): Likewise.
44804 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44806         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44807         (round_str): Handle values above the maximum for IBM long double
44808         as inexact.
44809         * stdlib/tst-strtod-round.c (tests): Regenerated.
44811 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44813         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44814         assembler flag.
44815         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44816         zarch_nohighgprs around the zarch optimized routines.
44817         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44818         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44819         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44820         for zarch.
44822 2012-09-05  David S. Miller  <davem@davemloft.net>
44824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44826         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44827         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44828         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44829         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44830         entries.
44832 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44834         * malloc/arena.c: Fold copyright years.
44835         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44837 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44839         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44841 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44843         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44845 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44847         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44848         change internal state upon failure.
44850 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44852         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44853         * malloc/memusage.c (mmap): Likewise.
44854         (mmap64, mremap): Likewise.  Adjust name in comment.
44856 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44858         * libio/fileops.c: Fix typos in comments.
44859         * libio/oldfileops.c: Likewise.
44860         * libio/wfileops.c: Likewise.
44862 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44864         [BZ #1349]
44865         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44866         (tst-malloc-usable-ENV): Set environment for test case.
44867         * malloc/hooks.c (malloc_check_get_size): New function to get
44868         requested size.
44869         * malloc/malloc.c (musable): Use malloc_check_get_size.
44870         * malloc/tst-malloc-usable.c: New test case.
44872 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44874         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44876 2012-09-05  Allan McRae  <allan@archlinux.org>
44878         [BZ #13966]
44879         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44880         determine header location.
44881         * configure: Regenerated.
44883 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44885         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44886         float format.
44887         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44888         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44889         format.
44890         (test): Regenerate.
44892 2012-09-04  David S. Miller  <davem@davemloft.net>
44894         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44895         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44896         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44898 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44900         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44901         failures.
44903         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44905 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44907         [BZ #9914]
44908         * libio/iogetdelim.c: Include <limits.h>.
44909         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44910         + len + 1 would overflow.
44912 2012-09-03  Andreas Jaeger  <aj@suse.de>
44914         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44915         * sysdeps/i386/fpu/libm-test-ulps: Update.
44917 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44919         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44920         Add s_sinf-sse2, s_conf-sse2.
44922         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44923         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44924         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44925         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44927         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44928         for using routine as __sinf_ia32.
44929         Use macro for function declaration and weak_alias.
44930         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44931         for using routine as __cosf_ia32.
44932         Use macro for function declaration and weak_alias.
44934         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44935         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44937         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44938         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44939         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44941         * math/libm-test.inc (cos_test): Add more test cases.
44942         (sin_test): Likewise.
44943         (sincos_test): Likewise.
44945 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44947         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44948         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44949         hidden.
44950         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44952 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44954         [BZ #14538]
44955         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44956         first element of the GOT.
44957         (elf_machine_load_address): Return the difference between
44958         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44960 2012-09-01  Allan McRae  <allan@archlinux.org>
44962         [BZ #13412]
44963         * configure.in (AWK): Require gawk version 3.0 or later.
44964         * configure: Regenerated.
44966 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44968         * sysdeps/unix/sysv/linux/kernel-features.h
44969         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44970         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44971         [__NR_clock_getres]: Make code unconditional.
44972         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44973         (clock_getcpuclockid): Remove code left unreachable by removal of
44974         conditionals.
44975         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44976         code unconditional.
44977         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44978         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44979         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44980         Make code unconditional.
44981         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44982         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44983         * sysdeps/unix/sysv/linux/clock_settime.c
44984         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44985         conditional code.
44986         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44987         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44989 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44991         [BZ #14476]
44992         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44993         scripts/test-installation.pl.
44995         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44996         and $ld_so_version if it is set.
44998 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45000         [BZ #14516]
45001         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45002         failure if reading from procfs failed.
45003         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45005 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45007         * sysdeps/unix/sysv/linux/kernel-features.h
45008         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45009         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45010         Remove conditional code.
45011         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45012         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45013         Remove conditional code.
45014         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45015         * sysdeps/unix/sysv/linux/i386/fxstat.c
45016         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45017         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45018         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45019         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45020         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45021         * sysdeps/unix/sysv/linux/i386/lxstat.c
45022         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45023         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45024         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45025         Remove conditional code.
45026         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45027         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45028         Remove conditional code.
45029         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45030         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45031         <kernel-features.h>.
45032         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45033         Remove.
45034         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45035         Remove conditional code.
45036         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45037         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45038         Remove conditional.
45040 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45042         [BZ #5400]
45043         * NEWS: Add fixed bug number.
45045 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45047         [BZ #14519]
45048         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45049         underflowing exponent in case of negative sign.
45050         * stdlib/tst-strtod-round-data: Add more tests.
45051         * stdlib/tst-strtod-round.c (tests): Regenerated.
45053         [BZ #3479]
45054         * stdlib/strtod_l.c (NDIG): Remove.
45055         (HEXNDIG): Likewise.
45056         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45057         smallest representable value.
45058         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45059         lie within an exact representation of 1/2 ulp of the result.
45060         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45061         unconditionally.
45062         (TENS_P9_IDX): Define unconditionally.
45063         (TENS_P9_SIZE): Likewise.
45064         (TENS_P10_IDX): Likewise.
45065         (TENS_P10_SIZE): Likewise.
45066         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45067         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45068         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45069         entries for 10^2^13 and 10^2^14.
45070         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45071         (TENS_P13_IDX): Define.
45072         (TENS_P13_SIZE): Likewise.
45073         (TENS_P14_IDX): Likewise.
45074         (TENS_P14_SIZE): Likewise.
45075         (_fpioconst_pow10): Change array size to
45076         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45077         unconditional.
45078         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45079         1024]: Add entries for 10^2^13 and 10^2^14.
45080         [LAST_POW10 > _LAST_POW10]: Remove #error.
45081         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45082         (_fpioconst_pow10): Change array size to
45083         FPIOCONST_POW10_ARRAY_SIZE.
45084         * stdlib/gen-fpioconst.c: New file.
45085         * stdlib/gen-tst-strtod-round.c: Likewise.
45086         * stdlib/tst-strtod-round-data: Likewise.
45087         * stdlib/tst-strtod-round.c: Likewise.
45088         * stdlib/Makefile (tests): Add tst-strtod-round.
45090         [BZ #14459]
45091         * stdlib/strtod_l.c: Include <stdint.h>.
45092         (NDEBUG): Do not define.
45093         (round_and_return): Change EXPONENT parameter to type intmax_t.
45094         Rearrange calculations to avoid internal overflow possibilities.
45095         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45096         Rearrange calculations to avoid internal overflow possibilities.
45097         Assert that number fits inside MPNSIZE limbs.
45098         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45099         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45100         calculations and add assertions to avoid internal overflow
45101         possibilities.  Add casts to avoid signed/unsigned operations.
45102         * stdlib/tst-strtod-overflow.c: New file.
45103         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45105 2012-08-25  Marek Polacek  <polacek@redhat.com>
45107         * time/time.h: Fix some typos in comments.
45109 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45111         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45112         * posix/tst-rfc3484-2.c: Likewise.
45113         * posix/tst-rfc3484-3.c: Likewise.
45115 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45117         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45118         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45120 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45122         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45123         #include of fxstatat64.c.
45125 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45127         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45128         * shadow/getspent_r.c: Likewise.
45129         * shadow/getspnam.c: Likewise.
45130         * shadow/getspnam_r.c: Likewise.
45131         * gshadow/getsgent.c: Likewise.
45132         * gshadow/getsgent_r.c: Likewise.
45133         * gshadow/getsgnam.c: Likewise.
45134         * gshadow/getsgnam_r.c: Likewise.
45135         * inet/getnetbyad.c: Likewise.
45136         * inet/getnetbyad_r.c: Likewise.
45137         * inet/getnetbynm.c: Likewise.
45138         * inet/getnetbynm_r.c: Likewise.
45139         * inet/getnetent.c: Likewise.
45140         * inet/getnetent_r.c: Likewise.
45141         * inet/getproto.c: Likewise.
45142         * inet/getproto_r.c: Likewise.
45143         * inet/getprtent.c: Likewise.
45144         * inet/getprtent_r.c: Likewise.
45145         * inet/getprtname.c: Likewise.
45146         * inet/getprtname_r.c: Likewise.
45147         * inet/getrpcbyname.c: Likewise.
45148         * inet/getrpcbyname_r.c: Likewise.
45149         * inet/getrpcbynumber.c: Likewise.
45150         * inet/getrpcbynumber_r.c: Likewise.
45151         * inet/getrpcent.c: Likewise.
45152         * inet/getrpcent_r.c: Likewise.
45153         * inet/getaliasent.c: Likewise.
45154         * inet/getaliasent_r.c: Likewise.
45155         * inet/getaliasname.c: Likewise.
45156         * inet/getaliasname_r.c: Likewise.
45157         * nscd/getgrgid_r.c: Likewise.
45158         * nscd/getgrnam_r.c: Likewise.
45159         * nscd/gethstbyad_r.c: Likewise.
45160         * nscd/gethstbynm3_r.c: Likewise.
45161         * nscd/getpwnam_r.c: Likewise.
45162         * nscd/getpwuid_r.c: Likewise.
45163         * nscd/getsrvbynm_r.c: Likewise.
45164         * nscd/getsrvbypt_r.c: Likewise.
45165         * nscd/gai.c: Likewise.
45167         * configure.in (build_nscd): New substituted variable, set
45168         by --disable-build-nscd and defaults to $use_nscd.
45169         * configure: Regenerated.
45170         * config.make.in (build-nscd): New substituted variable.
45171         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45172         Change conditional to require [$(build-nscd) = yes] as well.
45173         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45175         [BZ# 13696]
45176         * configure.in (use_nscd): New substituted variable, set by
45177         --disable-nscd.  If enabled, define USE_NSCD.
45178         * configure: Regenerated.
45179         * config.h.in: Add USE_NSCD.
45180         * config.make.in (use-nscd): New substituted variable.
45181         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45182         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45183         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45184         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45185         (CFLAGS-getgrnam_r.c): Likewise.
45186         (CFLAGS-initgroups.c): Likewise.
45187         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45188         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45189         Variables removed.
45190         * inet/getnetgrent_r.c
45191         (nscd_setnetgrent): New function, broken out of ...
45192         (setnetgrent): ... here.  Call it.
45193         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45194         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45195         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45196         * nscd/Makefile (routines, aux): Move definitions after include of
45197         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45198         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45199         Conditionalize on [USE_NSCD].
45200         (is_nscd, nscd_init_cb): Likewise.
45201         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45202         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45203         * nss/nss_db/db-init.c: Likewise.
45204         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45205         [USE_NSCD].
45206         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45207         (make_request): Use it.
45208         (cache_valid_p): New function.
45209         (__check_pf): Use it.
45210         * NEWS: Add item for --disable-nscd.
45212 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45214         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45215         to support sed >= 4.2.1-20-ga9bf076.
45216         * configure: Regenerated.
45218 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45220         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45221         Conditionalize whole body on [IREL].
45223 2012-08-22  Jeff Law <law@redhat.com>
45225         [BZ #14505]
45226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45227         if the family is PF_UNSPEC.
45229 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45231         * Makerules (lib-version): Rename from V.
45232         (install-lib-nosubdir): Change V to lib-version.
45234 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45236         [BZ #14252]
45237         * powerpc32/power6/wcschr.c: New file.
45238         * powerpc32/power6/wcscpy.c: New file.
45239         * powerpc32/power6/wcsrchr.c: New file.
45240         * powerpc64/power6/wcschr.c: New file.
45241         * powerpc64/power6/wcscpy.c: New file.
45242         * powerpc64/power6/wcsrchr.c: New file.
45244 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45246         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45247         (two_way_short_needle): Use it.
45248         * string/strstr.c (AVAILABLE1_USES_J): Define.
45249         * string/strcasestr.c: Likewise.
45251         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45252         array references.
45253         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45255         [BZ #11607]
45256         * NEWS: Add an entry.
45257         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45258         define their defaults.
45259         (two_way_short_needle): Detect end-of-string on-the-fly.
45260         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45261         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45262         * string/bug-strcasestr1.c: New test.
45263         * string/Makefile: Run it.
45265 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45267         [BZ #11607]
45268         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45269         the first character.
45271 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45273         * csu/elf-init.c (__libc_csu_irel): Function removed.
45274         * csu/libc-start.c (apply_irel): New function.
45275         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45277 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45279         * sysdeps/unix/sysv/linux/kernel-features.h
45280         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45281         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45282         <kernel-features.h>.
45283         [__NR_fadvise64_64]: Make code unconditional.
45284         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45285         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45286         !__NR_fadvise64_64)]: Likewise.
45287         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45288         !__NR_fadvise64_64))]: Likewise.
45289         [__NR_fadvise64]: Make code unconditional.
45290         [!__NR_fadvise64]: Remove conditional code.
45291         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45292         <kernel-features.h>.
45293         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45294         unconditional.
45295         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45296         conditional code.
45297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45298         not include <kernel-features.h>.
45299         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45300         unconditional.
45301         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45302         conditional code.
45303         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45304         include <kernel-features.h>.
45305         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45306         unconditional.
45307         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45308         conditional code.
45310 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45312         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45313         slight instruction rearrangements per scrollpipe analysis.
45314         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45316 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45318         * manual/syslog.texi (syslog; vsyslog, closelog):
45319         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45320         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45322         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45323         DSOCAPS to match condition on defining it.
45325 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45327         * sysdeps/unix/sysv/linux/kernel-features.h
45328         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45330         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45331         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45333         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45334         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45336         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45337         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45339         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45340         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45342         * sysdeps/unix/sysv/linux/kernel-features.h
45343         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45344         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45345         unconditional.
45346         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45347         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45348         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45349         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45350         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45351         Make code unconditional.
45352         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45353         (__mmap64) [!__NR_mmap2]: Likewise.
45354         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45355         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45356         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45357         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45358         [__NR_mmap2]: Make code unconditional.
45359         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45360         (__mmap64) [!__NR_mmap2]: Likewise.
45362 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45364         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45366 2012-08-18  Andreas Jaeger  <aj@suse.de>
45368         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45370 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45372         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45373         * include/unistd.h (__have_sock_cloexec): Likewise.
45374         (__have_pipe2): Likewise.
45375         (__have_dup3): Likewise.
45377 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45379         [BZ #9685]
45380         * include/unistd.h (__have_pipe2): Change define into an extern int.
45381         (__have_dup3): Likewise.
45382         * socket/have_sock_cloexec.c: Include fcntl.h.
45383         (__have_pipe2): New variable.
45384         (__have_dup3): Likewise.
45386 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45388         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45390 2012-08-17  Marek Polacek  <polacek@redhat.com>
45392         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45393         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45395 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45397         * configure.in: Add AC_SUBST for sysheaders.
45398         * configure: Regenerated.
45399         * config.make.in (sysheaders): New substituted variable.
45401         * sysdeps/unix/mkfifo.c: Moved ...
45402         * sysdeps/posix/mkfifo.c: ... here.
45403         * sysdeps/unix/mkfifoat.c: Moved ...
45404         * sysdeps/posix/mkfifoat.c: ... here.
45406         * sysdeps/unix/utime.c: Moved ...
45407         * sysdeps/posix/utime.c: ... here.
45409         * sysdeps/unix/time.c: Moved ...
45410         * sysdeps/posix/time.c: ... here.
45411         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45412         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45414         * sysdeps/unix/nice.c: Moved ...
45415         * sysdeps/posix/nice.c: ... here.
45417         * sysdeps/unix/alarm.c: Moved ...
45418         * sysdeps/posix/alarm.c: ... here.
45420         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45422 2012-08-17  Jeff Law <law@redhat.com>
45424         * intl/Makefile (codeset_mo): New variable.
45425         ($(codeset_mo)): New target.
45426         (tst-codeset.out): Depend on that.  Remove explicit rule.
45427         (tst-gettext3.out, tst-gettext5.out): Likewise.
45428         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45429         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45430         * intl/tst-codeset.sh: Remove.
45431         * intl/tst-gettext3.sh: Likewise.
45432         * intl/tst-gettext5.sh: Likewise.
45434 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45436         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45437         * sysdeps/unix/syscalls.list: ... here.
45439         * sysdeps/posix/getaddrinfo.c
45440         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45441         (gaiconf_init, gaiconf_reload): Use them.
45442         [!_STATBUF_ST_NSEC]
45443         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45444         Define using time_t rather than struct timespec.
45446         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45447         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45448         Macros removed.
45449         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45450         [!NO_THREADS].
45451         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45452         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45453         Likewise.
45455         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45456         __libc_cleanup_push argument.
45458         * bits/param.h: New file.
45459         * misc/sys/param.h: New file.
45460         * include/sys/param.h: New file.
45461         * misc/Makefile (headers): Add bits/param.h.
45462         * sysdeps/generic/sys/param.h: File removed.
45463         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45464         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45465         * sysdeps/mach/hurd/bits/param.h: New file.
45466         * sysdeps/mach/hurd/sys/param.h: File removed.
45468         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45469         last change.
45471         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45472         [_IO_MTSAFE_IO].
45473         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45474         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45475         New macros.
45477         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45478         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45479         rather than -D_IO_MTSAFE_IO conditionally.
45480         * stdio-common/Makefile (CPPFLAGS): Likewise.
45481         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45482         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45483         Use $(libio-mtsafe).
45484         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45485         of -D_IO_MTSAFE_IO.
45486         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45487         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45488         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45489         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45490         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45491         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45492         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45493         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45494         (CFLAGS-fread_u_chk.c): Likewise.
45495         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45496         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45497         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45498         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45499         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45500         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45501         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45502         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45503         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45505         * libio/Makefile: Test [$(libc-reentrant) = yes]
45506         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45508         * Makeconfig
45509         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45510         * sysdeps/pthread/configure: File removed.
45511         * sysdeps/pthread/Makeconfig: New file.
45512         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45513         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45515 2012-08-16  Gary Benson  <gbenson@redhat.com>
45517         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45518         unmapping the first object in a namespace.
45520 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45522         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45523         (__internal_setnetgrent): ... this.  Add internal_function to
45524         definition.  Add libc_hidden_def.
45525         (setnetgrent): Update caller.
45526         (internal_endnetgrent): Renamed to ...
45527         (__internal_endnetgrent): ... this.  Add internal_function to
45528         definition.  Add libc_hidden_def.
45529         (endnetgrent): Update caller.
45530         (internal_getnetgrent_r): Renamed to ...
45531         (__internal_getnetgrent_r): ... this.  Add internal_function to
45532         definition.  Add libc_hidden_def.
45533         (__getnetgrent_r): Update caller.
45534         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45536 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45538         * stdlib/longlong.h: Update from GCC.
45540 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45542         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45543         on _QL, which is set by umul_ppmm but never used.
45544         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45545         variables, which are set by GMP macros but never used.
45546         * stdio-common/_itowa.c (_itowa): Likewise.
45547         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45548         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45550 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45552         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45553         struct La_sh_regs is not constant.
45554         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45555         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45556         and struct La_sparc64_regs are not constant.
45558 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45560         * sysdeps/unix/sysv/linux/kernel-features.h
45561         (__ASSUME_POSIX_TIMERS): Remove.
45562         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45563         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45564         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45565         Make code unconditional.
45566         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45567         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45568         Make code unconditional.
45569         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45570         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45571         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45572         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45573         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45574         Make code unconditional.
45575         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45576         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45577         (__libc_missing_posix_timers): Remove.
45579 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45581         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45582         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45584         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45586         * elf/dl-sym.c: Include <stdlib.h>.
45588         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45589         constants, which avoids warnings in 32-bit builds.
45591         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45592         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45594         * misc/lseek.c: File moved to ...
45595         * io/lseek.c: ... here.
45597         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45599         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45600         shifting LEN more than 31 bits at once.
45602 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45604         [BZ #14195]
45605         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45606         segmentation fault for a case of two empty input strings.
45607         * string/test-strncasecmp.c (check1): Renamed to...
45608         (bz12205): ...this.
45609         (bz14195): Add new testcase for two empty input strings and N > 0.
45610         (test_main): Call new testcase, adapt for renamed function.
45612 2012-08-15  Andreas Jaeger  <aj@suse.de>
45614         [BZ #14090]
45615         * crypt/md5test2.c: New test, based on test supplied by Serge
45616         Belyshev <belyshev@depni.sinp.msu.ru>.
45617         * crypt/Makefile (xtests): Add md5test-giant..
45618         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45620 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45622         [BZ #14090]
45623         * crypt/md5.c (md5_process_block): Don't assume the buffer
45624         length is less than 2**32.
45625         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45626         length is less than 2**64.
45628 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45630         * string/str-two-way.h: Include <sys/param.h>.
45631         (MAX): Macro removed.
45633         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45634         Move #define and #undef of memmove to just before and after
45635         including <string.h>.
45637         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45638         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45639         and after including <string.h>.  Move declarations of
45640         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45641         to before #include "string/memmove.c".
45643         * include/dirent.h: Declare __getdirentries.
45645         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45646         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45648 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45650         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45651         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45652         * sysdeps/i386/configure: Regenerated.
45653         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45654         STABS_CURRENT_FILE, and STABS_FUN.
45655         (END): Remove call to STABS_FUN_END.
45656         (STABS_CURRENT_FILE1): Delete.
45657         (STABS_CURRENT_FILE): Likewise.
45658         (STABS_FUN): Likewise.
45659         (STABS_FUN_END): Likewise.
45660         (STABS_FUN2): Likewise.
45661         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45662         * sysdeps/x86_64/configure: Regenerated.
45664 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45666         * elf/dl-open.c: Include <atomic.h>.
45667         * elf/dl-lookup.c: Likewise.
45669 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45671         * sysdeps/unix/sysv/linux/kernel-features.h
45672         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45673         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45674         unconditionally.
45675         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45676         unconditionally.
45677         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45678         condition on __ASSUME_CLONE_THREAD_FLAGS.
45680 2012-08-14  Andreas Jaeger  <aj@suse.de>
45682         * sysdeps/i386/fpu/libm-test-ulps: Update.
45684 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45686         * include/atomic.h (atomic_exchange_and_add): Split into ...
45687         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45688         New atomic macros.
45690 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45694 2012-08-13  Jeff Law <law@redhat.com>
45696         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45697         null byte in the output string.
45699 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45701         * sysdeps/unix/sysv/linux/kernel-features.h
45702         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45703         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45704         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45705         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45706         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45707         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45708         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45710 2012-08-09  Jeff Law <law@redhat.com>
45712         [BZ #13939]
45713         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45714         When avoid_arena is set, don't retry in the that arena.  Pick the
45715         next one, whatever it might be.
45716         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45717         (arena_lock): Pass in new parameter to arena_get2.
45718         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45719         arena_get2.
45720         (__libc_malloc): Unify retrying after main arena failure with
45721         __libc_memalign version.
45722         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45724 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45726         [BZ #14166]
45727         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45728         to __redirect_strstr.
45729         (__strstr_sse42): Use typeof __redirect_strstr.
45730         (__strstr_ia32): Likewise.
45731         (__libc_strstr): New prototype.
45732         (strstr): Renamed to ...
45733         (__libc_strstr): This.
45734         (strstr): New strong alias of __libc_strstr.
45735         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45736         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45737         __redirect_time.
45738         Include <time.h>.
45739         (__libc_time): New prototype.
45740         (time_ifunc): Replace time with __libc_time.
45741         (time): New strong alias and hidden definition of __libc_time.
45742         (__GI_time): Remove strong alias.
45743         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45744         Include <stddef.h>.
45745         (memmove): Redefined to __redirect_memmove.
45746         (__memmove_sse2): Use typeof __redirect_memmove.
45747         (__memmove_ssse3): Likewise.
45748         (__memmove_ssse3_back): Likewise.
45749         (__libc_memmove): New prototype.
45750         (memmove): Renamed to ...
45751         (__libc_memmove): This.
45752         (memmove): New strong alias of __libc_memmove.
45754 2012-08-08  Mark Salter  <msalter@redhat.com>
45756         * elf/elf.h
45757         (R_MN10300_TLS_GD): Define.
45758         (R_MN10300_TLS_LD): Likewise.
45759         (R_MN10300_TLS_LDO): Likewise.
45760         (R_MN10300_TLS_GOTIE): Likewise.
45761         (R_MN10300_TLS_IE): Likewise.
45762         (R_MN10300_TLS_LE): Likewise.
45763         (R_MN10300_TLS_DTPMOD): Likewise.
45764         (R_MN10300_TLS_DTPOFF): Likewise.
45765         (R_MN10300_TLS_TPOFF): Likewise.
45766         (R_MN10300_SYM_DIFF): Likewise.
45767         (R_MN10300_ALIGN): Likewise.
45768         (R_MN10300_NUM): Update.
45770 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45772         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45773         Remove.
45775 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45777         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45779         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45780         sysdeps/unix -> sysdeps/posix move.
45781         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45783 2012-08-07      Allan McRae     <allan@archlinux.org>
45785         [BZ #14303]
45786         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45787         (SUNOS_CPP): Likewise.
45788         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45789         not found.
45790         (open_input): Call CPP using execvp.
45792 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45794         * sysdeps/unix/sysv/linux/kernel-features.h
45795         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45796         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45797         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45798         (__ASSUME_WAITID_SYSCALL): Likewise.
45799         * sysdeps/unix/sysv/linux/dl-execstack.c
45800         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45801         code unconditional.
45802         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45803         conditional code.
45804         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45805         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45806         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45807         code.
45808         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45809         unconditional.
45810         [__ASSUME_WAITID_SYSCALL]: Likewise.
45811         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45813 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45815         * sysdeps/unix/closedir.c: Renamed to ...
45816         * sysdeps/posix/closedir.c: ... here.
45817         * sysdeps/unix/dirfd.c: Renamed to ...
45818         * sysdeps/posix/dirfd.c: ... here.
45819         * sysdeps/unix/dirstream.h: Renamed to ...
45820         * sysdeps/posix/dirstream.h: ... here.
45821         * sysdeps/unix/fdopendir.c: Renamed to ...
45822         * sysdeps/posix/fdopendir.c: ... here.
45823         * sysdeps/unix/opendir.c: Renamed to ...
45824         * sysdeps/posix/opendir.c: ... here.
45825         * sysdeps/unix/readdir.c: Renamed to ...
45826         * sysdeps/posix/readdir.c: ... here.
45827         * sysdeps/unix/readdir_r.c: Renamed to ...
45828         * sysdeps/posix/readdir_r.c: ... here.
45829         * sysdeps/unix/rewinddir.c: Renamed to ...
45830         * sysdeps/posix/rewinddir.c: ... here.
45831         * sysdeps/unix/seekdir.c: Renamed to ...
45832         * sysdeps/posix/seekdir.c: ... here.
45833         * sysdeps/unix/telldir.c: Renamed to ...
45834         * sysdeps/posix/telldir.c: ... here.
45835         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45836         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45837         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45838         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45840         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45841         * bits/fcntl.h: ... here.
45843         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45844         not 0.
45845         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45846         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45847         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45848         (struct flock): Move l_start, l_len to the beginning.
45849         Use __pid_t for l_pid.
45850         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45851         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45852         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45853         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45854         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45855         [__USE_LARGEFILE64] (struct flock64): New type.
45856         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45858         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45859         * bits/dirent.h: ... here.
45861         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45862         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45864 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45866         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45867         Change from 2.6.0 to 2.6.16.
45868         * sysdeps/unix/sysv/linux/configure: Regenerated.
45869         * sysdeps/unix/sysv/linux/kernel-features.h
45870         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45871         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45872         version.
45873         (__ASSUME_UTIMES): Likewise.
45874         (__ASSUME_CLONE_STOPPED): Remove.
45875         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45876         architectures, not kernel version.
45877         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45878         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45879         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45880         (__ASSUME_WAITID_SYSCALL): Likewise.
45881         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45882         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45883         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45884         refer to older versions.
45886 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45888         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45889         Define alphasort64 as an alias.
45890         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45891         Define versionsort64 as an alias.
45892         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45893         Define scandir64 as an alias.
45894         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45895         Define scandirat64 as an alias.
45896         * dirent/alphasort64.c (alphasort64):
45897         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45898         * dirent/versionsort64.c: Likewise.
45899         * dirent/scandir64.c: Likewise.
45900         * dirent/scandirat64.c: Likewise.
45901         * sysdeps/wordsize-64/alphasort.c: File removed.
45902         * sysdeps/wordsize-64/alphasort64.c: File removed.
45903         * sysdeps/wordsize-64/scandir.c: File removed.
45904         * sysdeps/wordsize-64/scandir64.c: File removed.
45905         * sysdeps/wordsize-64/scandirat.c: File removed.
45906         * sysdeps/wordsize-64/scandirat64.c: File removed.
45907         * sysdeps/wordsize-64/versionsort.c: File removed.
45908         * sysdeps/wordsize-64/versionsort64.c: File removed.
45909         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45910         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45911         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45912         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45913         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45914         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45915         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45916         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45918         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45919         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45920         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45921         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45922         [defined __arch64__ || defined __sparcv9]
45923         (__INO_T_MATCHES_INO64_T): New macro.
45924         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45925         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45926         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45927         * sysdeps/unix/sysv/linux/bits/dirent.h
45928         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45929         (_DIRENT_MATCHES_DIRENT64): New macro.
45931         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45932         Define lockf64 as an alias.
45933         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45934         Define fseeko64 as an alias.
45935         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45936         Define ftello64 as an alias.
45937         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45938         Define _IO_fgetpos64 and fgetpos64 as aliases.
45939         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45940         Define _IO_fsetpos64 and fsetpos64 as aliases.
45941         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45942         Conditionalize body on this.
45943         * libio/fseeko64.c: Likewise.
45944         * libio/ftello64.c: Likewise.
45945         * libio/iofgetpos64.c: Likewise.
45946         * libio/iofsetpos64.c: Likewise.
45947         * sysdeps/wordsize-64/lockf.c: File removed.
45948         * sysdeps/wordsize-64/lockf64.c: File removed.
45949         * sysdeps/wordsize-64/fseeko.c: File removed.
45950         * sysdeps/wordsize-64/fseeko64.c: File removed.
45951         * sysdeps/wordsize-64/ftello.c: File removed.
45952         * sysdeps/wordsize-64/ftello64.c: File removed.
45953         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45954         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45955         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45956         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45957         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45958         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45959         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45960         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45961         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45962         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45963         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45964         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45965         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45966         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45968         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45969         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45970         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45971         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45972         [defined __arch64__ || defined __sparcv9]
45973         (__OFF_T_MATCHES_OFF64_T): New macro.
45974         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45975         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45976         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45977         (__OFF_T_MATCHES_OFF64_T): New macro.
45979 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45981         * stdlib/secure-getenv.c (__secure_getenv): Replace
45982         GLIBC_2_16 with GLIBC_2_17.
45984 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45986         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45987         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45989 2012-08-03  David S. Miller  <davem@davemloft.net>
45991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45993 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45995         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45996         Remove.
45997         (__ASSUME_CORRECT_SI_PID): Likewise.
45998         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45999         (__ASSUME_TMPFS_NAME): Likewise.
46000         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46001         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46002         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46003         (HAVE_AUX_SECURE): Make definition unconditional.
46004         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46005         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46007 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46009         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46010         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46011         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46012         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46013         __eloop_threshold instead of SYMLOOP_MAX.
46015         * sysdeps/generic/eloop-threshold.h: New file.
46016         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46017         of MAXSYMLINKS.
46018         * elf/chroot_canon.c (chroot_canon): Likewise.
46020 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46022         [BZ #13717]
46023         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46024         Change to 2.6.0 everywhere.
46025         * sysdeps/unix/sysv/linux/configure: Regenerated.
46026         * sysdeps/unix/sysv/linux/kernel-features.h
46027         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46028         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46029         kernel versions.
46030         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46031         (__ASSUME_FUTEX_REQUEUE): Remove.
46032         (__ASSUME_STATFS64): Define unconditionally.
46033         (__ASSUME_AT_SECURE): Likewise.
46034         (__ASSUME_CORRECT_SI_PID): Likewise.
46035         (__ASSUME_TGKILL): Define without depending on kernel version for
46036         i386.
46037         (__ASSUME_UTIMES): Likewise.
46038         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46039         kernel version.
46040         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46041         (__ASSUME_TMPFS_NAME): Likewise.
46042         * README: Update reference to Linux kernel versions.
46044 2012-08-02  Marek Polacek  <polacek@redhat.com>
46046         [BZ# 14150]
46047         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46048         libc_cv_asm_type_prefix with %.
46049         * configure: Regenerated.
46050         * include/libc-symbols.h: Remove comment about
46051         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46052         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46053         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46054         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46055         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46056         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46057         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46058         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46059         * elf/tst-unique2mod1.c: Likewise.
46060         * elf/tst-unique1mod2.c: Likewise.
46061         * elf/tst-unique1mod1.c: Likewise.
46062         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46063         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46064         Replace ASM_TYPE_DIRECTIVE with .type.
46065         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46066         * sysdeps/i386/sysdep.h: Likewise.
46067         * sysdeps/x86_64/sysdep.h: Likewise.
46068         * sysdeps/sh/sysdep.h: Likewise.
46069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46070         Do not define ASM_TYPE_DIRECTIVE.
46071         * sysdeps/powerpc/sysdep.h: Likewise.
46072         * sysdeps/powerpc/powerpc32/sysdep.h:
46073         Replace ASM_TYPE_DIRECTIVE with .type.
46074         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46075         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46076         * sysdeps/i386/fpu/e_powf.S: Likewise.
46077         * sysdeps/i386/fpu/e_expl.S: Likewise.
46078         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46079         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46080         * sysdeps/i386/fpu/e_pow.S: Likewise.
46081         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46082         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46083         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46084         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46085         * sysdeps/i386/fpu/e_log2.S: Likewise.
46086         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46087         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46088         * sysdeps/i386/fpu/e_powl.S: Likewise.
46089         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46090         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46091         * sysdeps/i386/fpu/e_logl.S: Likewise.
46092         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46093         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46094         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46095         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46096         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46097         * sysdeps/i386/fpu/e_log.S: Likewise.
46098         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46099         * sysdeps/i386/fpu/e_logf.S: Likewise.
46100         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46101         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46102         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46103         * sysdeps/i386/fpu/e_log10.S: Likewise.
46104         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46105         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46106         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46107         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46108         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46109         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46110         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46111         * sysdeps/i386/i686/strtok.S: Likewise.
46112         * sysdeps/i386/i386-mcount.S: Likewise.
46113         * sysdeps/i386/strtok.S: Likewise.
46114         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46115         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46116         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46117         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46118         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46119         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46120         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46121         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46122         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46123         * sysdeps/x86_64/_mcount.S: Likewise.
46124         * sysdeps/x86_64/strtok.S: Likewise.
46125         * sysdeps/sh/_mcount.S: Likewise.
46127 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46129         * libio/iofopen.c: Include <fcntl.h>.
46130         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46131         (_IO_fopen64, fopen64): Define as aliases.
46132         * libio/iofopen64.c: Include <fcntl.h>.
46133         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46134         Conditionalize body on this.
46135         * sysdeps/wordsize-64/iofopen.c: File removed.
46136         * sysdeps/wordsize-64/iofopen64.c: File removed.
46138 2012-08-01  Marek Polacek  <polacek@redhat.com>
46140         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46141         Use dlfcn directly instead of a variable.
46142         (binfmt-subdir): Do not define.
46143         (dlfcn): Likewise.
46145 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46147         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46148         Remove all definitions.
46149         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46150         <kernel-features.h>.
46151         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46152         (miss_F_GETOWN_EX): Remove all definitions.
46153         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46154         macro definition.
46155         [!__ASSUME_FCNTL64]: Remove conditional code.
46156         [__ASSUME_FCNTL64]: Make code unconditional.
46157         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46158         <kernel-features.h>.
46159         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46160         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46161         (lockf64) [__NR_fcntl64]: Make code unconditional.
46162         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46164         * sysdeps/unix/sysv/linux/kernel-features.h
46165         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46166         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46167         Make code unconditional.
46168         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46169         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46171         [__NR_vfork]: Make code unconditional.
46172         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46173         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46175         [__NR_vfork]: Make code unconditional.
46176         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46177         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46179 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46181         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46182         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46184         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46185         Define mkstemp64 as an alias.
46186         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46187         Define mkstemps64 as an alias.
46188         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46189         Define mkostemp64 as an alias.
46190         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46191         Define mkostemps64 as an alias.
46192         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46193         Conditionalize body on this.
46194         * misc/mkostemp64.c: Likewise.
46195         * misc/mkostemps64.c: Likewise.
46196         * misc/mkstemps64.c: Likewise.
46197         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46198         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46199         * sysdeps/wordsize-64/mkostemp.c: File removed.
46200         * sysdeps/wordsize-64/mkstemp.c: File removed.
46201         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46202         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46203         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46204         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46206         [BZ #14138]
46207         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46208         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46209         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46210         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46212         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46213         compat_symbol macros from <shlib-compat.h> rather than the underlying
46214         default_symbol_version and symbol_version macros, so that DEFAULT
46215         lines in shlib-versions are respected.
46216         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46218 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46220         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46221         Declare with warn_unused_result.
46222         (setgid, setregid, setegid, setresgid): Likewise.
46223         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46224         Likewise.
46225         * WUR-REPORT: Remove set*id functions.
46227 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46229         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46231 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46233         [BZ #10191]
46234         * include/sys/socket.h (__libc_accept, __libc_accept4):
46235         Add attribute_hidden.
46236         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46238         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46239         use of PTR_MANGLE.
46240         * inet/getnetgrent_r.c (setup): Likewise.
46242         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46244 2012-07-31  David S. Miller  <davem@davemloft.net>
46246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46248 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46250         [BZ #13629]
46251         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46252         value between 1.0 and 2.0 and smaller part has absolute value less
46253         than 1.0.
46254         * math/s_clog10.c (__clog10): Likewise.
46255         * math/s_clog10f.c (__clog10f): Likewise.
46256         * math/s_clog10l.c (__clog10l): Likewise.
46257         * math/s_clogf.c (__clogf): Likewise.
46258         * math/s_clogl.c (__clogl): Likewise.
46259         * math/libm-test.inc (clog_test): Add more tests.
46260         (clog10_test): Likewise.
46261         * sysdeps/i386/fpu/libm-test-ulps: Update.
46262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46264 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46266         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46267         Exit with zero in case no suitable GID is found, and write a
46268         message to standard error.
46270 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46272         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46273         rather than to 1.
46274         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46275         (MAXPATHLEN): Removed.
46276         (NOGROUP, NODEV): New macros.
46277         (setbit, clrbit, isset, isclr): New macros.
46278         (howmany, roundup, powerof2): New macros.
46279         (DEV_BSIZE): New macro.
46281         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46282         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46284         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46285         definition on [!__NO_LONG_DOUBLE_MATH].
46287         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46288         PTR_MANGLE and PTR_DEMANGLE.
46290         * socket/accept4.c (accept4): Rename to __libc_accept4.
46291         Define accept4 as a weak alias.
46293         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46294         on [_DIRENT_HAVE_D_TYPE].
46295         * io/ftw.c (ftw_dir): Likewise.
46297         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46299         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46301         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46302         Use the BSD numbers rather than the arbitrary ones we had.
46303         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46304         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46305         (SIGXCPU, SIGXFSZ): New macros.
46306         (_NSIG): Now 32.
46308         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46309         initializer on [_LIBC_REENTRANT].
46311         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46312         definitions inside [_POSIX_MAPPED_FILES].
46314         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46316         * dirent/opendir.c: Include <fcntl.h>.
46318         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46319         (__libc_getspecific): Likewise.
46320         (__libc_key_create): Likewise.
46322         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46323         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46324         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46325         (tmpfile64): Define as alias.
46326         * sysdeps/wordsize-64/tmpfile.c: File removed.
46327         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46328         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46329         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46331         * stdio-common/vfscanf.c: Include <stdbool.h>.
46332         * nss/makedb.c: Likewise.
46333         * stdio-common/_i18n_number.h: Likewise.
46334         * argp/argp-help.c: Likewise.
46335         * posix/wordexp.c: Likewise.
46336         * sysdeps/posix/spawni.c: Likewise.
46337         * nss/nss_files/files-initgroups.c: Likewise.
46338         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46339         * nss/nss_files/files-initgroups.c: Likewise.
46340         * nss/nss_db/db-netgrp.c: Likewise.
46341         * nss/nss_db/db-initgroups.c: Likewise.
46342         * io/fchmodat.c: Include <sys/stat.h>.
46344         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46345         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46347         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46348         [HAVE_MMAP].
46350         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46351         Add multiple inclusion protection.
46353 2012-07-27  David S. Miller  <davem@davemloft.net>
46355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46357 2012-07-27  Gary Benson  <gbenson@redhat.com>
46359         [BZ #14298]
46360         * elf/rtld.c: Include <stap-probe.h>.
46361         (dl_main): Added static probes "init_start" and "init_complete".
46362         * elf/dl-load.c: Include <stap-probe.h>.
46363         (lose): Take new parameter "nsid".
46364         Added static probe "map_failed".
46365         (_dl_map_object_from_fd): Pass namespace id to lose.
46366         Added static probe "map_start".
46367         (open_verify): Pass namespace id to lose.
46368         * elf/dl-open.c: Include <stap-probe.h>.
46369         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46370         and "reloc_complete".
46371         * elf/dl-close.c: Include <stap-probe.h>.
46372         (_dl_close_worker): Added static probes "unmap_start" and
46373         "unmap_complete".
46374         * elf/rtld-debugger-interface.txt: New file documenting the above.
46376 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46378         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46379         rather than a string variable.
46380         * sunrpc/rpc_main.c (h_output): Likewise.
46381         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46383 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46385         * inet/check_native.c: New file.
46387 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46389         [BZ #13629]
46390         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46391         if larger part has absolute value 1.0.
46392         * math/s_clog10.c (__clog10): Likewise.
46393         * math/s_clog10f.c (__clog10f): Likewise.
46394         * math/s_clog10l.c (__clog10l): Likewise.
46395         * math/s_clogf.c (__clogf): Likewise.
46396         * math/s_clogl.c (__clogl): Likewise.
46397         * math/libm-test.inc (clog_test): Add more tests.
46398         (clog10_test): Likewise.
46399         * sysdeps/i386/fpu/libm-test-ulps: Update.
46400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46402         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46403         (pltexit): Likewise.
46404         (La_regs): Likewise.
46405         (La_retval): Likewise.
46406         (int_retval): Likewise.
46407         Update #error for removed macros to refer only to definitions in
46408         tst-audit.h.
46409         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46410         macro.
46411         (pltexit): Likewise.
46412         (La_regs): Likewise.
46413         (La_retval): Likewise.
46414         (int_retval): Likewise.
46415         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46416         macro.
46417         (pltexit): Likewise.
46418         (La_regs): Likewise.
46419         (La_retval): Likewise.
46420         (int_retval): Likewise.
46421         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46422         macro.
46423         (pltexit): Likewise.
46424         (La_regs): Likewise.
46425         (La_retval): Likewise.
46426         (int_retval): Likewise.
46427         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46428         macro.
46429         (pltexit): Likewise.
46430         (La_regs): Likewise.
46431         (La_retval): Likewise.
46432         (int_retval): Likewise.
46433         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46434         macro.
46435         (pltexit): Likewise.
46436         (La_regs): Likewise.
46437         (La_retval): Likewise.
46438         (int_retval): Likewise.
46439         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46440         macro.
46441         (pltexit): Likewise.
46442         (La_regs): Likewise.
46443         (La_retval): Likewise.
46444         (int_retval): Likewise.
46445         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46446         macro definitions in tst-audit.h.
46447         * sysdeps/i386/tst-audit.h: New file.
46448         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46449         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46450         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46451         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46452         * sysdeps/sh/tst-audit.h: Likewise.
46453         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46454         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46455         * sysdeps/x86_64/tst-audit.h: Likewise.
46457 2012-07-26  Andreas Jaeger  <aj@suse.de>
46459         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46460         ptrace.
46462         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46463         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46464         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46465         PTRACE_O_MASK.
46466         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46467         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46468         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46470         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46471         value.
46473         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46474         _sigsys.
46475         (si_call_addr, si_syscall, si_arch): Define new macro.
46476         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46477         _sigsys.
46478         (si_call_addr, si_syscall, si_arch): Define new marcro.
46479         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46480         _sigsys.
46481         (si_call_addr, si_syscall, si_arch): Define new macro.
46482         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46483         _sigsys.
46484         (si_call_addr, si_syscall, si_arch): Define new macro.
46486 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46488         [BZ #13717]
46489         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46490         Change to 2.4.21 where previously 2.4.1.
46491         * sysdeps/unix/sysv/linux/configure: Regenerated.
46492         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46493         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46494         Linux kernel version.
46495         (__ASSUME_STD_AUXV): Remove.
46496         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46497         kernel version.
46498         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46499         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46500         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46501         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46502         (__ASSUME_NETLINK_SUPPORT): Likewise.
46503         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46504         (__no_netlink_support): Remove conditional definition.
46505         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46506         Remove.
46507         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46508         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46509         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46510         (if_nameindex_ioctl): Remove.
46511         (if_nameindex_netlink): Do not handle __no_netlink_support.
46512         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46513         code.
46514         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46515         Remove conditional code.
46516         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46517         code.
46518         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46519         unconditional.
46520         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46521         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46522         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46523         Remove.
46524         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46525         [!__ASSUME_STD_AUXV]: Remove conditional code.
46526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46527         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46528         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46530         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46531         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46532         code.
46533         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46535         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46536         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46537         conditional code.
46538         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46540         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46541         code.
46542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46543         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46544         conditional code.
46545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46546         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46547         code unconditional.
46548         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46549         conditional code.
46550         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46551         unconditional.
46552         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46553         conditional code.
46554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46555         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46556         unconditional.
46557         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46558         conditional code.
46559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46560         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46561         code unconditional.
46562         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46563         conditional code.
46564         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46565         unconditional.
46566         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46567         conditional code.
46568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46569         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46570         code unconditional.
46571         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46572         conditional code.
46573         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46574         unconditional.
46575         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46576         conditional code.
46578 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46580         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46581         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46582         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46583         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46584         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46585         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46586         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46587         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46588         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46589         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46590         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46591         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46592         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46593         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46594         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46595         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46596         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46597         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46598         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46599         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46600         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46601         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46602         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46604 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46606         * Versions.def: Add GLIBC_2.17.
46607         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46608         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46609         Introduce __libc_secure_getenv.
46610         * stdlib/Versions (2.17): Add secure_getenv
46611         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46612         * stdlib/secure-getenv.c: Rename __secure_getenv to
46613         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46614         symbol __secure_getenv for GLIBC_2.0.
46615         * stdlib/tst-secure-getenv.c: New.
46616         * stdlib/Makefile (tests): Add testcase.
46617         * manual/startup.texi (Environment Access): Document
46618         secure_getenv.
46619         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46620         __libc_secure_getenv.
46621         * inet/ruserpass.c (ruserpass): Likewise.
46622         * malloc/mtrace.c (mtrace): Likewise.
46623         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46624         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46625         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46626         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46627         HAVE_SECURE_GETENV.
46628         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46629         __secure_getenv to __libc_secure_getenv.
46630         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46632         Likewise.
46633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46634         Likewise.
46635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46637         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46643 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46645         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46646         (struct La_i86_retval): Likewise.
46647         (struct La_x86_64_regs): Likewise.
46648         (struct La_x86_64_retval): Likewise.
46649         (struct La_x32_regs): Likewise.
46650         (struct La_x32_retval): Likewise.
46651         (struct La_ppc32_regs): Likewise.
46652         (struct La_ppc32_retval): Likewise.
46653         (struct La_ppc64_regs): Likewise.
46654         (struct La_ppc64_retval): Likewise.
46655         (struct La_sh_regs): Likewise.
46656         (struct La_sh_retval): Likewise.
46657         (struct La_s390_32_regs): Likewise.
46658         (struct La_s390_32_retval): Likewise.
46659         (struct La_s390_64_regs): Likewise.
46660         (struct La_s390_64_retval): Likewise.
46661         (struct La_sparc32_regs): Likewise.
46662         (struct La_sparc32_retval): Likewise.
46663         (struct La_sparc64_regs): Likewise.
46664         (struct La_sparc64_retval): Likewise.
46665         (struct audit_ifaces): Remove architecture-specific pltenter and
46666         pltexit members.
46667         * sysdeps/i386/ldsodefs.h: New file.
46668         * sysdeps/powerpc/ldsodefs.h: Likewise.
46669         * sysdeps/s390/ldsodefs.h: Likewise.
46670         * sysdeps/sh/ldsodefs.h: Likewise.
46671         * sysdeps/sparc/ldsodefs.h: Likewise.
46672         * sysdeps/x86_64/ldsodefs.h: Likewise.
46674 2012-07-25  Marek Polacek  <polacek@redhat.com>
46676         [BZ #6808]
46677         * math/libm-test.inc (yn_test): Add another test.
46678         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46679         to ERANGE when the result is +-Inf.
46680         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46681         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46682         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46683         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46685 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46687         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46688         equal to 0.
46689         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46690         clock_t.
46691         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46693 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46695         * configure.in <sysdeps resolving>: Correct printing
46696         Implies_before.
46697         * configure: Regenerate.
46699 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46701         * math/w_ilogb.c: Include <limits.h>.
46702         * math/w_ilogbl.c: Likewise.
46704 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46706         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46707         va_copy.  Document allowing for unavailable va_copy only as
46708         pre-C99 compatibility.
46709         * manual/string.texi (Copying and Concatenation): Use va_copy
46710         instead of __va_copy in concat example.
46712 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46714         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46715         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46716         it if not null.
46718         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46719         with O_NOLINK passed to __file_name_lookup.
46721         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46722         with O_NOLINK passed to __file_name_lookup.
46724         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46725         negative N or less than NGIDS.
46727         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46728         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46729         enough.  Use memcpy instead of strncpy.
46731 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46733         * elf/Makefile (check-data): Remove.
46734         (localplt.data): New vpath directive.
46735         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46736         instead of $(check-data).
46737         * scripts/data/localplt-generic.data: Move to ...
46738         * sysdeps/generic/localplt.data: ... here.
46739         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46740         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46741         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46743         ... here.
46744         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46746         ... here.
46747         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46749         ... here.
46750         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46752         ... here.
46753         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46755         ... here.
46756         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46758         ... here.
46760 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46762         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46763         PPC32 and PPC64 files.
46764         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46765         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46767 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46769         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46770         __makecontext_ret to ...
46771         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46772         ... here and call exit if uc_link is NULL.  New file.
46773         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46774         __makecontext_ret.S.
46775         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46776         __makecontext_ret to ...
46777         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46778         ... here and call exit if uc_link is NULL.  New file.
46779         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46780         __makecontext_ret.S.
46782 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46784         * elf/elf.h (R_390_IRELATIVE): New definition.
46785         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46786         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46787         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46788         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46789         (elf_machine_lazy_rel): Likewise.
46790         * sysdeps/s390/dl-irel.h: New file.
46791         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46792         * sysdeps/s390/s390-64/memset.S: New asm code.
46793         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46794         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46795         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46796         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46797         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46798         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46799         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46800         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46801         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46802         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46803         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46804         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46805         * sysdeps/s390/s390-32/memset.S: New asm code.
46806         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46808 2012-07-17  Marek Polacek  <polacek@redhat.com>
46810         [BZ #14349]
46811         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46812         * sysdeps/s390/s390-64/configure.in: Likewise.
46813         * sysdeps/sparc/configure.in: Likewise.
46814         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46815         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46816         * sysdeps/i386/configure.in: Likewise.
46817         * sysdeps/x86_64/configure.in: Likewise.
46818         * sysdeps/sh/configure.in: Likewise.
46819         * sysdeps/s390/s390-32/configure: Regenerated.
46820         * sysdeps/s390/s390-64/configure: Likewise.
46821         * sysdeps/x86_64/configure: Likewise.
46822         * sysdeps/sh/configure: Likewise.
46823         * sysdeps/powerpc/powerpc64/configure: Likewise.
46824         * sysdeps/powerpc/powerpc32/configure: Likewise.
46825         * sysdeps/sparc/configure: Likwise.
46826         * sysdeps/i386/configure: Likewise.
46828         * elf/dl-open.c: Comment fixes.
46830 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46832         * Makefile [CXX] (check-data): Remove.
46833         [CXX] (c++-types.data): New vpath directive.
46834         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46835         vpath.  Do not allow for C++ type data being missing.
46836         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46837         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46838         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46839         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46840         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46841         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46842         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46844         ... here.
46845         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46847         ... here.
46848         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46850         ... here.
46851         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46853         ... here.
46854         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46856         ... here.
46857         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46859         ... here.
46860         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46862         ... here.
46863         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46866         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46867         definitions to architecture-specific files.
46868         (TLS_IE): Likewise.
46869         (TLS_LD): Likewise.
46870         (TLS_GD): Likewise.
46871         * sysdeps/i386/tls-macros.h: New file.
46872         * sysdeps/powerpc/tls-macros.h: Likewise.
46873         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46874         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46875         * sysdeps/sh/tls-macros.h: Likewise.
46876         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46877         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46878         * sysdeps/x86_64/tls-macros.h: Likewise.
46880 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46882         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46883         zero value for regular exit case.
46885         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46886         (__start_context): Preserve zero value for regular exit case.
46888 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46889             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46891         * manual/setjmp.texi (setcontext): Clarify normal process
46892         termination when uc_link is the null pointer.
46893         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46894         exit call.
46896 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46898         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46899         preprocessor.  Test for each exception mask separately.
46901 2012-07-16  Andreas Jaeger  <aj@suse.de>
46903         * po/ru.po: Update from translation team.
46905 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46907         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46908         equal to 0.
46909         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46910         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46911         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46912         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46913         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46915 2012-07-13  Andreas Jaeger  <aj@suse.de>
46917         * po/fr.po: Update from translation team.
46919 2012-07-12  Marek Polacek  <polacek@redhat.com>
46921         [BZ #14173]
46922         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46923         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46924         loop condition.
46926 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46928         [BZ #13717]
46929         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46930         Change to 2.4.1 where previously 2.4.0.
46931         * sysdeps/unix/sysv/linux/configure: Regenerated.
46932         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46933         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46934         version.
46935         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46936         (__ASSUME_AT_CLKTCK): Remove.
46937         (__ASSUME_AT_PAGESIZE): Likewise.
46938         (__ASSUME_AT_XID): Likewise.
46939         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46940         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46941         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46942         unconditionally.
46943         (HAVE_AUX_PAGESIZE): Likewise.
46944         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46945         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46946         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46948 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46950         [BZ #14307]
46951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46952         the temporary buffer used to invoke __gethostbyname2_r,
46953         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46954         host_data / struct gaih_addrtuple.
46955         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46956         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46957         header file nss/nsswitch.h.
46958         * nss/nsswitch.h (global scope): Add definition of implementation
46959         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46960         resolv/nss_dns/dns-host.c).
46962 2012-07-11  Andreas Jaeger  <aj@suse.de>
46964         * po/fr.po: Update from translation team.
46966         * po/sv.po: Update from translation team
46967         * po/fr.po: Another update from translation team.
46969 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46971         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46972         for subnormals or multiply small sinh result by itself.
46973         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46976 2012-07-11  David S. Miller  <davem@davemloft.net>
46978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46980 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46982         [BZ #14347]
46983         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46984         (INTERNAL_MARK): Shift it here.
46986 2012-07-10  Marek Polacek  <polacek@redhat.com>
46988         [BZ #14151]
46989         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46990         libc_cv_asm_global_directive with .globl.
46991         * configure: Regenerated.
46992         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46993         with .globl.
46994         * sysdeps/i386/configure: Regenerated.
46995         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46996         with .globl.
46997         * sysdeps/x86_64/configure: Regenerated.
46998         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46999         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47000         * elf/tst-unique2mod2.c: Likewise.
47001         * elf/tst-unique2mod1.c: Likewise.
47002         * elf/tst-unique1mod2.c: Likewise.
47003         * elf/tst-unique1mod1.c: Likewise.
47004         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47005         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47006         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47007         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47008         * sysdeps/mach/sysdep.h: Likewise.
47009         * sysdeps/i386/sysdep.h: Likewise.
47010         * sysdeps/i386/i386-mcount.S: Likewise.
47011         * sysdeps/x86_64/_mcount.S: Likewise.
47012         * sysdeps/x86_64/sysdep.h: Likewise.
47013         * sysdeps/sh/_mcount.S: Likewise.
47014         * sysdeps/sh/sysdep.h: Likewise.
47015         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47016         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47017         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47018         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47019         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47020         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47021         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47022         * locale/localeinfo.h: Likewise.
47023         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47024         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47026 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47028         [BZ #14336]
47029         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47030         system".
47031         * manual/message.texi (The Uniforum approach): Likewise.
47032         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47033         (glibc iconv Implementation): Likewise.
47035 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47037         [BZ #14337]
47038         * math/s_clog.c (__clog): Avoid scaling a value down where that
47039         could result in underflow.
47040         * math/s_clog10.c (__clog10): Likewise.
47041         * math/s_clog10f.c (__clog10f): Likewise.
47042         * math/s_clog10l.c (__clog10l): Likewise.
47043         * math/s_clogf.c (__clogf): Likewise.
47044         * math/s_clogl.c (__clogl): Likewise.
47045         * math/libm-test.inc (clog_test): Add more tests.
47046         (clog10_test): Likewise.
47047         * sysdeps/i386/fpu/libm-test-ulps: Update.
47048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47050 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47052         [BZ #14283]
47053         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47054         by 7 not 8 to examine high bit of fractional part.
47056         [BZ #14042]
47057         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47058         for call to __mcount_internal.
47059         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47060         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47061         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47063 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47065         [BZ #14154]
47066         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47067         approximation for values within 0x1p-13f of an odd multiple of
47068         pi/4.
47069         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47070         exception.  Add more tests.
47071         * sysdeps/i386/fpu/libm-test-ulps: Update.
47073         [BZ #6778]
47074         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47075         inputs and return -1 for them.  Do not check for +Inf in case not
47076         reachable for +Inf.
47077         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47078         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47079         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47080         and return -1 for them.  Do not check for +Inf in case not
47081         reachable for +Inf.
47082         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47083         define.
47084         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47085         and return -1 for them.  Do not check for +Inf in case not
47086         reachable for +Inf.
47087         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47088         spurious underflow.
47089         * sysdeps/i386/fpu/libm-test-ulps: Update.
47090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47092 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47094         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47096 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47098         [BZ #14157]
47099         [BZ #14331]
47100         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47101         could result in spurious underflow.  Scale down values above
47102         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47103         * math/s_csqrtf.c (__csqrtf): Likewise.
47104         * math/s_csqrtl.c (__csqrtl): Likewise.
47105         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47106         spurious underflow.
47107         * sysdeps/i386/fpu/libm-test-ulps: Update.
47108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47110 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47112         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47113         xopen-msg.sed.
47114         * catgets/xopen-msg.awk: New file.
47115         * catgets/xopen-msg.sed: Removed.
47117         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47118         po2text.sed.
47119         * intl/po2test.awk: New file.
47120         * intl/po2test.sed: Removed.
47122 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47124         [BZ #14328]
47125         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47126         or multiply small sinh result by itself.
47127         * math/s_ctanf.c (__ctanf): Likewise.
47128         * math/s_ctanh.c (__ctanh): Likewise.
47129         * math/s_ctanhf.c (__ctanhf): Likewise.
47130         * math/s_ctanhl.c (__ctanhl): Likewise.
47131         * math/s_ctanl.c (__ctanl): Likewise.
47132         * math/libm-test.inc (ctan_test_tonearest): New function.
47133         (ctan_test_towardzero): Likewise.
47134         (ctan_test_downward): Likewise.
47135         (ctan_test_upward): Likewise.
47136         (ctanh_test_tonearest): Likewise.
47137         (ctanh_test_towardzero): Likewise.
47138         (ctanh_test_downward): Likewise.
47139         (ctanh_test_upward): Likewise.
47140         (main): Call these new functions.
47141         * sysdeps/i386/fpu/libm-test-ulps: Update.
47142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47144 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47146         * .gitignore: Delete /ports entry.
47148 2012-07-03  Andreas Jaeger  <aj@suse.de>
47150         * po/bg.po: Update from translation team.
47151         * po/cs.po: Likewise.
47152         * po/de.po: Likewise.
47153         * po/hr.po: Likewise.
47154         * po/nl.pl: Likewise.
47155         * po/pl.po: Likewise.
47156         * po/vi.po: Likewise.
47158 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47160         * Makeconfig [!+link] (+link-before-libc): New variable.
47161         [!+link] (+link-after-libc): Likewise.
47162         [!+link] (+link-tests): Likewise.
47163         [!+link] (+link): Define in terms of $(+link-before-libc) and
47164         $(+link-after-libc).
47165         [!+link-static] (+link-static-before-libc): New variable.
47166         [!+link-static] (+link-static-after-libc): Likewise.
47167         [!+link-static] (+link-static-tests): Likewise.
47168         [!+link-static] (+link-static): Define in terms of
47169         $(+link-static-before-libc) and $(+link-static-after-libc).
47170         [build-shared] (link-libc-before-gnulib): New variable.
47171         [build-shared] (link-libc-tests): Likewise.
47172         [build-shared] (link-libc): Define in terms of
47173         $(link-libc-before-gnulib).
47174         [!build-shared] (link-libc-tests): New variable.
47175         (link-libc-static-tests): New variable.
47176         [!gnulib] (gnulib-arch): New variable.
47177         [!gnulib] (gnulib-tests): Likewise.
47178         [!gnulib] (static-gnulib-arch): Likewise.
47179         [!gnulib] (static-gnulib-tests): Likewise.
47180         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47181         Define with "=" instead of ":=".
47182         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47183         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47184         * Rules (binaries-all-notests): New variable.
47185         (binaries-all-tests): Likewise.
47186         (binaries-static-notests): Likewise.
47187         (binaries-static-tests): Likewise.
47188         (binaries-all): Define using $(binaries-all-notests) and
47189         $(binaries-all-tests).
47190         (binaries-static): Define using $(binaries-static-notests) and
47191         $(binaries-static-tests).
47192         (binaries-shared-tests): New variable.
47193         (binaries-shared-notests): Likewise.
47194         (binaries-shared): Remove variable.
47195         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47196         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47197         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47198         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47199         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47200         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47201         * elf/Makefile (sln-modules): New variable.
47202         (extra-objs): Add $(sln-modules:=.o).
47203         (ldconfig-modules): Add static-stubs.
47204         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47205         * elf/static-stubs.c: New file.
47207         [BZ #14283]
47208         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47209         by 7 not 8 to examine high bit of fractional part.  Use volatile
47210         variables when splitting into final array of floats if
47211         __FLT_EVAL_METHOD__ != 0.
47212         * math/libm-test.inc (cos_test): Add another test.
47213         (sin_test): Likewise.
47214         * sysdeps/i386/fpu/libm-test-ulps: Update.
47216         [BZ #14273]
47217         * math/libm-test.inc (cosh_test): Add more tests.
47219         * version.h (RELEASE): Set to "development".
47220         (VERSION): Set to "2.16.90".
47222 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47224         * NEWS: Update copyright. Remove last-updated date.
47225         Mention math library bug fixes and timezone data changes.
47226         * README: Mention GNU/Hurd, x32, and HPPA support status.
47228 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47230         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47232 2012-06-27  Andreas Jaeger  <aj@suse.de>
47234         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47236 2012-06-25  Andreas Jaeger  <aj@suse.de>
47238         * sysdeps/s390/fpu/libm-test-ulps: Update.
47240 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47241             Thomas Schwinge  <thomas@codesourcery.com>
47243         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47244         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47245         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47246         fanotify_mark.
47248 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47250         * sysdeps/mach/start.c: Remove file.
47251         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47252         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47253         * sysdeps/sh/init-first.c: Likewise.
47255         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47256         registers for frame unwinding purposes, add CFI directives.
47257         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47258         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47259         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47260         Likewise.
47262         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47263         __fortify_fail returning.
47264         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47266         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47267         sysdeps/sh/____longjmp_chk.S.
47268         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47269         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47270         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47271         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47273         * sysdeps/sh/abort-instr.h: New file.
47274         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47275         process in case exit returns.
47277         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47278         initialize the GOT register before use.
47280         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47281         calculation of ARGC > 4.
47283         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47284         meaningful names to some local labels.
47286 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47287             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47289         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47290         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47291         (__arch_compare_and_exchange_val_16_acq): Likewise.
47292         (__arch_compare_and_exchange_val_32_acq): Likewise.
47293         (atomic_exchange_and_add): Fix gUSA sequence.
47294         (atomic_add): Likewise.
47295         (atomic_add_negative): Likewise.
47296         (atomic_add_zero): Likewise.
47297         (atomic_bit_test_set): Likewise.
47299 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47301         [BZ #13579]
47302         * include/link.h (struct link_map): Add l_free_initfini.
47303         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47304         l_initfini.
47305         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47306         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47307         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47308         set.
47310 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47312         * configure.in: Use AC_LANG_SOURCE.
47313         * configure: Regenerate.
47315 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47317         * configure.in (libc_cv_localstatedir): New substituted variable.
47318         * configure: Regenerated.
47319         * config.make.in (localstatedir): New variable, substituted from
47320         libc_cv_localstatedir.
47321         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47322         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47323         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47324         * sysdeps/gnu/configure: Regenerated.
47326 2012-06-21  Jeff Law  <law@redhat.com>
47328         [BZ #14277]
47329         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47330         free.  Simplify list management for _LIBC case.
47332 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47334         [BZ #14273]
47335         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47336         Clear sign bit of 64-bit integer value before comparing against
47337         overflow value.
47339         * sysdeps/mach/configure: Regenerated.
47341 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47343         [BZ #14278]
47344         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47346 2012-06-21  Jeff Law  <law@redhat.com>
47348         [BZ #13882]
47349         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47350         uint16_t for elements in the "seen" array to avoid char overflows.
47351         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47352         * elf/dl-open.c (dl_open_worker): Likewise.
47354 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47356         * scripts/list-sources.sh: Scan PORTS for translations.
47357         * po/libc.pot: Regenerated.
47359 2012-06-21  Andreas Jaeger  <aj@suse.de>
47361         [BZ #12194]
47362         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47363         warning.
47364         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47365         * bits/byteswap-16.h (__bswap_16): Likewise.
47366         * bits/byteswap.h (__bswap_constant_16): Likewise.
47368 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47370         [BZ #14117]
47371         * sysdeps/i386/fpu_control.h: Removed.
47372         * sysdeps/x86_64/fpu_control.h: Moved to ...
47373         * sysdeps/x86/fpu_control.h: Here.
47375         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47376         (_FPU_SETCW): Likewise.
47378 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47380         [BZ #14117]
47381         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47382         * sysdeps/x86/fpu/bits/mathinline.h: This.
47383         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47385         [BZ #14050]
47386         [BZ #14117]
47387         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47388         functions if __x86_64__ is defined.
47390 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47392         * string/endian.h: Add !__ASSEMBLER__ condition for including
47393         conversion interfaces.
47395 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47397         [BZ #14241]
47398         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47399         of ABS(x) in calculating zero to negative powers other than odd
47400         integers.
47401         * math/libm-test.inc (pow_test): Add more tests.
47403 2012-06-15  Andreas Jaeger  <aj@suse.de>
47405         * manual/contrib.texi (Contributors): Update entry of Liubov
47406         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47407         Machado Filho.
47409 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47411         * string/string.h: Add __wur to GNU version of strerror_r.
47413 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47415         [BZ #14229]
47416         * string/Makefile (tests): Add tst-strtok_r.
47417         * string/tst-strtok_r.c: New file.
47418         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47419         RAX_LP/RDX_LP on SAVE_PTR.
47421 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47423         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47425 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47427         * libm_test.inc (csqrt_test): Allow more spurious underflow
47428         exceptions.
47429         (j0_test): Likewise.
47430         (j1_test): Likewise.
47431         (y0_test): Likewise.
47432         (y1_test): Likewise.
47434 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47436         * po/Makefile (libc.pot): Use UTF-8 charset.
47438 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47440         [BZ #14210]
47441         Suppress sign-conversion warning from FD_SET.
47442         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47443         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47444         not unsigned long int.
47445         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47447 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47449         [BZ #14050]
47450         [BZ #14117]
47451         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47452         __extern_always_inline instead of __extern_inline.
47453         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47454         (__signbit): Likewise.
47455         (__signbitl): Support C++ namespace.
47456         (lrintf): New inline function.
47457         (lrint): Likewise.
47458         (llrintf): Likewise.
47459         (llrint): Likewise.
47460         (fmaxf): Likewise.
47461         (fmax): Likewise.
47462         (fminf): Likewise.
47463         (fmin): Likewise.
47464         (rint): Likewise.
47465         (rintf): Likewise.
47466         (ceil): Likewise.
47467         (ceilf): Likewise.
47468         (floor): Likewise.
47469         (floorf): Likewise.
47470         (nearbyint): Likewise.
47471         (nearbyintf): Likewise.
47473 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47475         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47476         non-default versions.
47478 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47480         [BZ #14218]
47481         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47483 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47485         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47486         (FE_UPWARD, FE_DOWNWARD): Don't define.
47487         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47488         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47490         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47491         reading it.
47492         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47493         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47495 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47497         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47498         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47499         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47500         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47502 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47504         [BZ #14117]
47505         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47506         * sysdeps/i386/fpu/Implies: New file.
47507         * sysdeps/x86_64/fpu/Implies: Likewise.
47508         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47509         * sysdeps/x86/fpu/bits/fenv.h: This.
47511         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47512         __SSE_MATH__.
47514 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47516         [BZ #14134]
47517         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47518         character 0xffff that matches the last element of the
47519         conversion table.
47521 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47523         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47524         fmodl commit.
47526 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47528         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47529         values higher than 25.6283.
47531 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47533         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47534         subnormal exponent extraction and add some __builtin_expect.
47535         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47536         Fix for subnormal mantissa calculation.
47538 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47540         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47541         cpu2 is -1 and errno is not ENOSYS.
47543 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47545         [BZ #14117]
47546         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47547         * sysdeps/x86/bits/string.h: This.
47548         * sysdeps/x86_64/bits/string.h: Removed.
47550         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47551         if not compiling for x86-64, but compiling for >= i486.
47553         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47554         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47556         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47557         New macro from Linux kernel 3.4.0.
47558         (FP_XSTATE_MAGIC2): Likewise.
47559         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47560         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47561         (struct _fpx_sw_bytes): New struct.
47562         (struct _xsave_hdr): Likewise.
47563         (struct _ymmh_state): Likewise.
47564         (struct _xstate): Likewise.
47566         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47567         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47568         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47569         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47570         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47571         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47573         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47574         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47575         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47576         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47577         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47578         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47580 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47582         [BZ #13743]
47583         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47584         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47585         (sysdep_headers): Include sys/platform/ppc.h.
47586         * sysdeps/powerpc/test-gettimebase.c: Test for
47587         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47588         * manual/Makefile (appendices): Include platform.texi.
47589         * manual/contrib.texi (Contributors): Update @node pointers.
47590         * manual/maint.texi (Maintenance): Likewise.
47591         (Platform): New node.
47592         * manual/platform.texi: New file.  Document the new features.
47594 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47595             Jakub Jelinek  <jakub@redhat.com>
47597         [BZ #14188]
47598         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47599         where __builtin_expect is unavailable.
47601 2012-06-03  David S. Miller  <davem@davemloft.net>
47603         * stdlib/longlong.h: Updated from GCC.
47605 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47607         [BZ #14042]
47608         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47609         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47610         __mcount_internal.
47611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47612         (GLIBC_2.16): Likewise.
47614 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47616         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47618 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47621         (default-abi): New variable.
47622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47623         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47624         variable.
47625         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47626         Likewise.
47627         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47628         Likewise.
47629         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47630         Likewise.
47632         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47633         definition.  Document in comment.
47635 2012-06-01  David S. Miller  <davem@davemloft.net>
47637         * stdlib/longlong.h: Updated from GCC.
47639 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47641         [BZ #14117]
47642         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47643         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47644         sys/debugreg.h sys/io.h here.
47645         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47646         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47647         sys/io.h.
47648         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47649         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47650         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47651         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47652         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47653         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47655         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47656         Define only if __x86_64__ is defined.
47658 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47660         [BZ #14048]
47661         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47662         Use int64_t for variable i.
47663         * math/libm-test.inc (fmod_test): Add more tests.
47665         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47666         z computation is not scheduled after fetestexcept.
47667         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47668         Use math_force_eval instead of asm to ensure calculation scheduled
47669         before exception test.
47670         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47671         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47673 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47676         computation is not scheduled after fetestexcept.
47678 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47680         [BZ #14117]
47681         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47682         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47684 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47686         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47687         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47689 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47691         [BZ #14117]
47692         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47693         <bits/wordsize.h>.
47694         (__WCHAR_MIN): Support __WORDSIZE == 64.
47695         (__WCHAR_MAX): Likewise.
47697         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47698         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47700         [BZ #14183]
47701         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47702         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47704         [BZ #14117]
47705         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47706         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47708         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47709         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47711         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47712         Defined to 1 if __x86_64__ isn't defined.
47713         (_STAT_VER_LINUX_OLD): New.
47714         (st_atime): Remove duplicate.
47715         (st_mtime): Likewise.
47716         (st_ctime): Likewise.
47718 2012-05-31  David S. Miller  <davem@davemloft.net>
47720         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47721         entries.
47723 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47725         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47726         gen-libm-test.pl.
47728         [BZ #14132]
47729         * elf/dl-reloc.c: Include <_itoa.h>.
47730         (_dl_reloc_bad_type): Remove use of INTUSE.
47731         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47732         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47733         * stdio-common/psiginfo.c (psiginfo): Likewise.
47734         * stdio-common/psignal.c (psignal): Likewise.
47735         * string/strsignal.c (strsignal): Likewise.
47736         * include/signal.h (_sys_siglist): Declare hidden proto.
47737         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47738         INTVARDEF with libc_hidden_data_def.
47739         * stdio-common/itoa-udigits.c: Likewise.
47740         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47741         (_itoa_lower_digits_internal): Remove declaration.
47742         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47743         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47744         (_sys_sigabbrev_internal): Remove aliases.
47745         (_sys_siglist): Define hidden alias.
47747 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47749         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47750         bits/sysctl.h.
47752 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47754         [BZ #14117]
47755         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47756         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47758         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47759         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47760         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47761         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47762         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47763         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47765         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47766         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47767         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47769         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47770         with __addr.
47771         (insw): Likewise.
47772         (insl): Likewise.
47773         (outsb): Likewise.
47774         (outsw): Likewise.
47775         (outsl): Likewise.
47777         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47778         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47779         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47781         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47782         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47783         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47784         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47785         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47786         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47788         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47789         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47791         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47792         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47794         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47795         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47796         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47798         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47799         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47800         to ...
47801         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47803         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47804         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47805         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47807         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47808         for x86-64.
47809         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47811 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47813         * math/math.h (M_El): Use two more decimal places.
47814         (M_LOG2El): Likewise.
47815         (M_LOG10El): Likewise.
47816         (M_LN2l): Likewise.
47817         (M_LN10l): Likewise.
47818         (M_PIl): Likewise.
47819         (M_PI_2l): Likewise.
47820         (M_PI_4l): Likewise.
47821         (M_1_PIl): Likewise.
47822         (M_2_PIl): Likewise.
47823         (M_2_SQRTPIl): Likewise.
47824         (M_SQRT2l): Likewise.
47825         (M_SQRT1_2l): Likewise.
47827 2012-05-31  David S. Miller  <davem@davemloft.net>
47829         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47830         values between float registers.
47831         * sysdeps/sparc/sparc64/memset.S: Likewise.
47832         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47834 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47836         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47837         -D_FORTIFY_SOURCE=1.
47838         (CPPFLAGS-tst-longjmp_chk.c): Define.
47839         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47840         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47841         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47842         CFLAGS-tst-wchar-h.c.
47844 2012-05-31  Marek Polacek  <polacek@redhat.com>
47846         [BZ #14132]
47847         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47848         __endmntent_internal): Remove declaration.
47849         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47850         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47851         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47853 2012-05-30  David S. Miller  <davem@davemloft.net>
47855         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47856         (___Q_simulate_exceptions): Use real FP ops rather than writing
47857         into the %fsr.
47858         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47859         Likewise.
47861 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47863         [BZ #14117]
47864         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47865         * sysdeps/x86/bits/xtitypes.h: This.
47867         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47868         * sysdeps/x86/bits/wordsize.h: This.
47870         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47871         * sysdeps/x86/bits/huge_vall.h: This.
47873         * sysdeps/i386/bits/select.h: Removed.
47874         * sysdeps/x86_64/bits/select.h: Renamed to ...
47875         * sysdeps/x86/bits/select.h: This.
47877         * sysdeps/i386/bits/setjmp.h: Removed.
47878         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47879         * sysdeps/x86/bits/setjmp.h: This.
47881         * sysdeps/i386/bits/mathdef.h: Removed.
47882         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47883         * sysdeps/x86/bits/mathdef.h: This.
47885 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47887         [BZ #14132]
47888         * include/sys/socket.h (__connect_internal)
47889         (__libc_sa_len_internal): Remove declaration.
47890         (__connect, __libc_sa_len): Declare hidden_proto.
47891         (SA_LEN): Remove use of INTUSE.
47892         * socket/connect.c: Add libc_hidden_def.
47893         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47894         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47895         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47896         alias.
47897         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47898         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47899         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47900         of adding _internal alias.
47902 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47904         [BZ #14117]
47905         * sysdeps/i386/bits/link.h: Removed.
47906         * sysdeps/i386/bits/linkmap.h: Likewise.
47907         * sysdeps/x86_64/bits/link.h: Renamed to ...
47908         * sysdeps/x86/bits/link.h: This.
47909         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47910         * sysdeps/x86/bits/linkmap.h: This.
47912         * sysdeps/i386/bits/endian.h: Removed.
47913         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47914         * sysdeps/x86/bits/endian.h: This.
47916         * sysdeps/i386/bits/byteswap.h: Removed.
47917         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47918         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47919         * sysdeps/x86/bits/byteswap.h: This.
47920         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47921         * sysdeps/x86/bits/byteswap-16.h: This.
47922         * sysdeps/i386/Implies: Add x86.
47923         * sysdeps/x86_64/Implies: Likewise.
47925 2012-05-30  David S. Miller  <davem@davemloft.net>
47927         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47928         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47929         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47930         (FP_TRAPPING_EXCEPTIONS): Define.
47931         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47932         (FP_TRAPPING_EXCEPTIONS): Define.
47933         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47934         subnormals only when inexact has been signalled or underflow
47935         exceptions are enabled.
47936         (_FP_PACK_CANONICAL): Likewise.
47938 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47940         [BZ #14183]
47941         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47942         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47944 2012-05-30  Richard Henderson  <rth@twiddle.net>
47946         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47947         with #ifndef NOT_IN_libc.
47949         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47950         marked to avoid plt entry.
47952 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47954         [BZ #14112]
47955         * Makeconfig (default-abi): New macro.
47956         (abi-includes): Likewise.
47957         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47958         $(abi-$(default-abi)-lib-soname) for soname if defined.
47959         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47960         abi-variants.
47961         * Makefile (installed-stubs): Likewise.
47962         * include/stubs-biarch.h: Removed.
47963         * scripts/lib-names.awk: Only handle one library at a time.
47964         * scripts/soversions.awk: Remove WORDSIZE support.
47965         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47966         entries.
47967         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47968         Removed.
47969         (syscall-list-default-condition): Likewise.
47970         (syscall-list-default-condition): Likewise.
47971         (syscall-list-includes): Likewise.
47972         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47973         syscall-list-* with abi-*.  Handle undefined abi-variants.
47974         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47975         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47976         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47977         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47978         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47979         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47980         Removed.
47981         (syscall-list-32-options): Likewise.
47982         (syscall-list-32-condition): Likewise.
47983         (syscall-list-64-options): Likewise.
47984         (syscall-list-64-condition): Likewise.
47985         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47986         macro.
47987         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47988         Renamed to ...
47989         (abi-*): This.
47990         (abi-64-ld-soname): New macro.
47991         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47992         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47993         Renamed to ...
47994         (abi-*): This.
47995         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47996         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47998 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48000         * sysdeps/unix/sysv/linux/kernel-features.h
48001         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48002         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48003         include <kernel-features.h>.
48004         [!__NR_ftruncate64]: Remove conditional code.
48005         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48006         [__NR_ftruncate64]: Make code unconditional.
48007         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48008         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48009         include <kernel-features.h>.
48010         [!__NR_ftruncate64]: Remove conditional code.
48011         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48012         [__NR_ftruncate64]: Make code unconditional.
48013         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48015         include <kernel-features.h>.
48016         [!__NR_ftruncate64]: Remove conditional code.
48017         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48018         [__NR_ftruncate64]: Make code unconditional.
48019         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48021         include <kernel-features.h>.
48022         [!__NR_ftruncate64]: Remove conditional code.
48023         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48024         [__NR_ftruncate64]: Make code unconditional.
48025         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48027         * configure.in (libc_cv_fpie): Weaken to a compile test using
48028         LIBC_TRY_CC_OPTION.
48029         * configure: Regenerated.
48031 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48037         Refreshed.
48038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48044         Refreshed.
48046 2012-05-27  David S. Miller  <davem@davemloft.net>
48048         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48049         (___Q_zero): New.
48050         (__Q_simulate_exceptions): Return void.  Change to simulate
48051         exceptions by writing into the %fsr.
48052         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48053         (__Qp_handle_exceptions): Likewise.
48054         (numbers): Delete.
48055         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48056         __Qp_handle_exceptions.
48057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48058         __Qp_handle_exceptions.
48059         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48060         as unused and give dummy FP_RND_NEAREST initializer.
48061         (FP_INHIBIT_RESULTS): Define.
48062         (___Q_simulate_exceptions): Update declaration.
48063         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48064         formatting.
48065         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48066         as unused and give dummy FP_RND_NEAREST initializer.
48067         (__Qp_handle_exceptions): Update declaration.
48068         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48069         formatting.
48071 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48073         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48074         the temporary FPU control word.
48075         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48076         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48077         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48078         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48079         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48080         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48081         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48082         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48083         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48084         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48085         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48087 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48089         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48090         fields.
48092 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48094         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48095         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48096         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48097         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48098         Likewise.
48099         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48100         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48101         Likewise.
48103 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48105         * po/h.po: Update from translation team.
48107 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48109         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48111         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48112         handling of denormals.
48113         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48114         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48115         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48116         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48117         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48118         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48119         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48120         Likewise.
48122 2012-05-26  Marek Polacek  <polacek@redhat.com>
48124         [BZ #14152]
48125         * math/libm-test.inc (fma_test): Don't always expect underflow
48126         exception.
48128 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48130         [BZ #12416]
48131         * elf/tst-execstack.c: Include stackinfo.h.
48132         (do_test): Adjust test case to ensure that pthread_getattr_np
48133         behaviour remains the same after marking stack executable.
48135 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48137         * sysdeps/unix/sysv/linux/kernel-features.h
48138         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48139         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48140         kernel-features.h.
48141         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48142         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48143         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48144         kernel-features.h.
48145         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48146         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48148 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48150         * configure.in: Define the default includes to being none.
48151         * configure: Regenerated.
48153 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48155         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48156         * sysdeps/x86_64/setjmp.S: Likewise.
48157         * sysdeps/i386/bsd-setjmp.S: Likewise.
48158         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48159         * sysdeps/i386/setjmp.S: Likewise.
48160         * sysdeps/i386/__longjmp.S: Likewise.
48161         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48162         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48164         * include/stap-probe.h: New file.
48165         * configure.in: Handle --enable-systemtap.
48166         * configure: Regenerated.
48167         * config.h.in (USE_STAP_PROBE): New #undef.
48168         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48169         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48170         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48172 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48174         [BZ #13717]
48175         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48176         to 2.4.0 where earlier.
48177         * sysdeps/unix/sysv/linux/configure: Regenerated.
48178         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48179         <kernel-features.h>.
48180         [__ASSUME_32BITUIDS]: Make code unconditional.
48181         [!__ASSUME_32BITUIDS]: Remove conditional code.
48182         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48183         <kernel-features.h>.
48184         [__ASSUME_32BITUIDS]: Make code unconditional.
48185         [!__ASSUME_32BITUIDS]: Remove conditional code.
48186         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48187         [__ASSUME_32BITUIDS]: Make code unconditional.
48188         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48189         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48190         <kernel-features.h>.
48191         [__ASSUME_32BITUIDS]: Make code unconditional.
48192         [!__ASSUME_32BITUIDS]: Remove conditional code.
48193         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48194         <kernel-features.h>.
48195         [__ASSUME_32BITUIDS]: Make code unconditional.
48196         [!__ASSUME_32BITUIDS]: Remove conditional code.
48197         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48198         <kernel-features.h>.
48199         [__ASSUME_32BITUIDS]: Make code unconditional.
48200         [!__ASSUME_32BITUIDS]: Remove conditional code.
48201         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48202         <kernel-features.h>.
48203         [__ASSUME_32BITUIDS]: Make code unconditional.
48204         [!__ASSUME_32BITUIDS]: Remove conditional code.
48205         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48206         <kernel-features.h>.
48207         [__ASSUME_32BITUIDS]: Make code unconditional.
48208         [!__ASSUME_32BITUIDS]: Remove conditional code.
48209         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48210         <kernel-features.h>.
48211         [__ASSUME_32BITUIDS]: Make code unconditional.
48212         [!__ASSUME_32BITUIDS]: Remove conditional code.
48213         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48214         <kernel-features.h>.
48215         [__ASSUME_32BITUIDS]: Make code unconditional.
48216         [!__ASSUME_32BITUIDS]: Remove conditional code.
48217         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48218         <kernel-features.h>.
48219         [__ASSUME_32BITUIDS]: Make code unconditional.
48220         [!__ASSUME_32BITUIDS]: Remove conditional code.
48221         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48222         <kernel-features.h>.
48223         [__ASSUME_32BITUIDS]: Make code unconditional.
48224         [!__ASSUME_32BITUIDS]: Remove conditional code.
48225         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48226         <kernel-features.h>.
48227         [__ASSUME_32BITUIDS]: Make code unconditional.
48228         [!__ASSUME_32BITUIDS]: Remove conditional code.
48229         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48230         <kernel-features.h>.
48231         [__NR_setresgid] (__setresgid): Do not declare.
48232         [__ASSUME_32BITUIDS]: Make code unconditional.
48233         [!__ASSUME_32BITUIDS]: Remove conditional code.
48234         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48235         <kernel-features.h>.
48236         [__NR_setresuid] (__setresuid): Do not declare.
48237         [__ASSUME_32BITUIDS]: Make code unconditional.
48238         [!__ASSUME_32BITUIDS]: Remove conditional code.
48239         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48240         <kernel-features.h>.
48241         [__ASSUME_32BITUIDS]: Make code unconditional.
48242         [!__ASSUME_32BITUIDS]: Remove conditional code.
48243         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48244         <kernel-features.h>.
48245         [__ASSUME_32BITUIDS]: Make code unconditional.
48246         [!__ASSUME_32BITUIDS]: Remove conditional code.
48247         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48248         <kernel-features.h>.
48249         [__ASSUME_32BITUIDS]: Make code unconditional.
48250         [!__ASSUME_32BITUIDS]: Remove conditional code.
48251         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48252         <kernel-features.h>.
48253         [__ASSUME_32BITUIDS]: Make code unconditional.
48254         [!__ASSUME_32BITUIDS]: Remove conditional code.
48255         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48256         <kernel-features.h>.
48257         [__ASSUME_32BITUIDS]: Make code unconditional.
48258         [!__ASSUME_32BITUIDS]: Remove conditional code.
48259         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48260         <kernel-features.h>.
48261         [__ASSUME_32BITUIDS]: Make code unconditional.
48262         [!__ASSUME_32BITUIDS]: Remove conditional code.
48263         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48264         <kernel-features.h>.
48265         [__ASSUME_32BITUIDS]: Make code unconditional.
48266         [!__ASSUME_32BITUIDS]: Remove conditional code.
48267         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48268         <kernel-features.h>.
48269         [__ASSUME_32BITUIDS]: Make code unconditional.
48270         [!__ASSUME_32BITUIDS]: Remove conditional code.
48271         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48272         <kernel-features.h>.
48273         [__ASSUME_32BITUIDS]: Make code unconditional.
48274         [!__ASSUME_32BITUIDS]: Remove conditional code.
48275         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48276         <kernel-features.h>.
48277         [__ASSUME_32BITUIDS]: Make code unconditional.
48278         [!__ASSUME_32BITUIDS]: Remove conditional code.
48279         * sysdeps/unix/sysv/linux/kernel-features.h
48280         (__ASSUME_SETRESUID_SYSCALL): Remove.
48281         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48282         (__ASSUME_32BITUIDS): Likewise.
48283         (__ASSUME_LDT_WORKS): Likewise.
48284         (__ASSUME_O_DIRECTORY): Likewise.
48285         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48286         architecture but not kernel version.
48287         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48288         (__ASSUME_MMAP2_SYSCALL): Likewise.
48289         (__ASSUME_STAT64_SYSCALL): Likewise.
48290         (__ASSUME_IPC64): Likewise.
48291         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48292         <kernel-features.h>.
48293         [__ASSUME_32BITUIDS]: Make code unconditional.
48294         [!__ASSUME_32BITUIDS]: Remove conditional code.
48295         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48296         <kernel-features.h>.
48297         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48298         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48299         132096]: Remove conditional code.
48300         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48301         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48302         <kernel-features.h>.
48303         [__ASSUME_32BITUIDS]: Make code unconditional.
48304         [!__ASSUME_32BITUIDS]: Remove conditional code.
48305         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48306         <kernel-features.h>.
48307         [__ASSUME_32BITUIDS]: Make code unconditional.
48308         [!__ASSUME_32BITUIDS]: Remove conditional code.
48309         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48310         <kernel-features.h>.
48311         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48312         unconditional.
48313         (__setresgid): Do not declare.
48314         [__ASSUME_32BITUIDS]: Make code unconditional.
48315         [!__ASSUME_32BITUIDS]: Remove conditional code.
48316         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48317         <kernel-features.h>.
48318         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48319         unconditional.
48320         (__setresuid): Do not declare.
48321         [__ASSUME_32BITUIDS]: Make code unconditional.
48322         [!__ASSUME_32BITUIDS]: Remove conditional code.
48323         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48324         <kernel-features.h>.
48325         [__ASSUME_32BITUIDS]: Make code unconditional.
48326         [!__ASSUME_32BITUIDS]: Remove conditional code.
48327         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48328         <kernel-features.h>.
48329         [__ASSUME_32BITUIDS]: Make code unconditional.
48330         [!__ASSUME_32BITUIDS]: Remove conditional code.
48332 2012-05-25  Richard Henderson  <rth@twiddle.net>
48334         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48335         dl_hwcap to ifunc resolver.
48336         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48337         elf_ifunc_invoke.
48338         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48339         dl_hwcap to ifunc resolver.
48340         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48342 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48344         [BZ #14153]
48345         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48346         for |x| <= 2**-26, not 2**-57.
48347         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48348         exception.
48350 2012-05-24  Jeff Law  <law@redhat.com>
48352         * stdio-common/Makefile (tests): Add bug25.
48353         * stdio-common/bug25.c: New test.
48355 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48357         [BZ #13576]
48358         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48359         multiple of MALLOC_ALIGNMENT in size.
48360         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48362 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48364         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48365         Require >= 256.
48366         (FILENAME_MAX): Use macro-int-constant.
48367         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48368         (_IOFBF): Use macro-int-constant.
48369         (_IOLBF): Likewise.
48370         (_IONBF): Likewise.
48371         (SEEK_CUR): Likewise.
48372         (SEEK_END): Likewise.
48373         (SEEK_SET): Likewise.
48374         (TMP_MAX): Likewise.
48375         (EOF): Use macro-int-constant.  Require < 0.
48376         (NULL): Use macro-constant.  Require == 0.
48377         (stdin): Require type to be FILE *.
48378         (stdout): Likewise.
48379         (stderr): Likewise.
48380         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48381         macro-int-constant.
48382         (EXIT_SUCCESS): Likewise.
48383         (NULL): Use macro-constant.  Require == 0.
48384         (RAND_MAX): Use macro-int-constant.
48385         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48386         [C99-based standards] (strtof): Require function.
48387         [C99-based standards] (strtold): Likewise.
48388         [C99-based standards] (strtoll): Likewise.
48389         [C99-based standards] (strtoull): Likewise.
48390         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48391         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48392         [ISO || ISO99 || ISO11] (math.h): Likewise.
48393         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48394         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48395         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48397 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48399         [BZ #14132]
48400         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48401         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48402         * intl/dgettext.c (DCGETTEXT): Likewise.
48403         * intl/gettext.c (DCGETTEXT): Likewise.
48404         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48405         * posix/regex_internal.h (gettext): Likewise.
48406         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48407         Remove declaration.
48408         * include/argz.h (__argz_count_internal)
48409         (__argz_stringify_internal): Remove declaration.
48410         (__argz_count, __argz_stringify): Declare hidden proto.
48411         * intl/dcgettext.c: Remove use of INTDEF.
48412         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48413         * string/argz-stringify.c: Likewise.
48414         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48415         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48416         Declare hidden proto.
48417         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48418         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48419         Declare hidden proto.
48420         * include/stdio.h (__asprintf_internal): Don't declare.
48421         (__asprintf): Don't define as macro.  Declare hidden proto.
48422         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48423         (__fsetlocking): Declare hidden proto.
48424         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48425         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48426         hidden proto.
48427         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48428         (_IO_setlinebuf): Remove use of INTUSE.
48429         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48430         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48431         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48432         Remove declaration.
48433         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48434         (_IO_do_flush): Remove use of INTUSE.
48435         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48436         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48437         (_IO_adjust_column, _IO_least_wmarker)
48438         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48439         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48440         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48441         (_IO_default_doallocate, _IO_wdefault_doallocate)
48442         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48443         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48444         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48445         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48446         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48447         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48448         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48449         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48450         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48451         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48452         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48453         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48454         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48455         proto.
48456         (_IO_flush_all_internal, _IO_adjust_column_internal)
48457         (_IO_default_uflow_internal, _IO_default_finish_internal)
48458         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48459         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48460         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48461         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48462         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48463         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48464         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48465         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48466         (_IO_file_close_internal, _IO_file_close_it_internal)
48467         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48468         (_IO_file_init_internal, _IO_file_attach_internal)
48469         (_IO_file_fopen_internal, _IO_file_read_internal)
48470         (_IO_file_sync_internal, _IO_file_seek_internal)
48471         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48472         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48473         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48474         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48475         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48476         (_IO_list_all_internal, _IO_link_in_internal)
48477         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48478         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48479         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48480         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48481         (_IO_do_write_internal, _IO_padn_internal)
48482         (_IO_getline_info_internal, _IO_getline_internal)
48483         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48484         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48485         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48486         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48487         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48488         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48489         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48490         with libc_hidden_ver, remove use of INTUSE.
48491         * libio/genops.c: Likewise.
48492         * libio/freopen.c: Likewise.
48493         * libio/freopen64.c: Likewise.
48494         * libio/iofclose.c: Likewise.
48495         * libio/iofdopen.c: Likewise.
48496         * libio/iofflush.c: Likewise.
48497         * libio/iofflush_u.c: Likewise.
48498         * libio/iofgets.c: Likewise.
48499         * libio/iofgets_u.c: Likewise.
48500         * libio/iofopen.c: Likewise.
48501         * libio/iofopncook.c: Likewise.
48502         * libio/iofread.c: Likewise.
48503         * libio/iofread_u.c: Likewise.
48504         * libio/ioftell.c: Likewise.
48505         * libio/iofwrite.c: Likewise.
48506         * libio/iogetline.c: Likewise.
48507         * libio/iogets.c: Likewise.
48508         * libio/iogetwline.c: Likewise.
48509         * libio/iopadn.c: Likewise.
48510         * libio/iopopen.c: Likewise.
48511         * libio/ioseekoff.c: Likewise.
48512         * libio/ioseekpos.c: Likewise.
48513         * libio/iosetbuffer.c: Likewise.
48514         * libio/iosetvbuf.c: Likewise.
48515         * libio/ioungetc.c: Likewise.
48516         * libio/ioungetwc.c: Likewise.
48517         * libio/iovdprintf.c: Likewise.
48518         * libio/iovsprintf.c: Likewise.
48519         * libio/iovsscanf.c: Likewise.
48520         * libio/memstream.c: Likewise.
48521         * libio/obprintf.c: Likewise.
48522         * libio/oldfileops.c: Likewise.
48523         * libio/oldiofclose.c: Likewise.
48524         * libio/oldiofdopen.c: Likewise.
48525         * libio/oldiofopen.c: Likewise.
48526         * libio/oldiopopen.c: Likewise.
48527         * libio/oldstdfiles.c: Likewise.
48528         * libio/putc.c: Likewise.
48529         * libio/setbuf.c: Likewise.
48530         * libio/setlinebuf.c: Likewise.
48531         * libio/stdfiles.c: Likewise.
48532         * libio/strops.c: Likewise.
48533         * libio/vasprintf.c: Likewise.
48534         * libio/vscanf.c: Likewise.
48535         * libio/vsnprintf.c: Likewise.
48536         * libio/vswprintf.c: Likewise.
48537         * libio/wfiledoalloc.c: Likewise.
48538         * libio/wfileops.c: Likewise.
48539         * libio/wgenops.c: Likewise.
48540         * libio/wmemstream.c: Likewise.
48541         * libio/wstrops.c: Likewise.
48542         * libio/__fpurge.c: Likewise.
48543         * libio/__fsetlocking.c: Likewise.
48544         * assert/assert.c: Likewise.
48545         * debug/fgets_chk.c: Likewise.
48546         * debug/fgets_u_chk.c: Likewise.
48547         * debug/fread_chk.c: Likewise.
48548         * debug/fread_u_chk.c: Likewise.
48549         * debug/gets_chk.c: Likewise.
48550         * debug/obprintf_chk.c: Likewise.
48551         * debug/vasprintf_chk.c: Likewise.
48552         * debug/vdprintf_chk.c: Likewise.
48553         * debug/vsnprintf_chk.c: Likewise.
48554         * debug/vsprintf_chk.c: Likewise.
48555         * malloc/mtrace.c: Likewise.
48556         * misc/error.c: Likewise.
48557         * misc/syslog.c: Likewise.
48558         * stdio-common/asprintf.c: Likewise.
48559         * stdio-common/fxprintf.c: Likewise.
48560         * stdio-common/getw.c: Likewise.
48561         * stdio-common/isoc99_fscanf.c: Likewise.
48562         * stdio-common/isoc99_scanf.c: Likewise.
48563         * stdio-common/isoc99_vfscanf.c: Likewise.
48564         * stdio-common/isoc99_vscanf.c: Likewise.
48565         * stdio-common/isoc99_vsscanf.c: Likewise.
48566         * stdio-common/printf-prs.c: Likewise.
48567         * stdio-common/printf_fp.c: Likewise.
48568         * stdio-common/printf_fphex.c: Likewise.
48569         * stdio-common/printf_size.c: Likewise.
48570         * stdio-common/putw.c: Likewise.
48571         * stdio-common/scanf.c: Likewise.
48572         * stdio-common/sprintf.c: Likewise.
48573         * stdio-common/tmpfile.c: Likewise.
48574         * stdio-common/vfprintf.c: Likewise.
48575         * stdio-common/vfscanf.c: Likewise.
48576         * stdlib/strfmon_l.c: Likewise.
48577         * sunrpc/openchild.c: Likewise.
48578         * sunrpc/xdr_stdio.c: Likewise.
48579         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48580         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48582 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48584         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48586         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48587         in the third column, to generate for the shared library an IFUNC
48588         that uses _dl_vdso_vsym.
48589         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48590         * Makeconfig (object-suffixes-noshared): New variable.
48592         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48593         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48594         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48595         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48597         [BZ #14132]
48598         * include/sys/time.h (__gettimeofday): Remove macro.
48599         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48600         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48601         Remove INTDEF.
48602         (__gettimeofday): Add libc_hidden_def.
48603         (gettimeofday): Add libc_hidden_weak.
48604         * sysdeps/mach/gettimeofday.c: Likewise.
48605         * sysdeps/posix/gettimeofday.c: Likewise.
48606         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48607         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48608         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48609         (__gettimeofday_internal): Remove strong_alias.
48610         (__gettimeofday): Add libc_hidden_def.
48611         (gettimeofday): Add libc_hidden_weak.
48612         * sysdeps/unix/syscalls.list (gettimeofday):
48613         Remove __gettimeofday_internal alias.
48615 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48616             H.J. Lu  <hongjiu.lu@intel.com>
48618         [BZ #12495]
48619         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48620         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48621         (largebin_index_32_big): New.
48622         (largebin_index): Use it for 16-byte alignment.
48623         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48624         correction with front_misalign.
48626 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48630         Likewise.
48631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48632         Likewise.
48633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48634         Likewise.
48635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48636         Likewise.
48637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48638         Likewise.
48639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48640         Likewise.
48641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48642         Likewise.
48643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48644         Likewise.
48645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48646         Likewise.
48647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48648         Likewise.
48649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48650         Likewise.
48651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48652         Likewise.
48654         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48655         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48657 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48659         [BZ #10846]
48660         [BZ #14036]
48661         * math/libm-test.inc (exp_test): Add test from bug 14036.
48662         (pow_test): Add test from bug 10846.
48664         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48665         and other flags.
48666         (special_function): Do not include flags in test name.
48667         (parse_args): Likewise.
48668         * sysdeps/i386/fpu/libm-test-ulps: Update.
48669         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48670         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48671         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48674         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48675         exceptions.
48676         * math/libm-test.inc ("Philosophy"): Update comment about
48677         exception testing.
48678         (UNDERFLOW_EXCEPTION): New macro.
48679         (UNDERFLOW_EXCEPTION_OK): Likewise.
48680         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48681         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48682         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48683         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48684         (INVALID_EXCEPTION_OK): Update value.
48685         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48686         (OVERFLOW_EXCEPTION_OK): Likewise.
48687         (IGNORE_ZERO_INF_SIGN): Likewise.
48688         (test_exceptions): Handle underflow exceptions.
48689         (acos_test): Update for underflow exception expectations.
48690         (cexp_test): Likewise.
48691         (clog_test): Likewise.
48692         (clog10_test): Likewise.
48693         (csqrt_test): Likewise.
48694         (ctan_test): Likewise.
48695         (ctanh_test): Likewise.
48696         (exp_test): Likewise.
48697         (exp10_test): Likewise.
48698         (exp2_test): Likewise.
48699         (expm1_test): Likewise.
48700         (fma_test): Likewise.
48701         (j0_test): Likewise.
48702         (jn_test): Likewise.
48703         (nexttoward_test): Likewise.
48704         (pow_test): Likewise.
48705         (scalbn_test): Likewise.
48706         (scalbln_test): Likewise.
48707         (tan_test): Likewise.
48708         (y1_test): Likewise.
48709         * sysdeps/i386/fpu/libm-test-ulps: Update.
48710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48712 2012-05-23  David S. Miller  <davem@davemloft.net>
48714         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48715         (__libc_sigaction): Remove unused local variables.
48717 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48719         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48721 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48723         mktime: avoid signed integer overflow
48724         * time/mktime.c (__mktime_internal): Do not mishandle the case
48725         where diff == INT_MIN.
48727         mktime: simplify computation of average
48728         * time/mktime.c (ranged_convert): Use new time_t_avg function
48729         instead of rolling our own (probably-slower) code.
48731         mktime: do not assume signed right shift propagates sign bit
48732         * time/mktime.c (isdst_differ): New static function.
48733         (__mktime_internal): No need to normalize tm_isdst now.
48734         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48735         tm_isdst values.
48737         mktime: merge another wrapv change from gnulib
48738         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48739         from some compilers.
48741         mktime: remove incorrect attempt at unusual arithmetics
48742         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48743         The code didn't really work on such machines anyway.
48744         (TYPE_MINIMUM): Assume two's complement.
48745         (twos_complement_arithmetic): Verify that long_int and time_t
48746         are two's complement (or unsigned, in the latter case).
48748         mktime: check signed shifts on long_int and time_t, too
48749         * time/mktime.c (SHR): Check that shifts work as desired
48750         on the types long_int and time_t too, as SHR is used on
48751         such types.
48753         mktime: do not assume 'long' is wide enough
48754         * time/mktime.c (verify): Move decl up.
48755         (long_int): New type.
48756         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48757         to remove assumption in the code that 'long' is wide enough to
48758         store year values.  This assumption is not true on x32 and on
48759         some non-glibc platforms.
48761         mktime: merge wrapv change from gnulib
48762         * time/mktime.c (WRAPV): New macro.
48763         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48764         (guess_time_tm, __mktime_internal): Do not assume that signed
48765         integer overflow wraps around; modern compilers generate code
48766         where this assumption is no longer valid.
48768 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48770         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48771         Replace "jmp L(pseudo_end)" with "ret".
48772         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48773         Likewise.
48775 2012-05-23  Andreas Jaeger  <aj@suse.de>
48777         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48778         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48780 2012-05-23  Andreas Jaeger  <aj@suse.de>
48781             Maximilian Attems  <max@stro.at>
48783         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48784         New macros.
48786 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48788         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48789         code so that pseudo_end is just ret and the stack pointer is
48790         correct also for static library in error case.
48792 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48794         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48795         move to syscalls.list.
48796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48801         * manual/install.texi (Running make install): Do not mention Linux
48802         kernel version for which pt_chown is not needed.
48803         (Linux): Do not mention problems with nscd with 2.0 kernels.
48804         * INSTALL: Regenerated.
48806 2012-05-23  Andreas Jaeger  <aj@suse.de>
48808         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48809         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48810         macro.
48811         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48812         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48813         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48814         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48815         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48816         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48817         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48818         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48819         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48820         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48821         * sysdeps/unix/sysv/linux/bits/in.h
48822         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48824 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48826         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48827         (PREPARE_VERSION): Just use assert instead, it will be elided
48828         under [NDEBUG] anyway.
48830 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48832         * sysdeps/unix/sysv/linux/Makefile: Include
48833         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48834         (sysdep_routines): Remove sysctl.
48835         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48836         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48837         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48838         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48839         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48841 2012-05-22  Andreas Jaeger  <aj@suse.de>
48843         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48844         that pseudo_end is just ret and the stack pointer is correct also
48845         for static library in error case.
48847 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48849         [BZ #14122]
48850         * nss/nsswitch.c (defconfig_entries): New variable.
48851         (__nss_database_lookup): Don't leak defconfig entries.
48852         (nss_parse_service_list): Don't leak on error paths.
48853         (free_database_entries): New function.
48854         (free_defconfig): New function.
48855         (free_mem): Move common code to free_database_entries.
48857 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48859         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48860         Add arch_prctl.
48861         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48863         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48864         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48865         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48866         New macro.
48867         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48868         (INTERNAL_SYSCALL_TYPES): Likewise.
48869         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48870         (LOAD_REGS_TYPES_[1-6]): Likewise.
48871         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48872         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48874 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48876         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48877         copysignl for GLIBC_2_0.
48878         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48879         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48880         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48881         logbl for GLIBC_2_0.
48882         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48883         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48885 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48887         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48888         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48890         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48891         Use "neg %eax".
48893         * time/mktime.c: Update copyright years.
48895 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48897         mktime: merge comment-quoting-style change from gnulib
48898         * time/mktime.c: Quote 'like this' in comments.
48899         The GNU coding standards suggest that we no longer quote `like this',
48900         as "`" and "'" are typically rendered asymmetrically nowadays.
48901         The typical gnulib style is to quote 'like this' when quoting
48902         code, and "like this" when quoting English.
48904         * time/mktime.c (compile-command): Add "-I.".
48906         mktime: merge mktime-internal.h change from gnulib
48907         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48909         mktime: merge time_r change from gnulib
48910         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48912         mktime: merge DEBUG change from gnulib
48913         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48914         case system <time.h> has a #define.
48916         mktime: merge <sys/types.h> change from gnulib
48917         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48918         since <time.t> is now guaranteed to define time_t.
48920         mktime: merge HAVE_CONFIG_H change from gnulib
48921         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48923 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48925         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48926         Use "neg %eax".
48928         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48929         __rlim_t cast.
48930         (struct rusage): Use anonymous union to pad each field to
48931         __syscall_slong_t.
48933 2012-05-21  David S. Miller  <davem@davemloft.net>
48935         * Makefules (o-iterator): Remove .s cases.
48936         (compile-command.s): Delete.
48937         (COMPILE.s): Delete.
48938         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48940 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48942         * configure.in (libc_cv_predef_stack_protector): Only consider
48943         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48944         * configure: Regenerated.
48946 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48948         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48949         New macro.  Use R*LP on int and pointer.
48950         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48951         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48952         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48953         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48955         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48956         [__WORDSIZE_TIME64_COMPAT32] instead of
48957         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48958         (struct utmp): Likewise.
48959         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48960         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48961         Renamed to ...
48962         (__WORDSIZE_TIME64_COMPAT32): This.
48963         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48964         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48965         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48966         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48967         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48968         (__WORDSIZE_TIME64_COMPAT32): New macro.
48970 2012-05-21  Andreas Jaeger  <aj@suse.de>
48972         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48973         only if [SHARED]. Add prototype for __wcschr_ia32.
48975 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48977         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48978         of %rbp unmolested in the jmp_buf while mangling the low bits.
48979         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48980         unmolested high bits of %rbp while demangling the low bits.
48981         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48983 2012-05-21  Andreas Jaeger  <aj@suse.de>
48985         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48986         * sunrpc/svc_simple.c: Use it for registerrpc.
48987         * sunrpc/xcrypt.c: Use it for passwd2des.
48989         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48991 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48993         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48994         Don't define if [__SYSCALL_WORDSIZE != 32].
48995         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48996         New macro.
48998 2012-05-21  Bruno Haible  <bruno@clisp.org>
48999             Andreas Jaeger  <aj@suse.de>
49001         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49002         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49003         inptr and inend for must_buffer_ch.
49004         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49005         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49006         * stdio-common/Makefile (tests): Remove bug15.
49007         (bug15-ENV): Remove macro.
49008         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49009         anymore.
49011 2012-05-19  Andreas Jaeger  <aj@suse.de>
49012             Roland McGrath  <roland@hack.frob.com>
49014         * manual/contrib.texi: Completely rewritten. It contains now an
49015         alphabetical list of contributors and their contributions.
49017 2012-05-21  Richard Henderson  <rth@twiddle.net>
49019         * misc/getauxval.c (__getauxval): Use unsigned long int.
49020         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49021         (getauxval): Use unsigned long int.
49023 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49025         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49027 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49029         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49030         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49031         __alignof__ (long double).
49033 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49037 2012-05-20  Richard Henderson  <rth@twiddle.net>
49039         * misc/getauxval.c: New file.
49040         * misc/sys/auxv.h: New file.
49041         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49042         (routines): Add getauxval.
49043         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49044         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49045         * elf/dl-sysdep.c (_dl_auxv): Remove.
49046         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49047         * elf/dl-support.c (_dl_auxv): New variable.
49048         (_dl_aux_init): Initialize it.
49049         * manual/startup.texi (Auxiliary Vector): New node.
49050         * sysdeps/generic/bits/hwcap.h: New file.
49051         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49052         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49053         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49054         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49055         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49056         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49058         Update.
49059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49062         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49068 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49072 2012-05-19  David S. Miller  <davem@davemloft.net>
49074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49076 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49078         [BZ #14123]
49079         * math/s_ccosh.c: Include <float.h>
49080         (__ccosh): Avoid internal overflow calculating sinh and cosh
49081         values before multiplying by sin and cos values.
49082         * math/s_ccoshf.c: Likewise.
49083         * math/s_ccoshl.c: Likewise.
49084         * math/s_csin.c: Likewise.
49085         * math/s_csinf.c: Likewise.
49086         * math/s_csinl.c: Likewise.
49087         * math/s_csinh.c: Likewise.
49088         * math/s_csinhf.c: Likewise.
49089         * math/s_csinhl.c: Likewise.
49090         * math/libm-test.inc (ccos_test): Add more tests.
49091         (ccosh_test): Likewise.
49092         (csin_test): Likewise.
49093         (csinh_test): Likewise.
49094         * sysdeps/i386/fpu/libm-test-ulps: Update.
49095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49097 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49099         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49100         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49102         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49104 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49106         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49107         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49108         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49109         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49110         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49111         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49112         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49113         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49114         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49115         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49116         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49117         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49118         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49119         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49120         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49121         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49122         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49123         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49124         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49125         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49126         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49127         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49128         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49129         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49130         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49131         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49132         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49133         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49134         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49135         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49136         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49138 2012-05-18  Andreas Jaeger  <aj@suse.de>
49140         * csu/.gitignore: Delete.
49142 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49144         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49145         (timex): Use __syscall_slong_t.
49147 2012-05-18  Andreas Jaeger  <aj@suse.de>
49148             Carlos O'Donell  <carlos_odonell@mentor.com>
49150         * manual/install.texi (Configuring and compiling): Update
49151         description about files modified in the source directory.
49152         * INSTALL: Regenerated.
49154 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49156         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49157         value.  Use "or" to set return value to -1.
49158         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49159         negate return value.
49161 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49163         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49164         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49165         failure if the compiler has Graphite support disabled.
49166         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49167         Likewise.
49168         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49169         (CFLAGS-memmove.c): Likewise.
49170         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49171         Likewise.
49173 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49175         * sysdeps/x86_64/x32/_itoa.h: New file.
49177         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49178         getdents system call only if kernel and user dirents have the
49179         same d_ino and d_off.
49181         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49182         LLONG_MAX != LONG_MAX.
49183         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49184         (_fitoa_word): Likewise.
49186         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49187         years.
49188         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49189         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49190         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49192         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49193         include <bits/wordsize.h>.  Check __x86_64__ instead of
49194         __WORDSIZE.
49195         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49196         if __x86_64__ is defined.  Use anonymous union on fpstate.
49198         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49199         anonymous union.
49201 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49203         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49204         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49205         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49206         Refer to _rtld_local_ro instead of _rtld_global_ro.
49207         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49208         Likewise.
49209         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49210         Likewise.
49211         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49212         Likewise.
49213         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49214         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49215         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49217         [BZ #10882]
49218         * sysdeps/powerpc/powerpc32/dl-machine.c
49219         (__elf_machine_runtime_setup) [PROF]: Don't reference
49220         _dl_prof_resolve.
49222 2012-05-18  Andreas Jaeger  <aj@suse.de>
49224         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49225         function only available for GCCs before 3.4 since GCC 3.4
49226         introduced a builtin.
49227         (lrint): Likewise.
49228         (llrintf): Likewise.
49229         (llrint): Likewise.
49230         (fmaxf): Likewise.
49231         (fmax): Likewise.
49232         (fminf): Likewise.
49233         (fmin): Likewise.
49234         (rint): Likewise.
49235         (rintf): Likewise.
49236         (nearbyint): Likewise.
49237         (nearbyintf): Likewise.
49238         (ceil): Likewise.
49239         (ceilf): Likewise.
49240         (floor): Likewise.
49241         (floorf): Likewise.
49243 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49245         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49246         on both fields and cast pointer to __syscall_ulong_t.
49248         * bits/types.h (__fsword_t): New type.
49249         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49250         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49251         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49252         (__FSWORD_T_TYPE): Likewise.
49253         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49254         (__FSWORD_T_TYPE): Likewise.
49255         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49256         (__FSWORD_T_TYPE): Likewise.
49257         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49258         (__FSWORD_T_TYPE): Likewise.
49259         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49260         __SWORD_TYPE with __fsword_t.
49261         (statfs64): Likewise.
49263 2012-05-17  David S. Miller  <davem@davemloft.net>
49265         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49267 2012-05-17  Andreas Jaeger  <aj@suse.de>
49269         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49270         warning.
49272 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49274         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49276 2012-05-17  Andreas Jaeger  <aj@suse.de>
49278         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49279         when it is used.
49281 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49283         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49285 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49287         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49288         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49290 2012-05-17  Andreas Jaeger  <aj@suse.de>
49291             Carlos O'Donell  <carlos_odonell@mentor.com>
49293         [BZ #14059]
49294         * sysdeps/x86_64/multiarch/init-arch.h
49295         (bit_YMM_Usable): Rename to...
49296         (bit_AVX_Usable): ... this.
49297         (bit_FMA4_Usable): New macro.
49298         (bit_XMM_state): New macro.
49299         (bit_YMM_state): New macro.
49300         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49301         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49302         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49303         (CPUID_OSXSAVE): New macro.
49304         (CPUID_AVX): New macro.
49305         (CPUID_FMA4): New macro.
49306         (index_YMM_Usable): Rename to...
49307         (index_AVX_Usable): ... this.
49308         (HAS_AVX): Use HAS_ARCH_FEATURE.
49309         (HAS_FMA4): Likewise.
49310         (HAS_YMM_USABLE): Remove.
49311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49312         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49313         are present.
49314         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49315         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49316         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49317         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49318         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49320 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49322         * math/libm-test.c: Support platforms without multiple rounding modes.
49323         * math/bug-nextafter.c: Support platforms without FP exceptions.
49324         * math/bug-nexttoward.c: Likewise.
49325         * math/test-fenv.c: Likewise.
49326         * math/test-misc.c: Likewise.
49327         * stdlib/bug-getcontext.c: Likewise.
49329 2012-05-17  Andreas Jaeger  <aj@suse.de>
49331         * manual/examples/search.c (critter_cmp): Change signature to
49332         avoid warnings.
49333         * manual/string.texi (Collation Functions): Likewise.
49335 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49337         * bits/types.h: Fold copyright years.
49338         * bits/typesizes.h: Likewise.
49339         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49340         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49341         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49342         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49343         * time/time.h: Likewise.
49345 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49347         [BZ #208]
49348         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49349         in instead of returning them.  Return void.
49350         (__libc_mallinfo): Accumulate over all arenas.
49351         (__malloc_stats): Adjust for change in int_mallinfo interface.
49353 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49355         [BZ #10375]
49356         * configure.in (NM): Add AC_CHECK_TOOL for it.
49357         (libc_extra_cflags): New substituted variable.
49358         Check for -fstack-protector being used implicitly.
49359         * configure: Regenerated.
49360         * config.make.in (config-extra-cflags): New variable,
49361         gets @libc_extra_cflags@.
49362         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49364         [BZ #10375]
49365         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49366         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49367         * configure: Regenerated.
49368         * config.make.in (CPPUNDEFS): New substituted variable.
49369         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49370         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49371         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49373 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49375         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49376         (mq_attr): Use __syscall_slong_t.
49378 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49380         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49381         Check __x86_64__ instead of __WORDSIZE.
49382         (_STAT_VER_LINUX): Likewise.
49383         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49384         __syscall_ulong_t and __syscall_slong_t.
49385         (stat64): Likewise.
49387 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49389         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49391 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49393         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49395 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49397         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49398         __syscall_ulong_t.
49400         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49401         include <bits/wordsize.h>.  Check __x86_64__ instead of
49402         __WORDSIZE.
49403         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49404         defined.
49405         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49407         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49408         include <bits/wordsize.h>.  Check __x86_64__ instead of
49409         __WORDSIZE.
49410         (user_regs_struct): Use "__extension__ unsigned long long"
49411         instead of "unsigned long" if __x86_64__ is defined.
49412         (user): Likewise.  Pad after pointer field if __ILP32__ is
49413         defined.
49415 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49417         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49418         versions 5 to 9.
49419         * configure: Regenerated.
49420         * manual/install.texi (texinfo): Increase version requirement to
49421         4.5 or later.
49422         * INSTALL: Regenerated.
49424         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49426 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49428         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49430         * sysdeps/x86_64/x32/ffs.c: New file.
49432         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49433         __syscall_ulong_t.
49434         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49435         defined.  Use __syscall_ulong_t.
49436         (shminfo): Use __syscall_ulong_t.
49437         (shm_info): Likewise.
49439         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49440         __syscall_ulong_t.
49442         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49443         <bits/wordsize.h>.
49444         (msgqnum_t): Use __syscall_ulong_t.
49445         (msglen_t): Likewise.
49446         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49447         __syscall_ulong_t.
49449         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49450         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49452         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49454         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49455         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49457         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49458         __syscall_slong_t.
49460         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49461         include <bits/wordsize.h>.  Check __x86_64__ instead of
49462         __WORDSIZE.
49464         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49465         "unsigned long long int" if __x86_64__ is defined.
49466         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49468         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49469         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49470         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49472         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49473         <stdint.h>.
49474         (GET_PC): Cast to uintptr_t first.
49475         (GET_FRAME): Likewise.
49476         (GET_STACK): Likewise.
49478         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49479         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49480         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49481         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49482         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49483         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49484         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49485         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49486         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49487         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49488         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49489         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49490         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49491         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49492         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49493         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49494         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49495         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49496         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49497         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49498         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49499         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49500         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49501         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49502         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49503         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49504         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49505         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49506         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49508 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49510         * Makerules (+depfiles): Also collect depfiles from .oS in
49511         $(extra-objs).
49512         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49513         .oS, $(libnldbl-routines)).
49515         * Makerules (native-compile-mkdep-flags): Define.
49516         * sunrpc/Makefile (extra-objs): Add $(addprefix
49517         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49518         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49519         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49520         calling $(make-target-directory).
49522 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49524         * bits/types.h (__snseconds_t): Removed.
49525         * time/time.h (struct timespec): Replace __snseconds_t with
49526         __syscall_slong_t.
49527         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49528         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49529         Likewise.
49530         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49531         (__SNSECONDS_T_TYPE): Likewise.
49532         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49533         (__SNSECONDS_T_TYPE): Likewise.
49534         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49535         (__SNSECONDS_T_TYPE): Likewise.
49537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49539         * sysdeps/mach/hurd/bits/typesizes.h
49540         (__SYSCALL_SLONG_TYPE): New macro.
49541         (__SYSCALL_ULONG_TYPE): Likewise.
49543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49545         * bits/types.h (__syscall_slong_t): New type.
49546         (__syscall_ulong_t): Likewise.
49548         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49549         (__SYSCALL_ULONG_TYPE): Likewise.
49550         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49551         (__SYSCALL_SLONG_TYPE): Likewise.
49552         (__SYSCALL_ULONG_TYPE): Likewise.
49553         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49554         (__SYSCALL_SLONG_TYPE): Likewise.
49555         (__SYSCALL_ULONG_TYPE): Likewise.
49556         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49557         (__SYSCALL_SLONG_TYPE): Likewise.
49558         (__SYSCALL_ULONG_TYPE): Likewise.
49560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49562         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49563         Add sigaltstack-offsets.sym.
49564         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49565         <sigaltstack-offsets.h>.
49566         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49567         longjmp_msg pointer.
49568         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49569         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49570         signal stack.
49571         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49573 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49575         * elf/stackguard-macros.h: Remove file.
49576         * sysdeps/generic/stackguard-macros.h: New file.
49577         * sysdeps/i386/stackguard-macros.h: Likewise.
49578         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49579         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49580         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49581         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49582         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49583         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49584         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49585         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49586         <elf/stackguard-macros.h>.
49588         [BZ #14109]
49589         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49590         __aligned__ in attribute.
49591         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49592         (gregset_t): Likewise.
49594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49596         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49597         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49598         * sysdeps/x86_64/x32/Implies-after: New file.
49600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49602         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49603         and access return value for _dl_profile_fixup.  Use R10_LP to
49604         load frame size.
49606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49608         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49612         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49613         * sysdeps/x86_64/x32/sysdep.h: New file.
49615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49617         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49618         * sysdeps/x86_64/setjmp.S: Likewise.
49620 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49622         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49623         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49624         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49625         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49626         remove unused global constant.
49628 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49630         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49631         include of <not-cancel.h>.
49633 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49635         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49637 2012-05-15  Jeff Law  <law@redhat.com>
49638             Andreas Jaeger  <aj@suse.de>
49640         [BZ #13594]
49641         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49642         out from...
49643         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49644         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49645         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49646         code changing __hst_map_handle.map.
49648 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49650         * configure.in (sysnames): Look for Implies-before and Implies-after
49651         files.
49652         * configure: Regenerated.
49654 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49656         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49657         8-byte data alignment with LP_SIZE alignment.
49659 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49661         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49662         into R10_LP.
49664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49666         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49670         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49671         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49672         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49673         Likewise.
49674         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49678         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49679         (stackinfo_sub_sp): Likewise.
49681 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49683         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49684         RAX_LP.
49686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49688         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49689         into R*_LP.
49691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49693         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49694         sizes into R*_LP.
49696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49698         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49700 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49702         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49703         into R11_LP and load __x86_64_shared_cache_size_half into
49704         R8_LP.
49706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49708         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49709         R8_LP.
49711 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49713         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49714         logb for POWER7.
49715         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49716         logbf for POWER7.
49717         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49718         logbl for POWER7.
49719         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49720         powerpc32/power7/fpu/s_logb.c via #include.
49721         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49722         powerpc32/power7/fpu/s_logbf.c via #include.
49723         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49724         powerpc32/power7/fpu/s_logbl.c via #include.
49726 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49728         * README.libm: Remove file.
49730 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49732         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49733         count for x32.  Use R*_LP and omit operand-size suffix.
49735 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49737         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49738         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49739         * sysdeps/x86_64/x32/shlib-versions: New file.
49741 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49743         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49744         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49745         Use _dl_fatal_printf instead.
49747 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49749         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49750         set if not set by the user.  Do not allow for being unset.
49751         * sysdeps/unix/sysv/linux/configure: Regenerated.
49753 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49755         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49756         the `q' suffix from lea and replace .quad with ASM_ADDR.
49758 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49760         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49761         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49762         instead of $17.
49763         (PTR_DEMANGLE): Likewise.
49765 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49767         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49768         (LP_OP): Likewise.
49769         (ASM_ADDR): Likewise.
49770         (RAX_LP): Likewise.
49771         (RBP_LP): Likewise.
49772         (RBX_LP): Likewise.
49773         (RCX_LP): Likewise.
49774         (RDI_LP): Likewise.
49775         (RSI_LP): Likewise.
49776         (RSP_LP): Likewise.
49777         (R8_LP): Likewise.
49778         (R9_LP): Likewise.
49779         (R10_LP): Likewise.
49780         (R10_LP): Likewise.
49781         (R11_LP): Likewise.
49782         (R12_LP): Likewise.
49783         (R13_LP): Likewise.
49784         (R14_LP): Likewise.
49785         (R15_LP): Likewise.
49787 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49789         * sysdeps/x86_64/x32/dl-machine.h: New file.
49791 2012-05-14  Andreas Jaeger  <aj@suse.de>
49793         * manual/Makefile (subdir): Remove export of subdir.
49794         (all): Remove target.
49795         (.PHONY): Remove all from list.
49796         (mkinstalldirs): Remove.
49797         (.PHONY): Remove installdirs from list.
49798         ($(inst_infodir)/libc.info): Use make-target-directory.
49799         (installdirs): Remove.
49800         (subdir_%): Remove.
49801         (glibc-targets): Remove.
49802         (lib): Remove.
49803         (stubs): Remove.
49804         ($(objpfx)stubs ../po/manual.pot): Remove.
49805         ($(objpfx)stamp%): Remove.
49806         (make-target-directory): Remove.
49807         (subdir_install): Remove.
49808         (routines): Remove.
49809         (aux): Remove.
49810         (sources): Remove.
49811         (objects): Remove.
49812         (headers): Remove.
49814         [BZ #13750]
49815         * manual/.gitignore: Remove, it's not needed anymore.
49816         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49817         all files in it.
49818         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49819         directory.
49820         (texis): Renamed to $(objpfx)texis.
49821         (texis-path): New, contains path to generated files.
49822         (chapters.%): Use texis-path for complete path, add extra argument
49823         libc-texinfo.sh.
49824         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49825         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49826         (summary,texi, stamp-summary): Use complete path of
49827         files. Generate files in build dir.
49828         (dir-add.texi): Build in build dir.
49829         (libm-err.texi,stamp-libm-err): Likewise.
49830         (version.texi, stamp-version): Likewise.
49831         (.%c.texi): Likewise.
49832         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49833         (mostlyclean): Remove target.
49834         (realclean): Remove target.
49835         (generated): Add new variable with contents from mostlyclean and
49836         realclean, remove entries duplicated in common-mostlyclean, add
49837         stamp-libm-err and stamp-version.
49838         (generated-dirs): Add libc directory.
49839         ($(inst_infodir)/libc.info): Install files from build dir.
49841         * manual/install.texi (Configuring and compiling): Adjust since
49842         the info files are not part of the tar ball anymore.
49844 2012-05-14  Andreas Jaeger  <aj@suse.de>
49846         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49847         variable.
49849 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49851         [BZ #13717]
49852         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49853         to 2.2.0 where earlier.
49854         * sysdeps/unix/sysv/linux/configure: Regenerated.
49855         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49856         Remove conditional code.
49857         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49858         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49859         Remove conditional code.
49860         [!__NR_lchown]: Likewise.
49861         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49862         [__NR_lchown]: Likewise.
49863         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49864         comment referencing __ASSUME_LCHOWN_SYSCALL.
49865         * sysdeps/unix/sysv/linux/i386/sigaction.c
49866         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49867         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49868         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49869         Remove conditional code.
49870         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49871         (__protocol_available): Remove #if 0 code.
49872         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49873         conditional code.
49874         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49875         * sysdeps/unix/sysv/linux/kernel-features.h
49876         (__ASSUME_GETCWD_SYSCALL): Don't define.
49877         (__ASSUME_REALTIME_SIGNALS): Likewise.
49878         (__ASSUME_PREAD_SYSCALL): Likewise.
49879         (__ASSUME_PWRITE_SYSCALL): Likewise.
49880         (__ASSUME_POLL_SYSCALL): Likewise.
49881         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49882         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49883         non-SPARC.
49884         (__ASSUME_SIOCGIFNAME): Don't define.
49885         (__ASSUME_MSG_NOSIGNAL): Likewise.
49886         (__ASSUME_SENDFILE): Define unconditionally.
49887         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49888         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49889         conditional code.
49890         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49891         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49892         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49893         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49894         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49895         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49896         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49898         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49899         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49901         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49902         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49904         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49905         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49907         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49908         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49910         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49911         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49913         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49914         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49916         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49917         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49919         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49920         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49921         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49922         Remove conditional code.
49923         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49924         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49925         Remove conditional code.
49926         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49927         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49928         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49929         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49930         Remove conditional code.
49931         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49932         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49933         Remove conditional code.
49934         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49935         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49936         Remove conditional code.
49937         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49938         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49939         Remove conditional code.
49940         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49941         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49942         Remove conditional code.
49943         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49944         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49945         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49946         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49947         * sysdeps/unix/sysv/linux/sigaction.c
49948         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49949         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49950         * sysdeps/unix/sysv/linux/sigpending.c
49951         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49952         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49953         * sysdeps/unix/sysv/linux/sigprocmask.c
49954         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49955         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49956         * sysdeps/unix/sysv/linux/sigsuspend.c
49957         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49958         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49959         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49960         (__libc_missing_rt_sigs): Remove.
49961         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49962         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49963         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49964         Remove conditional code.
49965         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49966         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49967         return 1.
49968         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49969         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49970         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49971         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49973 2012-05-14  Andreas Jaeger  <aj@suse.de>
49975         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49976         it's not used in glibc.
49977         (__coshm1): Likewise.
49978         (__acosh1p): Likewise.
49979         (__sgn): Likewise.
49981         * manual/string.texi (Copying and Concatenation): Add missing
49982         variable in concat example.
49983         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49985 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49987         [BZ #14103]
49988         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49989         __builtin_clzl with __builtin_clzll.
49991 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49993         [BZ #14104]
49994         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49995         libc_freeres_ptr.
49997 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49999         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50000         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50001         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50002         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50004 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50006         * NEWS: Update ia64 info.
50008 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50010         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50011         used as bcopy.
50013 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50015         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50016         * sysdeps/unix/syscalls.list (dup3): Likewise.
50017         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50018         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50020 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50022         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50023         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50025 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50027         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50028         thread pointer.
50029         (TLS_IE): Use mov/add instead of movq/addq to load thread
50030         pointer.
50031         (TLS_GD_PREFIX): New.
50032         (TLS_GD): Use it.
50034 2012-05-11  David S. Miller  <davem@davemloft.net>
50036         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50037         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50038         (_FPU_SETCW): Likewise.
50040 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50042         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50043         is 32-byte aligned.
50045 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50047         [BZ #11837]
50048         * iconvdata/gb18030.c: Update tables.
50049         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50050         characters specially.
50051         (BODY for TO_LOOP): Add encoding of missing ranges.
50053 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50055         [BZ #13673]
50056         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50057         * sysdeps/mach/hurd/dup3.c: Likewise.
50058         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50059         * sysdeps/powerpc/memmove.c:: Likewise.
50061 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50063         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50064         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50066 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50068         * elf/elf.h (R_X86_64_RELATIVE64): New.
50069         (R_X86_64_NUM): Updated.
50070         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50071         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50072         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50073         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50074         tst-quad1pie tst-quad2pie
50075         (modules-names): Add tst-quadmod1 tst-quadmod2.
50076         ($(objpfx)tst-quad1): New dependency.
50077         ($(objpfx)tst-quad2): Likewise.
50078         ($(objpfx)tst-quad1pie): Likewise.
50079         ($(objpfx)tst-quad2pie): Likewise.
50080         * sysdeps/x86_64/tst-quad1.c: New file.
50081         * sysdeps/x86_64/tst-quad1pie.c: New file.
50082         * sysdeps/x86_64/tst-quad2.c: Likewise.
50083         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50084         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50085         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50086         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50087         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50089 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50091         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50092         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50093         * streams/stropts.h (t_scalar_t): Define type.
50095         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50096         (_PATH_PRESERVE): Set to "/var/lib".
50097         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50099         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50100         instead of int.
50102         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50103         if __dir_mkfile succeeded.
50105         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50106         checking for _hurd_dtablesize.  Unlock it right after having
50107         finished _hurd_dtable allocation.
50109 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50111         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50112         * sysdeps/mach/hurd/configure: Regenerated.
50113         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50114         special-casing to...
50115         * sysdeps/gnu/configure.in: ... this new file.
50116         * sysdeps/unix/sysv/linux/configure: Regenerated.
50117         * sysdeps/gnu/configure: New generated file.
50119         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50120         for Linux: use nsec instead of usec, as well as:
50121         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50122         members of type struct timespec.
50123         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50124         New macros.
50125         (struct stat64): Likewise.
50126         (_STATBUF_ST_NSEC): New macro.
50127         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50129         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50130         __strtoul_internal rather than strtoul.
50132 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50134         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50135         and reject them.
50137 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50139         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50140         which preserves existing values.
50141         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50143 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50145         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50146         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50147         greater than FD_SETSIZE.
50149 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50151         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50152         allocated, call __vm_protect to finish enabling the existing space, and
50153         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50154         allocate the remainder.
50156 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50158         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50159         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50163         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50164         sysdeps/mach/hurd/readlink.c.
50166         * posix/tst-sysconf.c (posix_options): Only use
50167         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50168         _POSIX_SYNCHRONIZED_IO when they are defined
50169         * sysdeps/mach/hurd/bits/posix_opt.h:
50170         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50171         (_XOPEN_REALTIME): Undefine macro.
50172         (_XOPEN_REALTIME_THREADS): Undefine macro.
50173         (_XOPEN_SHM): Undefine macro.
50174         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50175         macro to -1.
50176         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50177         macro to -1.
50178         (_POSIX_ASYNC_IO): Undefine macro.
50179         (_POSIX_PRIORITIZED_IO): Undefine macro.
50180         (_POSIX_SPIN_LOCKS): Define macro to -1.
50182         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50183         SA_NODEFER, SA_RESETHAND.
50184         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50185         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50186         F_DUPFD_CLOEXEC.
50188 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50190         * elf/Makefile (pldd-modules): Define unconditionally.
50192 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50194         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50196 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50198         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50199         Return ENOENT when name is empty.
50200         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50202 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50204         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50206         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50208 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50210         Fix mlock in all cases except non-readable pages.
50211         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50212         instead of VM_PROT_ALL as parameter to __vm_wire function.
50214         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50215         (__mkdir): When path is `/', just fail with EEXIST.
50216         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50218 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50220         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50221         <sys/uio.h> (for writev).
50222         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50223         and <sys/param.h> (for MIN).
50225 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50227         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50228         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50229         if interrupted.
50231 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50233         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50234         Depend on against $(link-rpcuserlibs).
50236 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50238         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50239         (__libc_stack_end): Do not use attribute_relro.
50240         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50241         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50242         to libthread-provided value.
50243         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50244         attribute_relro.
50246 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50248         [BZ #3748]
50249         * bits/libc-lock.h (__libc_once_get): New macro.
50250         * sysdeps/mach/bits/libc-lock.h: Likewise.
50251         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50252         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50253         instead of using implementation details.
50255         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50256         * libio/freopen.c: Likewise.
50257         * libio/freopen64.c: Likewise.
50258         * misc/syslog.c: Likewise.
50259         * nscd/connections.c: Likewise.
50260         * nscd/netgroupcache.c: Likewise.
50261         * sysdeps/posix/getcwd.c: Likewise.
50263 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50265         * math/w_ilogbf.c: Add #include <limits.h>.
50267 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50269         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50270         path instead of returning without unlocking.
50272         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50273         immediate-write ioctls.
50274         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50276 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50278         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50279         __builtin_frame_address instead of making assumptions about the
50280         location of the return address relative to DATA.  Force early load of
50281         the return address.
50282         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50283         __builtin_frame_address.
50285         dup3 for GNU Hurd.
50286         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50287         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50288         implement dup3 and do some further code clean-ups.
50289         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50290         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50292 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50294         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50296         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50297         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50298         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50299         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50300         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50301         d->port.lock.
50303         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50304         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50305         when handler == SIG_ERR, not when handler != SIG_ERR.
50307 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50309         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50310         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50311         definitions.
50313         accept4 for GNU Hurd.
50314         * include/sys/socket.h (__libc_accept4): New prototype.
50315         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50316         to implement __libc_accept4.
50317         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50318         __libc_accept4.
50319         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50321         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50322         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50323         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50324         signal-defines.sym.
50326 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50328         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50330 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50332         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50333         assertion on O_CLOEXEC flag.
50334         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50335         * hurd/intern-fd.c: Likewise.
50336         * hurd/port2fd.c: Likewise.
50338 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50340         [BZ #3906]
50341         * bits/in.h (IPV6_PKTINFO): Define new macro.
50342         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50344 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50346         [BZ #13954]
50347         [BZ #13955]
50348         [BZ #13956]
50349         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50350         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50351         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50352         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50353         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50354         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50355         * math/libm-test.inc (logb_test) : Additional logb tests.
50357 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50358             Andreas Jaeger  <aj@suse.de>
50360         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50361         * configure: Regenerated.
50362         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50363         * config.make.in (link-obsolete-rpc): New substituted variable.
50364         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50365         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50366         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50367         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50368         so that libc.a contains the symbols.
50369         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50370         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50371         * sunrpc/auth_none.c: Likewise.
50372         * sunrpc/auth_unix.c: Likewise.
50373         * sunrpc/authdes_prot.c: Likewise.
50374         * sunrpc/authuxprot.c: Likewise.
50375         * sunrpc/clnt_gen.c: Likewise.
50376         * sunrpc/clnt_perr.c: Likewise.
50377         * sunrpc/clnt_raw.c: Likewise.
50378         * sunrpc/clnt_simp.c: Likewise.
50379         * sunrpc/clnt_tcp.c: Likewise.
50380         * sunrpc/clnt_udp.c: Likewise.
50381         * sunrpc/clnt_unix.c: Likewise.
50382         * sunrpc/des_crypt.c: Likewise.
50383         * sunrpc/des_soft.c: Likewise.
50384         * sunrpc/get_myaddr.c: Likewise.
50385         * sunrpc/key_call.c: Likewise.
50386         * sunrpc/key_prot.c: Likewise.
50387         * sunrpc/netname.c: Likewise.
50388         * sunrpc/pm_getmaps.c: Likewise.
50389         * sunrpc/pm_getport.c: Likewise.
50390         * sunrpc/pmap_clnt.c: Likewise.
50391         * sunrpc/pmap_prot.c: Likewise.
50392         * sunrpc/pmap_prot2.c: Likewise.
50393         * sunrpc/pmap_rmt.c: Likewise.
50394         * sunrpc/publickey.c: Likewise.
50395         * sunrpc/rpc_cmsg.c: Likewise.
50396         * sunrpc/rpc_common.c: Likewise.
50397         * sunrpc/rpc_dtable.c: Likewise.
50398         * sunrpc/rpc_prot.c: Likewise.
50399         * sunrpc/rpc_thread.c: Likewise.
50400         * sunrpc/rtime.c: Likewise.
50401         * sunrpc/svc.c: Likewise.
50402         * sunrpc/svc_auth.c: Likewise.
50403         * sunrpc/svc_raw.c: Likewise.
50404         * sunrpc/svc_run.c: Likewise.
50405         * sunrpc/svc_tcp.c: Likewise.
50406         * sunrpc/svc_udp.c: Likewise.
50407         * sunrpc/svc_unix.c: Likewise.
50408         * sunrpc/svcauth_des.c: Likewise.
50409         * sunrpc/xcrypt.c: Likewise.
50410         * sunrpc/xdr.c: Likewise.
50411         * sunrpc/xdr_array.c: Likewise.
50412         * sunrpc/xdr_float.c: Likewise.
50413         * sunrpc/xdr_intXX_t.c: Likewise.
50414         * sunrpc/xdr_mem.c: Likewise.
50415         * sunrpc/xdr_rec.c: Likewise.
50416         * sunrpc/xdr_ref.c: Likewise.
50417         * sunrpc/xdr_sizeof.c: Likewise.
50418         * sunrpc/xdr_stdio.c: Likewise.
50420 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50422         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50423         change.  Update copyright years.
50425 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50427         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50429 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50430             Joseph Myers  <joseph@codesourcery.com>
50431             Paul Pluzhnikov  <ppluzhnikov@google.com>
50433         [BZ #14012]
50434         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50435         requiring rpcgen.
50436         [cross-compiling] (extra-libs): Likewise.
50437         [cross-compiling] (extra-libs-others): Likewise.
50438         [cross-compiling] (librpcsvc-routines): Likewise.
50439         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50440         [cross-compiling] (omit-deps): Likewise.
50441         (sunrpc-CPPFLAGS): New variable.
50442         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50443         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50444         (cross-rpcgen-objs): New variable.
50445         (extra-objs): Append $(cross-rpcgen-objs).
50446         ($(cross-rpcgen-objs)): New rule.
50447         ($(objpfx)cross-rpcgen): Likewise.
50448         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50449         comment.
50450         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50451         ($(objpfx)x%.stmp): Likewise.
50452         * sunrpc/proto.h [IS_IN_build] (_): Define.
50453         [IS_IN_build] (_libc_intl_domainname): Likewise.
50455 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50457         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50458         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50459         and R_X86_64_TPOFF64.
50461 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50463         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50464         sysdeps/unix/sysv/syscalls.list.
50465         (stime): Likewise.
50466         (utime): Likewise.
50467         * sysdeps/unix/sysv/syscalls.list: Remove file.
50469 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50471         [BZ #3440]
50472         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50473         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50474         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50475         (__LC_IDENTIFICATION): Make these macros useful in #if
50476         expressions, as required by C99.
50478 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50480         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50481         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50482         after this.
50484 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50486         * stdlib/longlong.h: Updated from GCC.
50488 2012-05-09  Andreas Jaeger  <aj@suse.de>
50490         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50491         default is first entry.
50492         (run_mode): Set type.
50493         (main): Remove informal message about syslog.
50494         (options): Fix typo.
50496         [BZ #14053]
50497         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50498         to asm.
50499         (lrint): Likewise.
50500         (llrintf): Likewise.
50501         (llrint): Likewise.
50502         (rint): Likewise.
50503         (rintf): Likewise.
50504         (nearbyint): Likewise.
50505         (nearbyintf): Likewise.
50507 2012-05-09  Andreas Jaeger  <aj@suse.de>
50508             Pedro Alves  <palves@redhat.com>
50510         * nscd/nscd.c (run_mode): Use enum.
50511         (main): Cleanup coding style issue.
50513 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50514             Andreas Jaeger  <aj@suse.de>
50516         * nscd/nscd.c (go_background): Replaced with...
50517         (run_mode): ... this.
50518         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50519         (options): Add -F --foreground.
50520         (main): Implement it.
50521         (parse_opt): Parse it.
50523 2012-05-09  Andreas Jaeger  <aj@suse.de>
50525         [BZ #14083]
50526         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50527         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50528         -Wconversion warning.
50529         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50530         Likewise.
50532 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50534         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50535         == 0.
50536         (LC_ALL): Use macro-int-constant.
50537         (LC_COLLATE): Likewise.
50538         (LC_CTYPE): Likewise.
50539         (LC_MESSAGES): Likewise.
50540         (LC_MONETARY): Likewise.
50541         (LC_NUMERIC): Likewise.
50542         (LC_TIME): Likewise.
50543         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50544         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50545         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50546         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50547         Specify type.
50548         [C99-based standards] (float_t): Expect type.
50549         [C99-based standards] (double_t): Expect type.
50550         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50551         type.
50552         [C99-based standards] (HUGE_VALL): Likewise.
50553         [C99-based standards] (INFINITY): Likewise.
50554         [C99-based standards] (NAN): Likewise.
50555         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50556         [C99-based standards] (FP_NAN): Likewise.
50557         [C99-based standards] (FP_NORMAL): Likewise.
50558         [C99-based standards] (FP_SUBNORMAL): Likewise.
50559         [C99-based standards] (FP_ZERO): Likewise.
50560         [C99-based standards] (FP_FAST_FMA): Use
50561         optional-macro-int-constant.  Specify type.  Require == 1.
50562         [C99-based standards] (FP_FAST_FMAF): Likewise.
50563         [C99-based standards] (FP_FAST_FMAL): Likewise.
50564         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50565         [C99-based standards] (FP_ILOGBNAN): Likewise.
50566         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50567         Specify type.
50568         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50569         [C99-based standards] (math_errhandling): Specify type.
50570         [ISO99 || ISO11] (signgam): Do not allow.
50571         [non-C99-based standards] (copysignf): Do not allow.
50572         [non-C99-based standards] (exp2f): Likewise.
50573         [non-C99-based standards] (log2f): Likewise.
50574         [non-C99-based standards] (modff): Allow.
50575         [non-C99-based standards] (erff): Do not allow.
50576         [non-C99-based standards] (erfcf): Likewise.
50577         [non-C99-based standards] (gammaf): Likewise.
50578         [non-C99-based standards] (hypotf): Likewise.
50579         [non-C99-based standards] (j0f): Likewise.
50580         [non-C99-based standards] (j1f): Likewise.
50581         [non-C99-based standards] (jnf): Likewise.
50582         [non-C99-based standards] (lgammaf): Likewise.
50583         [non-C99-based standards] (tgammaf): Likewise.
50584         [non-C99-based standards] (y0f): Likewise.
50585         [non-C99-based standards] (y1f): Likewise.
50586         [non-C99-based standards] (ynf): Likewise.
50587         [non-C99-based standards] (isnanf): Likewise.
50588         [non-C99-based standards] (acoshf): Likewise.
50589         [non-C99-based standards] (asinhf): Likewise.
50590         [non-C99-based standards] (atanhf): Likewise.
50591         [non-C99-based standards] (cbrtf): Likewise.
50592         [non-C99-based standards] (expm1f): Likewise.
50593         [non-C99-based standards] (ilogbf): Likewise.
50594         [non-C99-based standards] (log1pf): Likewise.
50595         [non-C99-based standards] (logbf): Likewise.
50596         [non-C99-based standards] (nextafterf): Likewise.
50597         [non-C99-based standards] (remainderf): Likewise.
50598         [non-C99-based standards] (rintf): Likewise.
50599         [non-C99-based standards] (scalbf): Likewise.
50600         [non-C99-based standards] (copysignl): Likewise.
50601         [non-C99-based standards] (exp2l): Likewise.
50602         [non-C99-based standards] (log2l): Likewise.
50603         [non-C99-based standards] (modfl): Allow.
50604         [non-C99-based standards] (erfl): Do not allow.
50605         [non-C99-based standards] (erfcl): Likewise.
50606         [non-C99-based standards] (gammal): Likewise.
50607         [non-C99-based standards] (hypotl): Likewise.
50608         [non-C99-based standards] (j0l): Likewise.
50609         [non-C99-based standards] (j1l): Likewise.
50610         [non-C99-based standards] (jnl): Likewise.
50611         [non-C99-based standards] (lgammal): Likewise.
50612         [non-C99-based standards] (tgammal): Likewise.
50613         [non-C99-based standards] (y0l): Likewise.
50614         [non-C99-based standards] (y1l): Likewise.
50615         [non-C99-based standards] (ynl): Likewise.
50616         [non-C99-based standards] (isnanl): Likewise.
50617         [non-C99-based standards] (acoshl): Likewise.
50618         [non-C99-based standards] (asinhl): Likewise.
50619         [non-C99-based standards] (atanhl): Likewise.
50620         [non-C99-based standards] (cbrtl): Likewise.
50621         [non-C99-based standards] (expm1l): Likewise.
50622         [non-C99-based standards] (ilogbl): Likewise.
50623         [non-C99-based standards] (log1pl): Likewise.
50624         [non-C99-based standards] (logbl): Likewise.
50625         [non-C99-based standards] (nextafterl): Likewise.
50626         [non-C99-based standards] (remainderl): Likewise.
50627         [non-C99-based standards] (rintl): Likewise.
50628         [non-C99-based standards] (scalbl): Likewise.
50629         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50630         [non-C99-based standards] (FP_*): Do not allow.
50631         [C99-based standards] (FP_*): Change to
50632         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50633         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50634         allow.
50635         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50636         (SIG_ERR): Likewise.
50637         [X/Open-based standards] (SIG_HOLD): Likewise.
50638         (SIG_IGN): Likewise.
50639         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50640         positive value.
50641         (SIGFPE): Likewise.
50642         (SIGILL): Likewise.
50643         (SIGINT): Likewise.
50644         (SIGSEGV): Likewise.
50645         (SIGTER): Likewise.
50646         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50647         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50648         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50649         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50650         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50651         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50652         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50653         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50654         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50655         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50656         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50657         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50658         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50659         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50660         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50661         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50662         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50663         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50664         [X/Open-based standards] (SIGTRAP): Likewise.
50665         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50666         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50667         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50668         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50669         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50670         allow.
50672 2012-05-08  Ian Wienand  <ianw@vmware.com>
50674         [BZ #14080]
50675         * time/tzset.c (__tzset_parse_tz): Update default rules for
50676         daylight time changes in the Energy Policy Act of 2005.
50678 2012-05-09  Andreas Jaeger  <aj@suse.de>
50680         [BZ #13983]
50681         * elf/ldconfig.c (parse_conf): Change string to make clear that
50682         ldconfig only issued a warning if ld.so.conf does not exist.
50684 2012-05-08  David S. Miller  <davem@davemloft.net>
50686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50687         movxtod instead of popping the value on the stack.
50689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50691 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50693         * config.h.in: Add HAVE_ARM_PCS_VFP.
50695 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50697         [BZ #13979]
50698         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50699         checking but the checks are disabled for any reason.
50701 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50703         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50704         and ELF64_R_TYPE with ELFW(R_TYPE).
50706 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50708         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50709         (ulimit): Likewise.
50711         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50712         (settimeofday): Likewise.
50714 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50716         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50717         a struct th_u2 inside the union, and move tu_block/tu_code into
50718         a new th_u3 union of tu_block/tu_code inside of that.  Move
50719         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50720         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50721         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50722         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50723         (th_stuff): Change to th_u1.tu_stuff.
50724         (th_data): Define.
50725         (th_msg): Change to th_u1.th_u2.tu_data.
50727 2012-05-07  David S. Miller  <davem@davemloft.net>
50729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50731         [BZ #14074]
50732         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50733         (SETUP_PIC_REG): Use it.
50734         (SETUP_PIC_REG_LEAF): Use it.
50736 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50738         [BZ #13885]
50739         [BZ #13923]
50740         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50741         USE_AS_EXPM1L.
50742         (EXPL_FINITE): Likewise.
50743         (FLDLOG): Likewise.
50744         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50745         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50746         e_expl.S.
50747         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50748         USE_AS_EXPM1L.
50749         (EXPL_FINITE): Likewise.
50750         (FLDLOG): Likewise.
50751         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50752         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50753         e_expl.S.
50754         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50755         test of -max_value argument for long double.
50756         * sysdeps/i386/fpu/libm-test-ulps: Update.
50757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50759 2012-05-06  David S. Miller  <davem@davemloft.net>
50761         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50762         quad soft-float symbols whose references which are compiler
50763         generated.
50764         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50766 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50768         [BZ #13884]
50769         [BZ #13914]
50770         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50771         USE_AS_EXP10L.
50772         (EXPL_FINITE): Likewise.
50773         (FLDLOG): Likewise.
50774         (c0): Likewise.
50775         (c1): Likewise.
50776         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50777         Adjust comments for base varying.
50778         (__expl_finite): Change alias to EXPL_FINITE.
50779         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50780         e_expl.S.
50781         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50782         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50783         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50784         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50785         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50786         USE_AS_EXP10L.
50787         (EXPL_FINITE): Likewise.
50788         (FLDLOG): Likewise.
50789         (c0): Likewise.
50790         (c1): Likewise.
50791         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50792         Adjust comments for base varying.
50793         (__expl_finite): Change alias to EXPL_FINITE.
50794         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50795         tests for bugs.
50796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50798         [BZ #14064]
50799         * math/libm-test.inc (check_float_internal): Correct ulp
50800         calculation for subnormal expected results.
50802 2012-05-06  Andreas Jaeger  <aj@suse.de>
50804         * Makeconfig (+math-flags): New, set to -frounding-math.
50805         (+cflags): Add +math-flags so that all of glibc gets compiled with
50806         it.
50808         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50810 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50812         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50813         Disable one test.
50815         [BZ #13787]
50816         [BZ #13922]
50817         [BZ #14036]
50818         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50819         (__ieee754_expl): Allow for and saturate large arguments.
50820         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50821         (u_threshold): Likewise.
50822         (__exp): Call __ieee754_exp before checking for overflow and
50823         underflow.
50824         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50825         (u_threshold): Likewise.
50826         (__expf): Call __ieee754_expf before checking for overflow and
50827         underflow.
50828         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50829         (u_threshold): Likewise.
50830         (__expl): Call __ieee754_expl before checking for overflow and
50831         underflow.
50832         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50833         (__ieee754_expl): Allow for and saturate large arguments.
50834         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50835         missing overflow exception on overflow.
50836         (expm1_test): Do not allow missing overflow exception on overflow.
50838         * sysdeps/i386/fpu/e_expl.c: Move to ...
50839         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50840         rather than using inline asm.
50841         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50842         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50843         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50845         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50846         (nice): Likewise.
50847         (poll): Likewise.
50848         (signal): Likewise.
50849         (time): Likewise.
50850         (times): Likewise.
50852 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50854         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50855         sysdeps/unix/common/syscalls.list.
50856         (fchmod): Likewise.
50857         (fchown): Likewise.
50858         (ftruncate): Likewise.
50859         (getrusage): Likewise.
50860         (gettimeofday): Likewise.
50861         (setpgid): Likewise.
50862         (setregid): Likewise.
50863         (setreuid): Likewise.
50864         (sigaction): Likewise.
50865         (truncate): Likewise.
50866         (vhangup): Likewise.
50867         * sysdeps/unix/common/syscalls.list: Remove file.
50868         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50869         * sysdeps/unix/sysv/linux/Implies: Likewise.
50871 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50873         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50875         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50876         Moved to ...
50877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50878         Here.
50879         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50880         to ...
50881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50882         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50883         to ...
50884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50885         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50886         to ...
50887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50888         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50889         to ...
50890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50891         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50892         to ...
50893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50894         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50895         to ...
50896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50897         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50898         to ...
50899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50900         Here.
50901         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50902         to ...
50903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50904         Here.
50905         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50906         to ...
50907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50908         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50909         Moved to ...
50910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50911         Here.
50912         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50913         to ...
50914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50916 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50918         * sysdeps/unix/common/bits/dirent.h: Remove file.
50919         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50921         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50922         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50923         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50924         * sysdeps/unix/bsd/isatty.c: Likewise.
50925         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50926         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50927         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50929 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50931         [BZ #13563]
50932         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50933         long double comparison inaccuracies.
50934         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50937 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50939         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50940         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50942 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50944         [BZ #14049]
50945         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50946         nonzero digits before rounding a hex value.
50947         * stdlib/tst-strtod.c (tests): Add another test.
50949 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50951         * sysdeps/s390/fpu/libm-test-ulps: Update.
50953 2012-05-03  Andreas Jaeger  <aj@suse.de>
50955         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50956         does not get optimized out.
50957         (malloc_opt_barrier): New.
50959 2012-05-03  Andreas Jaeger  <aj@suse.de>
50960             Roland McGrath  <roland@hack.frob.com>
50962         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50963         intermediate file deletion.
50964         (generated): Add .symlist files.
50966 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50968         [BZ #13775]
50969         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50970         Redirect under this condition.
50971         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50972         [__USE_GNU] (__dprintf_chk): Not under this condition.
50973         [__USE_GNU] (__vdprintf_chk): Likewise.
50974         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50975         under this condition.
50976         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50977         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50978         [__USE_XOPEN2K8] (vdprintf): Likewise.
50979         [__USE_GNU] (__dprintf_chk): Not under this condition.
50980         [__USE_GNU] (__vdprintf_chk): Likewise.
50981         [__USE_GNU] (dprintf): Likewise.
50982         [__USE_GNU] (vdprintf): Likewise.
50984 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50986         * elf/Makefile (common-generated): Set this instead of generated for
50987         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50988         $(all-built-dso)-derived lists.
50990 2012-05-03  Andreas Jaeger  <aj@suse.de>
50992         * sysdeps/i386/fpu/libm-test-ulps: Update.
50994         * FAQ: Removed.
50995         * FAQ.in: Likewise.
50996         * scripts/gen-FAQ.pl: Likewise.
50997         * manual/install.texi (Installation): Point to online location of
50998         FAQ.
50999         * Makefile (files-for-dist): Remove FAQ.
51000         (FAQ): Remove.
51002 2012-05-02  Allan McRae  <allan@archlinux.org>
51004         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51005         (LDFLAGS-reldepmod5.so): Likewise.
51006         (LDFLAGS-reldep6mod1.so): Likewise.
51007         (LDFLAGS-reldep6mod4.so): Likewise.
51008         (LDFLAGS-reldep8mod3.so): Likewise.
51009         (LDFLAGS-unload4mod1.so): Likewise.
51010         (LDFLAGS-unload4mod2.so): Likewise.
51011         (LDFLAGS-tst-initorder): Likewise.
51012         (LDFLAGS-tst-initordera2.so): Likewise.
51013         (LDFLAGS-tst-initordera3.so): Likewise.
51014         (LDFLAGS-tst-initordera4.so): Likewise.
51015         (LDFLAGS-tst-initorderb2.so): Likewise.
51016         (LDFLAGS-noload): Likewise.
51017         (LDFLAGS-next): Likewise.
51018         (LDFLAGS-order2mod1.so): Likewise.
51019         (LDFLAGS-order2mod2.so): Likewise.
51020         (LDFLAGS-tst-initorder2): Likewise.
51021         (LDFLAGS-tst-initorder2a.so): Likewise.
51022         (LDFLAGS-tst-initorder2b.so): Likewise.
51023         (LDFLAGS-tst-initorder2c.so): Likewise.
51024         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51026 2012-05-02  David S. Miller  <davem@davemloft.net>
51028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51030 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51032         [BZ #14055]
51033         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51035 2012-05-02  Andreas Jaeger  <aj@suse.de>
51037         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51038         since we manipulate rounding mode.
51039         (CPPFLAGS-test-idouble.c): Likewise.
51040         (CPPFLAGS-test-ifloat.c): Likewise.
51041         (CFLAGS-test-ldouble.c): Likewise.
51042         (CFLAGS-test-double.c): Likewise.
51043         (CFLAGS-test-float.c): Likewise.
51044         (CFLAGS-test-misc.c): Likewise.
51045         (CFLAGS-test-test-fenv.c): Likewise.
51047 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51049         [BZ #2550]
51050         [BZ #2570]
51051         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51052         comparisons to determine direction to adjust input.
51054 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51056         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51057         output to the target.
51059         * scripts/localplt.awk: New file.
51060         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51061         (check-localplt-CFLAGS): Variable removed.
51062         ($(all-built-dso:=.jmprel)): New static pattern rule.
51063         (generated): Add those targets.
51064         (localplt-built-dso): New variable.
51065         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51067         * elf/check-localplt.c: File removed.
51069         * scripts/check-execstack.awk: New file.
51070         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51071         (check-execstack-CFLAGS): Variable removed.
51072         ($(objpfx)check-execstack.h): Target removed.
51073         ($(objpfx)execstack-default): New target.
51074         (generated): Add that instead of check-execstack.h.
51075         ($(all-built-dso:=.phdr)): New static pattern rule.
51076         (generated): Add those targets.
51077         * elf/check-execstack.c: File removed.
51079         * scripts/check-textrel.awk: New file.
51080         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51081         (check-textrel-CFLAGS): Variable removed.
51082         (all-built-dso): Use := to define.o
51083         ($(all-built-dso:=.dyn)): New static pattern rule.
51084         (generated): Add those targets.
51085         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51086         * config.make.in (READELF): New substituted variable.
51087         * elf/check-textrel.c: File removed.
51089 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51091         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51092         allow.
51093         * conform/data/ctype.h-data [C99-based standards] (isblank):
51094         Expect function.
51095         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51096         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51097         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51098         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51099         Specify type.  Require positive value.
51100         (EILSEQ): Likewise.
51101         (ERANGE): Likewise.
51102         [ISO || POSIX] (EILSEQ): Do not expect.
51103         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51104         Specify type.  Require positive value.
51105         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51106         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51107         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51108         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51109         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51110         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51111         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51112         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51113         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51114         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51115         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51116         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51117         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51118         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51119         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51120         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51121         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51122         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51123         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51124         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51125         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51126         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51127         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51128         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51129         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51130         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51131         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51132         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51133         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51134         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51135         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51136         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51137         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51138         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51139         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51140         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51141         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51142         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51143         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51144         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51145         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51146         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51147         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51148         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51149         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51150         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51151         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51152         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51153         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51154         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51155         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51156         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51157         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51158         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51159         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51160         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51161         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51162         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51163         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51164         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51165         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51166         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51167         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51168         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51169         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51170         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51171         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51172         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51173         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51174         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51175         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51176         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51177         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51178         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51179         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51180         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51181         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51182         Require >= 2.
51183         (FLT_ROUNDS): Expect as macro, not constant.
51184         (FLT_MANT_DIG): Use macro-int-constant.
51185         (DBL_MANT_DIG): Likewise.
51186         (LDBL_MANT_DIG): Likewise.
51187         (FLT_DIG): Likewise.
51188         (DBL_DIG): Likewise.
51189         (LDBL_DIG): Likewise.
51190         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51191         (DBL_MIN_EXP): Likewise.
51192         (LDBL_MIN_EXP): Likewise.
51193         (FLT_MAX_EXP): Use macro-int-constant.
51194         (DBL_MAX_EXP): Likewise.
51195         (LDBL_MAX_EXP): Likewise.
51196         (FLT_MAX_10_EXP): Likewise.
51197         (DBL_MAX_10_EXP): Likewise.
51198         (LDBL_MAX_10_EXP): Likewise.
51199         (FLT_MAX): Use macro-constant.
51200         (DBL_MAX): Likewise.
51201         (LDBL_MAX): Likewise.
51202         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51203         (DBL_EPSILON): Likewise.
51204         (LDBL_EPSILON): Likewise.
51205         (FLT_MIN): Likewise.
51206         (DBL_MIN): Likewise.
51207         (LDBL_MIN): Likewise.
51208         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51209         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51210         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51211         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51212         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51213         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51214         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51215         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51216         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51217         [ISO11] (FLT_TRUE_MIN): Likewise.
51218         [ISO11] (LDBL_TRUE_MIN): Likewise.
51219         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51220         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51221         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51222         (SCHAR_MAX): Likewise.
51223         (UCHAR_MAX): Likewise.
51224         (CHAR_MIN): Likewise.
51225         (CHAR_MAX): Likewise.
51226         (MB_LEN_MAX): Use macro-int-constant.
51227         (SHRT_MIN): Use macro-int-constant.  Specify type.
51228         (SHRT_MAX): Likewise.
51229         (USHRT_MAX): Likewise.
51230         (INT_MAX): Likewise.
51231         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51232         bound negative.
51233         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51234         bound with "U".
51235         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51236         bound with "L".
51237         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51238         bound negative.  Suffix upper bound with "L".
51239         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51240         bound with "UL".
51241         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51242         Specify type.
51243         [C99-based standards] (LLONG_MAX): Likewise.
51244         [C99-based standards] (ULLONG_MAX): Likewise.
51245         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51246         == 0.
51247         [ISO11] (max_align_t): Require type.
51248         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51250         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51251         from $CFLAGS, without defining away __attribute__ calls.
51252         (checknamespace): Use $CFLAGS_namespace.
51254         * conform/conformtest.pl (@keywords): Only include C99 keywords
51255         for standards based on C99 or C11.
51257         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51258         Disable tests.
51259         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51260         UNIX98]: Likewise.
51262         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51263         usability of symbols in #if.
51265         * conform/conformtest.pl: If macro or constant types start
51266         "promoted:", expect the symbol to be of the following type
51267         promoted by the integer promotions.
51269         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51270         in one place.  Also handle "macro-constant".
51272         * conform/conformtest.pl: Only accept expected macro values with
51273         "==".  Parse all "macro" lines in one place.
51274         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51276         * conform/conformtest.pl: Handle braced types on "constant" lines
51277         instead of handling "typed-constant".
51278         * conform/data/signal.h-data: Use "constant" instead of
51279         "typed-constant".
51281         * conform/conformtest.pl: Handle "optional-" at start of lines in
51282         one place rather than duplicating several cases.  Handle each
51283         format of "macro" line with initial "optional-".
51285         * conform/conformtest.pl: Only accept expected constant or
51286         optional-constant values with "==".  Parse all "constant" lines in
51287         one place.  Parse all "optional-constant" lines in one place.
51288         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51289         * conform/data/fmtmsg.h-data: Likewise.
51290         * conform/data/netinet/in.h-data: Likewise.
51291         * conform/data/tar.h-data: Likewise.
51292         * conform/data/limits.h-data: Use "==" form on "constant" and
51293         "optional-constant" lines.
51295         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51296         Use -std=c99 for XOPEN2K.
51297         (@knownproblems): Remove.
51298         (newtoken): Don't check %isknown.
51300         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51301         Do not expect macro.
51302         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51303         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51304         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51305         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51306         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51307         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51308         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51309         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51310         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51311         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51312         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51313         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51314         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51315         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51316         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51317         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51318         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51319         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51320         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51321         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51322         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51323         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51324         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51325         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51326         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51327         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51328         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51329         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51330         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51331         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51332         [XPG3] (acosh): Likewise.
51333         [XPG3] (asinh): Likewise.
51334         [XPG3] (atanh): Likewise.
51335         [XPG3] (cbrt): Likewise.
51336         [XPG3] (expm1): Likewise.
51337         [XPG3] (ilogb): Likewise.
51338         [XPG3] (log1p): Likewise.
51339         [XPG3] (logb): Likewise.
51340         [XPG3] (nextafter): Likewise.
51341         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51342         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51343         [XPG3] (remainder): Likewise.
51344         [XPG3] (rint): Likewise.
51345         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51346         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51347         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51348         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51349         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51350         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51351         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51352         [UNIX98 || XOPEN2K] (scalb): Expect.
51353         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51354         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51355         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51356         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51357         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51358         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51359         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51360         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51361         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51362         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51363         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51364         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51365         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51366         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51367         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51368         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51369         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51370         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51371         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51372         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51373         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51374         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51375         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51376         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51377         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51378         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51379         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51380         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51381         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51382         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51383         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51384         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51385         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51386         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51387         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51388         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51389         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51390         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51391         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51392         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51393         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51394         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51395         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51396         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51397         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51398         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51399         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51400         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51401         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51402         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51403         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51404         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51405         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51406         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51407         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51408         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51409         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51410         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51411         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51412         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51413         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51414         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51415         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51416         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51417         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51418         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51419         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51420         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51421         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51422         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51423         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51424         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51425         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51426         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51427         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51428         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51429         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51430         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51431         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51432         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51433         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51434         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51435         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51436         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51437         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51438         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51439         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51440         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51441         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51442         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51443         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51444         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51445         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51446         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51447         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51448         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51449         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51450         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51451         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51452         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51453         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51454         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51455         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51456         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51457         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51458         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51459         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51460         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51461         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51462         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51463         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51464         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51465         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51466         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51467         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51468         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51469         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51470         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51471         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51472         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51473         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51474         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51475         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51476         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51477         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51478         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51479         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51480         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51481         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51482         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51483         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51484         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51485         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51486         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51487         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51488         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51489         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51491         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51492         _XOPEN_SOURCE_EXTENDED for XPG4.
51494         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51496         * Makeconfig (localtime): Remove variable.
51497         (inst_localtime-file): Likewise.
51499 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51502         Update.
51503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51504         Update.
51505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51506         Update.
51507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51508         Update.
51509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51510         Update.
51511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51512         Update.
51513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51514         Update.
51515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51516         Update.
51517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51518         Update.
51520 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51522         [BZ #2550]
51523         [BZ #2570]
51524         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51525         comparisons to determine direction to adjust input.
51526         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51527         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51528         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51529         Likewise.
51530         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51531         Likewise.
51532         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51533         Likewise.
51534         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51535         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51536         Likewise.
51537         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51538         Likewise.
51539         * math/libm-test.inc (nexttoward_test): Add more tests.
51541 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51543         [BZ #14040]
51544         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51545         in version GLIBC_2.1, not GLIBC_2.0.
51546         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51547         Likewise.
51549 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51551         [BZ #13942]
51552         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51553         (1 - x) * (1 + x).
51554         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51555         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51556         * math/libm-test.inc (acos_test): Add more tests.
51557         (asin_test): Likewise.
51558         * sysdeps/i386/fpu/libm-test-ulps: Update.
51559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51561         [BZ #14034]
51562         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51563         of square root.
51564         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51565         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51566         * math/libm-test.inc (acos_test_tonearest): New function.
51567         (acos_test_towardzero): Likewise.
51568         (acos_test_downward): Likewise.
51569         (acos_test_upward): Likewise.
51570         (asin_test_tonearest): Likewise.
51571         (asin_test_towardzero): Likewise.
51572         (asin_test_downward): Likewise.
51573         (asin_test_upward): Likewise.
51574         (main): Call the new functions.
51575         * sysdeps/i386/fpu/libm-test-ulps: Update.
51576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51578         [BZ #13884]
51579         [BZ #13924]
51580         * math/e_exp10.c: Include <float.h>.
51581         (__ieee754_exp10): Handle underflow here rather than multiplying
51582         large negative argument by M_LN10.
51583         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51584         of __ieee754_expf.
51585         * math/e_exp10l.c: Include <float.h>.
51586         (__ieee754_exp10l): Handle underflow here rather than multiplying
51587         large negative argument by M_LN10l.
51588         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51589         spurious overflow exception on underflow.
51591 2012-04-29  Marek Polacek  <polacek@redhat.com>
51593         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51594         (__fortify_function): New macro.
51595         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51596         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51597         __extern_always_inline.
51598         * libio/bits/stdio2.h: Likewise.
51599         * libio/bits/stdio.h: Likewise.
51600         * string/string.h: Likewise.
51601         * string/bits/string3.h: Likewise.
51602         * include/stdio.h: Likewise.
51603         * stdlib/bits/stdlib.h: Likewise.
51604         * stdlib/stdlib.h: Likewise.
51605         * rt/bits/mqueue2.h: Likewise.
51606         * rt/mqueue.h: Likewise.
51607         * posix/bits/unistd.h: Likewise.
51608         * posix/unistd.h: Likewise.
51609         * io/bits/poll2.h: Likewise.
51610         * io/bits/fcntl2.h: Likewise.
51611         * io/fcntl.h: Likewise.
51612         * io/sys/poll.h: Likewise.
51613         * misc/bits/syslog.h: Likewise.
51614         * misc/bits/syslog-ldbl.h: Likewise.
51615         * misc/sys/syslog.h: Likewise.
51616         * socket/bits/socket2.h: Likewise.
51617         * socket/sys/socket.h: Likewise.
51618         * debug/tst-chk1.c: Likewise.
51619         * wcsmbs/bits/wchar2.h: Likewise.
51620         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51621         * wcsmbs/wchar.h: Likewise.
51623 2012-04-29  Andreas Jaeger  <aj@suse.de>
51625         * Makerules (tests): Remove enable-check-abi protection.
51626         (check-abi-warn): Remove.
51627         (check-abi-%): Remove check-abi-warn usage.
51629         * configure.in: Remove check-abi configure option.
51630         * configure: Regenerated.
51631         * config.make.in (enable-check-abi): Remove.
51633 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51635         [BZ #14033]
51636         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51637         double functions to double *_finite functions.
51639         [BZ #13941]
51640         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51641         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51642         LDBL_MIN_EXP.
51643         * stdio-common/Makefile (tests): Add tst-sprintf3.
51644         * stdio-common/tst-sprintf3.c: New file.
51646         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51647         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51649 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51651         * conform/conformtest.pl: Remove duplicate typed-constant
51652         handling.
51654 2012-04-28  David S. Miller  <davem@davemloft.net>
51656         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51657         (check-abi-%): Remove AWK script prerequisite and explicit
51658         abilist directory.
51659         (check-abi): Rewrite to just diff the symlist with the abilist.
51660         (config-tls, config-abi-config): Delete, no longer used.
51661         (update-abi-%): Remove AWK script and explicit abilist directory.
51662         (update-abi): Rewrite to simply compare and conditionally copy the
51663         symlist and the sysdep abilist file.  Remove update-abi-config
51664         checks.
51665         * abilist/ld.abilist: Remove.
51666         * abilist/libBrokenLocale.abilist: Remove.
51667         * abilist/libanl.abilist: Remove.
51668         * abilist/libcrypt.abilist: Remove.
51669         * abilist/libdl.abilist: Remove.
51670         * abilist/librt.abilist: Remove.
51671         * abilist/libthread_db.abilist: Remove.
51672         * abilist/libutil.abilist: Remove.
51673         * scripts/extract-abilist.awk: Remove.
51674         * scripts/merge-abilist.awk: Remove.
51675         * sysdeps/generic/libcidn.abilist: New file.
51676         * sysdeps/generic/libnss_compat.abilist: New file.
51677         * sysdeps/generic/libnss_db.abilist: New file.
51678         * sysdeps/generic/libnss_dns.abilist: New file.
51679         * sysdeps/generic/libnss_files.abilist: New file.
51680         * sysdeps/generic/libnss_hesiod.abilist: New file.
51681         * sysdeps/generic/libnss_nis.abilist: New file.
51682         * sysdeps/generic/libnss_nisplus.abilist: New file.
51683         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51684         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51685         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51686         file.
51687         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51688         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51689         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51690         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51691         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51692         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51693         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51694         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51695         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51696         file.
51697         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51698         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51699         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51700         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51701         file.
51702         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51703         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51704         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51705         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51706         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51707         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51708         file.
51709         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51710         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51711         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51712         file.
51713         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51714         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51715         New file.
51716         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51717         New file.
51718         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51719         New file.
51720         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51721         New file.
51722         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51723         New file.
51724         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51725         New file.
51726         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51727         New file.
51728         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51729         New file.
51730         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51731         New file.
51732         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51733         New file.
51734         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51735         New file.
51736         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51737         New file.
51738         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51739         New file.
51740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51741         file.
51742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51743         New file.
51744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51745         New file.
51746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51747         file.
51748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51749         New file.
51750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51751         New file.
51752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51753         file.
51754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51755         New file.
51756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51757         New file.
51758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51759         New file.
51760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51761         New file.
51762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51763         New file.
51764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51765         New file.
51766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51768         file.
51769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51770         New file.
51771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51772         file.
51773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51774         file.
51775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51776         file.
51777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51778         file.
51779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51780         file.
51781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51782         New file.
51783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51784         file.
51785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51786         file.
51787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51788         New file.
51789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51790         file.
51791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51793         file.
51794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51795         New file.
51796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51797         file.
51798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51799         file.
51800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51801         file.
51802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51803         file.
51804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51805         file.
51806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51807         New file.
51808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51809         file.
51810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51811         file.
51812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51813         New file.
51814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51815         file.
51816         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51817         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51818         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51819         file.
51820         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51821         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51822         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51823         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51824         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51825         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51826         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51827         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51828         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51829         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51832         file.
51833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51834         New file.
51835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51836         file.
51837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51838         file.
51839         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51840         file.
51841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51842         file.
51843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51844         file.
51845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51846         New file.
51847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51848         New file.
51849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51850         file.
51851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51852         New file.
51853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51854         file.
51855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51857         file.
51858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51859         New file.
51860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51861         file.
51862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51863         file.
51864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51865         file.
51866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51867         file.
51868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51869         file.
51870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51871         New file.
51872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51873         New file.
51874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51875         file.
51876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51877         New file.
51878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51879         file.
51881 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51883         * conform/conformtest.pl: Fix typo in handling typed-constant from
51884         allow-header.
51886 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51888         * README: Cut down references to pre-2.6 Linux kernels and
51889         Linuxthreads.  Update lists of configurations in libc and ports
51890         and sort alphabetically.  Say "or newer" with Linux kernel version
51891         requirements.
51893         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51895 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51897         [BZ #887]
51898         * math/libm-test.inc (logb_test_downward): New test to expose
51899         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51900         rounding mode.
51902 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51904         [BZ #14027]
51905         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51906         to be done.
51907         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51908         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51910 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51912         * sysdeps/unix/i386/brk.S: Remove file.
51913         * sysdeps/unix/i386/dl-brk.S: Likewise.
51914         * sysdeps/unix/i386/pipe.S: Likewise.
51915         * sysdeps/unix/i386/sigreturn.S: Likewise.
51916         * sysdeps/unix/i386/syscall.S: Likewise.
51917         * sysdeps/unix/i386/vfork.S: Likewise.
51918         * sysdeps/unix/i386/wait.S: Likewise.
51920         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51921         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51923         * configure.in (arm*-none*): Do not allow without
51924         --enable-hacker-mode.
51925         (netbsd*): Remove case setting base_os.
51926         (386bsd*): Likewise.
51927         (freebsd*): Likewise.
51928         (bsdi*): Likewise.
51929         (osf*): Likewise.
51930         (sunos*): Likewise.
51931         (ultrix*): Likewise.
51932         (newsos*): Likewise.
51933         (dynix*): Likewise.
51934         (*bsd*): Likewise.
51935         (sysv*): Likewise.
51936         (isc*): Likewise.
51937         (esix*): Likewise.
51938         (sco*): Likewise.
51939         (minix*): Likewise.
51940         (irix4*): Likewise.
51941         (irix6*): Likewise.
51942         (solaris[2-9]*): Likewise.
51943         (none): Likewise.
51944         * configure: Regenerated.
51946 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51948         [BZ #11521]
51949         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51950         overflow or cancellation in calculating denominator.
51951         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51952         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51953         down expression to avoid unexpected rounding in newer GCCs.
51954         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51956 2012-04-26  David S. Miller  <davem@davemloft.net>
51958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51959         long-double compat symbols.
51960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51974 2012-04-25  David S. Miller  <davem@davemloft.net>
51976         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51977         HWCAP_* values only after the memory barriers have been defined.
51978         (atomic_full_barrier): Define.
51979         (atomic_read_barrier): Define.
51980         (atomic_write_barrier): Define.
51982 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51984         * shlib-versions: Add libgcc_s version information.
51985         * sysdeps/generic/libgcc_s.h: Remove.
51986         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51987         libgcc_s.h.
51988         * sysdeps/gnu/unwind-resume.c: Likewise.
51989         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51991 2012-04-25  David S. Miller  <davem@davemloft.net>
51993         * sysdeps/unix/sparc/brk.S: Delete.
51994         * sysdeps/unix/sparc/dl-brk.S: Delete.
51995         * sysdeps/unix/sparc/pipe.S: Delete.
51996         * sysdeps/unix/sparc/sysdep.S: Delete.
51997         * sysdeps/unix/sparc/sysdep.h: Delete.
51998         * sysdeps/unix/sparc/vfork.S: Delete.
51999         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52000         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52001         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52002         (ret_ERRVAL, r0, r1, MOVE): Define.
52003         (JUMPTARGET): Remove.
52004         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52005         sysdeps/unix/sparc/sysdep.h
52006         (ENTRY, END): Remove.
52007         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52009 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52011         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52012         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52013         -DIS_IN_build.
52015         * timezone/README: Update upstream location and email address for
52016         tzcode and tzdata.
52017         * timezone/zdump.c: Update from tzcode 2012b.
52018         * timezone/zic.c: Likewise.
52020         * configure.in (libc_cv_as_needed): Remove test.
52021         * configure: Regenerated.
52022         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52023         conditional definition.
52024         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52025         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52026         * config.make.in (have-as-needed): Remove variable.
52028 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52029             Paul Pluzhnikov  <ppluzhnikov@google.com>
52031         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52032         strings correctly.
52034 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52036         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52037         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52038         * sysdeps/sh/strlen.S: Likewise.
52040 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52042         * sysdeps/unix/fork.S: Remove file.
52043         * sysdeps/unix/i386/fork.S: Likewise.
52044         * sysdeps/unix/sparc/fork.S: Likewise.
52046         * sysdeps/unix/system.c: Remove file.
52047         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52049         * sysdeps/unix/getegid.S: Remove file.
52050         * sysdeps/unix/geteuid.S: Likewise.
52052 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52054         * scripts/check-localplt.awk: New file.
52055         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52056         of diff.
52057         * scripts/data/localplt-generic.data: Add a comment.
52059         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52060         NODE when __dir_mkfile failed.
52061         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52062         Reported by Ludovic Courtès <ludo@gnu.org>.
52064 2012-04-24  Andreas Jaeger  <aj@suse.de>
52066         * Makerules (common-clean): Also remove gen-as-const-headers
52067         files.
52069 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52071         * Makerules (native-compile): Do not change working directory for
52072         build.  Use $(OUTPUT_OPTION) in command.
52073         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52075 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52077         [BZ #13886]
52078         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52079         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52080         * math/libm-test.inc (floor_test): Add more tests.
52081         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52083 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52085         * sysdeps/unix/getdents.c: Remove file.
52086         * sysdeps/unix/sysv/getdents.c: Likewise.
52087         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52089         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52090         sysdeps/unix/mman/syscalls.list.
52091         (mmap): Likewise.
52092         (mprotect): Likewise.
52093         (msync): Likewise.
52094         (munmap): Likewise.
52095         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52096         * sysdeps/unix/mman/syscalls.list: Remove.
52097         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52099         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52100         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52101         * configure: Regenerated.
52102         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52103         $(libgcc_s_suffix).
52104         * config.make.in (libgcc_s_suffix): Remove variable.
52106 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52108         * sysdeps/unix/sysv/gethostname.c: Move to ...
52109         * sysdeps/posix/gethostname.c: ... here.
52111         * sysdeps/unix/execve.S: Remove file.
52113         * sysdeps/unix/_exit.S: Remove file.
52115 2012-04-23  Andreas Jaeger  <aj@suse.de>
52117         [BZ #13739]
52118         * manual/Makefile: Remove make dist support, there's no
52119         need for a stand-alone documentation tar ball.
52120         (TEXI2DVI): Define always, it's not in Makeconfig.
52121         (dist): Removed.
52122         (tar-it): Removed.
52123         (edition): Removed.
52124         (glibc-doc-$(edition).tar): Removed
52125         (%.Z): Removed.
52126         (%.gz): Removed.
52127         (%.uu): Removed.
52128         (ETAGS): Remove, it's in Makeconfig.
52129         (move-if-change): Remove, it's in Makeconfig.
52131 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52133         [BZ #13970]
52134         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52135         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52136         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52137         (strtod_l, strtof_l, strtold_l): Remove __wur.
52138         It is not necessarily an error to ignore strtol's return value.
52139         One can reliably look at the stored endptr to decide whether
52140         the number had valid syntax.
52142 2012-04-21  Andreas Jaeger  <aj@suse.de>
52144         [BZ #13739]
52145         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52147 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52149         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52150         * sysdeps/unix/sysv/Versions: Remove file.
52152 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52154         [BZ #13927]
52155         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52157 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52159         [BZ #7064]
52160         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52161         version from __vm86.
52163 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52165         * sysdeps/unix/common/lxstat.c: Remove file.
52166         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52168         * sysdeps/unix/sysv/Makefile: Remove file.
52170         * sysdeps/unix/sysv/direct.h: Remove file.
52172         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52173         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52174         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52175         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52176         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52177         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52178         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52180         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52182         * sysdeps/unix/xmknod.c: Remove file.
52183         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52185         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52187         * sysdeps/unix/sysv/i386/time.S: Remove file.
52189         * sysdeps/unix/fxstat.c: Remove file.
52190         * sysdeps/unix/xstat.c: Likewise.
52191         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52193         * sysdeps/unix/sysv/sigaction.c: Remove file.
52195         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52196         (sysdep_headers): Remove variable.
52197         [termio.h not in sysdep_headers] (generated): Likewise.
52198         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52199         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52200         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52201         * sysdeps/unix/sysv/tcflow.c: Likewise.
52202         * sysdeps/unix/sysv/tcflush.c: Likewise.
52203         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52204         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52205         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52206         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52207         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52209         * sysdeps/unix/siglist.c: Remove file.
52211         * sysdeps/unix/getppid.S: Remove file.
52213         * sysdeps/unix/mkdir.c: Remove file.
52214         * sysdeps/unix/rmdir.c: Likewise.
52216 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52218         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52219         ERR_MAX value.
52220         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52221         errlist-compat value.
52223 2012-04-18  David S. Miller  <davem@davemloft.net>
52225         * sysdeps/generic/memcopy.h (reg_char): Delete.
52226         * debug/strcat_chk.c: Use char, not reg_char.
52227         * debug/strcpy_chk.c: Likewise.
52228         * debug/strncat_chk.c: Likewise.
52229         * debug/strncpy_chk.c: Likewise.
52230         * string/memchr.c: Likewise.
52231         * string/memrchr.c: Likewise.
52232         * string/rawmemchr.c: Likewise.
52233         * string/strcat.c: Likewise.
52234         * string/strchr.c: Likewise.
52235         * string/strchrnul.c: Likewise.
52236         * string/strcmp.c: Likewise.
52237         * string/strcpy.c: Likewise.
52238         * string/strncat.c: Likewise.
52239         * string/strncmp.c: Likewise.
52240         * string/strncpy.c: Likewise.
52242 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52244         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52245         __builtin_memcopy is called when src and dest ranges are known to not
52246         overlap.
52248 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52250         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52251         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52252         fwd_align_merge macro call.
52253         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52254         bwd_align_merge macro call.
52255         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52257 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52259         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52260         bwd_align_merge macros.
52261         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52262         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52263         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52265 2012-04-18  David S. Miller  <davem@davemloft.net>
52267         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52269 2012-04-18  Andreas Jaeger  <aj@suse.de>
52271         [BZ# 6794]
52272         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52273         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52274         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52276         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52277         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52278         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52280         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52281         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52282         Adjust for changed ldbl-128 files.
52284         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52285         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52286         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52288 2012-04-17  David S. Miller  <davem@davemloft.net>
52290         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52292 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52294         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52295         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52296         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52297         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52298         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52299         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52301 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52303         [BZ #6794]
52304         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52305         * math/libm-test.inc: Add ilogb errno and exception tests.
52306         * math/w_ilogb.c: New file: ilogb wrapper.
52307         * math/w_ilogbf.c: New file: ilogbf wrapper.
52308         * math/w_ilogbl.c: New file: ilogbl wrapper.
52309         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52310         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52311         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52312         exception being thrown with 0.0 as argument.
52313         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52314         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52315         exception being thrown with 0.0 as argument.
52316         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52317         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52318         exception being thrown with 0.0 as argument.
52319         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52320         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52321         exception being thrown with 0.0 as argument.
52322         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52323         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52324         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52325         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52326         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52327         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52328         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52329         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52330         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52332 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52334         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52335         with altivec.
52337 2012-04-16  Marek Polacek  <polacek@redhat.com>
52339         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52341 2012-04-16  Marek Polacek  <polacek@redhat.com>
52343         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52344         operands of fdivp instruction.
52346 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52348         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52349         * elf/tst-auditmod3b.c: Likewise.
52350         * elf/tst-auditmod4b.c: Likewise.
52351         * elf/tst-auditmod5b.c: Likewise.
52352         * elf/tst-auditmod6b.c: Likewise.
52353         * elf/tst-auditmod6c.c: Likewise.
52354         * elf/tst-auditmod7b.c: Likewise.
52355         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52356         * sysdeps/x86_64/preconfigure.in: Likewise.
52357         * sysdeps/x86_64/preconfigure: Regenerated.
52359 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52361         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52362         __ILP32__.
52364 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52366         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52367         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52369 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52371         [BZ #13973]
52372         * locale/iso-639.def: Fix gl language name. Spotted by
52373         Yaron Shahrabani.
52375 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52377         [BZ #2074]
52378         * libio/libio.h (__io_write_fn): Update comment.
52380 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52382         [BZ #2074]
52383         * stdio.texi (Hook Functions): The user provided writer function
52384         is not allowed to return -1.
52386 2012-04-11  David S. Miller  <davem@davemloft.net>
52388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52390 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52392         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52393         Add a leading slash to rtkaio.
52395 2012-04-11  Jim Meyering  <meyering@redhat.com>
52397         [BZ #11959]
52398         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52399         It is not necessarily an error to ignore fwrite's return
52400         value.  One can reliably use ferror to test for errors after
52401         the fact.
52403 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52405         * bits/types.h (__snseconds_t): New type.
52406         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52408         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52409         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52410         (__SNSECONDS_T_TYPE): Likewise.
52411         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52412         (__SNSECONDS_T_TYPE): Likewise.
52413         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52414         (__SNSECONDS_T_TYPE): Likewise.
52416 2012-04-10  Andreas Jaeger  <aj@suse.de>
52418         [BZ #2636]
52419         * manual/time.texi (Processor Time): Return type of times is
52420         elapsed real time since an arbitrary point in the past.
52421         (CPU Time): Move CLK_TCK from here...
52422         (Processor Time): ...to here.  Correct description.
52423         * manual/conf.texi (Constants for Sysconf): Correct description of
52424         _SC_CLK_TCK.
52426 2012-04-10  David S. Miller  <davem@davemloft.net>
52428         [BZ #13967]
52429         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52430         where the is a gap between DT_REL(A) and DT_JMPREL.
52432 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52434         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52435         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52436         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52438 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52440         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52441         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52442         (dl_main): Handle --inhibit-cache.
52443         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52444         _dl_inhibit_cache.
52445         * elf/dl-load.c (_dl_map_object): Use it.
52446         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52448 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52450         [BZ #13872]
52451         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52452         (__ieee754_powl): Saturate large exponents rather than testing for
52453         overflow of y*log2(x).
52454         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52455         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52456         exceptions.
52458         [BZ #11521]
52459         * math/s_ctan.c: Include <float.h>.
52460         (__ctan): Avoid internal overflow or cancellation in calculating
52461         denominator.
52462         * math/s_ctanf.c: Likewise.
52463         * math/s_ctanl.c: Likewise.
52464         * math/s_ctanh.c: Likewise.
52465         * math/s_ctanhf.c: Likewise.
52466         * math/s_ctanhl.c: Likewise.
52467         * math/libm-test.inc (ctan_test): Add more tests.
52468         (ctanh_test): Likewise.
52469         * sysdeps/i386/fpu/libm-test-ulps: Update.
52470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52472 2012-04-09  Andreas Jaeger  <aj@suse.de>
52474         [BZ #6894]
52475         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52476         is an optional BSD extension.
52478         [BZ #10254]
52479         * manual/stdio.texi (Opening Streams): Document additional fopen
52480         parameters.
52482 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52484         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52485         %eax without telling the compiler.
52487 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52489         [BZ # 13963]
52490         * manual/install.texi: Use sourceware.org.
52492 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52494         [BZ #13873]
52495         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52496         (__ieee754_pow): Generate overflow and underflow using huge*huge
52497         and tiny*tiny rather than just returning constant infinity or zero
52498         for large exponents.
52499         * math/libm-test.inc (pow_test): Require overflow exceptions for
52500         applicable cases of large exponents.
52502         [BZ #706]
52503         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52504         (__ieee754_pow): Use iterative multiplication algorithm only for
52505         integer exponents with absolute value below 1024.  Check for odd
52506         integer exponents when using algorithm for real exponents.
52507         * math/libm-test.inc (pow_test): Add more tests.
52508         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52510 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52512         [BZ #13705]
52513         * math/libm-test.inc (exp_test): Do not allow overflow exception
52514         on underflow test.
52516 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52518         [BZ #13705]
52519         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52520         instead of __kernel_standard_f.
52522 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52524         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52525         * sysdeps/x86_64/memset_chk.S: Likewise.
52527 2012-04-08  Andreas Jaeger  <aj@suse.de>
52529         [BZ #10153]
52530         * manual/startup.texi (Environment Access): Describe return value
52531         for putenv and setenv.
52533         [BZ #6895]
52534         * manual/filesys.texi (Directory Entries): Add description for
52535         DT_LNK.
52537         [BZ #6890]
52538         * manual/filesys.texi (Directory Entries): Clarify that it's file
52539         system not operating system in the description of DT_UNKNOWN.
52541         [BZ #6578]
52542         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52544 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52546         [BZ #6649]
52547         * manual/llio.texi (Opening and Closing Files): Add cross
52548         reference to explain mode argument.
52550 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52552         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52553         * sysdeps/x86_64/memset_chk.S: Likewise.
52555 2012-04-07  David S. Miller  <davem@davemloft.net>
52557         * elf/elf.h (R_SPARC_WDISP10): Define.
52558         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52559         R_SPARC_SIZE32.
52560         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52561         R_SPARC_SIZE64 and R_SPARC_H34.
52563 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52565         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52566         conditions and remove no longer applicable assertion.
52568 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52570         * bits/byteswap.h: Include <features.h>.
52571         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52572         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52574 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52576         * bits/byteswap.h (__bswap_16): Removed.
52577         Include <bits/byteswap-16.h> to get __bswap_16.
52578         * sysdeps/i386/bits/byteswap.h: Likewise.
52579         * sysdeps/s390/bits/byteswap.h: Likewise.
52580         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52581         * bits/byteswap-16.h: New file.
52582         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52583         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52584         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52585         * string/Makefile (headers): Add bits/byteswap-16.h.
52587 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52589         [BZ #13895]
52590         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52591         extra indirection.
52592         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52593         * nss/tst-nss-static.c: New.
52595 2012-04-06  Robert Millan  <rmh@gnu.org>
52597         [BZ #6486]
52598         * manual/llio.texi (File Position Primitive): lseek
52599         refers to WHENCE when it really means OFFSET.
52601 2012-04-06  Andreas Jaeger  <aj@suse.de>
52603         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52604         strncmp declarations.
52606         * abilist/libc.abilist: Add __poll and __ppoll.
52608 2012-04-05  David S. Miller  <davem@davemloft.net>
52610         * scripts/check-local-headers.sh: Accept a host triplet in the
52611         path matched by the exclude regexp.
52613         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52614         definition.
52615         * sysdeps/powerpc/powerpc32/dl-machine.h
52616         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52617         * sysdeps/s390/s390-32/dl-machine.h
52618         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52619         * sysdeps/sparc/sparc32/dl-machine.h
52620         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52621         * sysdeps/sparc/sparc64/dl-machine.h
52622         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52624         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52625         lazy binding.
52626         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52627         undefined symbol errors.
52629         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52630         DT_NEEDED entries.
52632 2012-04-05  Michael Matz  <matz@suse.de>
52634         [BZ #13592]
52635         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52637 2012-04-05  Andreas Jaeger  <aj@suse.de>
52639         [BZ #13908]
52640         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52641         comment.
52643 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52645         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52646         which ROUND is no valid rounding mode.
52648 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52650         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52651         read again.
52652         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52654 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52656         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52657         an exception using FPU order intentionally.
52659 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52661         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52662         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52663         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52664         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52666 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52668         [BZ #12340]
52669         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52670         EINVAL when BUFLEN is too smal.
52672 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52674         [BZ #13553]
52675         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52676         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52678 2012-04-03  Andreas Jaeger  <aj@suse.de>
52680         [BZ #13938]
52681         * manual/setjmp.texi (System V contexts): Fix sentence.
52683         [BZ #13926]
52684         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52685         New macro for this case.
52686         [!__GNUC__] (__bswap_64): New inline function for this case.
52687         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52688         * bits/byteswap.h: Likewise.
52689         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52690         ull, guard with __GLIBC_HAVE_LONG_LONG.
52692         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52693         __GLIBC_HAVE_LONG_LONG.
52695         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52696         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52698 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52700         [BZ #13691]
52701         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52702         inptr and inend, rather than using last_ch.
52704 2012-04-02  David S. Miller  <davem@davemloft.net>
52706         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52707         * stdio-common/printf-parse.h (read_int): Change return type to
52708         'int', return -1 on INT_MAX overflow.
52709         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52710         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52711         overflows INT_MAX.  Check for overflow of in-format-string precision
52712         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52713         SIZE_MAX not INT_MAX for integer overflow test.
52714         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52715         skip the construct in the format string but do not record anything.
52716         * stdio-common/bug22.c: Adjust to test both width/prevision
52717         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52718         explicitly for proper errno values.
52720 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52722         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52723         CHAR_MAX.
52724         * string/test-strcmp.c [! WIDE]: Likewise.
52725         * time/tst-mktime2.c: Likewise for INT_MAX.
52726         * string/test-string.h: #include <sys/param.h> for MIN.
52728         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52729         * sysdeps/i386/init-first.c (init): Likewise.
52730         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52731         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52732         * sysdeps/sh/init-first.c (init): Likewise.
52734 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52736         * po/ru.po: Update from translation team.
52737         * po/vi.po: Likewise.
52739 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52741         * resolv/nss_dns/dns-host.c: Merge copyright years.
52743 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52745         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52746         Optimize memcpy with prefetch if
52747         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52748         src, dst pointers have unequal 16 byte alignments.
52750 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52752         [BZ #13928]
52753         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52754         from a CNAME entry and return the minimum ttl for the query.
52755         (gaih_getanswer_slice): Likewise.
52757 2012-03-30  Jeff Law  <law@redhat.com>
52759         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52760         due to long keys.
52761         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52762         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52764         * resolv/nss_dns/dns-host.c: Update copyright year.
52766 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52768         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52769         requests to save a system call.  Fix check that all bytes are sent.
52771         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52772         comments for sendmmsg.
52774 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52776         [BZ #13691]
52777         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52778         with only 1 character between 0x0041 and 0x01b0.
52779         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52780         * wcsmbs/tst-mbsnrtowcs.c: New file.
52782 2012-03-29  David S. Miller  <davem@davemloft.net>
52784         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52785         small copies by hand.
52787 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52789         [BZ #13761]
52790         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52791         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52792         group memberships.
52794 2012-03-28  David S. Miller  <davem@davemloft.net>
52796         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52797         that branches into memcpy.
52798         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52799         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52800         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52801         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52802         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52803         bits.
52804         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52805         implementation too.
52806         * sysdeps/sparc/mempcpy.S: New file.
52808         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52809         the IFUNC routine in the libc case.
52810         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52812         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52813         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52814         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52815         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52816         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52817         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52818         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52819         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52821         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52822         loop to 256 bytes instead of 64 bytes and fix test signedness.
52824         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52825         * sysdeps/sparc/sparc32/Makefile: rather than here...
52826         * sysdeps/sparc/sparc64/Makefile: and here.
52828 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52830         * malloc/mallocbug.c: Avoid warnings about unused variables.
52832 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52834         [BZ #13760]
52835         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52836         in the right place. Discard and retry query if response is
52837         larger than input buffer size.
52839 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52841         [BZ #369]
52842         [BZ #2678]
52843         [BZ #3866]
52844         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52845         x for large integer exponent.
52846         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52847         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52848         sign of result as needed afterwards.
52849         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52850         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52851         result for underflowing pow the same as for overflow.
52852         (__kernel_standard_l): Handle powl overflow and underflow here
52853         rather than calling __kernel_standard.
52854         * math/libm-test.inc (pow_test): Add more tests.
52856         [BZ #3868]
52857         [BZ #13879]
52858         [BZ #13910]
52859         [BZ #13911]
52860         [BZ #13912]
52861         [BZ #13913]
52862         [BZ #13915]
52863         [BZ #13916]
52864         [BZ #13917]
52865         [BZ #13918]
52866         [BZ #13919]
52867         [BZ #13920]
52868         [BZ #13921]
52869         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52870         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52871         (__kernel_standard_l): New function.
52872         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52873         __kernel_standard.
52874         * math/w_acosl.c (__acosl): Likewise.
52875         * math/w_asinl.c (__asinl): Likewise.
52876         * math/w_atan2l.c (__atan2l): Likewise.
52877         * math/w_atanhl.c (__atanhl): Likewise.
52878         * math/w_coshl.c (__coshl): Likewise.
52879         * math/w_exp10l.c (__exp10l): Likewise.
52880         * math/w_exp2l.c (__exp2l): Likewise.
52881         * math/w_fmodl.c (__fmodl): Likewise.
52882         * math/w_hypotl.c (__hypotl): Likewise.
52883         * math/w_j0l.c (__j0l, __y0l): Likewise.
52884         * math/w_j1l.c (__j1l, __y1l): Likewise.
52885         * math/w_jnl.c (__jnl, __ynl): Likewise.
52886         * math/w_lgammal.c (__lgammal): Likewise.
52887         * math/w_log10l.c (__log10l): Likewise.
52888         * math/w_log2l.c (__log2l): Likewise.
52889         * math/w_logl.c (__logl): Likewise.
52890         * math/w_powl.c (__powl): Likewise.
52891         * math/w_remainderl.c (__remainderl): Likewise.
52892         * math/w_scalbl.c (sysv_scalbl): Likewise.
52893         * math/w_sinhl.c (__sinhl): Likewise.
52894         * math/w_sqrtl.c (__sqrtl): Likewise.
52895         * math/w_tgammal.c (__tgammal): Likewise.
52896         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52897         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52898         * math/libm-test.inc (acos_test): Add more tests.
52899         (acosh_test): Likewise.
52900         (asin_test): Likewise.
52901         (atanh_test): Likewise.
52902         (exp_test): Likewise.
52903         (exp10_test): Likewise.
52904         (exp2_test): Likewise.
52905         (expm1_test): Likewise.
52906         (lgamma_test): Likewise.
52907         (log_test): Likewise.
52908         (log10_test): Likewise.
52909         (log1p_test): Likewise.
52910         (log2_test): Likewise.
52911         (pow_test): Do not allow some spurious overflow exceptions.
52912         (sqrt_test): Add more tests.
52913         (tgamma_test): Likewise.
52914         (y0_test): Likewise.
52915         (y1_test): Likewise.
52916         (yn_test): Likewise.
52918 2012-03-27  Anton Blanchard  <anton@samba.org>
52920         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52921         MAP_HUGETLB.
52922         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52923         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52924         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52926 2012-03-27  David S. Miller  <davem@davemloft.net>
52928         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52930         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52931         have-as-vis3 check.
52933 2012-03-27  Andreas Jaeger  <aj@suse.de>
52935         * sysdeps/x86_64/elf/configure.in: Moved to ...
52936         * sysdeps/x86_64/configure.in: ... here.
52937         * sysdeps/x86_64/elf/start.S: Moved to ...
52938         * sysdeps/x86_64/start.S: ... here.
52939         * sysdeps/x86_64/elf/configure: Delete.
52941         * sysdeps/x86_64/configure.in: Merge contents from
52942         sysdeps/i386/configure.in (without i686 check).
52944         * sysdeps/i386/elf/Versions: Merge into ...
52945         * sysdeps/i386/Versions: ... this.
52946         * sysdeps/i386/elf/Versions: Delete file.
52947         * sysdeps/i386/elf/start.S: Moved to ...
52948         * sysdeps/i386/start.S: ...here.
52949         * sysdeps/i386/elf/configure.in: Merge into...
52950         * sysdeps/i386/configure.in: ...here.
52951         * sysdeps/i386/elf/configure.in: Delete file.
52952         * sysdeps/i386/elf/configure: Delete file.
52954         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52955         * debug/backtracesyms.c: ... here.
52956         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52957         * debug/backtracesymsfd.c: ... here.
52958         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52959         * sysdeps/generic/ifunc-sel.h: ... here.
52961         * sysdeps/unix/i386/start.c: Delete file.
52962         * sysdeps/unix/sparc/start.c: Delete file.
52963         * sysdeps/unix/start.c: Delete file.
52965         * sysdeps/sh/elf/configure.in: Moved to ...
52966         * sysdeps/sh/configure.in: ... here.
52967         * sysdeps/sh/elf/start.S: Moved to ...
52968         * sysdeps/sh/start.S: ... here.
52969         * sysdeps/sh/elf/configure: Delete file.
52971         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52972         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52973         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52974         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52975         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52976         * sysdeps/powerpc/powerpc64/start.S: here.
52977         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52978         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52979         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52980         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52981         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52983         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52984         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52985         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52986         * sysdeps/powerpc/powerpc32/start.S: ... here.
52987         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52988         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52989         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52991         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52992         * sysdeps/powerpc/ifunc-sel.h: ... here.
52993         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52994         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52996         * sysdeps/sparc/elf/configure.in: Moved to ...
52997         * sysdeps/sparc/configure.in: ... here.
52998         * sysdeps/sparc/elf/configure: Delete file.
52999         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53000         * sysdeps/sparc/sparc32/start.S: ... here.
53001         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53002         * sysdeps/sparc/sparc64/start.S: ... here.
53003         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53004         * sysdeps/sparc/sparc32/Makefile: ... this.
53005         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53006         * sysdeps/sparc/sparc64/Makefile: ... this.
53008         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53009         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53010         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53011         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53012         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53013         * sysdeps/s390/s390-32/setjmp.S: ... here.
53014         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53015         * sysdeps/s390/s390-32/configure.in: ... here.
53016         * sysdeps/s390/s390-32/elf/configure: Delete file.
53017         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53018         * sysdeps/s390/s390-32/start.S: ... here.
53020         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53021         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53022         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53023         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53024         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53025         * sysdeps/s390/s390-64/setjmp.S: ... here.
53026         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53027         * sysdeps/s390/s390-64/configure.in: ... here
53028         * sysdeps/s390/s390-64/elf/configure: Delete file.
53029         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53030         * sysdeps/s390/s390-64/start.S: ... here.
53031         * sysdeps/s390/s390-64/elf/configure: Delete.
53033         * configure.in: Remove support for elf directories in sysdeps.
53035         * configure: Regenerated.
53036         * sysdeps/i386/configure: Regenerated.
53037         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53038         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53039         * sysdeps/s390/s390-32/configure: Regenerated.
53040         * sysdeps/s390/s390-64/configure: Regenerated.
53041         * sysdeps/sh/configure: Regenerated.
53042         * sysdeps/sparc/configure: Regenerated.
53043         * sysdeps/x86_64/configure: Regenerated.
53045 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53049         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53050         denormal result into account.
53052 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53054         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53055         Reported by Allan McRae <allan@archlinux.org>.
53057 2012-03-23  Jeff Law  <law@redhat.com>
53059         * nss/getnssent.c (__nss_getent): Fix typo.
53061 2012-03-23  David S. Miller  <davem@davemloft.net>
53063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53065 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53067         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53068         to pad to uint64_t for each field.
53069         (dl_tls_index): Replace unsigned long with uint64_t.
53071 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53072         Paul Pluzhnikov  <ppluzhnikov@google.com>
53074         [BZ #6528]
53075         * grp/Makefile (otherlibs): Don't set it.
53076         * inet/Makefile (otherlibs): Likewise.
53077         * login/Makefile (otherlibs): Likewise.
53078         * nscd/Makefile (otherlibs): Likewise.
53079         * posix/Makefile (otherlibs): Likewise.
53080         * pwd/Makefile (otherlibs): Likewise.
53081         * rt/Makefile (otherlibs): Likewise.
53082         * sunrpc/Makefile (otherlibs): Likewise.
53083         * nss/Makefile (otherlibs): Likewise.
53084         Add libnss_files to routines and static-only-routines.
53085         ($(objpfx)getent): Remove rule.
53086         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53087         static-only-routines.
53089 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53091         [BZ #13892]
53092         * math/s_cexp.c: Include <float.h>.
53093         (__cexp): Handle exp result overflowing not necessarily
53094         overflowing both real and imaginary parts of result.
53095         * math/s_cexpf.c: Likewise.
53096         * math/s_cexpl.c: Likewise.
53097         * math/libm-test.inc (cexp_test): Add more tests.
53098         * sysdeps/i386/fpu/libm-test-ulps: Update.
53099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53101 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53103         * include/link.h (ELFW): New macro.
53104         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53105         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53107 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53109         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53110         with uint64_t.
53112 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53114         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53115         declaration.
53116         (struct La_x32_retval): Likewise.
53118 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53120         * sysdeps/x86_64/preconfigure.in: New file.
53121         * sysdeps/x86_64/preconfigure: New generated file.
53123 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53125         [BZ #13824]
53126         * math/e_exp2l.c: Include <float.h>.
53127         (__ieee754_exp2l): Handle overflow and underflow cases
53128         separately.  Only pass fractional part of argument to
53129         __ieee754_expl.
53130         * math/libm-test.inc (exp2_test): Add more tests.
53132         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53133         negating x to take absolute value.
53134         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53135         Likewise.
53136         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53137         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53138         Likewise.
53139         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53140         computing low part if x was negated.
53141         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53143 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53145         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53146         la_x32_gnu_pltexit.
53147         (pltexit): Cast int_retval to ptrdiff_t.
53148         * elf/tst-auditmod3b.c: Likewise.
53149         * elf/tst-auditmod4b.c: Likewise.
53150         * elf/tst-auditmod5b.c: Likewise.
53151         * elf/tst-auditmod6b.c: Likewise.
53152         * elf/tst-auditmod6c.c: Likewise.
53153         * elf/tst-auditmod7b.c: Likewise.
53155         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53156         and x32_gnu_pltexit.
53158         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53159         __ELF_NATIVE_CLASS.
53160         (La_x32_regs): New macro.
53161         (La_x32_retval): Likewise.
53162         (la_x32_gnu_pltenter): New function prototype.
53163         (la_x32_gnu_pltexit): Likewise.
53165 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53167         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53168         exponent.
53170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53172         * configure.in (libc_cv_cc_nofma): Check for option to disable
53173         generation of FMA instructions.
53174         * configure: Regenerate.
53175         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53176         * sysdeps/ieee754/dbl-64/Makefile: New file.
53177         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53178         Remove brandred-fma4.
53179         (CFLAGS-brandred-fma4.c): Remove.
53180         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53181         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53182         define.
53183         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53184         define.
53186 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53188         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53189         LLONG_MAX != LONG_MAX.
53190         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53191         (_fitoa_word): Likewise.
53192         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53193         LLONG_MAX != LONG_MAX.
53194         * stdio-common/_itowa.h: Include <_itoa.h>.
53195         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53196         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53197         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53198         only if not defined.
53199         (_ITOA_WORD_TYPE): Likewise.
53200         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53201         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53203 2012-03-21  David S. Miller  <davem@davemloft.net>
53205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53207 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53209         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53210         of x86_64 when setting libc_cv_slibdir, libdir and
53211         libc_cv_localedir.
53212         * sysdeps/unix/sysv/linux/configure: Regenerated.
53214 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53216         * manual/lang.texi (Old Varargs): Remove section.
53217         (How Variadic): Update menu.
53218         (va_start): Do not mention varargs.h.
53220 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53221             Joseph Myers  <joseph@codesourcery.com>
53223         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53224         link test.
53225         * configure: Regenerated.
53227 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53229         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53230         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53231         conformtest.pl
53233 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53235         * NOTES: Remove.
53236         * Makefile (files-for-dist): Remove NOTES.
53237         (NOTES): Remove rule.
53238         * README: Don't refer to NOTES.
53239         * manual/creature.texi: Don't include macros.texi.
53240         * manual/intro.texi (creature.texi): Remove comment referring to
53241         NOTES.
53243         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53244         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53245         * configure: Regenerated.
53246         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53247         LIBC_TRY_CC_OPTION.
53248         (libc_cv_as_i686): Likewise.
53249         (libc_cv_cc_avx): Likewise.
53250         (libc_cv_cc_sse2avx): Likewise.
53251         (libc_cv_cc_fma4): Likewise.
53252         (libc_cv_cc_novzeroupper): Likewise.
53253         * sysdeps/i386/configure: Regenerated.
53255         [BZ #13883]
53256         * sysdeps/i386/fpu/s_cexp.S: Remove.
53257         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53258         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53259         * math/libm-test.inc (cexp_test): Add more tests.
53260         * sysdeps/i386/fpu/libm-test-ulps: Update.
53261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53263 2012-03-21  Allan McRae  <allan@archlinux.org>
53265         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53267 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53269         [BZ #13871]
53270         * math/w_exp2.c: Do not include <float.h>.
53271         (o_threshold, u_threshold): Remove.
53272         (__exp2): Calculate result before checking finiteness and calling
53273         __kernel_standard.
53274         * math/w_exp2f.c: Likewise.
53275         * math/w_exp2l.c: Likewise.
53276         * math/libm-test.inc (exp2_test): Require overflow exception for
53277         1e6 input.
53279         [BZ #3866]
53280         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53281         range of signed 64-bit integers before using fistpll.  Remove
53282         checks for whether integers fit in mantissa bits.
53283         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53284         the range of signed 32-bit integers before using fistpl.  Remove
53285         checks for whether integers fit in mantissa bits.
53286         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53287         (__ieee754_powl): Test for y outside the range of signed 64-bit
53288         integers before using fistpll.  Reduce 64-bit values to 63-bit
53289         ones as needed.
53290         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53291         divide-by-zero is raised for zero to large negative powers.
53292         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53293         (__ieee754_powl): Test for y outside the range of signed 64-bit
53294         integers before using fistpll.  Reduce 64-bit values to 63-bit
53295         ones as needed.
53296         * math/libm-test.inc (pow_test): Add more tests.
53298 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53300         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53301         <stdio-common/_itoa.h>.
53302         * debug/segfault.c: Likewise.
53303         * elf/dl-cache.c: Likewise.
53304         * elf/dl-minimal.c: Likewise.
53305         * elf/dl-misc.c: Likewise.
53306         * elf/dl-sysdep.c: Likewise.
53307         * elf/dl-version.c: Likewise.
53308         * elf/rtld.c: Likewise.
53309         * hurd/hurdsock.c: Likewise.
53310         * hurd/lookup-retry.c: Likewise.
53311         * malloc/malloc.c: Likewise.
53312         * malloc/mtrace.c: Likewise.
53313         * nscd/nscd_getgr_r.c: Likewise.
53314         * nscd/nscd_getpw_r.c: Likewise.
53315         * nscd/nscd_getserv_r.c: Likewise.
53316         * posix/getopt_init.c: Likewise.
53317         * posix/wordexp.c: Likewise.
53318         * stdio-common/_itoa.c: Likewise.
53319         * stdio-common/printf_fphex.c: Likewise.
53320         * stdio-common/vfprintf.c: Likewise.
53321         * string/_strerror.c: Likewise.
53322         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53323         * sysdeps/i386/i686/hp-timing.h: Likewise.
53324         * sysdeps/mach/_strerror.c: Likewise.
53325         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53326         * sysdeps/mach/hurd/sethostid.c: Likewise.
53327         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53328         * sysdeps/mach/xpg-strerror.c: Likewise.
53329         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53330         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53331         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53332         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53333         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53334         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53335         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53336         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53337         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53338         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53339         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53340         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53341         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53342         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53343         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53344         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53345         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53346         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53347         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53348         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53349         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53351         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53353         * stdio-common/_itoa.h: Moved to ...
53354         * sysdeps/generic/_itoa.h: Here.
53356         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53358         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53359         instead of "_itoa.h" and "_itowa.h".
53360         * stdio-common/vfprintf.: Likewise.
53362 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53364         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53365         <bits/wordsize.h>.
53366         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53367         (__signbit): Likwise.
53368         (llrintf): Likwise.
53369         (llrint): Likwise.
53371 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53373         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53374         __WORDSIZE != 64.
53376 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53378         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53379         OVERFLOW_EXCEPTION_OK.
53380         * math/libm-test.inc ("Philosophy"): Update comment about
53381         exception testing.
53382         (OVERFLOW_EXCEPTION): Define.
53383         (OVERFLOW_EXCEPTION_OK): Likewise.
53384         (INVALID_EXCEPTION_OK): Renumber.
53385         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53386         (IGNORE_ZERO_INF_SIGN): Likewise.
53387         (test_exceptions): Handle FE_OVERFLOW.
53388         (exp10_test): Expect overflow exceptions.
53389         (exp2_test): Likewise.
53390         (expm1_test): Likewise.
53391         (nextafter_test): Likewise.
53392         (pow_test): Likewise.
53393         (scalbn_test): Likewise.
53394         (scalbln_test): Likewise.
53396 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53398         * sysdeps/x86_64/bits/atomic.h
53399         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53400         64bit integer.
53401         (atomic_exchange_acq): Likewise.
53402         (__arch_exchange_and_add_body): Likewise.
53403         (__arch_add_body): Likewise.
53404         (atomic_add_negative): Likewise.
53405         (atomic_add_zero): Likewise.
53407 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53409         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53410         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53412 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53414         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53415         Check __x86_64__ instead of __WORDSIZE.
53417 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53419         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53421 2012-03-19  David S. Miller  <davem@davemloft.net>
53423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53425         * sysdeps/sparc/fpu/fenv_private.h: New file.
53426         * sysdeps/sparc/fpu/math_private.h: Use it.
53427         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53428         Remove.
53429         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53430         (libc_feholdexcept_setroundl): Remove.
53431         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53432         Remove.
53433         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53434         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53436 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53438         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53439         int64_t instead of long int.
53440         (INSERT_WORDS64): Likwise.
53442 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53444         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53445         _Unwind_GetCFA return to _Unwind_Ptr first.
53447 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53449         [BZ #13629]
53450         * math/s_clog.c: Include <float.h>.
53451         (__clog): Scale large or subnormal inputs.
53452         * math/s_clogf.c: Likewise.
53453         * math/s_clogl.c: Likewise.
53454         * math/s_clog10.c: Include <float.h>.
53455         (M_LOG10_2): Define.
53456         (__clog10): Scale large or subnormal inputs.
53457         * math/s_clog10f.c: Likewise.
53458         * math/s_clog10l.c: Likewise.
53459         * math/libm-test.inc (clog_test): Add more tests.
53460         (clog10_test): Likewise.
53461         * sysdeps/i386/fpu/libm-test-ulps: Update.
53462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53464         [BZ #11451]
53465         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53466         x and y.
53467         * math/libm-test.inc (atan2_test): Add another test.
53469         * Makerules (common-objdir-compile): Remove.
53470         * sysdeps/unix/Makefile (config-generated): Do not add
53471         $(unix-generated) to variable.
53472         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53473         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53474         Remove rule.
53475         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53476         Likewise.
53477         [generic bits/local_lim.h] (before-compile): Do not append to
53478         variable.
53479         [generic bits/local_lim.h] (common-generated): Likewise.
53480         [generic sys/param.h] (before-compile): Do not append to variable.
53481         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53482         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53483         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53484         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53485         include.
53486         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53487         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53488         [generic sys/param.h] ($(addprefix
53489         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53490         [generic sys/param.h] (common-generated): Do not append to
53491         variable.
53492         [generic sys/param.h] (sysdep_headers): Likewise.
53493         [generic bits/errno.h] (before-compile): Do not append to
53494         variable.
53495         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53496         rule.
53497         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53498         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53499         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53500         [generic bits/errno.h] (common-generated): Do not append to
53501         variable.
53502         [generic bits/ioctls.h] (before-compile): Do not append to
53503         variable.
53504         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53505         rule.
53506         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53507         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53508         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53509         rule.
53510         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53511         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53512         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53513         [generic bits/ioctls.h] (common-generated): Do not append to
53514         variable.
53515         [generic sys/syscall.h] (syscall.h): Remove variable.
53516         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53517         rule.
53518         [generic sys/syscall.h] (before-compile): Do not append to
53519         variable.
53520         [generic sys/syscall.h] (common-generated): Likewise.
53521         * sysdeps/unix/errnos-tmpl.c: Remove file.
53522         * sysdeps/unix/errnos.awk: Likewise.
53523         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53524         * sysdeps/unix/ioctls.awk: Likewise.
53525         * sysdeps/unix/mk-local_lim.c: Likewise.
53526         * sysdeps/unix/snarf-ioctls: Likewise.
53528 2012-03-19  Richard Henderson  <rth@twiddle.net>
53530         * sysdeps/i386/fpu/fenv_private.h: New file.
53531         * sysdeps/i386/fpu/math_private.h: Use it.
53532         (math_opt_barrier, math_force_eval): Remove.
53533         (libc_feholdexcept_setround_53bit): Remove.
53534         (libc_feupdateenv_53bit): Remove.
53535         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53536         (math_opt_barrier, math_force_eval): Remove.
53537         (libc_feholdexcept): Remove.
53538         (libc_feholdexcept_setround): Remove.
53539         (libc_fetestexcept, libc_fesetenv): Remove.
53540         (libc_feupdateenv_test): Remove.
53541         (libc_feupdateenv, libc_feholdsetround): Remove.
53542         (libc_feresetround): Remove.
53544         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53545         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53547         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53548         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53549         (libc_feupdateenv_testl): New.
53550         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53551         (libc_feupdateenv_testf): New.
53552         (libc_feupdateenv): Use libc_feupdateenv_test.
53553         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53554         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53556         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53557         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53558         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53559         (libc_feresetround_noex): New.
53560         (libc_feresetround_noexf): New.
53561         (libc_feresetround_noexl): New.
53562         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53563         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53564         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53565         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53566         SET_RESTORE_ROUND.
53567         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53568         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53569         (__cos): Likewise.
53570         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53571         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53572         SET_RESTORE_ROUND_NOEX.
53573         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53574         SET_RESTORE_ROUND_NOEXF.
53575         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53576         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53577         (libc_feholdsetroundf): New.
53578         (libc_feresetround, libc_feresetroundf): New.
53580         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53581         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53582         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53584         * sysdeps/generic/math_private.h: Include <fenv.h>.
53585         (default_libc_feholdexcept): New.
53586         (default_libc_feholdexcept_setround): New.
53587         (default_libc_fesetenv, default_libc_feupdateenv): New.
53588         (libc_feholdexcept): Only define if undefined.
53589         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53590         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53591         (libc_feholdexcept_setroundl): Likewise.
53592         (libc_feholdexcept_setround_53bit): Likewise.
53593         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53594         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53595         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53596         (libc_feupdateenv_53bit): Likewise.
53597         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53598         (libc_feholdexcept): Convert from macro to inline function.
53599         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53600         (libc_fesetenv, libc_feupdateenv): Likewise.
53602         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53603         not previously defined.
53604         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53605         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53606         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53607         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53608         * sysdeps/ieee754/flt-32/math_private.h: New file.
53609         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53610         math_private.h below SET_FLOAT_WORD.
53611         (__isnan, __isinf_ns, __finite): Remove.
53612         (__isnanf, __isinf_nsf, __finitef): Remove.
53614 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53618 2012-03-17  David S. Miller  <davem@davemloft.net>
53620         [BZ #6471]
53621         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53622         for 2.16.
53624 2012-03-16  David S. Miller  <davem@davemloft.net>
53626         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53627         warnings.
53629         [BZ #6471]
53630         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53631         properly.
53632         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53633         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53634         sysdep_routines when subdir is sysvipc.
53635         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53636         __getshmlba helper.
53638         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53640 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53642         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53643         [__LP64__].
53645 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53647         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53648         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53649         (__lround): Renamed to ...
53650         (__llround): This.  Replace long int with long long int.
53651         Define lround functions as aliases of llround functions.
53652         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53654 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53656         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53657         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53658         adresses to uintptr_t.  Replace "long int" and "unsigned long
53659         int" with "greg_t" on va_arg.
53661 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53663         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53664         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53666         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53667         Move e_machine check before EI_CLASS check.  Handle x32
53668         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53669         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53670         SKIP_EM_IA_64 and include
53671         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53673         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53674         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53675         (add_system_dir): New macro.
53677         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53678         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53680 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53682         [BZ #2551]
53683         [BZ #2552]
53684         [BZ #2553]
53685         [BZ #2554]
53686         [BZ #2562]
53687         [BZ #2563]
53688         [BZ #2565]
53689         [BZ #2566]
53690         [BZ #2576]
53691         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53692         (y0): Likewise.
53693         * math/w_j0f.c (j0f): Likewise.
53694         (y0f): Likewise.
53695         * math/w_j0l.c (__j0l): Likewise.
53696         (__y0l): Likewise.
53697         * math/w_j1.c (j1): Likewise.
53698         (y1): Likewise.
53699         * math/w_j1f.c (j1f): Likewise.
53700         (y1f): Likewise.
53701         * math/w_j1l.c (__j1l): Likewise.
53702         (__y1l): Likewise.
53703         * math/w_jn.c (jn): Likewise.
53704         (yn): Likewise.
53705         * math/w_jnf.c (jnf): Likewise.
53706         (ynf): Likewise.
53707         * math/w_jnl.c (__jnl): Likewise.
53708         (__ynl): Likewise.
53709         * math/libm-test.inc (j0_test): Add more tests.
53710         (j1_test): Likewise.
53711         (jn_test): Likewise.  Add trailing semicolon to existing test.
53712         (y0_test): Likewise.
53713         (y1_test): Likewise.
53714         * sysdeps/i386/fpu/libm-test-ulps: Update.
53715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53717         [BZ #13851]
53718         [BZ #13854]
53719         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53720         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53721         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53722         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53723         (__tanl): Set errno for infinite argument.
53724         * sysdeps/i386/fpu/mptan.c: Remove.
53725         * sysdeps/i386/fpu/s_tan.S: Likewise.
53726         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53727         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53728         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53729         * math/libm-test.inc (tan_test): Add more tests and enable more
53730         tests for double and long double.
53731         * sysdeps/i386/fpu/libm-test-ulps: Update.
53732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53734 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53736         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53737         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53739 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53741         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53742         * configure.in: Use it for both main tree and add-ons.
53743         * configure: Regenerated.
53745 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53747         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53749 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53751         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53752         in comment.
53754         [BZ #13851]
53755         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53756         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53757         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53758         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53759         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53760         infinite argument.
53761         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53762         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53763         != 0 for prec == 2.
53764         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53765         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53766         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53767         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53768         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53769         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53770         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53771         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53772         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53773         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53774         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53775         * math/libm-test.inc (cos_test): Add more tests and enable more
53776         tests for long double.
53777         (sin_test): Likewise.
53778         (sincos_test): Likewise.
53779         * sysdeps/i386/fpu/libm-test-ulps: Update.
53780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53782 2012-03-16  David S. Miller  <davem@davemloft.net>
53784         * sysdeps/sparc/fpu/math_private.h: New file.
53786 2012-03-15  David S. Miller  <davem@davemloft.net>
53788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53789         file.
53790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53792         file.
53793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53794         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53795         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53796         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53797         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53798         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53799         sysdep routines.
53800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53802         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53803         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53805         * sysdeps/sparc/sparc-ifunc.h: New file.
53806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53807         sparc-ifunc.h
53808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53810         Likewise.
53811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53812         Likewise.
53813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53817         Likewise.
53818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53823         Likewise.
53824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53825         Likewise.
53826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53830         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53831         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53832         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53833         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53834         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53835         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53836         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53837         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53838         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53839         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53840         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53841         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53842         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53843         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53844         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53845         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53846         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53847         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53848         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53849         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53851 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53853         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53854         scaling.
53855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53857 2012-03-15  Andreas Jaeger  <aj@suse.de>
53859         [BZ #13852]
53860         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53861         ieee754/flt-32 implementation for sin, cos and sincos.
53862         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53863         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53864         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53865         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53866         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53867         ieee754/flt-32 implementation for tan.
53869         * math/libm-test.inc (cos_test): Enable some large input tests for
53870         float as well
53871         (sin_test): Likewise.
53872         (sincos_test): Likewise.
53873         (tan_test): Add tests for large input.
53875         * sysdeps/i386/fpu/libm-test-ulps: Update.
53877 2012-03-15  Andreas Jaeger  <aj@suse.de>
53879         [BZ #13658]
53880         * math/libm-test.inc (cos_test): Add more test cases.
53881         (sin_test): Likewise.
53882         (sincos_test): Likewise.
53884 2012-03-15  Andreas Jaeger  <aj@suse.de>
53886         [BZ #13837]
53887         * math/libm-test.inc (cos_test): Add a test case for large input
53888         value.
53889         (sin_test): Likewise.
53890         (sincos_test): Likewise.
53892 2012-03-15  Andreas Jaeger  <aj@suse.de>
53893             Joseph Myers  <joseph@codesourcery.com>
53895         [BZ #13658]
53896         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53897         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53898         * sysdeps/i386/fpu/branred.c: Likewise.
53899         * sysdeps/i386/fpu/dosincos.c: Likewise.
53900         * sysdeps/i386/fpu/mpa.c: Likewise.
53901         * sysdeps/i386/fpu/s_cos.S: Likewise.
53902         * sysdeps/i386/fpu/s_sin.S: Likewise.
53903         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53904         * sysdeps/i386/fpu/sincos32.c: Likewise.
53906         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53907         Define.
53908         (libc_feupdateenv_53bit): Define.
53909         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53910         Define.
53911         (libc_feupdateenv_53bit): Define.
53913         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53914         53 bit (without extend i386 double precision).
53916         * math/libm-test.inc (sincos_test): Add tests for large input.
53917         (sin): Likewise.
53918         (cos): Likewise.
53920         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53922 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53926 2012-03-15  David S. Miller  <davem@davemloft.net>
53928         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53929         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53930         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53931         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53937         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53939         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53940         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53941         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53942         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53944         file.
53945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53947         file.
53948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53950         file.
53951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53953         file.
53954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53955         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53956         fmin/fmax sysdep routines.
53957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53959 2012-03-14  David S. Miller  <davem@davemloft.net>
53961         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53962         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53965         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53966         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53967         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53968         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53969         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53973         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53974         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53975         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53976         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53977         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53978         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53979         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53980         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53981         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53982         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53983         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53984         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53985         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53986         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53987         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53988         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53989         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53990         routines.
53991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53992         file.
53993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53995         file.
53996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53998         file.
53999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54001         file.
54002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54004         file.
54005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54007         file.
54008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54009         file.
54010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54011         file.
54012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54013         file.
54014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54015         New file.
54016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54017         file.
54018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54019         file.
54020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54022         file.
54023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54025         file.
54026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54028         file.
54029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54031         VIS3 routines.
54033         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54034         New file.
54036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54038         * sysdeps/sparc/configure.in: New file.
54039         * sysdeps/sparc/configure: Generate.
54040         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54041         * configure: Regenerate.
54042         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54043         * config.make.in (have-as-vis3): New.
54044         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54045         available use -Av9d instead of -Av9a.
54046         * sysdeps/sparc/sparc64/Makefile: Likewise.
54047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54049         New file.
54050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54051         file.
54052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54053         New file.
54054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54055         file.
54056         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54057         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54058         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54059         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54060         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54062         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54063         fzeros/fnegs to load 0x80000000 into a float register instead of
54064         using the stack.
54065         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54067 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54069         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54070         bits/syscall.h.
54071         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54072         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54073         ($(inst_includedir)/bits/syscall.h): Remove rule.
54074         ($(objpfx)bits/syscall.d): Include instead of
54075         $(objpfx)syscall-list.d.
54076         (generated): Change syscall-list.h and syscall-list.d to
54077         bits/syscall.h and bits/syscall.d.
54079 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54081         [BZ #13846]
54082         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54084 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54086         [BZ #13841]
54087         * math/s_csqrt.c: Include <float.h>.
54088         (__csqrt): Scale large or subnormal inputs.
54089         * math/s_csqrtf.c: Likewise.
54090         * math/s_csqrtl.c: Likewise.
54091         * math/libm-test.inc (csqrt_test): Add more tests.
54092         * sysdeps/i386/fpu/libm-test-ulps: Update.
54093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54095         [BZ #13840]
54096         * math/libm-test.inc (hypot_test): Add more tests.
54098 2012-03-13  David S. Miller  <davem@davemloft.net>
54100         [BZ #13840]
54101         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54102         double-precision for the calculation instead of scaling.
54104 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54106         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54107         manipulate bits before adding and subtracting TWO52[sx].
54108         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54109         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54110         Likewise.
54111         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54113 2012-03-13  David S. Miller  <davem@davemloft.net>
54115         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54116         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54117         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54118         rtld-global-offsets.h
54119         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54121         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54122         large parameters.
54124         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54126         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54127         'err' in the ifdef scope in which it is actually used.
54129         * nss/nss_db/db-init.c: Include string.h
54131 2012-03-12  David S. Miller  <davem@davemloft.net>
54133         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54134         masking out of the most significant byte of random value used.
54135         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54136         Fix coding style in previous change.
54138         * sysdeps/unix/sysv/linux/kernel-features.h
54139         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54140         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54141         expression.
54142         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54143         later.
54145 2012-03-11  David S. Miller  <davem@davemloft.net>
54147         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54148         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54149         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54150         for 'resultvar' otherwise things get truncated on 64-bit.
54152         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54153         Fix masking out of the most significant byte of random value used.
54155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54157 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54161 2012-03-09  David S. Miller  <davem@davemloft.net>
54163         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54164         variables with appropriate CPP guards.
54165         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54166         from the frame pointer, not the stack pointer.  Correct layout
54167         comments.  Fix test on resulting framesize and the management of
54168         the outregs buffer for pltexit.  Preserve floating point return
54169         values across _dl_call_pltexit call.
54170         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54171         framesize and the management of the outregs buffer for pltexit.
54172         Preserve floating point return values across _dl_call_pltexit
54173         call.
54174         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54175         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54176         (la_sparc64_gnu_pltexit): New functions.
54177         (print_exit): Fix format string for return register value.
54179 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54181         * sunrpc/Makefile (others): Add rpcgen.
54182         ($(objpfx)rpcgen): Remove special build rule and dependency on
54183         libc.
54184         * sunrpc/rpcgen.c: New file.
54186 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54188         [BZ #13673]
54189         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54190         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54191         * sysdeps/i386/crti.S: Likewise.
54192         * sysdeps/i386/crtn.S: Likewise.
54193         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54194         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54195         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54196         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54197         * sysdeps/sh/crti.S: Likewise.
54198         * sysdeps/sh/crtn.S: Likewise.
54199         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54201         [BZ #13673]
54202         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54203         with URL.
54204         * locale/programs/locfile-kw.gperf: Likewise.
54205         * locale/programs/charmap-kw.h: Regenerated.
54206         * locale/programs/locfile-kw.h: Likewise.
54208         [BZ #13673]
54209         * intl/plural.y: Replace FSF snail mail address with URL.
54210         * intl/plural.c: Regenerated.
54212 2012-03-09  Richard Henderson  <rth@twiddle.net>
54214         * include/math_private.h: Remove file.
54215         * math/math_private.h: Move file ...
54216         * sysdeps/generic/math_private.h: ... here.
54218         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54219         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54220         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54222         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54223         and <math_private.h>.
54224         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54225         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54226         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54227         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54228         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54229         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54230         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54231         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54232         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54233         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54235         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54236         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54237         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54238         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54239         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54240         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54241         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54242         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54243         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54244         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54245         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54246         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54247         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54248         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54249         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54250         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54251         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54252         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54253         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54254         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54255         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54256         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54257         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54258         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54259         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54260         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54261         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54262         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54263         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54264         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54265         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54266         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54267         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54268         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54269         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54270         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54271         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54272         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54273         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54274         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54275         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54276         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54277         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54278         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54279         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54280         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54281         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54282         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54283         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54284         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54285         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54286         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54287         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54288         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54289         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54290         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54291         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54292         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54293         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54294         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54295         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54296         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54297         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54298         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54299         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54300         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54301         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54302         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54303         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54304         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54305         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54306         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54307         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54308         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54309         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54310         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54311         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54312         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54313         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54314         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54315         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54316         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54317         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54318         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54319         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54320         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54321         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54322         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54323         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54324         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54325         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54326         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54327         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54328         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54329         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54330         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54331         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54332         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54333         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54334         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54335         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54336         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54337         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54338         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54339         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54340         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54341         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54342         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54343         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54344         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54345         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54346         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54347         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54348         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54349         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54350         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54351         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54352         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54353         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54354         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54355         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54356         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54357         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54358         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54359         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54360         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54361         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54362         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54363         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54364         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54365         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54366         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54367         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54368         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54369         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54370         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54371         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54372         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54373         * sysdeps/ieee754/k_standard.c: Likewise.
54374         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54375         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54376         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54377         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54378         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54379         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54380         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54381         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54382         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54383         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54384         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54385         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54386         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54387         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54388         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54389         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54390         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54391         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54392         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54393         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54394         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54395         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54396         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54397         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54398         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54399         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54400         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54401         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54402         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54403         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54404         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54405         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54406         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54407         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54408         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54409         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54410         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54411         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54412         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54413         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54414         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54415         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54416         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54417         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54418         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54419         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54420         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54421         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54422         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54423         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54424         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54425         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54426         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54427         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54428         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54429         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54430         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54431         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54432         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54433         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54434         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54435         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54436         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54437         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54438         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54439         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54440         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54441         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54442         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54443         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54444         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54445         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54446         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54447         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54448         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54449         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54450         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54451         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54452         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54453         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54454         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54455         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54456         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54457         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54458         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54459         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54460         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54461         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54462         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54463         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54464         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54465         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54466         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54467         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54468         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54469         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54470         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54471         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54472         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54473         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54474         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54475         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54476         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54477         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54478         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54479         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54480         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54481         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54482         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54483         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54484         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54485         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54486         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54487         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54488         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54489         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54490         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54491         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54492         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54493         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54494         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54495         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54496         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54497         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54498         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54499         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54500         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54501         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54502         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54503         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54504         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54505         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54506         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54507         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54508         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54509         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54510         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54511         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54512         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54513         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54514         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54515         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54516         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54517         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54518         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54519         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54520         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54521         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54522         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54523         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54524         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54525         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54526         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54527         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54528         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54529         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54530         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54531         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54532         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54533         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54534         * sysdeps/ieee754/s_lib_version.c: Likewise.
54535         * sysdeps/ieee754/s_matherr.c: Likewise.
54536         * sysdeps/ieee754/s_signgam.c: Likewise.
54537         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54538         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54539         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54540         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54541         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54542         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54543         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54544         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54545         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54546         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54547         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54548         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54549         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54550         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54551         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54552         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54553         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54554         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54555         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54556         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54557         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54559 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54561         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54562         * sunrpc/rpc_main.c: Likewise.
54563         * sunrpc/rpc_svcout.c: Likewise.
54565 2012-03-09  David S. Miller  <davem@davemloft.net>
54567         * include/math_private.h: New file.
54569 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54571         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54572         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54573         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54574         from <bits/socket_type.h>.
54575         (enum __socket_type): Don't define here.
54576         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54577         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54578         bits/socket_type.h.
54580         [BZ #13566]
54581         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54582         checking __USE_GNU.
54584         * Makerules ($(inst_includedir)/%.h): New rule.
54585         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54586         (install-others): Remove variable setting.
54587         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54589 2012-03-08  Richard Henderson  <rth@twiddle.net>
54591         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54592         from macro to inline function; merge with the
54593         !__LIBC_INTERNAL_MATH_INLINES version.
54594         (__ieee754_sqrtf): Likewise.
54596         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54597         to inline function.
54598         (__rintf, __floor, __floorf): Likewise.
54600         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54601         macro to inline function.
54602         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54604         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54605         not <math/math_private.h>.
54607 2012-03-08  David S. Miller  <davem@davemloft.net>
54609         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54610         copyright year.
54611         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54613 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54615         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54616         normalization.
54617         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54618         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54620 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54622         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54623         be defined individually, they must be defined as a block.  Define
54624         S for printing a string instead of hidint the different by using a
54625         macro for adding the 'l'.
54626         * stdio-common/tst-fphex-wide.c: Adjust.
54628 2012-03-07  Marek Polacek  <polacek@redhat.com>
54630         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54632 2012-03-08  Marek Polacek  <polacek@redhat.com>
54634         [BZ #13806]
54635         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54636         * stdio-common/tst-fphex.c: Define a few macros to make the
54637         test reusable.  Use them.
54638         * stdio-common/tst-fphex-wide.c: New file.
54640 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54642         [BZ #6911]
54643         * manual/macros.texi (gnusystems): New macro.
54644         (nongnusystems): Likewise.
54645         (gnulinuxhurdsystems): Likewise.
54646         (gnuhurdsystems): Likewise..
54647         (gnulinuxsystems): Likewise.
54648         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54649         variants of the GNU system, not "GNU system".
54650         * manual/conf.texi: Likewise.
54651         * manual/errno.texi: Likewise.  Update example of errno macro
54652         expansion.
54653         * manual/filesys.texi: Likewise.
54654         (getumask): Document as specific to GNU/Hurd.
54655         * manual/install.texi: Likewise.  Reword some references to
54656         GNU/Linux.
54657         * manual/intro.texi: Likewise.
54658         * manual/io.texi: Likewise.
54659         (File Name Portability): Detail which constraints are inapplicable
54660         to all GNU systems and which are only inapplicable to GNU/Hurd.
54661         * manual/job.texi: Likewise.
54662         * manual/llio.texi: Likewise.
54663         (O_NOCTTY): Document as present on GNU/Linux.
54664         * manual/maint.texi: Likewise.
54665         * manual/memory.texi: Likewise.
54666         * manual/pattern.texi: Likewise.
54667         * manual/pipe.texi: Likewise.
54668         * manual/process.texi: Likewise.
54669         * manual/resource.texi: Likewise.
54670         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54671         child on GNU/Hurd.
54672         * manual/setjmp.texi: Likewise.
54673         * manual/signal.texi: Likewise.
54674         * manual/startup.texi: Likewise.
54675         * manual/stdio.texi: Likewise.
54676         * manual/terminal.texi: Likewise.
54677         (ONLCR): Document as POSIX.
54678         (OXTABS): Document availability on GNU/Linux as XTABS.
54679         (ONOEOT): Document availability separately from other bits.
54680         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54681         * manual/time.texi: Likewise.
54682         * manual/users.texi: Likewise.
54683         * INSTALL: Regenerated.
54684         * sysdeps/gnu/errlist.c: Regenerated.
54686         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54687         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54688         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54689         puts.
54690         * configure: Regenerated.
54692 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54694         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54695         default includes instead of AC_HEADER_CHECK.
54696         * sysdeps/i386/configure: Regenerated.
54698         [BZ #10716]
54699         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54700         * math/s_cacoshf.c (__cacoshf): Likewise.
54701         * math/s_cacoshl.c (__cacoshl): Likewise.
54702         * math/s_casinh.c (__casinh): Set signs of result from argument.
54703         * math/s_casinhf.c (__casinhf): Likewise.
54704         * math/s_casinhl.c (__casinhl): Likewise.
54705         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54706         (casinh_test): Add more tests.
54707         * sysdeps/i386/fpu/libm-test-ulps: Update.
54708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54710 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54712         * po/zh_TW.po: Update from translation team.
54714         * login/Makefile (distribute): Remove variable.
54715         * catgets/Makefile: Likewise.
54716         * mach/Makefile: Likewise.
54717         * malloc/Makefile: Likewise.
54718         * misc/Makefile: Likewise.
54719         * iconv/Makefile: Likewise.
54720         * nscd/Makefile: Likewise.
54721         * hurd/Makefile: Likewise.
54722         * manual/Makefile: Likewise.
54723         * locale/Makefile: Likewise.
54724         * intl/Makefile: Likewise.
54725         * conform/Makefile: Likewise.
54726         * nss/Makefile: Likewise.
54727         * time/Makefile: Likewise.
54728         * soft-fp/Makefile: Likewise.
54729         * dirent/Makefile: Likewise.
54730         * gmon/Makefile: Likewise.
54731         * po/Makefile: Likewise.
54732         * rt/Makefile: Likewise.
54733         * socket/Makefile: Likewise.
54734         * math/Makefile: Likewise.
54735         * signal/Makefile: Likewise.
54736         * debug/Makefile: Likewise.
54737         * elf/Makefile: Likewise.
54738         * timezone/Makefile: Likewise.
54739         * stdlib/Makefile: Likewise.
54740         * iconvdata/Makefile: Likewise.
54741         * sunrpc/Makefile: Likewise.
54742         * io/Makefile: Likewise.
54743         * argp/Makefile: Likewise.
54744         * inet/Makefile: Likewise.
54745         * hesiod/Makefile: Likewise.
54746         * grp/Makefile: Likewise.
54747         * csu/Makefile: Likewise.
54748         * wctype/Makefile: Likewise.
54749         * crypt/Makefile: Likewise.
54750         * libio/Makefile: Likewise.
54751         * string/Makefile: Likewise.
54752         * nis/Makefile: Likewise.
54753         * resolv/Makefile: Likewise.
54754         * stdio-common/Makefile: Likewise.
54755         * wcsmbs/Makefile: Likewise.
54756         * dlfcn/Makefile: Likewise.
54757         * posix/Makefile: Likewise.
54759         [BZ #6959]
54760         * timezone/Makefile: Don't install timezone files, just the programs
54761         and scripts.
54763 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54765         * nss/databases.def: Add missing gshadow entry.
54767         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54769 2012-03-06  Marek Polacek  <polacek@redhat.com>
54771         [BZ #13726]
54772         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54773         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54774         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54775         * stdio-common/tst-long-dbl-fphex.c: New file.
54777 2012-03-06  David S. Miller  <davem@davemloft.net>
54779         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54780         (set_obp_int): New function.
54781         (get_obp_int): New function.
54782         (__get_clockfreq_via_dev_openprom): Likewise.
54783         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54784         Avoid unused variable warnings on 'val' and use builtin_expect.
54785         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54786         __builtin_expect.
54787         (INLINE_CLONE_SYSCALL): Likewise.
54789 2012-03-05  David S. Miller  <davem@davemloft.net>
54791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54793 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54797         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54798         only for |x| >= 40.
54799         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54801 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54803         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54804         Replace gettimeofday with __vdso_gettimeofday.
54806         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54807         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54808         __vdso_clock_gettime and __vdso_getcpu.
54810         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54811         time with __vdso_time.
54813 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54815         * manual/lang.texi (size_t): Note types to which size_t may be
54816         equivalent with the GNU C Library, but do not describe when
54817         differences between them are significant.
54819 2012-03-05  Andreas Jaeger  <aj@suse.de>
54821         * sysdeps/i386/fpu/libm-test-ulps: Update.
54823 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54825         [BZ #3976]
54826         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54827         (__ieee754_pow): Save and restore rounding mode and use
54828         round-to-nearest for main computations.
54829         * math/libm-test.inc (pow_test_tonearest): New function.
54830         (pow_test_towardzero): Likewise.
54831         (pow_test_downward): Likewise.
54832         (pow_test_upward): Likewise.
54833         (main): Call the new functions.
54834         * sysdeps/i386/fpu/libm-test-ulps: Update.
54835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54837         [BZ #3976]
54838         * math/libm-test.inc (cosh_test_tonearest): New function.
54839         (cosh_test_towardzero): Likewise.
54840         (cosh_test_downward): Likewise.
54841         (cosh_test_upward): Likewise.
54842         (sinh_test_tonearest): Likewise.
54843         (sinh_test_towardzero): Likewise.
54844         (sinh_test_downward): Likewise.
54845         (sinh_test_upward): Likewise.
54846         (main): Call the new functions.
54847         * sysdeps/i386/fpu/libm-test-ulps: Update.
54848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54850 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54852         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54853         default stack guard is set in last bytes.
54854         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54856 2012-03-05  Kees Cook  <keescook@chromium.org>
54858         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54860         [BZ #13656]
54861         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54862         possibly allocate from heap instead of stack.
54863         * stdio-common/bug-vfprintf-nargs.c: New file.
54864         * stdio-common/Makefile (tests): Add nargs overflow test.
54866 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54870 2012-03-03  Marek Polacek  <polacek@redhat.com>
54872         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54873         * math/math_private.h: Likewise.
54874         * stdlib/tst-strtod.c: Likewise.
54875         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54876         * sysdeps/x86_64/bits/atomic.h: Likewise.
54878 2012-03-02  David S. Miller  <davem@davemloft.net>
54880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54884         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54885         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54886         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54887         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54889 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54891         [BZ #13792]
54892         * manual/examples/README: New file, says the example source files
54893         can be used under GPL>=2.
54894         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54895         line containing just "*/".
54896         * manual/examples/add.c: Add copyright header (GPL>=2).
54897         * manual/examples/argp-ex1.c: Likewise.
54898         * manual/examples/argp-ex2.c: Likewise.
54899         * manual/examples/argp-ex3.c: Likewise.
54900         * manual/examples/argp-ex4.c: Likewise.
54901         * manual/examples/atexit.c: Likewise.
54902         * manual/examples/db.c: Likewise.
54903         * manual/examples/dir.c: Likewise.
54904         * manual/examples/dir2.c: Likewise.
54905         * manual/examples/execinfo.c: Likewise.
54906         * manual/examples/filecli.c: Likewise.
54907         * manual/examples/filesrv.c: Likewise.
54908         * manual/examples/fmtmsgexpl.c: Likewise.
54909         * manual/examples/genpass.c: Likewise.
54910         * manual/examples/inetcli.c: Likewise.
54911         * manual/examples/inetsrv.c: Likewise.
54912         * manual/examples/isockad.c: Likewise.
54913         * manual/examples/longopt.c: Likewise.
54914         * manual/examples/memopen.c: Likewise.
54915         * manual/examples/memstrm.c: Likewise.
54916         * manual/examples/mkfsock.c: Likewise.
54917         * manual/examples/mkisock.c: Likewise.
54918         * manual/examples/mygetpass.c: Likewise.
54919         * manual/examples/pipe.c: Likewise.
54920         * manual/examples/popen.c: Likewise.
54921         * manual/examples/rprintf.c: Likewise.
54922         * manual/examples/search.c: Likewise.
54923         * manual/examples/select.c: Likewise.
54924         * manual/examples/setjmp.c: Likewise.
54925         * manual/examples/sigh1.c: Likewise.
54926         * manual/examples/sigusr.c: Likewise.
54927         * manual/examples/stpcpy.c: Likewise.
54928         * manual/examples/strdupa.c: Likewise.
54929         * manual/examples/strftim.c: Likewise.
54930         * manual/examples/strncat.c: Likewise.
54931         * manual/examples/subopt.c: Likewise.
54932         * manual/examples/swapcontext.c: Likewise.
54933         * manual/examples/termios.c: Likewise.
54934         * manual/examples/testopt.c: Likewise.
54935         * manual/examples/testpass.c: Likewise.
54936         * manual/examples/timeval_subtract.c: Likewise.
54938         [BZ #13792]
54939         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54940         function to ...
54941         * manual/timeval_subtract.c.texi: ... here, new file.
54943 2012-03-02  David S. Miller  <davem@davemloft.net>
54945         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54947 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54949         [BZ #3976]
54950         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54951         (__sin): Save and restore rounding mode and use round-to-nearest
54952         for all computations.
54953         (__cos): Save and restore rounding mode and use round-to-nearest
54954         for all computations.
54955         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54956         <fenv.h>.
54957         (tan): Save and restore rounding mode and use round-to-nearest for
54958         all computations.
54959         * math/libm-test.inc (cos_test_tonearest): New function.
54960         (cos_test_towardzero): Likewise.
54961         (cos_test_downward): Likewise.
54962         (cos_test_upward): Likewise.
54963         (sin_test_tonearest): Likewise.
54964         (sin_test_towardzero): Likewise.
54965         (sin_test_downward): Likewise.
54966         (sin_test_upward): Likewise.
54967         (tan_test_tonearest): Likewise.
54968         (tan_test_towardzero): Likewise.
54969         (tan_test_downward): Likewise.
54970         (tan_test_upward): Likewise.
54971         (main): Call the new functions.
54972         * sysdeps/i386/fpu/libm-test-ulps: Update.
54973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54975         [BZ #10135]
54976         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54977         small n, then large n, before computing and testing k+n.
54978         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54979         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54980         Likewise.
54981         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54982         Likewise.
54983         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54984         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54985         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54986         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54987         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54988         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54989         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54990         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54991         * math/libm-test.inc (scalbn_test): Add more tests.
54992         (scalbln_test): Likewise.
54994         * manual/filesys.texi (mode_t): Describe constraints on size and
54995         signedness, not exact equivalence to a particular type.
54996         (ino_t): Likewise.
54997         (ino64_t): Likewise.
54998         (dev_t): Likewise.
54999         (nlink_t): Likewise.
55000         (blkcnt_t): Likewise.
55001         (blkcnt64_t): Likewise.
55002         * manual/llio.texi (off_t): Likewise.
55004         [BZ #3976]
55005         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55006         (__ieee754_exp): Save and restore rounding mode and use
55007         round-to-nearest for all computations.
55008         * math/libm-test.inc (exp_test_tonearest): New function.
55009         (exp_test_towardzero): Likewise.
55010         (exp_test_downward): Likewise.
55011         (exp_test_upward): Likewise.
55012         (main): Call the new functions.
55013         * sysdeps/i386/fpu/libm-test-ulps: Update.
55014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55016 2012-03-01  Chris Demetriou  <cgd@google.com>
55018         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55019         have predictable order.
55021 2012-03-01  David S. Miller  <davem@davemloft.net>
55023         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55025         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55026         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55027         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55028         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55030         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55031         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55032         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55034         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55035         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55036         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55037         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55038         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55042         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55043         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55044         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55046         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55047         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55048         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55049         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55050         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55051         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55052         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55053         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55054         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55055         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55056         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55057         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55058         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55059         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55060         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55061         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55062         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55063         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55064         * sysdeps/sparc/elf/configure: Regenerated.
55066 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55068         * configure.in (AS, LD): Require binutils 2.20 or later.
55069         * configure: Regenerated.
55070         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55071         as required minimum version.
55072         * INSTALL: Regenerated.
55074         [BZ #2541]
55075         [BZ #4108]
55076         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55077         before squaring exponent.
55078         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55079         bottom long double and 27 bits of top long double before squaring
55080         exponent.
55081         * math/libm-test.inc (erfc_test): Add more tests.
55082         * sysdeps/i386/fpu/libm-test-ulps: Update.
55083         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55086 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55088         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55089         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55090         containing bit-fields.
55091         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55092         * soft-fp/single.h (_FP_UNION_S): Likewise.
55093         * soft-fp/double.h (_FP_UNION_D): Likewise.
55095 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55097         [BZ #13786]
55098         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55099         not include ../strcmp.S.
55100         [USE_AS_STRNCASECMP_L]: Likewise.
55101         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55102         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55103         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55104         (__strncasecmp_l_ia32): Define as alias to
55105         __strncasecmp_l_nonascii.
55107         [BZ #5794]
55108         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55109         * sysdeps/i386/fpu/libm-test-ulps: Update.
55110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55112         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55115 2012-02-29  Jeff Law  <law@redhat.com>
55117         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55118         out of bounds read.
55120 2012-02-29  Marek Polacek  <polacek@redhat.com>
55122         [BZ #13706]
55123         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55124         * elf/Makefile: Add rules to run tst-unused-dep.out.
55126 2012-02-28  David S. Miller  <davem@davemloft.net>
55128         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55129         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55130         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55131         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55132         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55133         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55135 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55137         * math/libm-test.inc (llround_test): Move one test from
55138         lround_test.  Use TEST_f_L in moved test.
55139         (lround_test): Move misplaced test to llround_test.  Add testcase
55140         from bug 2561.
55142 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55144         * sysdeps/x86_64/fpu/e_expf.S: New file.
55145         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55147 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55149         [BZ #13637]
55150         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55151         of remain_len that may cause incomplete multi-byte character and
55152         false match.
55153         * posix/bug-regex33.c: New file.
55154         * posix/Makefile (tests): Add bug-regex33.
55156 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55158         * manual/macros.texi: New file.
55159         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55160         * manual/libc.texinfo: Include macros.texi.
55161         * manual/creatute.texi: Likewise.
55162         * manual/install.texi: Likewise.
55163         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55164         @glibcadj{} in references to the GNU C Library.
55165         * manual/charset.texi: Likewise.
55166         * manual/conf.texi: Likewise.
55167         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55168         when not using those macros.
55169         * manual/creature.texi: Likewise.
55170         * manual/crypt.texi: Likewise.
55171         * manual/errno.texi: Likewise.
55172         * manual/filesys.texi: Likewise.
55173         * manual/header.texi: Likewise.
55174         * manual/install.texi: Likewise.
55175         * manual/intro.texi: Likewise.
55176         * manual/io.texi: Likewise.
55177         * manual/job.texi: Likewise.
55178         * manual/lang.texi: Likewise.
55179         * manual/libc.texiinfo: Likewise.
55180         * manual/llio.texi: Likewise.
55181         * manual/locale.texi: Likewise.
55182         * manual/maint.texi: Likewise.
55183         * manual/math.texi: Likewise.
55184         * manual/memory.texi: Likewise.
55185         * manual/message.texi: Likewise.
55186         * manual/nss.texi: Likewise.
55187         * manual/pattern.texi: Likewise.
55188         * manual/process.texi: Likewise.
55189         * manual/resource.texi: Likewise.
55190         * manual/search.texi: Likewise.
55191         * manual/setjmp.texi: Likewise.
55192         * manual/signal.texi: Likewise.
55193         * manual/socket.texi: Likewise.
55194         * manual/startup.texi: Likewise.
55195         * manual/stdio.texi: Likewise.
55196         * manual/string.texi: Likewise.
55197         * manual/sysinfo.texi: Likewise.
55198         * manual/syslog.texi: Likewise.
55199         * manual/terminal.texi: Likewise.
55200         * manual/time.texi: Likewise.
55201         * manual/users.texi: Likewise.
55202         * INSTALL: Regenerated.
55203         * NOTES: Regenerated.
55204         * sysdeps/gnu/errlist.c: Regenerated.
55206 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55208         * include/dirent.h: Include <dirstream.h> before
55209         <dirent/dirent.h>.
55211 2012-02-28  David S. Miller  <davem@davemloft.net>
55213         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55214         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55215         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55216         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55218 2012-02-27  David S. Miller  <davem@davemloft.net>
55220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55222         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55223         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55226         frame pointer instead of stack pointer relative arg slot.
55227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55228         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55229         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55231 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55233         [BZ #3992]
55234         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55236 2012-02-27  David S. Miller  <davem@davemloft.net>
55238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55242         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55243         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55244         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55245         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55247 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55249         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55250         later.  Allow versions 5-9.
55251         * configure: Regenerated.
55252         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55253         required minimum version and 4.6 as recommended version.  Do not
55254         mention bugs in GCC 2.7 and 2.8.
55255         * INSTALL: Regenerated.
55257 2012-02-27  David S. Miller  <davem@davemloft.net>
55259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55263         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55264         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55265         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55266         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55268         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55269         manipulate bits before adding and subtracting TWO112[sx].
55270         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55272 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55274         [BZ #13775]
55275         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55276         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55277         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55278         being in POSIX, because they are in 1003.1-2008.
55280         * rt/tst-aio.c: Include <fcntl.h>.
55281         * rt/tst-aio7.c: Likewise.
55282         * rt/tst-aio64.c: Likewise.
55284         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55286 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55288         * manual/install.texi (--with-headers): Describe headers as
55289         interface headers, not private headers.
55290         (Specific advice for GNU/Linux systems): Describe use of headers
55291         from "make headers_install", not private headers from older
55292         kernels.
55293         * INSTALL: Regenerated.
55294         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55295         Change to 2.6.19.
55296         * sysdeps/unix/sysv/linux/configure: Regenerated.
55298         * manual/llio.texi (fclean): Remove documentation.
55300         * manual/Makefile (libc-texi-generated): New variable.  Include
55301         version.texi.
55302         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55303         $(libc-texi-generated), not duplicated list of files.
55304         (version.texi, stamp-version): New rules.
55305         (realclean): Remove $(libc-texi-generated), not individual files
55306         from that list.  Do not remove dir-add.texinfo.
55307         * manual/libc.texinfo: Comment out uses of edition numbers and
55308         references to printed manual.  Remove last-updated dates.
55309         (EDITION): Comment out.
55310         (ISBN): Likewise.
55311         (VERSION, UPDATED): Remove.
55312         (version.texi): Include.
55314 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55316         * sysdeps/posix/spawni.c: Include <signal.h>.
55317         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55318         * sysdeps/pthread/aio_fsync.c: Likewise.
55320 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55322         * conform/Makefile (tests): Run only when not cross-compiling and
55323         when fast-check is not defined.
55325         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55326         * conform/data/limits.h-data: Fixes for POSIX2008.
55327         * conform/run-conformtest.sh: Run all tests.
55328         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55329         headers.
55330         * include/bits/dlfcn.h: Likewise.
55331         * include/langinfo.h: Likewise.
55332         * include/monetary.h: Likewise.
55333         * include/sys/poll.h: Likewise.
55335         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55336         for __USE_GNU.
55337         * posix/spawn.h: Define __need_sigset_t.
55338         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55339         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55340         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55341         to get sigevent_t only.
55342         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55343         only for __USE_GNU.
55344         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55345         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55346         process_vm_writev only for __USE_GNU.
55347         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55349         * conform/Makefile: For now ignore errors from run-conformtest.
55350         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55351         POSIX to avoid namespace pollution.  Don't prepend headers.
55352         * conform/data/aio.h-data: Fixes for POSIX testing.
55353         * conform/data/fcntl.h-data: Likewise.
55354         * conform/data/glob.h-data: Likewise.
55355         * conform/data/grp.h-data: Likewise.
55356         * conform/data/pthread.h-data: Likewise.
55357         * conform/data/pwd.h-data: Likewise.
55358         * conform/data/signal.h-data: Likewise.
55359         * conform/data/spawn.h-data: Likewise.
55360         * conform/data/stdio.h-data: Likewise.
55361         * conform/data/stdlib.h-data: Likewise.
55362         * conform/data/stropts.h-data: Likewise.
55363         * conform/data/sys/mman.h-data: Likewise.
55364         * conform/data/sys/stat.h-data: Likewise.
55365         * conform/data/sys/types.h-data: Likewise.
55366         * conform/data/sys/wait.h-data: Likewise.
55367         * conform/data/time.h-data: Likewise.
55368         * conform/data/unistd.h-data: Likewise.
55369         * conform/data/utime.h-data: Likewise.
55371         * io/sys/stat.h: fchmod was always in POSIX.
55372         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55373         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55374         * rt/aio.h: Define __need_timespec before including <time.h>.
55375         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55376         struct.  Add forward declaration of pthread_attr_t and use it in
55377         sigevent.
55378         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55379         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55380         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55381         always remove CLK_TCK definition.
55383 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55385         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55387 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55389         * conform/run-conformtest.sh: New file.
55390         * conform/Makefile: Run run-conformtest for tests.
55391         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55392         support.
55394         * conform/data/uchar.h-data: New file.
55395         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55396         * conform/data/arpa/inet.h-data: Likewise.
55397         * conform/data/assert.h-data: Likewise.
55398         * conform/data/complex.h-data: Likewise.
55399         * conform/data/cpio.h-data: Likewise.
55400         * conform/data/ctype.h-data: Likewise.
55401         * conform/data/dirent.h-data: Likewise.
55402         * conform/data/dlfcn.h-data: Likewise.
55403         * conform/data/errno.h-data: Likewise.
55404         * conform/data/fcntl.h-data: Likewise.
55405         * conform/data/float.h-data: Likewise.
55406         * conform/data/fmtmsg.h-data: Likewise.
55407         * conform/data/fnmatch.h-data: Likewise.
55408         * conform/data/ftw.h-data: Likewise.
55409         * conform/data/glob.h-data: Likewise.
55410         * conform/data/grp.h-data: Likewise.
55411         * conform/data/iconv.h-data: Likewise.
55412         * conform/data/inttypes.h-data: Likewise.
55413         * conform/data/langinfo.h-data: Likewise.
55414         * conform/data/libgen.h-data: Likewise.
55415         * conform/data/limits.h-data: Likewise.
55416         * conform/data/locale.h-data: Likewise.
55417         * conform/data/math.h-data: Likewise.
55418         * conform/data/monetary.h-data: Likewise.
55419         * conform/data/mqueue.h-data: Likewise.
55420         * conform/data/ndbm.h-data: Likewise.
55421         * conform/data/net/if.h-data: Likewise.
55422         * conform/data/netdb.h-data: Likewise.
55423         * conform/data/netinet/in.h-data: Likewise.
55424         * conform/data/nl_types.h-data: Likewise.
55425         * conform/data/poll.h-data: Likewise.
55426         * conform/data/pthread.h-data: Likewise.
55427         * conform/data/pwd.h-data: Likewise.
55428         * conform/data/regex.h-data: Likewise.
55429         * conform/data/sched.h-data: Likewise.
55430         * conform/data/search.h-data: Likewise.
55431         * conform/data/semaphore.h-data: Likewise.
55432         * conform/data/setjmp.h-data: Likewise.
55433         * conform/data/signal.h-data: Likewise.
55434         * conform/data/spawn.h-data: Likewise.
55435         * conform/data/stdarg.h-data: Likewise.
55436         * conform/data/stdio.h-data: Likewise.
55437         * conform/data/stdlib.h-data: Likewise.
55438         * conform/data/string.h-data: Likewise.
55439         * conform/data/strings.h-data: Likewise.
55440         * conform/data/stropts.h-data: Likewise.
55441         * conform/data/sys/ipc.h-data: Likewise.
55442         * conform/data/sys/mman.h-data: Likewise.
55443         * conform/data/sys/msg.h-data: Likewise.
55444         * conform/data/sys/resource.h-data: Likewise.
55445         * conform/data/sys/select.h-data: Likewise.
55446         * conform/data/sys/sem.h-data: Likewise.
55447         * conform/data/sys/shm.h-data: Likewise.
55448         * conform/data/sys/socket.h-data: Likewise.
55449         * conform/data/sys/stat.h-data: Likewise.
55450         * conform/data/sys/statvfs.h-data: Likewise.
55451         * conform/data/sys/time.h-data: Likewise.
55452         * conform/data/sys/timeb.h-data: Likewise.
55453         * conform/data/sys/times.h-data: Likewise.
55454         * conform/data/sys/types.h-data: Likewise.
55455         * conform/data/sys/uio.h-data: Likewise.
55456         * conform/data/sys/un.h-data: Likewise.
55457         * conform/data/sys/utsname.h-data: Likewise.
55458         * conform/data/sys/wait.h-data: Likewise.
55459         * conform/data/syslog.h-data: Likewise.
55460         * conform/data/tar.h-data: Likewise.
55461         * conform/data/termios.h-data: Likewise.
55462         * conform/data/utime.h-data: Likewise.
55463         * conform/data/utmpx.h-data: Likewise.
55464         * conform/data/varargs.h-data: Likewise.
55465         * conform/data/wchar.h-data: Likewise.
55466         * conform/data/wctype.h-data: Likewise.
55467         * conform/data/wordexp.h-data: Likewise.
55469         * include/stropts.h: New file.
55470         * include/uchar.h: New file.
55471         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55472         * include/assert.h: Likewise.
55473         * include/ctype.h: Likewise.
55474         * include/dirent.h: Likewise.
55475         * include/dlfcn.h: Likewise.
55476         * include/fcntl.h: Likewise.
55477         * include/fnmatch.h: Likewise.
55478         * include/glob.h: Likewise.
55479         * include/grp.h: Likewise.
55480         * include/libio.h: Likewise.
55481         * include/locale.h: Likewise.
55482         * include/math.h: Likewise.
55483         * include/net/if.h: Likewise.
55484         * include/netdb.h: Likewise.
55485         * include/netinet/in.h: Likewise.
55486         * include/pthread.h: Likewise.
55487         * include/pwd.h: Likewise.
55488         * include/regex.h: Likewise.
55489         * include/sched.h: Likewise.
55490         * include/search.h: Likewise.
55491         * include/setjmp.h: Likewise.
55492         * include/signal.h: Likewise.
55493         * include/stdio.h: Likewise.
55494         * include/stdlib.h: Likewise.
55495         * include/string.h: Likewise.
55496         * include/sys/cdefs.h: Likewise.
55497         * include/sys/mman.h: Likewise.
55498         * include/sys/msg.h: Likewise.
55499         * include/sys/resource.h: Likewise.
55500         * include/sys/select.h: Likewise.
55501         * include/sys/socket.h: Likewise.
55502         * include/sys/stat.h: Likewise.
55503         * include/sys/statvfs.h: Likewise.
55504         * include/sys/time.h: Likewise.
55505         * include/sys/times.h: Likewise.
55506         * include/sys/uio.h: Likewise.
55507         * include/sys/utsname.h: Likewise.
55508         * include/sys/wait.h: Likewise.
55509         * include/termios.h: Likewise.
55510         * include/time.h: Likewise.
55511         * include/ulimit.h: Likewise.
55512         * include/unistd.h: Likewise.
55513         * include/utime.h: Likewise.
55514         * include/wchar.h: Likewise.
55515         * include/wctype.h: Likewise.
55516         * include/wordexp.h: Likewise.
55518         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55520         * time/time.h: TIME_UTC must be a macro.
55521         Make timespec_get available for ISO C11 only as well.
55523 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55525         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55526         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55528 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55530         * configure.in: Use -o not -a in test for unsupported multi-arch.
55532 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55534         * manual/texinfo.tex: Update to version 2012-01-19.16.
55536 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55538         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55540 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55542         [BZ #13738]
55543         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55544         * manual/fdl-1.3.texi: New file.
55545         * manual/fdl-1.1.texi: File removed.
55547         [BZ #13738]
55548         * manual/libc.texinfo (FDL_VERSION): New @set.
55549         Use it for mention of FDL in cover text.
55550         (Documentation License): Use it in @include file name.
55552 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55553             Roland McGrath  <roland@hack.frob.com>
55555         [BZ #5461]
55556         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55557         (not LONG_LONG_MAX and LONG_LONG_MIN.
55558         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55559         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55560         name.
55561         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55563 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55565         [BZ #2547]
55566         [BZ #11365]
55567         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55568         manipulate bits before adding and subtracting TWO23[sx].
55569         * math/libm-test.inc (nearbyint_test): Add more tests.
55571 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55573         [BZ #2548]
55574         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55575         bits before adding and subtracting TWO23[sx].
55576         * math/libm-test.inc (rint_test): Add more tests.
55577         (rint_test_tonearest): Likewise.
55578         (rint_test_towardzero): Likewise.
55579         (rint_test_downward): Likewise.
55580         (rint_test_upward: Likewise.
55582 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55584         [BZ #10110]
55585         * include/stdc-predef.h: New file.  Extracted from features.h.
55586         * include/features.h: Include stdc-predef.h.
55587         * Makefile (headers): Add stdc-predef.h.
55588         * CONFORMANCE (Compiler limitations): Update.
55590 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55592         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55594 2012-02-21  David S. Miller  <davem@davemloft.net>
55596         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55597         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55599 2012-02-20  David S. Miller  <davem@davemloft.net>
55601         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55602         using a normal save/restore sequence, rather than allocating a
55603         dummy stack frame just to store a frame pointer and restore.
55604         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55606 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55608         * manual/install.texi: Fix stray word in line-wrapped comment.
55610 2012-02-20  David S. Miller  <davem@davemloft.net>
55612         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55613         both binutils and gcc support GOTDATA.
55615         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55616         "rd %pc" in the PIC register setup sequences.
55618         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55619         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55620         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55621         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55622         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55623         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55624         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55625         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55626         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55627         (SYSCALL_ERROR_HANDLER): Likewise.
55628         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55629         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55630         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55631         (SYSCALL_ERROR_HANDLER): Likewise.
55633         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55634         (HAVE_GCC_GOTDATA): New.
55635         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55636         relocation support in both binutils and gcc.
55637         * sysdeps/sparc/elf/configure: Regenerate.
55639         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55640         * sysdeps/sparc/sparc32/elf/configure: Delete.
55641         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55642         * sysdeps/sparc/sparc64/elf/configure: Delete.
55643         * sysdeps/sparc/elf/configure.in: New file.
55644         * sysdeps/sparc/elf/configure: Generate.
55646         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55647         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55648         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55649         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55650         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55652 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55654         * manual/install.texi: Do not mention specific glibc version
55655         numbers.
55656         * manual/libc.texinfo (VERSION, UPDATED): Update.
55657         (@copying): Use @copyright{} and range of years.
55659 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55661         [BZ #13695]
55662         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55663         [crti.S not in sysdirs] (generated): Do not append.
55664         [crti.S not in sysdirs] (omit-deps): Likewise.
55665         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55666         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55667         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55668         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55669         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55670         Likewise.
55671         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55672         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55673         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55674         * csu/defs.awk: Remove file.
55675         * sysdeps/generic/initfini.c: Likewise.
55676         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55677         variable.
55678         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55679         Likewise.
55681 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55683         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55684         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55685         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55686         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55687         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55688         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55689         <bits/epoll.h>.
55690         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55691         (__EPOLL_PACKED): Define to empty if not defined by
55692         <bits/epoll.h>.
55693         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55694         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55695         bits/epoll.h.
55697 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55699         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55700         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55701         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55702         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55703         <bits/timerfd.h>.
55704         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55705         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55706         bits/timerfd.h.
55708 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55710         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55711         in C locale.
55712         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55713         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55714         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55717 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55719         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55720         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55722 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55724         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55725         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55726         defined.
55727         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55728         Likewise.
55729         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55730         entry for 2.16.
55732 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55734         * math/w_acos.c: Use non-signaling floating-point comparisons.
55735         * math/w_acosf.c: Likewise.
55736         * math/w_acosh.c: Likewise.
55737         * math/w_acoshf.c: Likewise.
55738         * math/w_acoshl.c: Likewise.
55739         * math/w_acosl.c: Likewise.
55740         * math/w_asin.c: Likewise.
55741         * math/w_asinf.c: Likewise.
55742         * math/w_asinl.c: Likewise.
55743         * math/w_atanh.c: Likewise.
55744         * math/w_atanhf.c: Likewise.
55745         * math/w_atanhl.c: Likewise.
55746         * math/w_exp2.c: Likewise.
55747         * math/w_exp2f.c: Likewise.
55748         * math/w_exp2l.c: Likewise.
55749         * math/w_j0.c: Likewise.
55750         * math/w_j0f.c: Likewise.
55751         * math/w_j0l.c: Likewise.
55752         * math/w_j1.c: Likewise.
55753         * math/w_j1f.c: Likewise.
55754         * math/w_j1l.c: Likewise.
55755         * math/w_jn.c: Likewise.
55756         * math/w_jnf.c: Likewise.
55757         * math/w_log.c: Likewise.
55758         * math/w_log10.c: Likewise.
55759         * math/w_log10f.c: Likewise.
55760         * math/w_log10l.c: Likewise.
55761         * math/w_log2.c: Likewise.
55762         * math/w_log2f.c: Likewise.
55763         * math/w_log2l.c: Likewise.
55764         * math/w_logf.c: Likewise.
55765         * math/w_logl.c: Likewise.
55766         * math/w_sqrt.c: Likewise.
55767         * math/w_sqrtf.c: Likewise.
55768         * math/w_sqrtl.c: Likewise.
55769         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55770         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55771         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55772         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55773         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55775 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55777         [BZ #9739]
55778         * manual/string.texi (strnlen): Use correct parameter name in
55779         equivalent expression.
55781 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55783         [BZ #11174]
55784         * manual/users.texi (seteuid): Consistently use neweuid for
55785         argument name.
55787 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55789         [BZ #13704]
55790         * manual/nss.texi (Services in the NSS configuration): Correct
55791         list of services in example configuration file.
55793 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55795         [BZ #11322]
55796         * manual/arith.texi: Remove statements about negative zero
55797         behaving identically to zero.
55799 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55801         [BZ #5993]
55802         * manual/install.texi: Do not document upgrading from libc5.
55804 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55806         [BZ #4596]
55807         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55809 2012-02-18  David S. Miller  <davem@davemloft.net>
55811         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55812         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55813         %o7 across the call.
55814         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55815         instead.
55816         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55817         SETUP_PIC_REG_LEAF.
55818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55819         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55820         * sysdeps/sparc/crtn.S: Likewise.
55822 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55824         * aout/Makefile: Remove.
55826 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55828         [BZ #13058]
55829         * manual/examples/argp-ex1.c (main): Format definition in GNU
55830         style.
55831         * manual/examples/argp-ex2.c (main): Likewise.
55832         * manual/examples/argp-ex3.c (main): Likewise.
55833         * manual/examples/argp-ex4.c (main): Likewise.
55834         * manual/examples/longopt.c (main): Use new-style prototype
55835         definition.
55836         * manual/examples/strncat.c (main): Specify return type and use
55837         (void) for arguments.
55838         * manual/examples/subopt.c (main): Use char **argv argument.
55840 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55842         [BZ #5077]
55843         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55844         rounding modes.
55846 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55848         [BZ #6907]
55849         * manual/string.texi (strchr): Change when strchrnul is
55850         recommended.
55852 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55854         [BZ #174]
55855         * manual/locale.texi (setlocale): Document LOCPATH.
55857 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55859         [BZ #10210]
55860         * manual/process.texi (execle): Move @dots{} before last argument.
55862 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55864         [BZ #12047]
55865         * manual/charset.texi (Generic Charset Conversion): Fix typo
55866         (LC_TYPE -> LC_CTYPE).
55868 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55870         [BZ #5805]
55871         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55872         (scalbnf): Likewise.
55873         (scalbnl): Likewise.
55874         (scalbln): Likewise.
55875         (scalblnf): Likewise.
55876         (scalblnl): Likewise.
55877         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55878         (vwarnx): Likewise.
55879         (verr): Likewise.
55880         (verrx): Likewise.
55881         * manual/filesys.texi (telldir): Use braces around return type.
55882         * manual/llio.texi (mmap): Add space after comma.
55883         (mmap64): Likewise.
55884         * manual/math.texi (jn): Use @var{} on parameter names.
55885         (jnf): Likewise.
55886         (jnl): Likewise.
55887         (yn): Likewise.
55888         (ynf): Likewise.
55889         (ynl): Likewise.
55890         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55891         line.
55892         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55893         "...".
55894         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55895         (sched_get_priority_max): Likewise.
55896         * manual/signal.texi (sigvec): Add space after comma.
55897         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55898         names.
55899         (if_indextoname): Likewise.
55900         (if_freenameindex): Likewise.
55901         (sendto): Use ',' instead of '.' in prototype.
55902         * manual/startup.texi (syscall): Use @dots{} instead of literal
55903         "...".
55904         * manual/stdio.texi (__fpending): Separate initial words of
55905         paragraph from @deftypefun line.
55906         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55907         "...".
55908         (vsyslog): Use @var{} on parameter names.
55909         * manual/terminal.texi (stty): Use @var{} on parameter names.
55910         * manual/users.texi (getutmp): Use @var{} on parameter names.
55911         (getutmpx): Likewise.
55913 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55915         [BZ #6884]
55916         * manual/stdio.texi (fopen): Fix typos in description of
55917         ",ccs=STRING".
55919 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55921         [BZ #4026]
55922         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55923         get clock_id definition.
55925 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55927         [BZ #4822]
55928         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55929         (madvise): Cast every argument to void on its own.
55931 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55933         [BZ #9902]
55934         * manual/startup.texi (Exit Status): Fix typo.
55936 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55938         [BZ #10140]
55939         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55940         * manual/examples/argp-ex2.c: Likewise.
55941         * manual/examples/argp-ex3.c: Likewise.
55943 2012-02-16  Richard Henderson  <rth@redhat.com>
55945         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55946         * sysdeps/s390/s390-32/initfini.c: Remove.
55947         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55948         * sysdeps/s390/s390-64/initfini.c: Remove.
55950 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55952         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55953         compiler output for sysdeps/generic/initfini.c.
55954         * sysdeps/sh/elf/initfini.c: Remove file.
55956 2012-02-16  David S. Miller  <davem@davemloft.net>
55958         [BZ #11494]
55959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55961         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55962         * sysdeps/sparc/crti.S: New file.
55963         * sysdeps/sparc/crtn.S: New file.
55964         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55965         * sysdeps/sparc/sparc64/Makefile: Likewise.
55967 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55969         [BZ #3335]
55970         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55972 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55974         [BZ #4822]
55975         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55977         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55978         (write, read, close): Likewise.
55979         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55981 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55983         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55984         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55985         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55986         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55987         <bits/signalfd.h>.
55988         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55989         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55990         bits/signalfd.h.
55992 2012-02-14  Marek Polacek  <polacek@redhat.com>
55994         * sysdeps/x86_64/crti.S: New file.
55995         * sysdeps/x86_64/crtn.S: New file.
55996         * sysdeps/x86_64/elf/initfini.c: Remove file.
55998 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56000         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56001         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56002         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56003         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56004         <bits/inotify.h>.
56005         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56007         bits/inotify.h.
56009 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56011         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56012         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56013         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56014         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56015         <bits/eventfd.h>.
56016         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56017         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56018         bits/eventfd.h.
56020 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56022         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56023         __feraiseexcept instead of feraiseexcept.
56025         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56026         nanosleep invocations.
56027         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56028         strings, and add error checking for a nanosleep invocations.
56030 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56032         Replace FSF snail mail address with URLs, as per GNU coding standards.
56033         Most of the snail mail addresses were wrong anyway, and omitting
56034         them makes the source code easier to maintain.  Almost all of the
56035         changes are to license notices and to locale LC_IDENTIFICATION
56036         addresses, except for this one:
56037         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56038         not its snail mail address.
56040 2012-02-09  Richard Henderson  <rth@twiddle.net>
56042         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56043         of kernel-features.h.
56045         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56047 2012-02-08  Marek Polacek  <polacek@redhat.com>
56049         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56050         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56051         * sysdeps/gnu/_G_config.h: Likewise.
56052         * sysdeps/generic/_G_config.h: Likewise.
56054 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56056         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56057         tests.
56058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56060         * sysdeps/powerpc/powerpc32/crti.S: New file.
56061         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56062         * sysdeps/powerpc/powerpc64/crti.S: New file.
56063         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56065         * Makeconfig (have-initfini): Don't set.
56066         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56067         * configure.in (nopic_initfini): Don't substitute.
56068         * config.h.in (HAVE_INITFINI): Don't #undef.
56069         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56070         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56072 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56074         Support crti.S and crtn.S provided directly by architectures.
56075         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56076         [crti.S in sysdirs] (omit-deps): Likewise.
56077         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56078         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56079         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56080         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56081         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56082         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56083         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56084         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56085         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56086         compiler output for sysdeps/generic/initfini.c.
56087         * sysdeps/i386/elf/Makefile: Remove file.
56088         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56090 2012-02-07  Marek Polacek  <polacek@redhat.com>
56092         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56093         * sysdeps/gnu/_G_config.h: Likewise.
56094         * sysdeps/mach/hurd/_G_config.h: Likewise.
56096 2012-02-07  Marek Polacek  <polacek@redhat.com>
56098         * math/Makefile (tests): Add tst-CMPLX2.
56099         * math/tst-CMPLX2.c: New file.
56101 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56103         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56105         * math/libm-test.inc (jn_test): Add missing L suffix.
56107 2012-02-06  Marek Polacek  <polacek@redhat.com>
56109         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56110         * sysdeps/i386/fpu/e_powf.S: Likewise.
56111         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56112         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56113         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56114         * sysdeps/i386/fpu/e_pow.S: Likewise.
56115         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56116         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56117         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56118         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56119         * sysdeps/i386/fpu/e_log2.S: Likewise.
56120         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56121         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56122         * sysdeps/i386/fpu/e_powl.S: Likewise.
56123         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56124         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56125         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56126         * sysdeps/i386/fpu/e_logl.S: Likewise.
56127         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56128         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56129         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56130         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56131         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56132         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56133         * sysdeps/i386/fpu/e_log.S: Likewise.
56134         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56135         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56136         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56137         * sysdeps/i386/fpu/e_logf.S: Likewise.
56138         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56139         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56140         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56141         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56142         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56143         * sysdeps/i386/fpu/e_log10.S: Likewise.
56144         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56145         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56146         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56147         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56148         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56149         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56150         * sysdeps/i386/asm-syntax.h: Likewise.
56151         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56152         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56153         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56154         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56155         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56156         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56157         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56158         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56159         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56160         * sysdeps/powerpc/sysdep.h: Likewise.
56161         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56162         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56164 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56166         [BZ #411]
56167         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56169 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56171         * sysdeps/i386/sysdep.h: Include <features.h>.
56172         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56173         version.
56175 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56177         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56178         Define.
56179         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56180         LOAD_PIC_REG_STR.
56182 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56184         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56185         (SETUP_PIC_REG): Use GET_PC_THUNK.
56186         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56187         macro.
56189 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56191         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56192         for non-PIC compilation.
56193         (SETUP_PIC_REG): Add .p2align directive.
56194         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56195         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56196         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56197         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56198         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56199         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56200         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56201         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56202         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56203         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56204         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56205         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56206         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56207         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56208         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56209         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56210         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56211         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56212         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56213         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56214         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56215         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56216         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56217         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56218         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56219         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56220         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56221         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56222         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56223         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56224         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56225         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56226         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56227         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56228         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56229         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56230         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56231         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56232         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56233         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56234         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56236 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56238         * math/tst-CMPLX.c: Include <stdio.h>.
56240 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56242         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56243         float.
56244         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56245         * sysdeps/sparc/bits/mathdef.h: Likewise.
56247 2012-01-31  Marek Polacek  <polacek@redhat.com>
56249         * libio/libio.h: Don't define _PARAMS.
56250         * locale/programs/config.h: Don't define PARAMS.
56251         * stdlib/strtol_l.c: Likewise.
56252         (__strtol_l): Remove PARAMS from the prototype.
56254 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56256         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56257         names.  Just use the correct names.  Remove unnecessary wrapper
56258         functions.
56259         * malloc/arena.c: Likewise.
56260         * malloc/hooks.c: Likewise.
56262         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56263         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56264         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56266 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56268         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56269         into tail calls.
56270         (update_get_addr): New function.
56271         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56272         GET_ADDR_MODULE parameter.
56274 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56276         * crypt/cert.c: Remove __STDC__ conditionals.
56277         * crypt/crypt-entry.c: Likewise.
56278         * crypt/crypt_util.c: Likewise.
56279         * libio/filedoalloc.c: Likewise.
56280         * libio/fileops.c: Likewise.
56281         * libio/genops.c: Likewise.
56282         * libio/iofclose.c: Likewise.
56283         * libio/iofdopen.c: Likewise.
56284         * libio/iofopen.c: Likewise.
56285         * libio/iofopen64.c: Likewise.
56286         * libio/iogetdelim.c: Likewise.
56287         * libio/iopopen.c: Likewise.
56288         * libio/obprintf.c: Likewise.
56289         * libio/oldfileops.c: Likewise.
56290         * libio/oldiofclose.c: Likewise.
56291         * libio/oldiofdopen.c: Likewise.
56292         * libio/oldiofopen.c: Likewise.
56293         * libio/oldiopopen.c: Likewise.
56294         * libio/wfiledoalloc.c: Likewise.
56295         * libio/wgenops.c: Likewise.
56296         * locale/programs/xmalloc.c: Likewise.
56297         * misc/syslog.c: Likewise.
56298         * stdio-common/xbug.c: Likewise.
56299         * string/memchr.c: Likewise.
56300         * string/memcmp.c: Likewise.
56301         * string/memrchr.c: Likewise.
56302         * string/rawmemchr.c: Likewise.
56303         * sysdeps/posix/getcwd.c: Likewise.
56304         * time/strftime_l.c: Likewise.
56306 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56308         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56309         * config.make.in (config-cflags-sse2avx): Define.
56310         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56311         Fix typo.
56313 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56315         * scripts/config.guess: Update from upstream config git repository.
56316         * scripts/config.sub: Likewise.
56318 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56320         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56321         (EM_NUM): Update.
56322         (R_TILEPRO_*, R_TILEGX_*): New macros.
56324         * scripts/firstversions.awk: Fix bug in version range handling.
56326         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56328         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56330         * include/sys/epoll.h: New file.
56331         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56332         libc_hidden_def.
56334 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56336         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56337         Avoid unnecessary __WORDSIZE == 64 test.
56338         (fmaxf): Use VEX format if possible.
56339         (fmax): Likewise.
56340         (fminf): Likewise.
56341         (fmin): Likewise.
56343         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56344         * math/math_private.h: Remove libc_fegetround* and
56345         libc_fesetround*.
56346         * sysdeps/i386/configure.in: Check for -msse2avx.
56347         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56348         also if SSE2AVX is defined.
56349         Remove libc_fegetround* and libc_fesetround*.
56350         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56351         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56352         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56353         of HAS_YMM_USABLE.
56354         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56355         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56356         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56357         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56358         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56360         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56362 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56364         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56365         size is not set.
56366         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56368 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56370         [BZ #13618]
56371         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56372         relocation.
56373         * Makeconfig (libm): Define.
56374         * elf/Makefile: Add rules to build and run tst-relsort1.
56375         * elf/tst-relsort1.c: New file.
56376         * elf/tst-relsort1mod1.c: New file.
56377         * elf/tst-relsort1mod2.c: New file.
56379 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56381         * math/s_ldexp.c: Remove __STDC__ conditionals.
56382         * math/s_ldexpf.c: Likewise.
56383         * math/s_ldexpl.c: Likewise.
56384         * math/s_nextafter.c: Likewise.
56385         * math/s_nexttowardf.c: Likewise.
56386         * math/s_significand.c: Likewise.
56387         * math/s_significandf.c: Likewise.
56388         * math/s_significandl.c: Likewise.
56389         * math/w_jnl.c: Likewise.
56390         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56391         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56392         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56393         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56394         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56395         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56396         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56397         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56398         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56399         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56400         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56401         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56402         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56403         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56404         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56405         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56406         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56407         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56408         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56409         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56410         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56411         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56412         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56413         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56414         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56415         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56416         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56417         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56418         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56419         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56420         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56421         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56422         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56423         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56424         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56425         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56426         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56427         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56428         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56429         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56430         * sysdeps/ieee754/k_standard.c: Likewise.
56431         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56432         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56433         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56434         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56435         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56436         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56437         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56438         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56439         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56440         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56441         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56442         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56443         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56444         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56445         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56446         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56447         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56448         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56449         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56450         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56451         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56452         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56453         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56454         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56455         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56456         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56457         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56458         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56459         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56460         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56461         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56462         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56463         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56464         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56465         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56466         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56467         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56468         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56469         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56470         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56471         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56472         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56473         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56474         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56475         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56476         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56477         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56478         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56479         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56480         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56481         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56482         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56483         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56484         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56485         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56486         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56487         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56488         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56489         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56490         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56491         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56492         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56493         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56494         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56495         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56496         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56497         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56498         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56499         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56500         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56501         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56502         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56503         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56504         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56505         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56506         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56507         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56508         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56509         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56510         * sysdeps/ieee754/s_matherr.c: Likewise.
56511         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56512         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56513         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56514         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56516 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56518         * crypt/md5.h: Remove __STDC__ conditionals.
56519         * libio/libioP.h: Likewise.
56520         * locale/programs/config.h: Likewise.
56521         * sysdeps/generic/sysdep.h: Likewise.
56522         * sysdeps/i386/asm-syntax.h: Likewise.
56523         * sysdeps/s390/asm-syntax.h: Likewise.
56524         * sysdeps/unix/sysdep.h: Likewise.
56525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56528 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56530         * libio/libio.h: Remove __STDC__ conditionals.
56531         * malloc/obstack.h: Likewise.
56532         * math/complex.h: Likewise.
56533         * math/math.h: Likewise.
56534         * sysdeps/generic/_G_config.h: Likewise.
56535         * sysdeps/gnu/_G_config.h: Likewise.
56536         * sysdeps/mach/hurd/_G_config.h: Likewise.
56537         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56538         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56539         * sysdeps/sparc/bits/mathdef.h: Likewise.
56541 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56543         [BZ #13583]
56544         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56545         Clean up HAS_* macros.
56546         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56547         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56548         possible.
56549         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56550         HAS_AVX.
56551         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56552         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56553         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56554         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56555         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56557 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56559         * elf/tst-unique3.cc (gets): Remove declaration.
56560         * elf/tst-unique3lib.cc (gets): Likewise.
56561         * elf/tst-unique3lib2.cc (gets): Likewise.
56562         * elf/tst-unique4.cc (gets): Likewise.
56564 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56566         * include/stdio.h: Add C++ protection.  Add gets declarations and
56567         definitions.
56568         * debug/tst-chk1.c: Don't declare gets here.
56569         * stdio-common/tst-gets.c: Likewise.
56571 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56573         * posix/glob: Remove directory.
56575 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56577         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56579 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56581         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56582         of the non-standard EPFNOSUPPORT.
56584 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56586         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56587         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56588         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56590 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56592         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56594 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56596         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56597         transient errors.
56598         * nscd/grpcache.c (cache_addgr): Likewise.
56599         * nscd/hstcache.c (cache_addhst): Likewise.
56600         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56601         * nscd/pwdcache.c (cache_addpw): Likewise.
56602         * nscd/servicescache.c (cache_addserv): Likewise.
56604 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56606         * malloc/malloc.c: Various cleanups.
56607         * malloc/hooks.c: Likewise.
56609         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56610         * stdlib/bug-fmtmsg1.c: New file.
56612         * stdlib/fmtmsg.c (init): Add missing unlock.
56613         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56615 2012-01-12  Marek Polacek  <polacek@redhat.com>
56617         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56618         and _GNU_SOURCE.
56620 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56622         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56623         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56624         macro to ensure uniqueness of label name.
56625         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56626         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56628 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56630         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56632         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56633         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56634         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56635         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56637 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56639         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56641         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56642         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56643         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56645         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56647         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56648         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56649         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56650         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56652         * math/bits/math-finite.h: Add ldexp support.
56654 2012-01-10  Marek Polacek  <polacek@redhat.com>
56656         * locale/programs/localedef.h (show_archive_content): Add noreturn
56657         attribute.
56659 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56661         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56663 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56665         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56667         * io/Makefile (headers): Add bits/poll2.h.
56669 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56672         typo #include statement.
56674 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56676         * include/sys/cdefs.h: Define __attribute_alloc_size.
56677         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56678         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56679         * elf/pldd.c: Likewise.
56680         * iconv/iconv_charmap.c: Likewise.
56681         * iconv/iconvconfig.c: Likewise.
56682         * iconv/strtab.c: Likewise.
56683         * locale/programs/locale.c: Likewise.
56684         * locale/programs/localedef.h: Likewise.
56685         * locale/programs/simple-hash.c: Likewise.
56686         * nscd/nscd.h: Likewise.
56687         * nss/makedb.c: Likewise.
56688         * sysdeps/generic/ldconfig.h: Likewise.
56689         * locale/programs/localedef.c: Remove xmalloc prototype.
56690         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56692 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56694         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56695         appropriate.
56697 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56699         * math/Makefile (tests): Add tst-CMPLX.
56700         * math/tst-CMPLX.c: New file.
56702         * math/complex.h (CMPLXL): Fix typo.
56704         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56705         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56706         GLIBC_2.16.
56707         * debug/tst-chk1.c: Add poll and ppoll tests.
56708         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56709         * include/sys/poll.h: Add hidden proto for ppoll.
56710         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56711         * sysdeps/mach/hurd/ppoll.c: Likewise.
56712         * io/ppoll.c: Likewise.
56713         * debug/poll_chk.c: New file.
56714         * debug/ppoll_chk.c: New file.
56715         * include/bits/poll2.h: New file.
56716         * io/bits/poll2.h: New file.
56718         [BZ #1350]
56719         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56721         * configure.in: static is always set to yes.  Remove.
56722         * config.make.in: Don't set build-static.
56723         * Makeconfig: Remove use of build-static.
56724         * dlfcn/Makefile: Likewise.
56725         * elf/Makefile: Likewise.
56726         * math/Makefile: Likewise.
56727         * misc/Makefile: Likewise.
56728         * nptl/Makefile: Likewise.
56729         * sysdeps/mach/hurd/Makefile: Likewise.
56731         * configure.in: PWD_P is not used anymore.
56732         * config.make.in: Remove PWD_P entry.
56734         * configure.in: Remove last remnants of RANLIB.
56735         No need to check for signed size_t anymore.
56736         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56737         and IA-64.
56738         Remove __builtin_expect test because we require at least gcc 3.4.
56739         * aclocal.m4: Likewise.
56741         * wcsmbs/mbrtoc16.c: Implement using towc function.
56742         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56743         * wcsmbs/wcsmbsload.c: Likewise.
56744         * iconv/gconv_simple.c: Likewise.
56745         * iconv/gconv_int.h: Likewise.
56746         * iconv/gconv_builtin.h: Likewise.
56747         * iconv/iconv_prog.c: Remove CHAR16 handling.
56749         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56751         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56753         * configure.in: Remove --with-elf and --enable-bounded options.
56754         Dont set base_machine for ia64.  More non-ELF conditions removed.
56755         Remove testing and setting of leading underscore information.
56756         * config.make.in (build-bounded): Set to no.
56757         * config.h.in: Remove NO_UNDERSCORES entry.
56758         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56759         them.
56760         * csu/start.c: Remove !NO_UNDERSCORE code.
56761         * locale/localeinfo.h: Likewise.
56762         * sysdeps/generic/machine-gmon.h: Likewise.
56763         * sysdeps/generic/sysdep.h: Likewise.
56764         * sysdeps/i386/sysdep.h: Likewise.
56765         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56766         * sysdeps/mach/sysdep.h: Likewise.
56767         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56768         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56769         * sysdeps/sh/sysdep.h: Likewise.
56770         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56771         * sysdeps/unix/i386/sysdep.S: Likewise.
56772         * sysdeps/unix/sparc/start.c: Likewise.
56773         * sysdeps/unix/sparc/sysdep.S: Likewise.
56774         * sysdeps/unix/sparc/sysdep.h: Likewise.
56775         * sysdeps/unix/start.c: Likewise.
56776         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56777         * sysdeps/x86_64/sysdep.h: Likewise.
56779 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56781         [BZ #13553]
56782         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56783         for non-gcc.
56784         * argp/argp-fmtstream.h: Use const instead __const.
56785         * argp/argp.h: Likewise.
56786         * assert/assert.h: Likewise.
56787         * bits/fenv.h: Likewise.
56788         * bits/sched.h: Likewise.
56789         * bits/sigset.h: Likewise.
56790         * bits/sigthread.h: Likewise.
56791         * catgets/nl_types.h: Likewise.
56792         * conform/data/pthread.h-data: Likewise.
56793         * crypt/crypt-private.h: Likewise.
56794         * crypt/crypt.h: Likewise.
56795         * crypt/crypt_util.c: Likewise.
56796         * ctype/ctype.h: Likewise.
56797         * debug/execinfo.h: Likewise.
56798         * debug/mbsnrtowcs_chk.c: Likewise.
56799         * debug/mbsrtowcs_chk.c: Likewise.
56800         * debug/wcsnrtombs_chk.c: Likewise.
56801         * debug/wcsrtombs_chk.c: Likewise.
56802         * debug/wcstombs_chk.c: Likewise.
56803         * dirent/dirent.h: Likewise.
56804         * dlfcn/dlfcn.h: Likewise.
56805         * elf/neededtest4.c: Likewise.
56806         * grp/grp.h: Likewise.
56807         * gshadow/gshadow.h: Likewise.
56808         * iconv/gconv.h: Likewise.
56809         * iconv/gconv_int.h: Likewise.
56810         * iconv/gconv_simple.c: Likewise.
56811         * iconv/iconv.h: Likewise.
56812         * iconv/loop.c: Likewise.
56813         * iconv/skeleton.c: Likewise.
56814         * include/aio.h: Likewise.
56815         * include/aliases.h: Likewise.
56816         * include/argz.h: Likewise.
56817         * include/arpa/inet.h: Likewise.
56818         * include/assert.h: Likewise.
56819         * include/dirent.h: Likewise.
56820         * include/dlfcn.h: Likewise.
56821         * include/execinfo.h: Likewise.
56822         * include/fcntl.h: Likewise.
56823         * include/fenv.h: Likewise.
56824         * include/glob.h: Likewise.
56825         * include/grp.h: Likewise.
56826         * include/libintl.h: Likewise.
56827         * include/mntent.h: Likewise.
56828         * include/netdb.h: Likewise.
56829         * include/pwd.h: Likewise.
56830         * include/rpc/netdb.h: Likewise.
56831         * include/sched.h: Likewise.
56832         * include/search.h: Likewise.
56833         * include/shadow.h: Likewise.
56834         * include/signal.h: Likewise.
56835         * include/stdio.h: Likewise.
56836         * include/stdlib.h: Likewise.
56837         * include/string.h: Likewise.
56838         * include/sys/socket.h: Likewise.
56839         * include/sys/stat.h: Likewise.
56840         * include/sys/statfs.h: Likewise.
56841         * include/sys/statvfs.h: Likewise.
56842         * include/sys/syslog.h: Likewise.
56843         * include/sys/time.h: Likewise.
56844         * include/sys/uio.h: Likewise.
56845         * include/time.h: Likewise.
56846         * include/unistd.h: Likewise.
56847         * include/utmp.h: Likewise.
56848         * include/wchar.h: Likewise.
56849         * include/wctype.h: Likewise.
56850         * inet/aliases.h: Likewise.
56851         * inet/arpa/inet.h: Likewise.
56852         * inet/netinet/ether.h: Likewise.
56853         * inet/netinet/in.h: Likewise.
56854         * intl/libintl.h: Likewise.
56855         * io/bits/fcntl2.h: Likewise.
56856         * io/fcntl.h: Likewise.
56857         * io/ftw.h: Likewise.
56858         * io/sys/poll.h: Likewise.
56859         * io/sys/stat.h: Likewise.
56860         * io/sys/statfs.h: Likewise.
56861         * io/sys/statvfs.h: Likewise.
56862         * io/utime.h: Likewise.
56863         * libio/bits/stdio.h: Likewise.
56864         * libio/bits/stdio2.h: Likewise.
56865         * libio/libio.h: Likewise.
56866         * libio/libioP.h: Likewise.
56867         * libio/stdio.h: Likewise.
56868         * locale/lc-ctype.c: Likewise.
56869         * locale/locale.h: Likewise.
56870         * login/utmp.h: Likewise.
56871         * malloc/arena.c: Likewise.
56872         * malloc/malloc.c: Likewise.
56873         * malloc/malloc.h: Likewise.
56874         * malloc/mcheck.c: Likewise.
56875         * malloc/mtrace.c: Likewise.
56876         * math/bits/mathcalls.h: Likewise.
56877         * math/fenv.h: Likewise.
56878         * math/math_private.h: Likewise.
56879         * misc/bits/error.h: Likewise.
56880         * misc/bits/syslog.h: Likewise.
56881         * misc/err.h: Likewise.
56882         * misc/error.h: Likewise.
56883         * misc/fstab.h: Likewise.
56884         * misc/mntent.h: Likewise.
56885         * misc/regexp.h: Likewise.
56886         * misc/search.h: Likewise.
56887         * misc/sgtty.h: Likewise.
56888         * misc/sys/mman.h: Likewise.
56889         * misc/sys/syslog.h: Likewise.
56890         * misc/sys/uio.h: Likewise.
56891         * misc/sys/xattr.h: Likewise.
56892         * misc/ttyent.h: Likewise.
56893         * nis/rpcsvc/ypclnt.h: Likewise.
56894         * nss/nss.h: Likewise.
56895         * posix/bits/unistd.h: Likewise.
56896         * posix/fnmatch.h: Likewise.
56897         * posix/glob.h: Likewise.
56898         * posix/sched.h: Likewise.
56899         * posix/spawn.h: Likewise.
56900         * posix/sys/wait.h: Likewise.
56901         * posix/unistd.h: Likewise.
56902         * posix/wordexp.h: Likewise.
56903         * pwd/pwd.h: Likewise.
56904         * resolv/netdb.h: Likewise.
56905         * resource/sys/resource.h: Likewise.
56906         * rt/aio.h: Likewise.
56907         * rt/bits/mqueue2.h: Likewise.
56908         * rt/mqueue.h: Likewise.
56909         * shadow/shadow.h: Likewise.
56910         * signal/signal.h: Likewise.
56911         * socket/send.c: Likewise.
56912         * socket/sendto.c: Likewise.
56913         * socket/sys/socket.h: Likewise.
56914         * stdio-common/printf.h: Likewise.
56915         * stdlib/bits/stdlib.h: Likewise.
56916         * stdlib/fmtmsg.h: Likewise.
56917         * stdlib/monetary.h: Likewise.
56918         * stdlib/stdlib.h: Likewise.
56919         * stdlib/ucontext.h: Likewise.
56920         * streams/stropts.h: Likewise.
56921         * string/argz.h: Likewise.
56922         * string/bits/string2.h: Likewise.
56923         * string/string.h: Likewise.
56924         * string/strings.h: Likewise.
56925         * sunrpc/rpc/auth.h: Likewise.
56926         * sunrpc/rpc/auth_des.h: Likewise.
56927         * sunrpc/rpc/clnt.h: Likewise.
56928         * sunrpc/rpc/netdb.h: Likewise.
56929         * sunrpc/rpc/pmap_clnt.h: Likewise.
56930         * sunrpc/rpc/xdr.h: Likewise.
56931         * sysdeps/generic/inttypes.h: Likewise.
56932         * sysdeps/generic/net/if.h: Likewise.
56933         * sysdeps/generic/sys/swap.h: Likewise.
56934         * sysdeps/gnu/net/if.h: Likewise.
56935         * sysdeps/gnu/utmpx.h: Likewise.
56936         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56937         * sysdeps/i386/i486/bits/string.h: Likewise.
56938         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56939         * sysdeps/s390/bits/string.h: Likewise.
56940         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56941         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56942         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56943         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56944         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56945         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56946         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56947         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56948         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56949         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56950         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56951         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56952         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56953         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56954         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56955         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56956         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56957         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56958         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56959         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56960         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56961         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56962         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56963         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56964         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56965         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56966         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56967         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56968         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56969         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56970         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56971         * sysvipc/sys/ipc.h: Likewise.
56972         * sysvipc/sys/msg.h: Likewise.
56973         * sysvipc/sys/sem.h: Likewise.
56974         * sysvipc/sys/shm.h: Likewise.
56975         * termios/termios.h: Likewise.
56976         * time/sys/time.h: Likewise.
56977         * time/time.h: Likewise.
56978         * wcsmbs/bits/wchar2.h: Likewise.
56979         * wcsmbs/uchar.h: Likewise.
56980         * wcsmbs/wchar.h: Likewise.
56981         * wctype/wctype.h: Likewise.
56983         [BZ #13551]
56984         * Makeconfig: Remove all but ELF support including AIX support.
56985         * Makerules: Likewise.
56986         * config.h.in: Likewise.
56987         * config.make.in: Likewise.
56988         * configure: Likewise.
56989         * configure.in: Likewise.
56990         * csu/Makefile: Likewise.
56991         * csu/version.c: Likewise.
56992         * debug/Makefile: Likewise.
56993         * dlfcn/Makefile: Likewise.
56994         * elf/Makefile: Likewise.
56995         * extra-lib.mk: Likewise.
56996         * iconv/Makefile: Likewise.
56997         * include/libc-symbols.h: Likewise.
56998         * include/shlib-compat.h: Likewise.
56999         * resolv/Makefile: Likewise.
57000         * resolv/res_libc.c: Likewise.
57001         * rt/Makefile: Likewise.
57002         * sysdeps/i386/asm-syntax.h: Likewise.
57003         * sysdeps/i386/sysdep.h: Likewise.
57004         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57005         * sysdeps/mach/sysdep.h: Likewise.
57006         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57007         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57008         * sysdeps/s390/asm-syntax.h: Likewise.
57009         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57010         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57011         * sysdeps/sh/sysdep.h: Likewise.
57012         * sysdeps/unix/sparc/sysdep.h: Likewise.
57013         * sysdeps/wordsize-32/divdi3.c: Likewise.
57014         * sysdeps/x86_64/sysdep.h: Likewise.
57016         * argp/Versions: Remove _argp_unlock_xxx.
57018         [BZ #13559]
57019         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57020         * abilist/libBrokenLocale.abilist: Likewise.
57021         * abilist/libanl.abilist: Likewise.
57022         * abilist/libc.abilist: Likewise.
57023         * abilist/libcrypt.abilist: Likewise.
57024         * abilist/libdl.abilist: Likewise.
57025         * abilist/libm.abilist: Likewise.
57026         * abilist/libnsl.abilist: Likewise.
57027         * abilist/libpthread.abilist: Likewise.
57028         * abilist/libresolv.abilist: Likewise.
57029         * abilist/librt.abilist: Likewise.
57030         * abilist/libthread_db.abilist: Likewise.
57031         * abilist/libutil.abilist: Likewise.
57032         * abilist/libnss_db.abilist: New file.
57034         * scripts/abilist.awk: Add support for indirect functions.
57036         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57038         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57040         * shlib-versions: Remove entries for ports architectures.
57042         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57043         files in ports.
57044         * elf/stackguard-macros.h: Remove support for IA-64.
57045         * elf/tst-auditmod1.c: Likewise.
57046         * sysdeps/generic/ldsodefs.h: Likewise.
57048         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57049         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57050         configure files.
57052         [BZ #13552]
57053         * configure.in: Remove --enable-omitfp support.
57054         * FAQ.in: Adjust.
57055         * config.make.in: Likewise.
57056         * Makeconfig: Likewise.
57057         * manual/install.texi: Likewise.
57059         In case anyone cares, the IA-64 architecture could move to ports.
57060         * sysdeps/ia64/*: Removed.
57061         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57062         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57064         [BZ #13555]
57065         * configure.in: Remove entries for unsupported architectures.
57067         [BZ #13533]
57068         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57069         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57070         routines.
57071         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57072         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57073         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57074         fall back to using wcrtomb.
57075         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57076         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57077         renaming.
57078         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57079         * wcsmbs/tst-c16c32-1.c: New file.
57081         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57082         local variable.
57084         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57086         * elf/tst-unique3.cc: Add explicit declaration of gets.
57087         * elf/tst-unique3lib.cc: Likewise.
57088         * elf/tst-unique3lib2.cc: Likewise.
57089         * elf/tst-unique4.cc: Likewise.
57091         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57093 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57095         [BZ #13566]
57096         * assert/assert.h (static_assert): Don't define for C++.
57097         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57098         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57100 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57102         * iconv/loop.c (single loop): Fix assertion in storing of
57103         remaining bytes.
57105         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57107 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57109         * posix/getconf.c: Update copyright year.
57110         * nss/getent.c: Likewise.
57111         * nss/makedb.c: Likewise.
57112         * iconv/iconvconfig.c: Likewise.
57113         * iconv/iconv_prog.c: Likewise.
57114         * elf/ldconfig.c: Likewise.
57115         * elf/pldd.c: Likewise.
57116         * elf/sotruss.ksh: Likewise.
57117         * catgets/gencat.c: Likewise.
57118         * csu/version.c: Likewise.
57119         * elf/ldd.bash.in: Likewise.
57120         * elf/sprof.c (print_version): Likewise.
57121         * locale/programs/locale.c: Likewise.
57122         * locale/programs/localedef.c: Likewise.
57123         * login/programs/pt_chown.c: Likewise.
57124         * nscd/nscd.c (print_version): Likewise.
57125         * debug/xtrace.sh: Likewise.
57126         * malloc/memusage.sh: Likewise.
57127         * malloc/mtrace.pl: Likewise.
57128         * debug/catchsegv.sh: Likewise.
57130 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57132         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57133         pure attribute.
57135 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57137         [BZ #13533]
57138         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57139         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57140         transformations.
57141         * iconv/gconv_int.h: Likewise.
57142         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57143         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57144         from libc for GLIBC_2.16.
57145         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57146         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57147         * wcsmbs/uchar.h: Really define mbstate_t.
57148         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57149         * wcsmbs/c16rtomb.c: New file.
57150         * wcsmbs/mbrtoc16.c: New file.
57151         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57152         for C/POSIX locale.
57153         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57154         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57156         * wcsmbs/wchar.h: Add missing __restrict.
57158 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57160         [BZ #13532]
57161         * time/Makefile (routines): Add timespec_get.
57162         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57163         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57164         timespec for ISO C11.
57165         * time/timespec_get.c: New file.
57166         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57167         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57169         [BZ #13531]
57170         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57171         * stdlib/stdlib.h: Declare aligned_alloc.
57172         * Versions.def: Add GLIBC_2.16 for libc.
57173         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57175         [BZ 13527]
57176         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57177         ISO C11.
57179         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57180         code.
57182         [BZ #13528]
57183         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57185         [BZ #13529]
57186         * assert/assert.h (static_assert): Define.
57188         * version.h: Update for 2.16 development version.
57190         [BZ #13526]
57191         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57192         _ISOC11_SOURCE.
57194         * version.h (RELEASE): Bump for 2.15 release.
57195         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57197         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57198         Patch by Marek Polacek <mpolacek@redhat.com>.
57200         * bits/byteswap.h: Protect long long constants with __extension__.
57201         * sysdeps/i386/bits/byteswap.h: Likewise.
57202         * sysdeps/ia64/bits/byteswap.h: Likewise.
57203         * sysdeps/s390/bits/byteswap.h: Likewise.
57204         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57206 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57208         [BZ #13540]
57209         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57210         destination buffer.
57211         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57213 2011-12-23  Marek Polacek  <polacek@redhat.com>
57215         * elf/dl-addr.c (determine_info): Add inline keyword.
57216         * elf/tst-auditmod4b.c (check_avx): Likewise.
57217         * elf/tst-auditmod6b.c (check_avx): Likewise.
57218         * elf/tst-auditmod6c.c (check_avx): Likewise.
57219         * elf/tst-auditmod7b.c (check_avx): Likewise.
57221 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57223         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57224         !__SSE_MATH__.
57226 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57228         [BZ #13540]
57229         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57230         processing for last bytes.
57232 2011-08-06  Bruno Haible  <bruno@clisp.org>
57234         [BZ #13061]
57235         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57236         U+0385, not to U+1FEE.
57238         [BZ #13062]
57239         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57240         entry for U+00A5 U+0301.
57242 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57244         [BZ #13166]
57245         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57246         buffer for the output is too small.
57248         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57249         optimization.
57251         [BZ #13185]
57252         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57253         SSE flags if possible.
57255 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57257         [BZ #13540]
57258         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57259         processing for last bytes.
57261 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57263         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57264         (syscall-list-default-options, syscall-list-default-condition)
57265         (syscall-list-includes): Define.
57266         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57267         list of ABIs and options and #if conditions for each ABI.  Do not
57268         handle common syscalls between ABIs specially.
57269         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57270         Remove.
57271         (syscall-list-variants, syscall-list-32bit-options)
57272         (syscall-list-32bit-condition, syscall-list-64bit-options)
57273         (syscall-list-64bit-condition): Define.
57274         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57275         (syscall-list-variants, syscall-list-32bit-options)
57276         (syscall-list-32bit-condition, syscall-list-64bit-options)
57277         (syscall-list-64bit-condition): Define.
57278         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57279         Remove.
57280         (syscall-list-variants, syscall-list-32bit-options)
57281         (syscall-list-32bit-condition, syscall-list-64bit-options)
57282         (syscall-list-64bit-condition): Define.
57283         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57284         Remove.
57285         (syscall-list-variants, syscall-list-32bit-options)
57286         (syscall-list-32bit-condition, syscall-list-64bit-options)
57287         (syscall-list-64bit-condition): Define.
57289 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57291         * locale/iso-639.def: Add brx entry.
57293         [BZ #13328]
57294         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57295         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57297         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57298         __feraiseexcept_renamed.
57300 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57302         [BZ #13538]
57303         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57304         EPOLLET with unsigned values.
57305         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57306         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57308         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57309         to large cancellation.
57310         * math/s_cacoshf.c: Likewise.
57311         * math/s_cacoshl.c: Likewise.
57313 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57315         [BZ #13305]
57316         [BZ #12786]
57317         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57318         * math/s_cacoshf.c: Likewise.
57319         * math/s_cacoshl.c: Likewise.
57321 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57323         [BZ #13439]
57324         * iconv/gconv.h: Define __GCONV_SWAP.
57325         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57326         * iconvdata/utf-16.c: Likewise.
57327         * iconvdata/utf-32.c: Likewise.
57329 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57331         [BZ #13524]
57332         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57333         numerator after shifting it by one limb.
57335 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57337         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57338         under [__USE_EXTERN_INLINES].
57340 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57342         [BZ #13446]
57343         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57345 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57347         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57348         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57349         optimized code.
57350         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57351         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57352         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57353         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57354         for strncasecmp/strncasecmp_l compilation.
57355         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57356         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57358 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57360         [BZ #13484]
57361         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57362         of __asm__.
57364 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57366         [BZ #13506]
57367         * time/tzfile.c (__tzfile_read): Check values from file header.
57369 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57371         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57372         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57373         * powerpc/powerpc32/dl-start.S: Likewise.
57374         * powerpc/powerpc32/elf/start.S: Likewise.
57375         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57376         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57377         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57378         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57379         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57380         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57381         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57382         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57383         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57384         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57385         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57386         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57387         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57388         * powerpc/powerpc32/memset.S: Likewise.
57389         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57390         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57391         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57392         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57393         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57394         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57395         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57396         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57397         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57398         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57399         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57400         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57401         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57403 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57405         * math/libm-test.inc: Added more nearbyint tests.
57406         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57407         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57408         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57409         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57411 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57413         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57414         FD_CLOEXEC.
57416 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57418         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57419         Add wcscpy-ssse3 wcscpy-c.
57420         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57421         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57422         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57423         * sysdeps/x86_64/wcschr.S: New file.
57424         * sysdeps/x86_64/wcsrchr.S: New file.
57425         * string/test-strcmp.c: Remove checking of wcscmp function for
57426         wrong alignments.
57427         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57428         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57429         wcsrchr-sse2 wcsrchr-c.
57430         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57431         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57432         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57433         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57434         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57435         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57436         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57437         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57438         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57439         * wcsmbc/wcschr.c (WCSCHR): New macro.
57441 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57443         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57444         * wcsmbs/test-wcsrchr.c: New file.
57445         * string/test-strrchr.c: Add wcsrchr support.
57446         (WIDE): New macro.
57447         * wcsmbs/test-wcscpy.c: New file.
57448         * string/test-strcpy.c: Add wcscpy support.
57449         (WIDE): New macro.
57451 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57453         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57454         the inner loop.
57456 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57458         [BZ #13472]
57459         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57461 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57463         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57464         Minor optimizations.
57466         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57467         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57468         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57470 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57472         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57473         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57474         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57475         for gcc to avoid warnings.
57476         * inet/Makefile (tests): Add tst-checks.
57477         * inet/tst-checks.c: New file.
57479         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57480         warning.
57482         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57483         __wmemcmp_sse2.
57485         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57486         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57488         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57490 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57492         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57493         problem.
57495         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57497 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57499         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57500         conditional on GCC version.
57501         (__arch_compare_and_exchange_val_8_acq)
57502         (__arch_compare_and_exchange_val_16_acq)
57503         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57504         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57505         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57507 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57509         * sysdeps/sh/backtrace.c: New file.
57511 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57513         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57514         parenthesis.
57516 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57518         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57519         falling back to utime.
57521 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57523         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57524         expectations for float.
57526 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57528         * locale/weight.h (findidx): Add parameter len.
57529         * locale/weightwc.h (findidx): Likewise.
57530         * posix/fnmatch_loop.c (FCT): Adjust caller.
57531         * posix/regcomp.c (build_equiv_class): Likewise.
57532         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57533         * posix/regexec.c (check_node_accept_bytes): Likewise.
57534         * string/strcoll_l.c (STRCOLL): Likewise.
57535         * string/strxfrm_l.c (STRXFRM): Likewise.
57537 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57539         * Makefile.in: Remove CVSOPT handling.
57540         * configure.in: Remove use of AC_REVISION.
57541         * iconvdata/Makefile (distribute): No need to filter out CVS.
57542         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57543         handling.
57545 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57547         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57548         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57549         [USE_AS_STRNCASECMP_L]: Likewise.
57550         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57551         NO_TLS_DIRECT_SEG_REFS.
57552         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57553         Fix argument offsets for non-PIC.
57554         [USE_AS_STRNCASECMP_L]: Likewise.
57555         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57556         NO_TLS_DIRECT_SEG_REFS.
57558 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57560         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57561         O_CLOEXEC.
57562         * locale/loadlocale.c (_nl_load_locale): Likewise.
57564 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57566         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57567         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57568         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57569         (SYSCALL_GETTIME): Set errno on error.
57571         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57572         count references to noai6ai_cached.
57574 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57576         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57578         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57579         FD_CLOEXEC for /proc/self/maps.
57581         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57582         FD_CLOEXEC for /proc/meminfo.
57584         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57585         gai.conf.
57587         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57588         FD_CLOEXEC for given file.
57590         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57592         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57593         FD_CLOEXEC for /etc/hosts.
57594         (_gethtent): Likewise.
57596         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57598         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57599         cancellation and set FD_CLOEXEC for /etc/netgroup.
57601         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57602         reading /etc/publickey.
57604         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57605         allow cancellation when reading /etc/group.
57607         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57608         cancellation.
57609         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57611         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57612         when using data file.
57614         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57616         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57617         (write_nis_obj): Use "c" and "e" in fopen.
57619         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57621         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57623         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57625         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57627         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57628         locale.alias.
57630         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57632         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57634         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57636         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57637         file parsing and set FD_CLOEXEC.
57639 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57641         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57643 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57645         * malloc/arena.c (arena_get2): Don't call reused_arena when
57646         _int_new_arena failed.
57648 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57650         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57651         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57652         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57653         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57654         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57655         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57656         to compile strcasecmp and strncasecmp.
57657         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57658         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57660         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57662 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57664         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57665         locale-defines.sym to gen-as-const-headers.
57666         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57667         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57668         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57669         to compile strcasecmp and strncasecmp.
57670         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57671         strcasecmp_l and strncasecmp_l.
57672         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57673         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57674         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57675         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57676         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57677         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57678         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57679         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57680         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57681         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57682         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57684 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57686         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57687         result of SYSDEP_GETTIME_CPU to retval.
57688         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57689         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57691         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57692         variable.
57694         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57695         mantissa words.
57696         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57698         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57699         from unused variable.
57701         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57702         DWARF definitions.
57703         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57704         for assembling.
57706         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57707         over namespaces.
57709         * sunrpc/rpc_prot.c (rejected): Fix case value.
57711         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57712         unsigned long long int to avoid warnings in shift.
57714         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57715         of use of trans.
57716         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57717         variable tmp.
57719         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57720         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57721         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57723         * nis/nis_table.c (nis_list): Use variable of correct type for
57724         result of __follow_path call.
57726 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57728         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57729         of math functions ceil, trunc, floor, round, and sqrt, when
57730         avaliable on the platform.
57731         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57732         name clash.
57733         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57734         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57735         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57737 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57739         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57740         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57742 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57744         * include/unistd.h: Fix __readlink return type.
57745         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57747 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57749         * stdlib/ucontext.h: Undo last change for makecontext.
57751 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57753         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57755         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57756         * setjmp/setjmp.h: Mark functions as non-leaf.
57757         * setjmp/bits/setjmp2.h: Likewise.
57758         * stdlib/ucontext.h: Likewise.
57760 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57762         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57763         (reused_arena): Don't check arena limit.
57764         (arena_get2): Atomically check arena limit.
57766 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57768         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57769         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57771         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57772         instructions.
57774 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57776         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57777         handler when locking.
57779         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57780         Fix size of allocated buffer.
57782 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57784         [BZ #10103]
57785         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57786         declarations for long double functions.
57787         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57789         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57791 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57793         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57794         installed.
57796         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57797         is disabled.
57799 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57801         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57803 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57805         * include/alloca.h (stackinfo_alloca_round): Define.
57806         (extend_alloca): Use it.
57807         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57808         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57809         here.
57811         * scripts/check-local-headers.sh: Ignore libaudit.h.
57813         * nscd/Makefile (extra-objs): Make recursively expanded.
57815 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57817         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57818         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57820         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57821         * posix/tst-rfc3484-2.c: Likewise.
57822         * posix/tst-rfc3484-3.c: Likewise.
57824         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57825         process_vm_writev.
57826         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57827         process_vm_writev.
57828         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57829         process_vm_writev from libc using GLIBC_2.15 version.
57831         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57833 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57835         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57836         stack usage.
57838 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57840         [BZ #13367]
57841         * nss/getent.c (initgroups_keys): Show error message in case no group
57842         names are given.
57844         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57845         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57846         __bump_nl_timestamp.
57847         * nscd/connections (nscd_init): When host database is served open
57848         netlink socket and request notification about configuration changes.
57849         (main_loop_poll): Track netlink file descriptor and bump timestamp
57850         in case data becomes available.
57851         (main_loop_epoll): Likewise.
57852         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57853         (database_pers_head): Add extra_data fileds.
57854         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57855         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57856         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57857         Adjust caller.
57858         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57859         in6ai data, call __free_in6ai.
57860         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57861         Add -DHAVE_NETLINK.
57862         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57863         interface information.  Reuse previous data if netlink timestamp
57864         is not changed.
57865         (__bump_nl_timestamp): New function.
57866         (__free_in6ai): New function.
57868 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57870         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57871         close_not_cancel_no_status here.
57872         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57874 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57876         [BZ #13276]
57877         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57878         return value.
57880         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57881         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57882         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57884 2011-07-03  Andreas Jaeger  <aj@suse.de>
57886         [BZ #10709]
57887         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57888         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57889         * math/libm-test.inc (sin_test): Add test case.
57891 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57893         [BZ #13337]
57894         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57895         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57897         * elf/chroot_canon.c (chroot_canon): Cleanups.
57899         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57901         [BZ #13335]
57902         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57903         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57905         * string/test-strchr.c: Make usable for strchrnul testing.
57906         * string/test-strchrnul.c: New file.
57907         * string/Makefile (strop-tests): Add strchrnul.
57909         * po/it.po: Update from translation team.
57910         * po/es.po: Likewise.
57912 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57914         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57915         the three constants needed as parameters.  Drop the others.
57916         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57917         __m128i_strloadu_tolower.
57918         Create and initialize variable zero and use it in all the places
57919         where _mm_setzero_si128 was used.
57921         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57922         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57923         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57924         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57925         anymore.
57926         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57927         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57928         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57929         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57930         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57931         __mpranred, __mptan.
57932         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57933         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57934         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57935         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57936         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57937         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57938         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57939         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57940         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57942 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57944         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57945         redefine if SHARED.
57946         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57948         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57949         wide char related routines to wcsmbs subdir.
57951 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57953         [BZ #13344]
57954         * misc/sys/cdefs.h (__THROWNL): Define.
57955         * posix/unistd.h: Use __THREADNL instead of __THREAD
57956         for memory synchronization functions.
57958 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57960         [BZ #13349]
57961         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57962         doesn't exist.
57963         * manual/stdio.texi (Obstack Streams): Node removed.
57965 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57967         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57968         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57969         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57971         * math/math_private.h (math_force_eval): Allow non-addressable
57972         arguments.
57973         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57975 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57977         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57978         file is not needed.
57980         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57981         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57982         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57983         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57984         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57985         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57986         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57987         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57988         Add AVX variants.
57989         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57990         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57991         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57992         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57993         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57994         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57995         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57996         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57997         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57998         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57999         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58000         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58001         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58002         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58003         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58004         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58005         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58006         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58007         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58009         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58010         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58012         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58013         place.  Use VEX encoding when compiling for AVX.
58015 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58017         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58018         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58020         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58022 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58024         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58025         useless if() expression.
58026         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58027         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58028         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58029         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58030         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58031         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58032         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58033         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58034         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58035         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58036         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58037         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58038         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58039         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58040         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58041         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58042         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58043         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58044         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58046         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58048 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58050         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58051         condition.
58052         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58054 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58056         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58057         .text section.  Avoid duplicate constants.
58058         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58059         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58060         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58061         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58062         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58063         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58064         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58065         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58066         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58067         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58068         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58069         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58070         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58071         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58072         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58073         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58074         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58075         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58076         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58077         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58078         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58079         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58080         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58081         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58082         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58083         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58084         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58085         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58086         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58087         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58088         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58089         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58090         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58091         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58092         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58093         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58094         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58095         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58096         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58097         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58098         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58099         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58100         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58101         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58102         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58104 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58106         * sysdeps/x86_64/dla.h: Move to ...
58107         * sysdeps/x86_64/fpu/dla.h: ...here.
58108         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58109         situations.  Use __builtin_fma only for gcc 4.6 and up.
58111         * config.make.in: Add have-mfma4 entry.
58112         * configure.in: Substitute libc_cv_cc_fma4.
58113         * math/Makefile (dbl-only-routines): Add sincostab.
58114         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58115         Use __sincostab not sincos.
58116         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58117         name is a macro.
58118         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58119         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58120         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58121         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58122         using __copysign.
58123         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58124         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58125         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58126         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58127         and __inv.
58128         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58129         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58130         __copysign.
58131         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58132         define aliases when function name is a macro.
58133         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58134         sysdeps/ieee754/dbl-64/sincos.tbl.
58135         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58136         fma4-enabled routines.
58137         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58138         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58139         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58140         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58141         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58142         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58143         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58144         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58145         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58146         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58147         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58148         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58149         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58150         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58151         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58152         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58153         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58154         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58155         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58156         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58157         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58158         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58159         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58160         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58161         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58162         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58163         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58164         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58165         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58166         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58168         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58169         rename.
58170         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58171         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58172         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58173         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58174         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58175         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58176         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58177         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58179 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58181         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58183 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58185         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58187         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58188         prediction.
58189         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58191         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58192         Remove unused variable magic_bits.
58193         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58195         * string/strnlen.c: Define and use STRNLEN macro.
58196         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58197         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58198         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58199         * wcsmbs/wcslen.c: Define and use WCSLEN.
58200         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58201         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58202         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58203         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58204         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58205         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58206         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58208 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58210         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58211         strnlen-sse2-no-bsf.
58212         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58213         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58214         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58215         Add strnlen support.
58216         (USE_AS_STRNLEN): New macro.
58217         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58218         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58219         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58220         * sysdeps/x86_64/wcslen.S: New file.
58222 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58224         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58225         XMM-moves are used for copying on small sizes.
58227 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58229         * wcsmbs/Makefile (strop-tests): Add wcschr.
58230         * wcsmbs/test-wcschr.c: New file.
58231         * string/test-strchr.c: Update.
58232         Add wcschr support.
58233         (WIDE): New macro.
58235 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58237         * wcsmbs/Makefile (strop-tests): Add wcslen.
58238         * wcsmbs/test-wcslen.c: New file.
58239         * string/test-strlen.c: Update.
58240         Add wcslen support.
58241         (WIDE): New macro.
58243 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58245         * po/it.po: Update from translation team.
58247 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58249         * sysdeps/x86_64/wcscmp.S: Update.
58250         Fix wrong comparison semantics.
58251         wcscmp shall use signed comparison not unsigned.
58252         Don't use substraction to avoid overflow bug.
58253         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58254         * wcsmbc/wcscmp.c: Likewise.
58255         * string/test-strcmp.c: Likewise.
58256         Add new tests to check cases with negative values.
58258 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58260         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58261         * sysdeps/x86_64/dla.h: ...here.  New file.
58262         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58263         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58264         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58265         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58266         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58267         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58268         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58269         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58270         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58272 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58274         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58275         __ynl_finite aliases.
58277 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58279         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58281         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58282         define DLA_FMA.
58283         [DLA_FMA] (EMULV): Use DLA_FMA.
58284         [DLA_FMA] (MUL12): Use EMULV.
58285         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58286         that are not needed.
58287         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58288         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58289         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58290         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58291         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58292         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58293         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58295 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58297         * math/s_nan.c: Undef __nan.
58298         * math/s_nanf.c: Undef __nanf.
58299         * math/s_nanl.c: Undef __nanl.
58300         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58301         "math_private.h".
58303 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58305         * math/s_catan.c: Add branch predictions.
58306         * math/s_catanf.c: Likewise.
58307         * math/s_catanh.c: Likewise.
58308         * math/s_catanhf.c: Likewise.
58309         * math/s_catanhl.c: Likewise.
58310         * math/s_catanl.c: Likewise.
58311         * math/s_cexp.c: Likewise.
58312         * math/s_cexpf.c: Likewise.
58313         * math/s_cexpl.c: Likewise.
58314         * math/s_clog.c: Likewise.
58315         * math/s_clog10.c: Likewise.
58316         * math/s_clog10f.c: Likewise.
58317         * math/s_clog10l.c: Likewise.
58318         * math/s_clogf.c: Likewise.
58319         * math/s_clogl.c: Likewise.
58320         * math/s_csqrt.c: Likewise.
58321         * math/s_csqrtf.c: Likewise.
58322         * math/s_csqrtl.c: Likewise.
58323         * math/s_ctanf.c: Likewise.
58324         * math/s_ctanh.c: Likewise.
58325         * math/s_ctanhf.c: Likewise.
58326         * math/s_ctanhl.c: Likewise.
58327         * math/s_ctanl.c: Likewise.
58329         * math/math_private.h: Define __nan, __nanf, __nanl.
58330         * math/s_cacosh.c: Include <math_private.h>.
58331         * math/s_cacoshl.c: Likewise.
58332         * math/s_casinh.c: Likewise.
58333         * math/s_casinhf.c: Likewise.
58334         * math/s_casinhl.c: Likewise.
58335         * math/s_ccos.c: Rely entire on ccosh.
58336         * math/s_ccosf.c: Rely entire on ccoshf.
58337         * math/s_ccosl.c: Rely entirely on ccoshl.
58338         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58339         Remove tests for FE_INVALID.
58340         * math/s_ccoshf.c: Likewise.
58341         * math/s_ccoshl.c: Likewise.
58342         * math/s_csin.c: Likewise.
58343         * math/s_csinf.c: Likewise.
58344         * math/s_csinh.c Likewise.
58345         * math/s_csinhf.c: Likewise.
58346         * math/s_csinhl.c: Likewise.
58347         * math/s_csinl.c: Likewise.
58348         * math/s_ctan.c: Likewise.
58349         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58350         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58351         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58353 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58356         compilation problems.
58358         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58359         __builtin_expect.
58361 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58363         * sysdeps/i386/configure.in: Test for -mfma4 option.
58364         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58365         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58366         COMMON_CPUID_INDEX_80000001.
58367         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58368         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58369         use it if FMA3 is not supported.
58370         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58372         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58373         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58375 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58377         [BZ #12892]
58378         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58379         it would create a cycle with a link time dependency.
58381 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58383         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58384         instruction.
58385         * string/Makefile (strop-tests): Add rawmemchr.
58386         * string/test-rawmemchr.c: New file.
58388         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58389         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58390         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58391         when compiling str{,n}casecmp and when AVX is available.  Hook up
58392         new optimized code in initializers.
58394 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58396         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58397         __feraiseexcept instead of feraiseexcept.
58399 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58401         * math/math_private.h: Define defaults for libc_fetestexcept and
58402         libc_feupdateenv.
58403         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58404         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58405         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58406         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58407         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58408         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58409         libc_fetestexcept and libc_feupdateenv.
58411         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58412         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58413         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58414         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58415         libc_feholdexcept_setround.
58417         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58418         Add s_nearbyint-c and s_nearbyintf-c.
58419         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58420         nearbyintf inlines.
58421         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58422         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58423         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58424         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58426         * math/math_private.h: Define defaults for libc_fegetround,
58427         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58428         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58429         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58430         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58431         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58432         standard functions.
58433         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58434         Remove comments and hacks for old compiler versions.
58435         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58436         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58437         libc_feholdexceptl.
58439 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58441         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58442         (__feraiseexcept_renamed): Add __NTH.
58443         (feraiseexcept): Add __NTH.  Rename local variables to fix
58444         namespace violations.
58446 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58448         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58450         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58452         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58453         recently added interfaces.
58454         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58456         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58457         about macro parameter expansion.
58459         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58460         __NO_MATH_INLINES is defined.  Cleanups.
58462         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58463         and __floorf is target has SSE4.1.
58464         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58465         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58466         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58467         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58469         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58470         name.
58471         (floorf): Likewise.
58473         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58475 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58477         * misc/sys/cdefs.h: Fix last change.
58479         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58480         database lookup.
58482 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58484         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58486         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58487         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58488         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58489         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58490         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58491         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58492         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58493         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58494         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58495         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58496         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58497         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58498         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58499         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58500         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58501         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58502         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58503         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58504         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58505         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58506         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58507         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58509         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58510         ceil, ceilf, floor, floorf.
58512         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58513         Perform IRELATIVE relocations last.
58515         * elf/do-rel.h: Add another parameter nrelative, replacing the
58516         local variable with the same name.  Change name of the function
58517         to end in Rel or Rela (uppercase).
58518         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58519         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58520         elf_dynamic_do_##reloc function.
58522 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58524         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58525         is sufficient, at least on modern CPUs.
58527         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58529         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58530         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58532         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58533         __expl_finite.
58534         * math/bits/math-finite.h: Add entries for exp.
58535         * math/e_expl.c: Add __*_finite alias.
58536         * sysdeps/i386/fpu/e_exp.S: Likewise.
58537         * sysdeps/i386/fpu/e_expf.S: Likewise.
58538         * sysdeps/i386/fpu/e_expl.c: Likewise.
58539         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58540         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58541         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58542         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58543         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58544         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58545         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58547         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58548         is sufficient, at least on modern CPUs.
58550         * ctype/ctype-info.c (__ctype_init): Define.
58551         * include/ctype.h (__ctype_init): Declare.
58552         (__ctype_b_loc): The variable is always initialized.
58553         (__ctype_toupper_loc): Likewise.
58554         (__ctype_tolower_loc): Likewise.
58555         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58556         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58558 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58560         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58562         * configure.in: Also look in $cxxmachine/include for C++ system
58563         headers.
58565 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58567         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58568         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58569         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58570         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58571         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58572         (USE_AS_WMEMCMP): New macro.
58573         Fixing indents.
58574         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58575         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58576         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58577         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58578         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58579         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58580         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58581         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58582         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58583         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58584         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58585         (USE_AS_WMEMCMP): New macro.
58586         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58587         * sysdeps/string/test-memcmp.c: Update.
58588         Fix simple_wmemcmp.
58589         Add new tests.
58590         * wcsmbs/wmemcmp.c: Update.
58591         (WMEMCMP): New macro.
58592         Fix overflow bug.
58594 2011-10-12  Andreas Jaeger  <aj@suse.de>
58596         [BZ #13268]
58597         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58599 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58601         * libio/iofwide.c (do_length): Avoid warning.
58603         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58605 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58607         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58609         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58610         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58611         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58612         * sysdeps/i386/i686/fpu/e_log.S: New file.
58613         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58614         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58616         * ctype/ctype.h: Add support for inlined isXXX functions when
58617         compiling C++ code.
58619 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58621         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58623         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58625 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58627         [BZ #13291]
58628         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58630 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58632         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58633         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58634         feraiseexcept.
58636         * sysdeps/x86_64/memrchr.S: Check for zero size.
58638         * string/stratcliff.c: Add memrchr tests.
58640 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58642         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58643         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58644         rawmemchr-sse2 rawmemchr-sse2-bsf.
58645         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58646         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58647         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58648         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58649         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58650         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58651         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58652         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58653         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58654         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58655         * string/memrchr.c (MEMRCHR): New macro.
58657 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58659         Add integration with gcc's -ffinite-math-only and optimize wrapper
58660         functions in libm.
58661         * Versions.def: Define GLIBC_2.15 version for libm.
58662         * math/Makefile (headers): Add bits/math-finite.h.
58663         * math/bits/math-finite.h: New file.
58664         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58665         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58666         * math/e_acoshl.c: Add __*_finite alias.
58667         * math/e_acosl.c: Likewise.
58668         * math/e_asinl.c: Likewise.
58669         * math/e_atan2l.c: Likewise.
58670         * math/e_atanhl.c: Likewise.
58671         * math/e_coshl.c: Likewise.
58672         * math/e_exp10.c: Likewise.
58673         * math/e_exp10f.c: Likewise.
58674         * math/e_exp10l.c: Likewise.
58675         * math/e_exp2l.c: Likewise.
58676         * math/e_fmodl.c: Likewise.
58677         * math/e_gammal_r.c: Likewise.
58678         * math/e_hypotl.c: Likewise.
58679         * math/e_j0l.c: Likewise.
58680         * math/e_j1l.c: Likewise.
58681         * math/e_jnl.c: Likewise.
58682         * math/e_lgammal_r.c: Likewise.
58683         * math/e_log10l.c: Likewise.
58684         * math/e_log2l.c: Likewise.
58685         * math/e_logl.c: Likewise.
58686         * math/e_powl.c: Likewise.
58687         * math/e_sinhl.c: Likewise.
58688         * math/e_sqrtl.c: Likewise.
58689         * math/e_scalb.c: Completely rewritten and optimized.
58690         * math/e_scalbf.c: Likewise.
58691         * math/e_scalbl.c: Likewise.
58692         * math/w_acos.c: Likewise.
58693         * math/w_acosf.c: Likewise.
58694         * math/w_acosl.c: Likewise.
58695         * math/w_acosh.c: Likewise.
58696         * math/w_acoshf.c: Likewise.
58697         * math/w_acoshl.c: Likewise.
58698         * math/w_asin.c: Likewise.
58699         * math/w_asinf.c: Likewise.
58700         * math/w_asinl.c: Likewise.
58701         * math/w_atan2.c: Likewise.
58702         * math/w_atan2f.c: Likewise.
58703         * math/w_atan2l.c: Likewise.
58704         * math/w_atanh.c: Likewise.
58705         * math/w_atanhf.c: Likewise.
58706         * math/w_atanhl.c: Likewise.
58707         * math/w_exp10.c: Likewise.
58708         * math/w_exp10f.c: Likewise.
58709         * math/w_exp10l.c: Likewise.
58710         * math/w_fmod.c: Likewise.
58711         * math/w_fmodf.c: Likewise.
58712         * math/w_fmodl.c: Likewise.
58713         * math/w_j0.c: Likewise.
58714         * math/w_j0f.c: Likewise.
58715         * math/w_j0l.c: Likewise.
58716         * math/w_j1.c: Likewise.
58717         * math/w_j1f.c: Likewise.
58718         * math/w_j1l.c: Likewise.
58719         * math/w_jn.c: Likewise.
58720         * math/w_jnf.c: Likewise.
58721         * math/w_log.c: Likewise.
58722         * math/w_logf.c: Likewise.
58723         * math/w_logl.c: Likewise.
58724         * math/w_log10.c: Likewise.
58725         * math/w_log10f.c: Likewise.
58726         * math/w_log10l.c: Likewise.
58727         * math/w_log2.c: Likewise.
58728         * math/w_log2f.c: Likewise.
58729         * math/w_log2l.c: Likewise.
58730         * math/w_pow.c: Likewise.
58731         * math/w_powf.c: Likewise.
58732         * math/w_powl.c: Likewise.
58733         * math/w_remainder.c: Likewise.
58734         * math/w_remainderf.c: Likewise.
58735         * math/w_remainderl.c: Likewise.
58736         * math/w_scalb.c: Likewise.
58737         * math/w_scalbf.c: Likewise.
58738         * math/w_scalbl.c: Likewise.
58739         * math/w_sqrt.c: Likewise.
58740         * math/w_sqrtf.c: Likewise.
58741         * math/w_sqrtl.c: Likewise.
58742         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58743         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58744         used.
58745         * math/math_private.h: Declare __kernel_standard_f.
58746         * math/w_cosh.c: Remove cruft and optimize a bit.
58747         * math/w_coshf.c: Likewise.
58748         * math/w_coshl.c: Likewise.
58749         * math/w_exp2.c: Likewise.
58750         * math/w_exp2f.c: Likewise.
58751         * math/w_exp2l.c: Likewise.
58752         * math/w_hypot.c: Likewise.
58753         * math/w_hypotf.c: Likewise.
58754         * math/w_hypotl.c: Likewise.
58755         * math/w_lgamma.c: Likewise.
58756         * math/w_lgamma_r.c: Likewise.
58757         * math/w_lgammaf.c: Likewise.
58758         * math/w_lgammaf_r.c: Likewise.
58759         * math/w_lgammal.c: Likewise.
58760         * math/w_lgammal_r.c: Likewise.
58761         * math/w_sinh.c: Likewise.
58762         * math/w_sinhf.c: Likewise.
58763         * math/w_sinhl.c: Likewise.
58764         * math/w_tgamma.c: Likewise.
58765         * math/w_tgammaf.c: Likewise.
58766         * math/w_tgammal.c: Likewise.
58767         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58768         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58769         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58770         Minor optimizations.  Pretty printing.  Remove cruft.
58771         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58772         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58773         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58774         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58775         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58776         * sysdeps/i386/fpu/e_asin.S: Likewise.
58777         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58778         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58779         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58780         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58781         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58782         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58783         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58784         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58785         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58786         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58787         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58788         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58789         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58790         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58791         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58792         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58793         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58794         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58795         * sysdeps/i386/fpu/e_log.S: Likewise.
58796         * sysdeps/i386/fpu/e_log10.S: Likewise.
58797         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58798         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58799         * sysdeps/i386/fpu/e_log2.S: Likewise.
58800         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58801         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58802         * sysdeps/i386/fpu/e_logf.S: Likewise.
58803         * sysdeps/i386/fpu/e_logl.S: Likewise.
58804         * sysdeps/i386/fpu/e_pow.S: Likewise.
58805         * sysdeps/i386/fpu/e_powf.S: Likewise.
58806         * sysdeps/i386/fpu/e_powl.S: Likewise.
58807         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58808         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58809         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58810         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58811         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58812         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58813         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58814         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58815         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58816         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58817         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58818         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58819         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58820         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58821         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58822         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58823         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58824         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58825         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58826         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58827         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58828         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58829         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58830         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58831         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58832         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58833         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58834         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58835         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58836         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58837         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58838         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58839         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58840         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58841         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58842         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58843         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58844         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58845         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58846         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58847         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58848         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58849         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58850         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58851         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58852         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58853         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58854         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58855         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58856         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58857         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58858         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58859         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58860         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58861         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58862         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58863         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58864         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58865         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58866         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58867         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58868         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58869         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58870         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58871         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58872         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58873         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58874         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58875         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58876         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58877         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58878         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58879         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58880         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58881         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58882         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58883         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58884         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58885         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58886         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58887         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58888         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58889         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58890         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58891         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58892         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58893         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58894         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58895         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58896         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58897         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58898         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58899         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58900         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58901         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58902         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58903         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58904         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58905         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58906         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58907         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58908         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58909         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58910         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58911         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58912         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58913         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58914         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58915         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58916         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58917         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58918         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58919         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58920         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58921         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58922         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58923         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58924         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58925         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58926         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58927         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58928         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58929         (__isnanf): Likewise.
58930         (__isinf_ns): Likewise.
58931         (__isinf_nsf): Likewise.
58932         (__finite): Likewise.
58933         (__finitef): Likewise.
58934         (__ieee754_sqrt): Define as macro.
58935         (__ieee754_sqrtf): Define as macro.
58936         (__ieee754_sqrtl): Define as macro.
58937         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58938         inlined copy.
58939         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58940         __FINITE_MATH_ONLY__ consistent.
58941         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58943 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58945         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58946         of rawmemchr.
58948         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58950 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58952         * po/ja.po: Update from translation team.
58954 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58956         * locale/programs/locarchive.c (prepare_address_space): New function.
58957         (create_archive, enlarge_archive, open_archive): Use it.
58959         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58960         inside [SHARED], where it is used.
58962         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58964         * nss/getent.c (netgroup_keys): Remove unused variable.
58965         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58967 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58969         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58970         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58971         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58972         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58973         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58974         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58975         * math/Makefile (libm-calls): Add s_isinf_ns.
58976         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58977         * math/multc3.c: Likewise.
58978         * math/s_casin.c: Likewise.
58979         * math/s_casinf.c: Likewise.
58980         * math/s_casinl.c: Likewise.
58981         * math/s_ccos.c: Likewise.
58982         * math/s_ccosf.c: Likewise.
58983         * math/s_ccosl.c: Likewise.
58984         * math/s_ctan.c: Likewise.
58985         * math/s_ctanf.c: Likewise.
58986         * math/s_ctanh.c: Likewise.
58987         * math/s_ctanhf.c: Likewise.
58988         * math/s_ctanhl.c: Likewise.
58989         * math/s_ctanl.c: Likewise.
58990         * math/w_fmod.c: Likewise.
58991         * math/w_fmodf.c: Likewise.
58992         * math/w_fmodl.c: Likewise.
58993         * math/w_remainder.c: Likewise.
58994         * math/w_remainderf.c: Likewise.
58995         * math/w_remainderl.c: Likewise.
58996         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58997         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58998         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58999         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59000         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59001         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59002         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59003         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59005         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59006         of the number.
59007         * stdio-common/printf_fphex.c: Likewise.
59008         * stdio-common/printf_size.c: Likewise.
59010         * math/e_exp10.c: Include math_private.h using <...> not "...".
59011         * math/e_exp10f.c: Likewise.
59012         * math/e_exp10l.c: Likewise.
59013         * math/e_exp2l.c: Likewise.
59014         * math/e_j0l.c: Likewise.
59015         * math/e_j1l.c: Likewise.
59016         * math/e_jnl.c: Likewise.
59017         * math/e_lgammal_r.c: Likewise.
59018         * math/e_rem_pio2l.c: Likewise.
59019         * math/e_scalb.c: Likewise.
59020         * math/e_scalbf.c: Likewise.
59021         * math/e_scalbl.c: Likewise.
59022         * math/k_cosl.c: Likewise.
59023         * math/k_sinl.c: Likewise.
59024         * math/k_tanl.c: Likewise.
59025         * math/s_cacoshf.c: Likewise.
59026         * math/s_catan.c: Likewise.
59027         * math/s_catanf.c: Likewise.
59028         * math/s_catanh.c: Likewise.
59029         * math/s_catanhf.c: Likewise.
59030         * math/s_catanhl.c: Likewise.
59031         * math/s_catanl.c: Likewise.
59032         * math/s_ccosh.c: Likewise.
59033         * math/s_ccoshf.c: Likewise.
59034         * math/s_ccoshl.c: Likewise.
59035         * math/s_cexp.c: Likewise.
59036         * math/s_cexpf.c: Likewise.
59037         * math/s_cexpl.c: Likewise.
59038         * math/s_clog.c: Likewise.
59039         * math/s_clog10.c: Likewise.
59040         * math/s_clog10f.c: Likewise.
59041         * math/s_clog10l.c: Likewise.
59042         * math/s_clogf.c: Likewise.
59043         * math/s_clogl.c: Likewise.
59044         * math/s_csin.c: Likewise.
59045         * math/s_csinf.c: Likewise.
59046         * math/s_csinh.c: Likewise.
59047         * math/s_csinhf.c: Likewise.
59048         * math/s_csinhl.c: Likewise.
59049         * math/s_csinl.c: Likewise.
59050         * math/s_csqrt.c: Likewise.
59051         * math/s_csqrtf.c: Likewise.
59052         * math/s_csqrtl.c: Likewise.
59053         * math/s_ctan.c: Likewise.
59054         * math/s_ctanf.c: Likewise.
59055         * math/s_ctanh.c: Likewise.
59056         * math/s_ctanhf.c: Likewise.
59057         * math/s_ctanhl.c: Likewise.
59058         * math/s_ctanl.c: Likewise.
59059         * math/s_ldexp.c: Likewise.
59060         * math/s_ldexpf.c: Likewise.
59061         * math/s_ldexpl.c: Likewise.
59062         * math/s_significand.c: Likewise.
59063         * math/s_significandf.c: Likewise.
59064         * math/s_significandl.c: Likewise.
59065         * math/w_acos.c: Likewise.
59066         * math/w_acosf.c: Likewise.
59067         * math/w_acosh.c: Likewise.
59068         * math/w_acoshf.c: Likewise.
59069         * math/w_acoshl.c: Likewise.
59070         * math/w_acosl.c: Likewise.
59071         * math/w_asin.c: Likewise.
59072         * math/w_asinf.c: Likewise.
59073         * math/w_asinl.c: Likewise.
59074         * math/w_atan2.c: Likewise.
59075         * math/w_atan2f.c: Likewise.
59076         * math/w_atan2l.c: Likewise.
59077         * math/w_atanh.c: Likewise.
59078         * math/w_atanhf.c: Likewise.
59079         * math/w_atanhl.c: Likewise.
59080         * math/w_cosh.c: Likewise.
59081         * math/w_coshf.c: Likewise.
59082         * math/w_coshl.c: Likewise.
59083         * math/w_dremf.c: Likewise.
59084         * math/w_exp10.c: Likewise.
59085         * math/w_exp10f.c: Likewise.
59086         * math/w_exp10l.c: Likewise.
59087         * math/w_exp2.c: Likewise.
59088         * math/w_exp2f.c: Likewise.
59089         * math/w_fmod.c: Likewise.
59090         * math/w_fmodf.c: Likewise.
59091         * math/w_fmodl.c: Likewise.
59092         * math/w_hypot.c: Likewise.
59093         * math/w_hypotf.c: Likewise.
59094         * math/w_hypotl.c: Likewise.
59095         * math/w_j0.c: Likewise.
59096         * math/w_j0f.c: Likewise.
59097         * math/w_j0l.c: Likewise.
59098         * math/w_j1.c: Likewise.
59099         * math/w_j1f.c: Likewise.
59100         * math/w_j1l.c: Likewise.
59101         * math/w_jn.c: Likewise.
59102         * math/w_jnf.c: Likewise.
59103         * math/w_jnl.c: Likewise.
59104         * math/w_lgamma.c: Likewise.
59105         * math/w_lgamma_r.c: Likewise.
59106         * math/w_lgammaf.c: Likewise.
59107         * math/w_lgammaf_r.c: Likewise.
59108         * math/w_lgammal.c: Likewise.
59109         * math/w_lgammal_r.c: Likewise.
59110         * math/w_log.c: Likewise.
59111         * math/w_log10.c: Likewise.
59112         * math/w_log10f.c: Likewise.
59113         * math/w_log10l.c: Likewise.
59114         * math/w_log2.c: Likewise.
59115         * math/w_log2f.c: Likewise.
59116         * math/w_log2l.c: Likewise.
59117         * math/w_logf.c: Likewise.
59118         * math/w_logl.c: Likewise.
59119         * math/w_pow.c: Likewise.
59120         * math/w_powf.c: Likewise.
59121         * math/w_powl.c: Likewise.
59122         * math/w_remainder.c: Likewise.
59123         * math/w_remainderf.c: Likewise.
59124         * math/w_remainderl.c: Likewise.
59125         * math/w_scalb.c: Likewise.
59126         * math/w_scalbf.c: Likewise.
59127         * math/w_scalbl.c: Likewise.
59128         * math/w_sinh.c: Likewise.
59129         * math/w_sinhf.c: Likewise.
59130         * math/w_sinhl.c: Likewise.
59131         * math/w_sqrt.c: Likewise.
59132         * math/w_sqrtf.c: Likewise.
59133         * math/w_sqrtl.c: Likewise.
59134         * math/w_tgamma.c: Likewise.
59135         * math/w_tgammaf.c: Likewise.
59136         * math/w_tgammal.c: Likewise.
59138         * po/ja.po: Update from translation team.
59140 2011-09-29  Andreas Jaeger  <aj@suse.de>
59142         [BZ #13179]
59143         * sunrpc/netname.c (netname2host): Fix logic.
59145         [BZ #6779]
59146         [BZ #6783]
59147         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59148         correctly.
59149         * math/w_remainder.c (__remainder): Likewise.
59150         * math/w_remainderf.c (__remainderf): Likewise.
59151         * math/libm-test.inc (remainder_test): Add test cases.
59153 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59155         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59156         sdiv_qrnnd.
59158 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59160         * string/test-memcmp.c: Avoid unncessary #defines.
59161         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59163 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59165         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59166         Use new sse2 version for core i3 - i7 as it's faster
59167         than sse42 version.
59168         (bit_Prefer_PMINUB_for_stringop): New.
59169         * sysdeps/x86_64/rawmemchr.S: Update.
59170         Replace with faster SSE2 version.
59171         * sysdeps/x86_64/memrchr.S: New file.
59172         * sysdeps/x86_64/memchr.S: Update.
59173         Replace with faster SSE2 version.
59175 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59177         * elf/dl-load.c (lose): Add cast to avoid warning.
59179 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59181         * po/ca.po: Update from translation team.
59183         * inet/getnetgrent_r.c: Hook up nscd.
59184         * nscd/Makefile (routines): Add nscd_netgroup.
59185         (nscd-modules): Add netgroupcache.
59186         (CFLAGS-netgroupcache.c): Define.
59187         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59188         (cache_search): Add const to second parameter.
59189         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59190         INNETGR.
59191         (dbs): Add netgrdb entry.
59192         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59193         (verify_persistent_db): Handle netgrdb.
59194         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59195         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59196         GETFDNETGR.
59197         (netgroup_response_header): Define.
59198         (innetgroup_response_header): Define.
59199         (datahead): Add netgroup_response_header and innetgroup_response_header
59200         elements.
59201         * nscd/nscd.conf: Add entries for netgroup cache.
59202         * nscd/nscd.h (dbtype): Add netgrdb.
59203         (_PATH_NSCD_NETGROUP_DB): Define.
59204         (netgroup_iov_disabled): Declare.
59205         (xmalloc, xcalloc, xrealloc): Move declarations here.
59206         (cache_search): Adjust prototype.
59207         Add netgroup-related prototypes.
59208         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59209         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59210         (__nscd_innetgr): Declare.
59211         * nscd/selinux.c (perms): Use access_vector_t as element type and
59212         add netgroup-related initializers.
59213         * nscd/netgroupcache.c: New file.
59214         * nscd/nscd_netgroup.c: New file.
59215         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59216         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59217         For four parameters use innetgr.
59218         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59219         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59220         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59221         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59223         * nscd/connections.c (register_traced_file): Don't register file
59224         for disabled databases.
59226 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59228         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59230         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59231         from tree and freeing node.
59233 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59235         * nss/nsswitch.c (__nss_database_lookup): Handle
59236         nss_parse_service_list out of memory case.
59238 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59240         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59241         out of memory case.
59243 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59245         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59246         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59247         pass it down.
59248         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59249         elf_machine_rela, elf_machine_lazy_rel.
59250         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59251         (ELF_DYNAMIC_DO_REL): Likewise.
59252         (ELF_DYNAMIC_DO_RELA): Likewise.
59253         (ELF_DYNAMIC_RELOCATE): Likewise.
59254         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59255         to ELF_DYNAMIC_DO_REL.
59256         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59257         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59258         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59259         elf_machine_rela.
59260         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59261         skip_ifunc, don't call ifunc function if non-zero.
59262         (elf_machine_rela): Likewise.
59263         (elf_machine_lazy_rel): Likewise.
59264         (elf_machine_lazy_rela): Likewise.
59265         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59266         (elf_machine_lazy_rel): Likewise.
59267         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59268         Likewise.
59269         (elf_machine_lazy_rel): Likewise.
59270         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59271         Likewise.
59272         (elf_machine_lazy_rel): Likewise.
59273         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59274         (elf_machine_lazy_rel): Likewise.
59275         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59276         (elf_machine_lazy_rel): Likewise.
59277         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59278         (elf_machine_lazy_rel): Likewise.
59279         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59280         (elf_machine_lazy_rel): Likewise.
59281         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59282         (elf_machine_lazy_rel): Likewise.
59283         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59284         (elf_machine_lazy_rel): Likewise.
59286 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59288         * nss/nss_files/files-init.c (_nss_files_init): Use static
59289         initialization for all the *_traced_file variables.
59291 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59293         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59295 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59297         [BZ #13226]
59298         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59300 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59302         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59303         Reread the line before reparsing it.
59305 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59307         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59309 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59310             Maxim Kuvyrkov  <maxim@codesourcery.com>
59311             Joseph Myers  <joseph@codesourcery.com>
59313         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59314         if needed for __stack_chk_guard.
59316 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59318         * sysdeps/posix/spawni.c (script_execute): Always define it.
59319         It will be optimized away if unused.
59320         (maybe_script_execute): New function.
59321         (__spawni): Call it.
59323         * Makerules: Don't include tls.make.
59324         (config-tls): Always set to thread.
59325         * tls.make.c: File removed.
59327 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59329         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59330         * config.make.in (CPPFLAGS-config): New substituted variable.
59332 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59334         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59336         [BZ #13192]
59337         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59338         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59340 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59342         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59343         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59344         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59345         (CALL_FAIL): Likewise.
59346         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59347         (CALL_FAIL): Macro removed.
59348         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59350 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59352         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59353         for __FINITE_MATH_ONLY__ == 1.
59355 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59357         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59358         __ieee754_sqrt instead of sqrt.
59359         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59360         __ieee754_sqrtf instead of sqrtf.
59361         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59362         __floorf instead of floorf.
59363         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59364         __floorf, __truncf instead of floorf, truncf.
59366 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59368         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59370         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59371         __extern_always_inline.
59372         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59373         32-bit.
59375 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59377         * elf/rtld.c (dl_main): Also relocate in dependency order when
59378         doing symbol dependency testing.
59380 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59382         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59383         Always define `refsym'.
59385 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59387         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59388         (__FD_ELT): Renamed from __FDELT.
59389         * misc/bits/select2.h (__FD_ELT): Likewise.
59390         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59391         __FD_MASK instead of __FDELT, __FDMASK.
59392         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59393         Likewise.
59394         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59395         Likewise.
59397         * elf/Makefile (gen-ldd): Fix pattern.
59399         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59400         (init_tls): Likewise.
59402 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59404         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59406 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59408         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59409         `struct cmsghdr *' instead of `void *'.
59410         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59411         Likewise.
59413 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59415         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59416         if non-absolute.
59417         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59418         ldd_rewrite_script.
59420 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59422         * configure.in: Remove --with-tls option.
59423         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59424         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59425         out in case it is missing.
59426         * sysdeps/ia64/elf/configure.in: Likewise.
59427         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59428         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59429         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59430         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59431         * sysdeps/sh/elf/configure.in: Likewise.
59432         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59433         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59434         * sysdeps/x86_64/elf/configure.in: Likewise.
59435         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59436         * sysdeps/mach/hurd/tls.h: Likewise.
59438         [BZ #13067]
59439         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59441         [BZ #13090]
59442         * configure.in: Fix use of AC_INIT.
59444         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59446 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59448         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59449         __set_errno.
59450         * malloc/hooks.c: Likewise.
59452         [BZ #11929]
59453         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59454         variables statically.
59455         (narenas): Initialize.
59456         (list_lock): Initialize.
59457         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59458         initializtion of main_arena and list_lock.  Small cleanups.
59459         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59460         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59461         Add initializers to main_arena and mp_.
59462         (malloc_state): Remove pagesize member.  Change all users to use
59463         GLRO(dl_pagesize).
59465         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59466         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59467         is always initialized.
59469         * malloc/malloc.c: Removed unused configurations and dead code.
59470         * malloc/arena.c: Likewise.
59471         * malloc/hooks.c: Likewise.
59472         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59474         * include/tls.h: Removed.  USE___THREAD must always be defined.
59475         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59476         * elf/dl-libc.c: Likewise.
59477         * elf/dl-tsd.c: Likewise.
59478         * include/errno.h: Likewise.
59479         * include/netdb.h: Likewise.
59480         * include/resolv.h: Likewise.
59481         * inet/herrno-loc.c: Likewise.
59482         * inet/herrno.c: Likewise.
59483         * malloc/arena.c: Likewise.
59484         * malloc/hooks.c: Likewise.
59485         * malloc/malloc.c: Likewise.
59486         * resolv/res-state.c: Likewise.
59487         * resolv/res_libc.c: Likewise.
59488         * sysdeps/i386/dl-machine.h: Likewise.
59489         * sysdeps/ia64/dl-machine.h: Likewise.
59490         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59491         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59492         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59493         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59494         * sysdeps/sh/dl-machine.h: Likewise.
59495         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59496         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59497         * sysdeps/unix/i386/sysdep.S: Likewise.
59498         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59499         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59500         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59501         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59502         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59503         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59504         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59505         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59506         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59507         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59508         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59509         * sysdeps/x86_64/dl-machine.h: Likewise.
59510         * tls.make.c: Likewise.
59512         * configure.in: Remove --with-__thread option.  Make tests for
59513         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59514         tls_model attribute fail if no support is available.  Remove
59515         USE_IN_LIBIO.
59516         * Makeconfig: Adjust for dropped configure option.  All features are
59517         now mandatory.
59518         * Makerules: Likewise.
59519         * Versions.def: Likewise.
59520         * argp/argp-fmtstream.c: Likewise.
59521         * argp/argp-fmtstream.h: Likewise.
59522         * argp/argp-help.c: Likewise.
59523         * assert/assert.c: Likewise.
59524         * config.h.in: Likewise.
59525         * config.make.in: Likewise.
59526         * configure: Likewise.
59527         * configure.in: Likewise.
59528         * csu/Versions: Likewise.
59529         * csu/init.c: Likewise.
59530         * elf/tst-audit2.c: Likewise.
59531         * elf/tst-tls10.c: Likewise.
59532         * elf/tst-tls10.h: Likewise.
59533         * elf/tst-tls11.c: Likewise.
59534         * elf/tst-tls12.c: Likewise.
59535         * elf/tst-tls14.c: Likewise.
59536         * elf/tst-tlsmod11.c: Likewise.
59537         * elf/tst-tlsmod12.c: Likewise.
59538         * elf/tst-tlsmod13.c: Likewise.
59539         * elf/tst-tlsmod13a.c: Likewise.
59540         * elf/tst-tlsmod14a.c: Likewise.
59541         * elf/tst-tlsmod15b.c: Likewise.
59542         * elf/tst-tlsmod16a.c: Likewise.
59543         * elf/tst-tlsmod16b.c: Likewise.
59544         * elf/tst-tlsmod7.c: Likewise.
59545         * elf/tst-tlsmod8.c: Likewise.
59546         * elf/tst-tlsmod9.c: Likewise.
59547         * gmon/gmon.c: Likewise.
59548         * grp/fgetgrent_r.c: Likewise.
59549         * grp/putgrent.c: Likewise.
59550         * hurd/fopenport.c: Likewise.
59551         * include/libc-symbols.h: Likewise.
59552         * include/tls.h: Likewise.
59553         * intl/gettextP.h: Likewise.
59554         * intl/loadinfo.h: Likewise.
59555         * locale/global-locale.c: Likewise.
59556         * locale/localeinfo.h: Likewise.
59557         * mach/devstream.c: Likewise.
59558         * malloc/arena.c: Likewise.
59559         * malloc/set-freeres.c: Likewise.
59560         * misc/err.c: Likewise.
59561         * misc/getttyent.c: Likewise.
59562         * misc/mntent_r.c: Likewise.
59563         * posix/getopt.c: Likewise.
59564         * posix/wordexp.c: Likewise.
59565         * pwd/fgetpwent_r.c: Likewise.
59566         * resolv/Versions: Likewise.
59567         * resolv/res_hconf.c: Likewise.
59568         * shadow/fgetspent_r.c: Likewise.
59569         * shadow/putspent.c: Likewise.
59570         * stdio-common/printf_fphex.c: Likewise.
59571         * stdio-common/tmpfile.c: Likewise.
59572         * stdlib/abort.c: Likewise.
59573         * stdlib/fmtmsg.c: Likewise.
59574         * sunrpc/auth_unix.c: Likewise.
59575         * sunrpc/clnt_perr.c: Likewise.
59576         * sunrpc/clnt_tcp.c: Likewise.
59577         * sunrpc/clnt_udp.c: Likewise.
59578         * sunrpc/clnt_unix.c: Likewise.
59579         * sunrpc/openchild.c: Likewise.
59580         * sunrpc/svc_simple.c: Likewise.
59581         * sunrpc/svc_tcp.c: Likewise.
59582         * sunrpc/svc_udp.c: Likewise.
59583         * sunrpc/svc_unix.c: Likewise.
59584         * sunrpc/xdr.c: Likewise.
59585         * sunrpc/xdr_array.c: Likewise.
59586         * sunrpc/xdr_rec.c: Likewise.
59587         * sunrpc/xdr_ref.c: Likewise.
59588         * sunrpc/xdr_stdio.c: Likewise.
59590 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59592         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59594 2011-07-03  Andreas Jaeger  <aj@suse.de>
59596         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59597         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59598         regenerate with gen-libm-tests.pl.
59600 2010-05-12  Petr Baudis  <pasky@suse.cz>
59602         [BZ #11589]
59603         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59604         around j0() zero points by switching to j1().
59605         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59606         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59607         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59608         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59610 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59612         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59613         instead of 0.
59614         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59615         instead of 0.
59616         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59617         Patch in part by Pavel Roskin <proski@gnu.org>.
59619         [BZ #13138]
59620         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59621         realloc.
59622         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59623         Free memory block if necessary.
59625         [BZ #12847]
59626         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59627         be NULL.  Don't lock in this case.
59629 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59631         * elf/elf.h (ELFOSABI_GNU): New macro.
59632         (ELFOSABI_LINUX): Define to that.
59634 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59636         * string/strncat.c (strncat): Undef the symbol in case it has been
59637         defined in bits/string.h.
59639 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59641         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59643         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59644         link map.
59646 2011-08-17  Andreas Jaeger  <aj@suse.de>
59648         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59650 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59651             Ian Lance Taylor  <iant@google.com>
59653         * math/libm-test.inc (lround_test): New testcase.
59654         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59656 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59658         * Makefile: Remove support for automatic cvs check-ins.
59659         * Makerules: Likewise.
59660         * config.make.in: Likewise.
59661         * configure.in: Likewise.
59662         * intl/Makefile: Likewise.
59663         * locale/Makefile: Likewise.
59664         * po/Makefile: Likewise.
59665         * posix/Makefile: Likewise.
59666         * sysdeps/gnu/Makefile: Likewise.
59667         * sysdeps/mach/hurd/Makefile: Likewise.
59668         * sysdeps/sparc/sparc32/Makefile: Likewise.
59670         [BZ #13118]
59671         * posix/Makefile (bug-regex32-ENV): Define.
59672         Patch by John Stanley <jpsinthemix@verizon.net>.
59674         * misc/Makefile (headers): Add bits/select2.h.
59675         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59676         * misc/bits/select2.h: New file.
59677         * include/bits/select2.h: New file.
59678         * debug/Makefile (routines): Add fdelt_chk.
59679         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59680         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59681         FD_ISSET.
59682         * debug/fdelt_chk.c: New file.
59684         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59685         * wcsmbs/test-wmemcmp.c: Likewise.
59686         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59687         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59689 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59691         * string/Makefile (strop-tests): Add memcmp.
59692         * string/test-wmemcmp.c: New file.
59693         * string/test-memcmp.c: Add wmemcmp support.
59695 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59697         [BZ #13153]
59698         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59699         2011-07-19 change.
59701         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59702         garbage value in a __mach_port_mod_refs call in the cases of the
59703         task-self and thread-self ports.
59705 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59707         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59709 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59711         * elf/dl-load.c (lose): Check for non-null L.
59713 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59715         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59717         * elf/dl-libc.c (dlerror_run): Pass back error code from
59718         dl_catch_error.
59720         [BZ #13123]
59721         * elf/dl-load.c (lose): Free l_origin if it is valid.
59723         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59724         names.
59725         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59726         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59727         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59728         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59729         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59730         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59732 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59734         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59735         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59736         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59737         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59738         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59739         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59740         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59741         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59742         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59743         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59745 2011-08-15  Alan Modra  <amodra@gmail.com>
59747         [BZ #13092]
59748         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59749         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59750         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59751         ppc_mcount to static-only-routines.
59752         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59753         __mcount_internal.
59754         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59755         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59757 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59759         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59760         for finite and infinity parameters.
59762 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59764         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59765         and add nop instructions for throughput optimization.
59766         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59768 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59770         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59771         aligned copy for power7 with vector-scalar instructions.
59772         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59774 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59776         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59777         AVX check.
59779 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59781         [BZ #13144]
59782         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59783         last change.
59785 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59787         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59788         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59789         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59790         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59791         clock_gettime.
59793 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59795         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59796         Forgot to demangle the pointer.
59798         * sysdeps/i386/sysdep.h: Define atom_text_section.
59799         * sysdeps/x86_64/sysdep.h: Likewise.
59800         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59801         section with atom_text_section.
59802         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59803         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59804         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59805         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59806         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59808         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59809         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59810         already be defined.  Change to take two parameters and don't assign
59811         result to variable.  Adjust all users.
59812         Define INTERNAL_GETTIME if not already defined.
59813         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59814         call.
59815         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59816         HAVE_CLOCK_GETTIME_VSYSCALL.
59817         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59819         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59820         gettimeofday vsyscall, just use time.
59822 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59824         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59825         <errno.h>.
59827 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59829         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59830         syscall on x86-64.
59831         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59832         syscall.
59833         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59834         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59835         syscall if possible.
59837 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59839         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59840         e_ident.  Don't pass to find_mapsXX.
59841         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59843 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59845         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59846         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59847         * sysdeps/x86_64/multiarch/strchr.S: Update.
59848         Check bit_slow_BSF bit.
59849         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59850         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59851         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59853 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59855         [BZ #13134]
59856         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59857         before glibc 2.15.
59858         (tryshell): Define.
59859         (__spawni): Change last parameter to be flag.  Test
59860         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59861         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59862         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59863         * posix/spawni.c: Likewise.
59864         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59865         * posix/spawnp.c: Likewise.  Change normal version to use
59866         SPAWN_XFLAGS_USE_PATH.
59867         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59868         SPAWN_XFLAGS_TRY_SHELL.
59870         [BZ #13150]
59871         * posix/glob.h: Remove gcc 1.x support.
59873         [BZ #13068]
59874         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59876 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59878         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59879         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59880         strrchr-sse2-bsf
59881         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59882         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59883         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59884         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59885         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59886         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59888 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59890         * sysdeps/x86_64/wcscmp.S: New file.
59892         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59893         wcscmp-c wcscmp-sse2
59894         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59895         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59896         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59897         * wcsmbs/wcscmp.c: Allow renaming.
59899 2011-09-05  David S. Miller  <davem@davemloft.net>
59901         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59902         stack slot, rather than the struct return pointer slot.
59903         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59904         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59906         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59908 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59910         * po/ja.po: Update from translation team.
59912         [BZ #13144]
59913         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59914         kernel in 64-bit binaries.
59916 2011-09-01  David S. Miller  <davem@davemloft.net>
59918         * elf/elf.h (HWCAP_SPARC_*): Move to..
59919         * sysdeps/sparc/sysdep.h: this new file and add new values.
59920         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59921         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59922         _DL_HWCAP_COUNT to 24.
59923         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59924         entries.
59925         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59926         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59927         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59928         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59929         instead of magic constants.
59930         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59932 2011-08-31  David S. Miller  <davem@davemloft.net>
59934         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59935         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59936         Reimplement to do errno handling inline.
59937         (SYSCALL_ERROR_HANDLER): New macro.
59938         (__SYSCALL_STRING): Do not do errno handling in asm.
59939         (__CLONE_SYSCALL_STRING): Delete.
59940         (__INTERNAL_SYSCALL_STRING): Delete.
59941         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59942         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59943         (PSEUDO): Reimplement to do errno handling inline.
59944         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59945         (SYSCALL_ERROR_HANDLER): New macro.
59946         (__SYSCALL_STRING): Do not do errno handling in asm.
59947         (__CLONE_SYSCALL_STRING): Delete.
59948         (__INTERNAL_SYSCALL_STRING): Delete.
59949         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59950         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59951         i386.
59952         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59953         (inline_syscall*): Add 'err' argument.
59954         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59955         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59956         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59957         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59959         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59960         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59962 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59964         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59966 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59968         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59969         directive.
59971 2011-08-24  David S. Miller  <davem@davemloft.net>
59973         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59975 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59977         * elf/Makefile: Add rules to build and run unload8 test.
59978         * elf/unload8.c: New file.
59979         * elf/unload8mod1.c: New file.
59980         * elf/unload8mod1x.c: New file.
59981         * elf/unload8mod2.c: New file.
59982         * elf/unload8mod3.c: New file.
59984         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59985         it wasn't used.
59987 2011-08-23  David S. Miller  <davem@davemloft.net>
59989         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59990         subtract stack bias.
59991         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59992         %sp not %fp in calculations.
59993         (_JMPBUF_UNWINDS_ADJ): Likewise.
59995         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59996         (aio_suspend): Call it to force an exception region around the
59997         AIO_MISC_WAIT() invocation.
59999 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60001         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60002         backslash.
60004 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60006         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60007         protection macro.
60008         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60009         and <dl-machine.h>.
60010         (Elf64_FuncDesc): Remove.
60012 2011-08-22  David S. Miller  <davem@davemloft.net>
60014         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60015         sigaltstack check, add missing cfi directives.
60016         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60017         missing cfi directives, and sigaltstack handling.
60019 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60021         [BZ #11724]
60022         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60023         object is seen twice.
60024         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60026         * elf/Makefile (distribute): Add tst-initorder2.c.
60027         (tests): Add tst-initorder2.
60028         (modules-names): Add tst-initorder2a tst-initorder2b
60029         tst-initorder2c tst-initorder2d.  Add rules to build them.
60030         ($(objpfx)tst-initorder2.out): New rule.
60031         * elf/tst-initorder2.c: New file.
60032         * elf/tst-initorder2.exp: New file.
60034 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60036         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60038         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60039         dependencies back to end of function.
60041         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60042         $(elfobjdir)/ld.so.
60044 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60046         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60047         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60048         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60049         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60050         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60051         of __vdso_gettimeofday.
60052         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60053         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60054         attribute_hidden.
60055         (_libc_vdso_platform_setup): Remove initialization of
60056         __vdso_gettimeofday and __vdso_time.
60058 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60060         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60061         and fgetc_unlocked.
60062         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60063         getc_unlocked.
60065         * elf/dl-open.c (add_to_global): Report additions to the global scope
60066         for LD_DEBUG=scopes.
60067         (dl_open_worker): Also print scope of newly loaded dependencies.
60068         (_dl_show_scope): Indicate if there is no scope.
60070         [BZ #13114]
60071         * stdio-common/Makefile (tests): Add bug24.
60072         * stdio-common/bug24.c: New file.
60074 2011-08-19  Andreas Jaeger  <aj@suse.de>
60076         [BZ #13114]
60077         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60078         non-existant file when using close-on-exec mode.
60080 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60082         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60083         the very first instruction.
60085         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60086         the CFI state in the end.
60087         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60088         inclusion of dl-trampoline.h.
60089         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60091 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60093         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60094         expectations for long double.
60096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60097         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60099 2011-08-14  David S. Miller  <davem@davemloft.net>
60101         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60102         artificual limit depends upon the system page size.
60104 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60106         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60107         * resolv/Makefile: Define CFLAGS-libresolv.
60109 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60111         * nss/makedb.c (compute_tables): Make variables used in nested
60112         function static.
60114 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60116         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60117         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60118         if buffer was too small.
60120         * elf/pldd.c (main): Attach to all threads in the process.
60121         Rewrite /proc handling to use *at functions.
60123 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60125         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60126         specifies first scope to show.
60127         (dl_open_worker): Update callers.  Move printing scope of new
60128         object to before the relocation.
60129         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60130         * sysdeps/generic/ldsodefs.h: Update declaration.
60132         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60133         string for the scope number.
60135 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60137         * nscd/servicescache.c (cache_addserv): Make sure written is always
60138         initialized.
60140 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60142         * sysdeps/i386/i486/bits/atomic.h
60143         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60144         statement expression, so as to suppress "set but not used" warning.
60145         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60147         * string/strncat.c (STRNCAT): Use prototype definition.
60149         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60150         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60151         -Iprograms here.
60152         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60153         (localedef-modules): Add localedef.
60154         (locale-modules): Add locale.
60156         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60157         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60158         to avoid a warning.
60160 2011-08-14  David S. Miller  <davem@davemloft.net>
60162         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60163         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60165 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60167         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60168         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60169         * elf/rtld.c (dl_main): Set l_name of vDSO.
60170         Call _dl_show_scope when DL_DEBUG_SCOPES.
60171         (process_dl_debug): Recognize scopes flag and also set it for all.
60172         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60173         Declare _dl_show_scope.
60175         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60176         (do_dlopen): Pass caller_dlopen to dl_open.
60177         (__libc_dlopen_mode): Initialize caller_dlopen.
60179         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60180         of libc.  Make tolower call locale-independent.  Optimize a bit by
60181         using isdigit instead of isalnum.
60182         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60184 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60186         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60187         was a dependency or dynamically loaded.
60189 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60191         * intl/l10nflist.c: Allow architecture-specific pop function.
60192         * sysdeps/x86_64/l10nflist.c: New file.
60194         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60195         classification.
60197 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60199         * include/dirent.h: Add libc_hidden_proto for scandirat and
60200         scandirat64.  Don't declare __scandirat64.
60201         * dirent/scandirat.c: Add libc_hidden_def.
60202         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60203         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60205 2011-08-10  David S. Miller  <davem@davemloft.net>
60207         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60208         enum.
60209         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60210         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60211         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60213 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60215         * Versions.def [libc]: Add GLIBC_2.15.
60216         * dirent/Makefile (routines): Add scandirat and scandirat64.
60217         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60218         GLIBC_2.15.
60219         * dirent/dirent.h: Declare scandirat and scandirat64.
60220         * dirent/scandirat.c: New file.
60221         * dirent/scandirat64.c: New file.
60222         * sysdeps/wordsize-64/scandirat.c: New file.
60223         * sysdeps/wordsize-64/scandirat64.c: New file.
60224         * dirent/opendir.c: Define opendirat.
60225         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60226         using scandirat.
60227         * dirent/scandir64.c: Adjust for scandir.c change.
60228         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60229         __scandirat64, and __scandir_cancel_handler.
60230         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60231         additional parameter and use openat instead of open (outside of ld.so).
60232         Add new __opendir as wrapper around __opendirat.
60233         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60234         here without requiring old scandirat implementation.
60236 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60238         * dirent/scandir.c (cancel_handler): Renamed to
60239         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60240         defined.  Adjust users.
60241         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60242         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60244 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60246         * string/test-string.h (IMPL): Use __STRING to expand name and then
60247         stringify it.
60249         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60250         of cleanups.
60252 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60254         * string/Makefile: Update.
60255         (strop-tests): Append strncat.
60256         * string/test-wcscmp.c: New file.
60257         New comprehensive test for wcscmp.
60258         * string/test-strcmp.c: Update.
60259         (WIDE): New define.
60261 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60263         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60264         line.
60266 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60269         encoding to ACE if AI_IDN.
60271 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60273         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60274         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60276 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60278         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60279         Fix overflow bug in strncat.
60280         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60282         * string/test-strncat.c: Update.
60283         Add new tests for checking overflow bugs.
60285 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60287         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60288         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60289         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60290         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60291         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60292         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60293         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60294         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60295         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60297         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60298         (USE_AS_STRCAT): Define.
60299         Add strcat and strncat support.
60300         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60302 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60304         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60305         __n bigger than INT_MAX+1.
60306         (__strncmp_g): Likewise.
60308 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60310         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60311         * libio/stido.h: Likewise.
60313         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60314         (AF_NFC): Define.
60315         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60316         (AF_NFC): Define.
60318         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60319         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60320         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60321         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60322         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60324         [BZ #13021]
60325         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60326         installed.
60328         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60329         typo.
60330         (_dl_x86_64_save_sse): Likewise.
60332 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60334         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60335         OSXSAVE.
60336         (_dl_x86_64_save_sse): Likewise.
60338         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60340         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60342 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60344         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60345         change.
60346         (_dl_x86_64_save_sse): Use correct AVX check.
60348 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60350         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60351         bug in strncpy/strncat.
60352         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60354 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60356         * string/tester.c (test_strcat): Add tests for different alignments
60357         of source and destination.
60358         (test_strncat): Likewise.
60360 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60362         [BZ #12852]
60363         * posix/glob.c (glob): Check passed in values before using them in
60364         expressions to avoid some overflows.
60365         (glob_in_dir): Likewise.
60367         [BZ #13007]
60368         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60369         check for AVX enablement so that we don't crash with old kernels and
60370         new hardware.
60371         * elf/tst-audit4.c: Add same checks here.
60372         * elf/tst-audit6.c: Likewise.
60374         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60376 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60378         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60380 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60382         * po/cs.po: Update from translation team.
60383         * po/bg.po: Likewise.
60385 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60387         * misc/sys/cdefs.h: Add support for const attribute.
60388         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60389         to gnu_dev_{major,minor,makedev} functions.
60391 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60393         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60395 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60397         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60398         strlen results.
60400 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60402         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60403         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60404         register in order to avoid conflicts with the soft frame pointer
60405         being held in r11 when necessary.
60406         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60407         (INTERNAL_VSYSCALL_NCS): Likewise.
60409 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60411         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60412         * elf/dl-fini.c (_dl_fini): Adjust caller.
60413         * elf/dl-close.c (_dl_close_worker): Likewise.
60414         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60416 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60418         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60419         "aux_cache->nlibs < 0".
60421         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60422         in the reload-count case.
60424 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60427         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60428         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60429         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60430         * sysdeps/x86_64/multiarch/strcat.S: New file.
60431         * sysdeps/x86_64/multiarch/strncat.S: New file.
60432         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60433         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60434         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60435         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60436         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60437         (USE_AS_STRCAT): Define.
60438         Add strcat and strncat support.
60439         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60440         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60441         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60442         * string/strncat.c: Update.
60443         (USE_AS_STRNCAT): Define.
60444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60445         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60446         and i7.
60447         * sysdeps/x86_64/multiarch/init-arch.h
60448         (bit_Prefer_PMINUB_for_stringop): New.
60449         (index_Prefer_PMINUB_for_stringop): Likewise.
60450         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60451         bit_Prefer_PMINUB_for_stringop.
60453 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60455         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60456         buffer64.
60457         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60458         of casting of buffer.
60459         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60460         buffer32 and buffer64.
60461         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60462         writes instead of casting of buffer.
60463         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60464         buffer32.
60465         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60466         casting of buffer.
60468 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60470         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60472 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60474         * nscd/nscd.c (termination_handler): Don't do anything for a database
60475         if it has not yet been initialized.
60477 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60479         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60481 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60483         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60485 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60487         * po/nl.po: Update from translation team.
60488         * po/sv.po: Likewise.
60490 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60492         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60493         now disallowed by GCC.
60495         * configure.in (use-default-link): Default to yes if a test -shared
60496         link meets our qualifications.
60497         * configure: Regenerated.
60499         * config.make.in (output-format): New variable.
60500         * configure.in: Check for ld --print-output-format support.
60501         * configure: Regenerated.
60502         * Makerules ($(common-objpfx)format.lds)
60503         [$(output-format) != unknown]: Just use $(output-format),
60504         instead of the linker-script munging.
60506 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60508         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60509         of $(common-objpfx)shlib.lds.
60510         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60512         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60513         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60515         * configure.in (-z relro check): Adjust test code to add a large
60516         writable data section after it.
60517         * configure: Regenerated.
60519 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60521         * configure.in (-z relro check): Fix test code to make the variable
60522         truly const.
60523         * configure: Regenerated.
60525 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60527         * nscd/nscd.h (struct traced_file): Define.
60528         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60529         elements.  Add traced_files.
60530         (inotify_fd): Declare.
60531         (register_traced_file): Declare.
60532         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60533         (inotify_fd): Export.
60534         (resolv_conf_descr): Remove.
60535         (nscd_init): Move inotify descriptor creation to main.
60536         Don't register files for notification here.
60537         (register_traced_file): New function.
60538         (invalidate_cache): Don't use reset_res to determine whether to call
60539         res_init, go through the list of registered files.
60540         (main_loop_poll): The inotify descriptors are now stored in the
60541         structures for the traced files.
60542         (main_loop_epoll): Likewise
60543         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60544         to __nss_disable_nscd.
60545         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60546         for a database anymore.  Check the records for all the registered
60547         files instead.
60548         * nss/Makefile (libnss_files-routines): Add files-init.
60549         (libnss_db-routines): Add db-init.
60550         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60551         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60552         * nss/nss_db/db-init.c: New file.
60553         * nss/nss_files/files-init.c: New file.
60554         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60555         __nss_lookup_function.
60556         (__nss_lookup_function): Call nss_load_library.
60557         (nss_load_all_libraries): New function.
60558         (__nss_disable_nscd): Take parameter with callback function for files
60559         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60560         used for the cached services.
60561         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60562         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60563         options for features to all the files in nscd.
60565         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60567 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60569         * csu/elf-init.c (__libc_csu_init): Comment typo.
60571 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60573         * po/pl.po: Update from translation team.
60574         * po/ja.po: Likewise.
60575         * po/ru.po: Likewise.
60576         * po/ko.po: Likewise.
60577         * po/fr.po: Likewise.
60579 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60581         * configure.in (.ctors/.dtors header and trailer check):
60582         Use an empirical test on a built program.
60583         * configure: Regenerated.
60585         * configure.in (-z relro check): Use an empirical test on a built DSO.
60586         Detect, but do not require, on ia64.
60587         * configure: Regenerated.
60589         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60590         Update tests that use readelf to use $READELF instead.
60591         * configure: Regenerated.
60593 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60595         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60596         if the result is not used.
60598 2011-07-05  Andreas Jaeger  <aj@suse.de>
60600         [BZ#9696]
60601         * stdlib/tst-strtod.c: Add testcase.
60603 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60605         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60606         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60607         The latter has a higher limit.  Take additional parameter to pass to
60608         the new function.
60609         (__pathconf): Pass file to __statfs_link_max.
60610         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60611         __statfs_link_max.
60612         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60613         __statfs_link_max.
60615         [BZ #12868]
60616         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60617         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60618         Handle Lustre.
60619         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60620         (__statfs_filesize_max): Likewise.
60621         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60623 2011-07-05  Andreas Jaeger  <aj@suse.de>
60625         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60627 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60629         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60630         `status' variable.
60631         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60632         Likewise.
60634 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60636         * Makefile (strop-tests): Add strncat.
60637         * string/test-strncat.c: New file.
60639 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60641         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60643 2011-06-21  Andreas Jaeger  <aj@suse.de>
60645         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60646         Copy rule from iconvdata/Makefile.
60648 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60650         [BZ #12922]
60651         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60652         but no long options are defined, just return 'W'.
60654 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60656         [BZ #9696]
60657         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60659 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60661         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60662         netgroups to read.
60663         (innetgr): Likewise.
60665 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60667         * config.make.in (install_root): Default to $(DESTDIR).
60669 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60671         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60673 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60675         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60677         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60678         containing directory rather than embedding absolute directory names.
60680         * scripts/check-local-headers.sh: Rewritten using awk.
60681         Match by word, not by line.  Print error messages for matches.
60682         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60684         * Makerules [shlib-lds-flags empty]:
60685         ($(common-objpfx)libc_pic.opts): New target.
60686         ($(common-objpfx)libc_pic.os.clean): New target.
60687         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60689         * config.make.in (OBJCOPY): New variable.
60690         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60691         * configure: Regenerated.
60693         * config.make.in (use-default-link): New variable.
60694         * configure.in (use_default_link): Grok --with-default-link to set it.
60695         * configure: Regenerated.
60696         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60697         (shlib-lds, shlib-lds-flags): Define to empty.
60699         * Makerules (shlib-lds): New variable.
60700         (shlib-lds-flags): New variable.
60701         (build-shlib, build-moduile, build-module-asneeded): Use it.
60702         ($(common-objpfx)libc.so): Use $(shlib-lds).
60703         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60704         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60706         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60707         DT_FLAGS/DT_FLAGS_1 with zero flags.
60709         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60710         linker script munging.
60712 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60714         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60715         as 128-bit value.
60716         * crypt/sha512.c (sha512_process_block): Perform total addition using
60717         128-bit if possible.
60718         (__sha512_finish_ctx): Likewise.
60719         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60720         as 64-bit value.
60721         * crypt/sha256.c (SWAP64): Define.
60722         (sha256_process_block): Perform total addition using 64-bit if
60723         possible.
60724         (__sha256_finish_ctx): Likewise.
60726 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60728         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60729         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60730         * nscd/hstcache.c (cache_addhst): Likewise.
60731         * nscd/grpcache.c (cache_addgr): Likewise.
60732         * nscd/aicache.c (addhstaiX): Likewise
60733         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60735 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60737         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60738         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60739         * nscd/hstcache.c (cache_addhst): Likewise.
60740         * nscd/grpcache.c (cache_addgr): Likewise.
60741         * nscd/aicache.c (addhstaiX): Likewise
60743 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60745         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60746         domain only when needed.
60748 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60750         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60751         is always restored.
60753 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60755         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60756         are re-adding the entry.
60757         * nscd/servicescache.c (cache_addserv): Likewise.
60759 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60761         * sysdeps/generic/dl-irel.h: fix protection against multiple
60762         inclusions.
60763         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60765 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60767         [BZ #12935]
60768         * malloc/memusage.sh: Fix quoting in message.
60769         * debug/xtrace.sh: Likewise.
60771         * configure.in: Remove support for --experimental-malloc option, make
60772         it the default.
60773         * config.make.in: Likewise.
60774         * malloc/Makefile: Likewise.
60776 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60778         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60779         two-byte characters.
60781 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60783         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60784         AC_CACHE_CHECK invocation.
60785         * configure: Regenerated.
60787         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60789 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60791         [BZ #12350]
60792         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60793         bit from old_res_options.
60795         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60797         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60798         value type for setfct.
60800 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60802         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60803         __gettimeofday instead of gettimeofday.
60805 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60807         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60809 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60811         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60813         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60814         info.
60816 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60819         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60820         strcpy-sse2-unaligned strncpy-sse2-unaligned
60821         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60822         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60823         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60824         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60825         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60826         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60827         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60828         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60829         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60830         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60831         (STRCPY): Support SSE2 and SSSE3 versions.
60833 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60835         [BZ #12874]
60836         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60837         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60838         kernels which artificially limit size of requests.
60840 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60842         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60843         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60844         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60845         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60846         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60847         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60848         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60849         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60850         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60851         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60852         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60853         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60854         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60855         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60856         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60857         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60858         Enable unaligned load optimization for Intel Core i3, i5 and i7
60859         processors.
60860         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60861         Define.
60862         (index_Fast_Unaligned_Load): Define.
60863         (HAS_FAST_UNALIGNED_LOAD): Define.
60865 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60867         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60869 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60871         [BZ #12907]
60872         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60873         until it is clear that the information is realy needed.
60874         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60876 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60880 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60882         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60883         /sys/devices/system/cpu/online if it is usable.
60885         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60886         reading the information from the /proc filesystem to once a second.
60888 2011-06-21  Andreas Jaeger  <aj@suse.de>
60890         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60891         NULL after inclusion of kernel headers.
60893 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60895         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60896         calls to internal_setent.
60898         [BZ #12885]
60899         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60900         addresses using gethostbyname4_r ignore IPv4 addresses.
60902         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60903         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60905         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60907 2011-06-20  David S. Miller  <davem@davemloft.net>
60909         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60910         inclusions.
60911         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60913         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60914         (elf_irel): Use it.
60915         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60916         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60917         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60918         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60919         * sysdeps/x86_64/dl-irel.h: Likewise.
60921         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60922         * elf/dl-sym.c: Likewise.
60924 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60926         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60927         need to dereference resplen2.
60929 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60931         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60933 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60935         * Makeconfig: Define vardbdir and inst_vardbdir.
60936         * nss/Makefile: Add rules to install db-Makefile.
60938         * nss/nss_db/db-XXX.c: Cleanup.
60940         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60941         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60942         GLIBC_PRIVATE.
60943         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60944         * nss/makedb.c: Implement -g option to specify that value strings
60945         are generated and should not be added to table iterated over for
60946         get*ent calls.
60947         * nss/nss_db/db-initgroups.c: New file.
60949         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60950         interface.
60952         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60953         (internal_getgrouplist): Adjust to name change.
60954         Update use_initgroups_entry if this is not the first call.
60955         * nss/databases.def: Add initgroups entry.
60957         * nss/makedb.c (compute_tables): Check result of multiple hash table
60958         sizes to minimize maximum chain length.
60960 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60962         * Versions.def: Add entry for libnss_db.
60963         * shlib-versions: Likewise.
60964         * nss/Makefile: Add rules to build libnss_db.
60965         * nss/Versions: Add libnss_db information.  Organize libnss_files
60966         entries better.
60967         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60968         makedb progra.  Some minor improvements to generate smaller files.
60969         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60970         here from...
60971         * nss/makedb.c: ...here.
60972         Improve database format to be smaller and require less memory at
60973         runtime.
60974         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60975         db anymore.
60976         * nss/nss_db/db-netgrp.c: Likewise.
60977         * nss/nss_db/db-open.c: Likewise.
60978         * nss/nss_files/flies-XXX.x: Adjust comments.
60979         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60980         * nss/nss_files/files-grp.c: Likewise.
60981         * nss/nss_files/files-hosts.c: Likewise.
60982         * nss/nss_files/files-network.c: Likewise.
60983         * nss/nss_files/files-proto.c: Likewise.
60984         * nss/nss_files/files-pwd.c: Likewise.
60985         * nss/nss_files/files-rpc.c: Likewise.
60986         * nss/nss_files/files-service.c: Likewise.
60987         * nss/nss_files/files-sgrp.c: Likewise.
60988         * nss/nss_files/files-spwd.c: Likewise.
60989         * nss/nss_db/db-alias.c: Removed.
60990         * nss/nss_db/dummy-db.h: Removed.
60992 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60994         * nss/makedb.c: Rewritten to not use database library.
60995         * nss/Makefile: Update to build new makedb program.
60997 2011-06-14  Andreas Jaeger  <aj@suse.de>
60999         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61000         memset declaration.
61002 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61005         tmpbuf.
61007 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61009         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61010         * elf/Makefile ($(objpfx)ld.so): Likewise.
61012         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61013         Don't list ld.so twice in dependencies.
61015         * posix/bug-regex31.c: Include <stdlib.h>.
61017         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61019         * nis/nss_compat/compat-spwd.c
61020         (getspent_next_nss_netgr): Remove unused variable.
61021         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61023         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61024         nonmembers" output to use the right array.
61026         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61028         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61030         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61031         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61032         * catgets/gencat.c (read_input_file): Likewise.
61033         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61035         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61036         variable definition inside #if's controlling its use.
61038         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61040         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61042         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61044         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61045         unreachable code.
61047         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61049         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61050         * configure: Regenerated.
61052         * Makerules: Revert last change.
61053         * elf/Makefile: Likewise.
61055 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61057         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61058         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61059         (reloc-link): Likewise.
61061 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61063         * elf/Makefile: Add rules to build pldd.
61064         * elf/pldd.c: New file.
61065         * elf/pldd-xx.c: New file.
61067 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61069         * version.h: Update for 2.15 development version.
61071 2011-06-07  David S. Miller  <davem@davemloft.net>
61073         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61074         ifuncs.
61075         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61076         elf_machine_lazy_rel): Likewise.
61077         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61078         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61079         elf_machine_lazy_rel): Likewise.
61080         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61081         dl_hwcap via passed in argument.
61082         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61083         Likewise.
61085 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61087         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61089 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61091         [BZ #12849]
61092         * manual/fdl-1.1.texi: New file, verbatim from:
61093         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61094         * manual/lgpl-2.1.texi: New file, verbatim from:
61095         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61096         * manual/Makefile (licenses): New variable, list those new file names.
61097         (texis): Use it.
61098         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61100         * manual/fdl.texi: File removed.
61101         * manual/lesser.texi: File removed.
61102         * manual/libc.texinfo (Copying, Documentation License):
61103         Use new @include file names, put @appendix directive before @include.
61105 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61107         [BZ #12841]
61108         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61109         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61110         (mq_open): Add __NTH.
61112 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61115         Assume Intel Core i3/i5/i7 processor if AVX is available.
61117 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61119         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61120         typo.
61122 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61124         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61125         memory.  Use alloca_account.  Fix memory leak when retrying.
61127 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61129         * version.h (RELEASE): Bump for 2.14 release.
61130         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61132         * config.make.in (RANLIB): Remove entry.
61134 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61136         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61137         (libc.pot): Work around missing support for .ksh extension in xgettext.
61139         [BZ #12684]
61140         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61141         if both request failed.
61142         (send_dg): In case of server errors clear resplen or *resplen2.
61144         [BZ #12454]
61145         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61146         when there are multiple maps.
61147         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61148         (_dl_fini): Remove test here.
61150         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61152 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61154         [BZ #12350]
61155         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61156         bit from old_res_options.
61157         (gaih_inet): Likewise.
61159         [BZ #11099]
61160         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61161         as signed.
61163         * resolv/res_init.c (res_setoptions): Make the code more compact.
61165         [BZ #11558]
61166         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61167         set RES_USEVC.
61169         [BZ #11634]
61170         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61172         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61174         [BZ #11781]
61175         * malloc/malloc.h: Declare malloc hook variables as volatile.
61177         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61178         in last patch.
61180         [BZ #11799]
61181         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61182         raise in the comment.
61183         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61184         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61185         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61187 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61189         [BZ #12811]
61190         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61191         grow the buffers more if it already has to be sufficient.
61192         (build_wcs_upper_buffer): Likewise.
61193         * posix/regexec.c (check_matching): Likewise.
61194         (clean_state_log_if_needed): Likewise.
61195         (extend_buffers): Don't enlarge buffers beyond size of the input
61196         buffer.
61197         Patches mostly by Emil Wojak <emil@wojak.eu>.
61198         * posix/bug-regex32.c: New file.
61199         * posix/Makefile (tests): Add bug-regex32.
61201         * locale/findlocale.c (_nl_find_locale): Return right away if
61202         _nl_explode_name failed.
61203         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61205         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61207         * debug/xtrace.sh: Unify messages.
61208         * malloc/memusage.sh: Likewise.
61210         [BZ #12813]
61211         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61212         time symbol from vDSO.  Substitute with vsyscall if not available.
61213         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61214         __vdso_time.
61216         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61217         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61218         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61219         Add sendmmsg and internal_sendmmsg.
61220         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61221         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61222         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61224         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61225         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61226         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61228 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61230         [BZ #12813]
61231         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61232         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61233         available.
61234         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61235         __vdso_getcpu.
61237         [BZ #12814]
61238         * iconvdata/Makefile (tests): Add bug-iconv9.
61239         * iconvdata/bug-iconv9.c: New file.
61241 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61243         [BZ #12814]
61244         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61246 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61248         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61249         (struct user_regs_struct): Change intcs field back to cs.
61251 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61253         * po/ja.po: Update from translation team.
61255 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61257         [BZ #12795]
61258         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61259         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61261 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61263         * stdlib/longlong.h: Update from GCC.
61265 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61267         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61268         parameter name.
61269         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61270         Add parameter name.
61271         (__sysconf): Pass it down.
61273 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61275         [BZ #12671]
61276         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61277         some situations.
61278         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61279         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61280         add in in __libc_use_alloca calls.  Adjust callers.
61281         (glob): Use malloc in some situations.
61283         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61284         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61285         pltexit.
61287 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61289         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61290         and CLOCK_BOOTTIME_ALARM.
61292         [BZ #12782]
61293         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61294         is returned.
61296         * string/_strerror.c (__strerror_r): Print negative errors as signed
61297         numbers.
61299         [BZ #12777]
61300         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61301         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61302         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61304         * configure.in: Fix typo in redirection and correct removal of test
61305         files in two cases.
61307         [BZ #12788]
61308         * locale/setlocale.c (new_composite_name): Fix test to check for
61309         identical name of all categories.
61311         [BZ #12792]
61312         * libio/filedoalloc.c (local_isatty): New function.
61313         (_IO_file_doallocate): Use local_isatty.
61314         * stdio-common/perror.c (perror): In case a new stream is used
61315         forward the stream error.
61316         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61317         error flag.
61319 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61321         [BZ #11869]
61322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61323         alloca.
61324         * include/alloca.h (extend_alloca_account): Define.
61326         [BZ #11857]
61327         * posix/regex.h: Fix comments with documentation of user-accessible
61328         fields after compilation and describe correct free'ing of pattern
61329         after re_compile_pattern.
61330         Patch by Reuben Thomas <rrt@sc3d.org>.
61332 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61334         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61335         and -mno-altivec to prevent the compiler from using Altivec and/or
61336         VSX instructions when the corresponding registers are not available.
61338 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61340         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61342 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61344         * libio/freopen.c (freopen): Use __dup2, not dup2.
61345         * libio/freopen64.c (freopen64): Likewise.
61347 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61349         [BZ #12775]
61350         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61351         * math/Makefile (tests): Add test-powl.
61352         (CFLAGS-test-powl.c): Define.
61353         * math/test-powl.c: New file.
61355 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61357         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61359 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61361         [BZ #11837]
61362         * iconvdata/gb18030.c: Update to GB18020-2005.
61364 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61366         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61367         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61368         Patch by Aharon Robbins <arnold@skeeve.com>.
61370         [BZ #11892]
61371         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61372         on the stack.
61374         [BZ #11895]
61375         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61376         through underflows.
61378         [BZ #12766]
61379         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61380         point to strings before performing equality test for error_one_per_line
61381         mode.
61383         [BZ #11697]
61384         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61386         [BZ #11820]
61387         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61388         (struct user_fpregs_struct): Avoid __uint*_t types.
61390         [BZ #6420]
61391         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61392         symbol info.  Use it instead of calling _dl_addr locally.
61393         (lock_and_info): New function.
61394         (tr_freehook): Call lock_and_info and pass symbol info as additional
61395         parameter to tr_where.
61396         (tr_mallochook): Likewise.
61397         (tr_reallochook): Likewise.
61398         (tr_memalignhook): Likewise.
61400         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61401         used and couldn't be at all thread-safe.
61403 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61405         * libio/freopen.c (freopen): Don't close old file descriptor
61406         before the new one is opened.  Instead dup the new file descriptor
61407         to the old one after the new stream is created.
61408         * libio/freopen64.c (freopen64): Likewise.
61409         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61410         * libio/fileops.c (_IO_new_file_close_it): Handle new
61411         _IO_FLAGS2_NOCLOSE flag.
61412         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61413         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61414         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61415         _IO_FLAGS2_NOCLOSE flag.
61416         * include/unistd.h: Add hidden_proto for dup3.
61417         Define __have_dup3.
61418         * io/dup3.c: Define hidden symbol.
61419         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61421         [BZ #7101]
61422         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61423         when an incomplete long option is used.
61424         * posix/tst-getopt_long1.c: New file.
61425         * posix/Makefile (tests): Add tst-getopt_long1.
61427         [BZ #10138]
61428         * scripts/config.guess: Update from autoconf-2.68.
61429         * scripts/config.sub: Likewise.
61431         [BZ #10157]
61432         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61433         tests into ...
61434         (has_cpuclock): ...this.  New function.
61435         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61436         macro here based on has_cpuclock code.
61438         [BZ #10149]
61439         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61440         First byte (not low byte) is now always NUL.
61441         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61443         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61444         Use non-cancelable interfaces.
61446         [BZ #9809]
61447         * locale/iso-639.def: Add entry for Sorani.
61449         [BZ #11901]
61450         * include/stdlib.h: Move include protection to the right place.
61451         Define abort_msg_s.  Declare __abort_msg with it.
61452         * stdlib/abort.c (__abort_msg): Adjust type.
61453         * assert/assert.c (__assert_fail_base): New function.  Majority
61454         of code from __assert_fail.  Allocate memory for __abort_msg with
61455         mmap.
61456         (__assert_fail): Now call __assert_fail_base.
61457         * assert/assert-perr.c: Remove bulk of implementation.  Use
61458         __assert_fail_base.
61459         * include/assert.hL Declare __assert_fail_base.
61460         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61461         mmap.
61462         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61464 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61466         [BZ #11952]
61467         [BZ #12453]
61468         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61469         until all modules are registered in the DTV.
61470         * elf/Makefile: Add rules to build and run tst-tls19.
61471         * elf/tst-tls19.c: New file.
61472         * elf/tst-tls19mod1.c: New file.
61473         * elf/tst-tls19mod2.c: New file.
61474         * elf/tst-tls19mod3.c: New file.
61475         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61477         [BZ #12083]
61478         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61479         correctly.
61481         [BZ #12601]
61482         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61483         two-byte sequence errors.
61484         * iconvdata/Makefile (tests): Add bug-iconv8.
61485         * iconvdata/bug-iconv8.c: New file.
61487         [BZ #12626]
61488         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61489         buf2 definition.
61491         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61493         [BZ #12432]
61494         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61495         (dummy_getcfa): New function.
61496         (init): Get _Unwind_GetCFA address, use dummy if not found.
61497         (backtrace_helper): In recursion check, also check whether CFA changes.
61498         (__backtrace): Completely initialize arg.
61500         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61501         storing incomplete byte sequence in state object.  Avoid testing for
61502         guaranteed too small input if we know there is enough data available.
61504 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61506         * Makeconfig (+link-pie): Indent.
61507         * Rules (binaries-pie): Define if $(have-fpie) and
61508         $(build-shared).
61509         (binaries-shared): Also filter out $(binaries-pie).
61510         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61511         * nscd/Makefile (others-pie): Add nscd.
61512         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61513         ($(objpfx)nscd): Remove command override.
61514         * login/Makefile (others-pie): Add pt_chown.
61515         ($(objpfx)pt_chown): Remove command override.
61516         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61517         remove command overrides.
61519 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61521         * libio/tst_putwc.c: Fix error messages.
61523         [BZ #12724]
61524         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61525         currently writing and seek to current position when not.
61526         * libio/Makefile (tests): Add bug-fclose1.
61527         * libio/bug-fclose1.c: New file.
61529 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61531         [BZ #12511]
61532         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61533         don't set DF_1_NODELETE here.
61534         (do_lookup_x): When entering new entry test for copy relocation
61535         and if necessary set DF_1_NODELETE flag.
61536         * elf/tst-unique4.cc: New file.
61537         * elf/tst-unique4.h: New file.
61538         * elf/tst-unique4lib.cc: New file.
61539         * elf/Makefile: Add rules to build and run tst-unique4.
61540         Patch by Piotr Bury <pbury@goahead.com>.
61542 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61544         [BZ #12052]
61545         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61547         [BZ #12625]
61548         * misc/mntent_r.c (addmntent): Flush the stream after the output
61550         [BZ #12393]
61551         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61552         (is_trusted_path_normalize): Skip initial colon.  Append slash
61553         to empty buffer.  Duplicate is_trusted_path code but allow
61554         constructed patch to be prefix.
61555         (is_dst): Allow $ORIGIN followed by /.
61556         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61557         Correct testing of result of is_trusted_path_normalize
61558         (decompose_rpath): Fix warning.
61560 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61562         [BZ #11257]
61563         * grp/initgroups.c (internal_getgrouplist): When we found the service
61564         list through the initgroups entry in nsswitch.conf do not always
61565         continue on a successful lookup.  Don't always use the
61566         __nss_group_database value if it is set.
61567         * nss/nsswitch.conf (initgroups): Change action for successful db
61568         lookup to continue for compatibility.
61570 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61572         [BZ #11532]
61573         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61574         and CP774 modules.
61575         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61576         and CP774 modules.
61577         * iconvdata/tst-tables.sh: Likewise.
61578         * iconvdata/cp770.c: New file.
61579         * iconvdata/cp771.c: New file.
61580         * iconvdata/cp772.c: New file.
61581         * iconvdata/cp773.c: New file.
61582         * iconvdata/cp774.c: New file.
61583         * iconvdata/testdata/CP770: New file.
61584         * iconvdata/testdata/CP770..UTF8: New file.
61585         * iconvdata/testdata/CP771: New file.
61586         * iconvdata/testdata/CP771..UTF8: New file.
61587         * iconvdata/testdata/CP772: New file.
61588         * iconvdata/testdata/CP772..UTF8: New file.
61589         * iconvdata/testdata/CP773: New file.
61590         * iconvdata/testdata/CP773..UTF8: New file.
61591         * iconvdata/testdata/CP774: New file.
61592         * iconvdata/testdata/CP774..UTF8: New file.
61594         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61595         END CHARMAP line.
61596         * iconvdata/gen-8bit-gap.sh: Likewise.
61597         * iconvdata/gen-8bit.sh: Likewise.
61599         * locale/iso-639.def: Add ary entry.
61601         [BZ #11258]
61602         * locale/C-translit.h.in: Add U20A1 transliteration.
61604         [BZ #12178]
61605         * locale/iso-639.def: Add wae entry.
61606         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61608         [BZ #12545]
61609         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61610         for n.
61612         [BZ #12711]
61613         * locale/C-translit.h.in: Add entry for U20B9.
61614         Patch by pravin.d.s@gmail.com.
61616 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61618         [BZ #12713]
61619         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61620         ENAMETOOLONG use generic getcwd.
61621         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61622         in rtld.  Use *stat64.
61623         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61624         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61625         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61626         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61627         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61628         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61629         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61630         __fstatat64 macros.
61631         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61632         * dirent/rewinddir.c: Add libc_hidden_def.
61633         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61634         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61636         * include/dirent.h (__alloc_dir): Add flags parameter.
61637         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61638         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61639         __alloc_dir.
61640         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61641         from fdopendir if O_CLOEXEC is already set.
61643 2011-03-15  Alan Modra  <amodra@gmail.com>
61645         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61646         l_tls_firstbyte_offset non-zero.  Save padding offset in
61647         l_tls_firstbyte_offset for later use.
61648         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61649         freeing static tls block.
61651 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61653         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61654         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61655         being defined by the kernel headers.
61657 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61659         [BZ #12734]
61660         * resolv/resolv.h: Define RES_NOTLDQUERY.
61661         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61662         no-tld-query and set RES_NOTLDQUERY.
61663         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61664         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61665         modern BIND to search name as TLD unless forbidden.
61667 2011-05-07  Petr Baudis  <pasky@suse.cz>
61668             Ulrich Drepper  <drepper@gmail.com>
61670         [BZ #12393]
61671         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61672         (is_trusted_path): ...to here.
61673         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61674         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61675         using is_trusted_path_normalize() in setuid scripts.
61677 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61679         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61680         __BEGIN/__END_DECLS.
61682 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61684         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61685         NSS_STATUS_NOTFOUND if no record was found.
61687 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61689         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61690         (headers-not-in-tirpc): Remove rpc/netdb.h
61691         * resolv/netdb.h: Revert last change.
61693 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61695         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61696         circular dependency between libgcc.a and libc.a.
61698 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61700         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61701         * nis/Makefile: Don't install rpcsvc/*.
61702         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61703         instead of <rpc/types.h>.
61704         (MAXHOSTNAMELEN): Define.
61706 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61708         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61710 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61712         [BZ #12714]
61713         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61714         gethostbyname4_r when IPv6 results are possible.
61716 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61718         [BZ #12723]
61719         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61720         _PC_PIPE_BUF handling.
61722 2011-04-30  Bruno Haible  <bruno@clisp.org>
61724         [BZ #12717]
61725         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61726         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61727         to 'int'.
61728         * inet/getnameinfo.c (getnameinfo): Likewise.
61730 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61732         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61733         to groups setting in database lookup.
61734         * nss/nsswitch.conf: Add initgroups entry.
61736 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61738         [BZ #12685]
61739         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61740         mode string.
61741         Patch by Eric Blake <eblake@redhat.com>.
61743 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61745         * sunrpc/Makefile (need-export-routines): Add svc_run.
61746         (routines): Remove svc_run.
61747         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61748         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61749         * sunrpc/svc_run.c (svc_run): Likewise.
61750         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61752 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61754         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61755         problem in reallocation in last patch.
61757 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61759         * sunrpc/Makefile: Move inclusion of Rules.
61761 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61763         * nss/nss_files/files-initgroups.c: New file.
61764         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61765         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61766         _nss_files_initgroups_dyn.
61768 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61770         * elf/elf.h (R_ARM_IRELATIVE): Define.
61772 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61774         * po/ru.po: Update from translation team.
61776 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61778         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61779         dependencies.
61781 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61783         [BZ #12653]
61784         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61785         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61786         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61787         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61788         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61790 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61792         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61793         differing bytes.
61794         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61795         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61796         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61798 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61800         [BZ #12420]
61801         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61802         storing it.
61803         * stdlib/bug-getcontext.c: New file.
61804         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61806 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61808         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61809         instructions into .machine "z9-109".
61810         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61811         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61813 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61815         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61816         between environment variables and auxiliary vector.
61818 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61820         * Makefile: Add rules to build linkobj/libc.so.
61821         * include/libc-symbols.h: Define libc_hidden_nolink.
61822         * include/rpc/auth.h: Mark functions which are to be hidden.
61823         * include/rpc/auth_des.h: Likewise.
61824         * include/rpc/auth_unix.h: Likewise.
61825         * include/rpc/clnt.h: Likewise.
61826         * include/rpc/des_crypt.h: Likewise.
61827         * include/rpc/key_prot.h: Likewise.
61828         * include/rpc/pmap_clnt.h: Likewise.
61829         * include/rpc/pmap_prot.h: Likewise.
61830         * include/rpc/pmap_rmt.h: Likewise.
61831         * include/rpc/rpc_msg.h: Likewise.
61832         * include/rpc/svc.h: Likewise.
61833         * include/rpc/svc_auth.h: Likewise.
61834         * include/rpc/xdr.h: Likewise.
61835         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61836         * nss/Makefile: Likewise.
61837         * sunrpc/Makefile: Don't install headers.  Build library with normal
61838         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61839         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61840         for the compat linking library.  Remove use of INTDEF/INTUSE.
61841         * sunrpc/auth_none.c: Likewise.
61842         * sunrpc/auth_unix.c: Likewise.
61843         * sunrpc/authdes_prot.c: Likewise.
61844         * sunrpc/authuxprot.c: Likewise.
61845         * sunrpc/clnt_gen.c: Likewise.
61846         * sunrpc/clnt_perr.c: Likewise.
61847         * sunrpc/clnt_raw.c: Likewise.
61848         * sunrpc/clnt_simp.c: Likewise.
61849         * sunrpc/clnt_tcp.c: Likewise.
61850         * sunrpc/clnt_udp.c: Likewise.
61851         * sunrpc/clnt_unix.c: Likewise.
61852         * sunrpc/des_crypt.c: Likewise.
61853         * sunrpc/des_soft.c: Likewise.
61854         * sunrpc/get_myaddr.c: Likewise.
61855         * sunrpc/key_call.c: Likewise.
61856         * sunrpc/key_prot.c: Likewise.
61857         * sunrpc/netname.c: Likewise.
61858         * sunrpc/pm_getmaps.c: Likewise.
61859         * sunrpc/pm_getport.c: Likewise.
61860         * sunrpc/pmap_clnt.c: Likewise.
61861         * sunrpc/pmap_prot.c: Likewise.
61862         * sunrpc/pmap_prot2.c: Likewise.
61863         * sunrpc/pmap_rmt.c: Likewise.
61864         * sunrpc/publickey.c: Likewise.
61865         * sunrpc/rpc_cmsg.c: Likewise.
61866         * sunrpc/rpc_common.c: Likewise.
61867         * sunrpc/rpc_dtable.c: Likewise.
61868         * sunrpc/rpc_prot.c: Likewise.
61869         * sunrpc/rpc_thread.c: Likewise.
61870         * sunrpc/rtime.c: Likewise.
61871         * sunrpc/svc.c: Likewise.
61872         * sunrpc/svc_auth.c: Likewise.
61873         * sunrpc/svc_authux.c: Likewise.
61874         * sunrpc/svc_raw.c: Likewise.
61875         * sunrpc/svc_run.c: Likewise.
61876         * sunrpc/svc_simple.c: Likewise.
61877         * sunrpc/svc_tcp.c: Likewise.
61878         * sunrpc/svc_udp.c: Likewise.
61879         * sunrpc/svc_unix.c: Likewise.
61880         * sunrpc/svcauth_des.c: Likewise.
61881         * sunrpc/xcrypt.c: Likewise.
61882         * sunrpc/xdr.c: Likewise.
61883         * sunrpc/xdr_array.c: Likewise.
61884         * sunrpc/xdr_float.c: Likewise.
61885         * sunrpc/xdr_intXX_t.c: Likewise.
61886         * sunrpc/xdr_mem.c: Likewise.
61887         * sunrpc/xdr_rec.c: Likewise.
61888         * sunrpc/xdr_ref.c: Likewise.
61889         * sunrpc/xdr_sizeof.c: Likewise.
61890         * sunrpc/xdr_stdio.c: Likewise.
61892 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61894         [BZ #12650]
61895         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61896         * sysdeps/ia64/dl-tls.h: Likewise.
61897         * sysdeps/powerpc/dl-tls.h: Likewise.
61898         * sysdeps/s390/dl-tls.h: Likewise.
61899         * sysdeps/sh/dl-tls.h: Likewise.
61900         * sysdeps/sparc/dl-tls.h: Likewise.
61901         * sysdeps/x86_64/dl-tls.h: Likewise.
61902         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61904 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61906         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61907         rpath element also skip the following colon.
61908         (expand_dynamic_string_token): Add is_path parameter and pass
61909         down to DL_DST_REQUIRED and _dl_dst_substitute.
61910         (decompose_rpath): Call expand_dynamic_string_token with
61911         non-zero is_path.  Ignore empty rpaths.
61912         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61913         with zero is_path.
61915 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61918         Make cancelable.
61920 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61922         [BZ #12655]
61923         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61924         Patch by Filipe David Manana <fdmanana@apache.org>.
61926 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61928         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61929         Maintain aligned stack.
61930         (CHECK_RSP): Remove unused macro.
61932 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61934         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61935         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61937 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61939         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61941         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61943 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61945         [BZ #12518]
61946         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61947         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61948         * sysdeps/x86_64/memmove.c: New file.
61949         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61950         (memcpy): Renamed to ...
61951         (__new_memcpy): This.
61952         (memcpy): Provide GLIBC_2_14 memcpy.
61953         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61954         (memcpy): Provide GLIBC_2_2_5 memcpy.
61956 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61958         [BZ #12631]
61959         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61961 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61963         * misc/syncfs.c: New file.
61964         * misc/Makefile (routines): Add syncfs.
61965         * posix/unistd.h: Declare syncfs.
61966         * sysdeps/unix/syscalls.list: Add syncfs.
61968 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61970         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61971         open_by_handle_at.
61972         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61973         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61974         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61975         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61976         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61977         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61978         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61980 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61982         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61983         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61984         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61985         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61986         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61987         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61988         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61990         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61991         sync_file_range.c with -fexceptions.
61992         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61993         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61994         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61995         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61996         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61997         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61999         sync_file_range as cancellation point
62000         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62001         now a wrapper around __call_sync_file_range with cancellation handling.
62002         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62003         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62004         function name to __call_sync_file_range.
62005         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62006         Add call_sync_file_range.
62008 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62011         bits/timex.h.
62013 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62015         * iconv/iconv.h: Fix typo in comment.
62016         * io/fcntl.h: Likewise.
62017         * libio/stdio.h: Likewise.
62018         * posix/spawn.h: Likewise.
62019         * posix/unistd.h: Likewise.
62020         * stdlib/stdlib.h: Likewise.
62021         * time/time.h: Likewise.
62022         * wcsmbs/wchar.h: Likewise.
62024         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62025         open_by_handle): Add.
62026         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62027         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62028         Augment a few comments.
62029         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62030         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62031         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62032         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62033         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62034         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62035         open_by_handle.
62037         * io/fcntl.h (AT_EMPTY_PATH): Define.
62039 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62041         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62042         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62043         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62044         to...
62045         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62046         * Versions.def: Add GLIBC_2.14.
62047         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62048         Export.
62050 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62052         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62053         round counter.
62054         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62056 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62058         [BZ #12597]
62059         * string/test-strncmp.c (do_page_test): New function.
62060         (check2): Likewise.
62061         (test_main): Call check2.
62062         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62064 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62066         [BZ #12587]
62067         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62068         Handle cache information in CPU leaf 4.
62069         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62071 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62073         [BZ #12583]
62074         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62075         character representation.
62076         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62078 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62080         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62081         END(__isnan) to END(__isnanf) to match function entry point/label
62082         EALIGN(__isnanf,...).
62084 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62086         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62088 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62090         [BZ #12510]
62091         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62092         copy from the symbol referenced in the relocation to initialize the
62093         used variable.
62094         Patch by Piotr Bury <pbury@goahead.com>.
62095         * elf/Makefile: Add rules to build and tst-unique3.
62096         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62097         * elf/tst-unique3.cc: New file.
62098         * elf/tst-unique3.h: New file.
62099         * elf/tst-unique3lib.cc: New file.
62100         * elf/tst-unique3lib2.cc: New file.
62102         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62104 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62106         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62107         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62108         to _start.
62110 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62112         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62113         to-be-loaded object along a path to loader is ld.so.
62115 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62116             Ulrich Drepper  <drepper@gmail.com>
62118         * sysdeps/x86_64/memset.S: After aligning destination, code
62119         branches to different locations depending on the value of
62120         misalignment, when multiarch is enabled. Fix this.
62122 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62124         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62125         Set _x86_64_preferred_memory_instruction for AMD processsors.
62126         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62127         Set bit_Prefer_SSE_for_memop for AMD processors.
62129 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62131         * libio/fmemopen.c (fmemopen): Optimize a bit.
62133 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62135         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62137 2011-03-03  Roland McGrath  <roland@redhat.com>
62139         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62141 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62143         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62144         __bzero_ultra1 instead of __memset_ultra1.
62146 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62147             Ulrich Drepper  <drepper@gmail.com>
62149         [BZ #12509]
62150         * include/link.h (struct link_map): Add l_orig_initfini.
62151         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62152         returning unsuccessfully.
62153         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62154         close of a file loaded at startup, restore the original l_initfini
62155         list.
62156         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62157         list, store the pointer.
62158         * elf/Makefile ($(objpfx)noload-mem): New rule.
62159         (noload-ENV): Define.
62160         (tests): Add $(objpfx)noload-mem.
62161         * elf/noload.c: Include <memcheck.h>.
62162         (main): Call mtrace.  Close all opened handles.
62164 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62166         [BZ #12454]
62167         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62168         dependencies are missing.
62170 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62172         Fix __if_freereq crash: Unlike the generic version which uses free,
62173         Hurd needs munmap.
62174         * sysdeps/mach/hurd/ifreq.h: New file.
62176 2011-01-27  Petr Baudis  <pasky@suse.cz>
62177             Ulrich Drepper  <drepper@gmail.com>
62179         [BZ 12445]#
62180         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62181         to extend_alloca().
62182         * stdio-common/bug23.c: New file.
62183         * stdio-common/Makefile (tests): Add bug23.
62185 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62186             Ulrich Drepper  <drepper@gmail.com>
62188         [BZ #12489]
62189         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62190         before performing relro protection.  At old place add assertion
62191         to make sure nothing changed.
62193 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62194             Glauber de Oliveira Costa  <glommer@gmail.com>
62196         * elf/elf.h: Add new ARM TLS relocs.
62198 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62201         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62202         cast from r3.
62203         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62204         'tests' variable.
62205         * sysdeps/wordsize-64/tst-writev.c: New file.
62207 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62209         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62210         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62211         insns in _dl_start to prevent a TOC reference before relocs are
62212         resolved.
62214 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62216         [BZ #12469]
62217         * Makeconfig: Remove RANLIB definition.
62218         * Makerules: Don't use RANLIB.
62219         * aclocal.m4: Remove ranlib test.
62220         * configure.in: No need to check for ranlib.
62221         * elf/rtld-Rules: Don't use RANLIB.
62223 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62225         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62226         protection macro.
62227         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62228         inclusion protection macro.
62230         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62231         SIGRTMIN and SIGRTMAX and print information in that case only when
62232         SIGRTMIN is defined.
62234 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62236         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62237         arginfo fn returning -1.
62239         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62240         and thousands string is zero terminated.
62242 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62244         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62245         sysdeps/unix/sysv/linux/bits/socket.h.
62247 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62249         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62250         (__CPU_COUNT): Remove old macros.
62251         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62252         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62253         (__CPU_ALLOC, __CPU_FREE): Add macros.
62254         (__sched_cpualloc, __sched_cpufree): Add declarations.
62256 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62258         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62259         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62260         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62261         (readdhstai): Return value of addhstaiX call.
62262         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62263         (addgrbyX): Return value returned by cache_addgr.
62264         (readdgrbyname): Return value returned by addgrbyX.
62265         (readdgrbygid): Likewise.
62266         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62267         (addpwbyX): Return value returned by cache_addpw.
62268         (readdpwbyname): Return value returned by addhstbyX.
62269         (readdpwbyuid): Likewise.
62270         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62271         (addservbyX): Return value returned by cache_addserv.
62272         (readdservbyname): Return value returned by addservbyX:
62273         (readdservbyport): Likewise.
62274         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62275         (addhstbyX): Return value returned by cache_addhst.
62276         (readdhstbyname): Return value returned by addhstbyX.
62277         (readdhstbyaddr): Likewise.
62278         (readdhstbynamev6): Likewise.
62279         (readdhstbyaddrv6): Likewise.
62280         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62281         (readdinitgroups): Return value returned by addinitgroupsX.
62282         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62283         (prune_cache): Keep track of timeout value of re-added entries.
62284         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62285         * nscd/nscd.h: Adjust prototypes of readd* functions.
62287 2011-02-04  Roland McGrath  <roland@redhat.com>
62289         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62290         (nis_stats): Likewise.
62291         * nis/nis_modify.c (nis_modify): Likewise.
62292         * nis/nis_remove.c (nis_remove): Likewise.
62293         * nis/nis_add.c (nis_add): Likewise.
62295         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62297         * posix/fnmatch_loop.c: Add some consts.
62299         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62301 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62303         [BZ #12460]
62304         * config.make.in (config-cflags-novzeroupper): Define.
62305         * configure.in: Substitute libc_cv_cc_novzeroupper.
62306         * elf/Makefile (AVX-CFLAGS): Define.
62307         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62308         (CFLAGS-tst-auditmod4a.c): Likewise.
62309         (CFLAGS-tst-auditmod4b.c): Likewise.
62310         (CFLAGS-tst-auditmod6b.c): Likewise.
62311         (CFLAGS-tst-auditmod6c.c): Likewise.
62312         (CFLAGS-tst-auditmod7b.c): Likewise.
62313         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62315 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62317         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62318         function to the callback.
62319         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62321 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62323         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62324         of errno.
62326 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62328         [BZ #11724]
62329         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62330         of constructors.
62331         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62332         of destructors.
62333         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62335         [BZ #11724]
62336         * elf/Makefile: Add rules to build and run new test.
62337         * elf/tst-initorder.c: New file.
62338         * elf/tst-initorder.exp: New file.
62339         * elf/tst-initordera1.c: New file.
62340         * elf/tst-initordera2.c: New file.
62341         * elf/tst-initordera3.c: New file.
62342         * elf/tst-initordera4.c: New file.
62343         * elf/tst-initorderb1.c: New file.
62344         * elf/tst-initorderb2.c: New file.
62345         * elf/tst-order-a1.c: New file.
62346         * elf/tst-order-a2.c: New file.
62347         * elf/tst-order-a3.c: New file.
62348         * elf/tst-order-a4.c: New file.
62349         * elf/tst-order-b1.c: New file.
62350         * elf/tst-order-b2.c: New file.
62351         * elf/tst-order-main.c: New file.
62352         New test case by George Gensure <werkt0@gmail.com>.
62354 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62357         decoding ACE if AI_CANONIDN.
62359 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62361         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62363 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62365         * version.h (RELEASE): Bump for 2.13 release.
62366         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62368         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62370         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62371         MADV_NOHUGEPAGE.
62372         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62373         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62374         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62375         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62376         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62377         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62379         * posix/getconf.c: Update copyright year.
62380         * catgets/gencat.c: Likewise.
62381         * csu/version.c: Likewise.
62382         * debug/catchsegv.sh: Likewise.
62383         * debug/xtrace.sh: Likewise.
62384         * elf/ldconfig.c: Likewise.
62385         * elf/ldd.bash.in: Likewise.
62386         * elf/sprof.c (print_version): Likewise.
62387         * iconv/iconv_prog.c: Likewise.
62388         * iconv/iconvconfig.c: Likewise.
62389         * locale/programs/locale.c: Likewise.
62390         * locale/programs/localedef.c: Likewise.
62391         * malloc/memusage.sh: Likewise.
62392         * malloc/mtrace.pl: Likewise.
62393         * nscd/nscd.c (print_version): Likewise.
62394         * nss/getent.c: Likewise.
62396         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62397         PF_CAIF, and PF_ALG.
62398         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62400 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62402         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62403         (modules-names): Use them.
62404         (ifunc-test-modules, ifunc-pie-tests): Define.
62405         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62406         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62407         (test-extras): Likewise.
62408         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62409         $(compile-command.c).
62410         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62411         (all-built-dso): Define.
62412         (check-textrel.out, check-execstack.out): Depend on it.
62414         * configure.in: Don't override --enable-multi-arch.
62416 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62418         [BZ #6812]
62419         * nscd/hstcache.c (tryagain): Define.
62420         (cache_addhst): Return tryagain not notfound for temporary errors.
62421         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62422         failed.
62424 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62426         [BZ #10563]
62427         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62428         to make the syscall.
62429         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62431         [BZ #12378]
62432         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62433         and fall back to matching as normal character if the string ends before
62434         the matching ']' is found.  This is what POSIX requires.
62435         * posix/testfnm.c: Adjust test result.
62436         * posix/globtest.sh: Adjust test result.  Add new test.
62437         * posix/tst-fnmatch.input: Likewise.
62438         * posix/tst-fnmatch2.c: Add new test.
62440 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62442         * elf/Makefile (check-execstack): Revert last change.  Depend on
62443         check-execstack.h.
62444         (check-execstack.h): New target.
62445         (generated): Add check-execstack.h.
62446         * elf/check-execstack.c: Include "check-execstack.h".
62447         (main): Revert last change.
62448         (handle_file): Return zero if GNU_STACK is absent and
62449         DEFAULT_STACK_PERMS doesn't include PF_X.
62451 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62453         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62454         in child fails because the descriptor is already closed.
62455         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62456         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62457         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62459         [BZ #12397]
62460         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62461         syscall.
62463         [BZ #10484]
62464         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62465         temporary buffer used to handle multi lookups locally.
62466         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62468 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62470         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62471         loader is ld.so.
62473 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62475         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62476         alignment for SSE2.
62478 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62480         [BZ #12394]
62481         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62482         characters.  When rounding increased number of integer digits recompute
62483         number of groups.
62484         * stdio-common/tst-grouping.c: New file.
62485         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62487 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62489         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62490         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62492         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62493         void.
62494         * bits/select.h: Likewise.
62496 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62498         * po/ja.po: Update from translation team.
62500 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62502         [BZ #11155]
62503         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62504         implementation just like for lxstat, fxstatat, et al.
62506 2010-12-27  Jim Meyering  <meyering@redhat.com>
62508         [BZ #12348]
62509         * posix/regexec.c (build_trtable): Return failure indication upon
62510         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62512 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62514         [BZ #12201]
62515         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62516         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62517         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62518         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62520         [BZ #12207]
62521         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62523         [BZ #12204]
62524         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62525         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62527 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62529         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62530         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62531         script has SORT_BY_INIT_PRIORITY.
62532         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62533         NO_CTORS_DTORS_SECTIONS is defined.
62534         * elf/soinit.c: Likewise.
62535         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62536         NO_CTORS_DTORS_SECTIONS is defined.
62537         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62538         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62539         * sysdeps/sh/init-first.c: Likewise.
62540         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62542 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62544         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62545         always use the slow path.
62547 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62549         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62550         similar rule which adds the sysdep directories to the header search in
62551         order to pick up the correct platform stackinfo.h.
62552         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62553         perform test if it is, otherwise return successfully without testing.
62554         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62555         DEFAULT_STACK_PERMS define in stackinfo.h.
62556         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62557         defined in stackinfo.h.
62558         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62559         DEFAULT_STACK_PERMS defined in stackinfo.h.
62560         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62561         * sysdeps/ia64/stackinfo.h: Likewise.
62562         * sysdeps/s390/stackinfo.h: Likewise.
62563         * sysdeps/sh/stackinfo.h: Likewise.
62564         * sysdeps/sparc/stackinfo.h: Likewise.
62565         * sysdeps/x86_64/stackinfo.h: Likewise.
62566         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62567         PF_X for powerpc64.  Retain PF_X for powerpc32.
62569 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62571         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62572         accurately.
62573         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62574         GETDENTS_64BIT_ALIGNED.
62576 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62578         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62580 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62582         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62583         _GNU_SOURCE.
62585         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62586         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62587         Remove __restrict.
62588         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62589         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62591 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62593         [BZ #11655]
62594         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62595         are initialized.
62597 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62599         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62601 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62603         * po/it.po: Update from translation team.
62605 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62607         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62608         unused codes.
62610 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62612         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62614 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62616         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62617         specially.
62618         (gaih_getanswer_slice): Likewise.
62620 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62622         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62624 2010-05-31  Petr Baudis  <pasky@suse.cz>
62626         [BZ #11149]
62627         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62628         silently even in the chroot mode.
62630 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62632         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62633         last patch a bit.  Pretty printing
62635 2010-05-31  Petr Baudis <pasky@suse.cz>
62637         [BZ #10085]
62638         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62639         initialization of skip_initgroups_dyn.
62641 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62643         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62644         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62646 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62648         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62650 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62652         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62653         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62654         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62655         ($(objpfx)tst-fnmatch-mem): New rule.
62656         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62657         * posix/tst-fnmatch.c (main): Call mtrace.
62659 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62662         Support Intel processor model 6 and model 0x2c.
62664 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62666         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62667           signed comparison.
62669 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62671         [BZ #12205]
62672         * string/test-strncasecmp.c (check_result): New function.
62673         (do_one_test): Use it.
62674         (check1): New function.
62675         (test_main): Use it.
62676         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62677         Support strcasecmp and strncasecmp.
62679 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62681         [BZ #12194]
62682         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62683         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62685 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62687         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62688         IFUNC support.
62689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62690         memset-x86-64.
62691         * sysdeps/x86_64/multiarch/bzero.S: New file.
62692         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62693         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62694         * sysdeps/x86_64/multiarch/memset.S: New file.
62695         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62697         Set bit_Prefer_SSE_for_memop for Intel processors.
62698         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62699         Define.
62700         (index_Prefer_SSE_for_memop): Define.
62701         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62703 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62705         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62706         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62708 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62710         [BZ #12191]
62711         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62712         (__x86_64_raw_data_cache_size_half): Likewise.
62713         (__x86_64_raw_shared_cache_size): Likewise.
62714         (__x86_64_raw_shared_cache_size_half): Likewise.
62716         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62717         (__x86_64_raw_data_cache_size_half): Likewise.
62718         (__x86_64_raw_shared_cache_size): Likewise.
62719         (__x86_64_raw_shared_cache_size_half): Likewise.
62720         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62721         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62722         and __x86_64_raw_shared_cache_size_half.  Round
62723         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62724         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62725         to multiple of 256 bytes.
62727 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62729         [BZ #12167]
62730         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62731         of inacessible symlinks.  Verify result of symlink before returning it.
62732         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62733         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62735 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62737         * math/math.h (isinf): Fix typo in comment.
62739 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62741         * po/da.po: Update from translation team.
62743 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62745         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62746         is added to the list.
62748 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62749             Ulrich Drepper  <drepper@gmail.com>
62751         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62752         the global list here.  Move code to...
62753         (_dl_add_to_namespace_list): ...here.  New function.
62754         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62755         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62756         * elf/dl-load.c (lose): Don't remove the element from the list.
62757         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62758         (_dl_map_object): Likewise.
62760 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62762         [BZ #12159]
62763         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62764         into all bytes of SSE register.
62765         Patch by Richard Li <richardpku@gmail.com>.
62767 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62769         [BZ #12140]
62770         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62771         perturbing.
62773 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62775         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62776         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62777         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62778         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62780         submachine.
62781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62783 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62785         * include/dlfcn.h (__RTLD_SECURE): Define.
62786         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62787         mode & __RTLD_SECURE instead.
62788         (open_path): Rename preloaded parameter to secure.
62789         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62790         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62791         * elf/dl-deps.c (openaux): Likewise.
62792         * elf/rtld.c (struct map_args): Remove is_preloaded.
62793         (map_doit): Don't use it.
62794         (dl_main): Likewise.
62795         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62796         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62798 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62800         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62801         (sysd-rules-targets): Remove duplicates.
62802         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62803         rtld-%.$o dependency.
62805 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62807         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62808         _dl_map_object do it.
62810 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62812         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62813         fast fma builtins, define the macros in the C99 standard.
62814         (FP_FAST_FMAF): Likewise.
62815         (FP_FAST_FMAL): Likewise.
62816         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62818         * bits/mathdef.h: Update copyright year.
62819         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62821 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62823         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62824         builtins, define the macros in the C99 standard.
62825         (FP_FAST_FMAF): Likewise.
62826         (FP_FAST_FMAL): Likewise.
62827         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62828         multiply/add.
62829         (FP_FAST_FMAF): Likewise.
62831 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62833         [BZ #3268]
62834         * math/libm-test.inc (fma_test): Some new testcases.
62835         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62836         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62837         y and infinite z.  Do multiplication by C already in long double.
62838         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62839         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62840         y and infinite z.  Do bitwise or of inexact bit into u.d.
62841         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62842         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62843         * sysdeps/i386/fpu/s_fma.S: Removed.
62844         * sysdeps/i386/fpu/s_fmal.S: Removed.
62846 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62848         [BZ #3268]
62849         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62850         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62851         computation is not scheduled after fetestexcept.  Fix value
62852         of minimum denormal long double.
62854 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62856         [BZ #3268]
62857         * math/libm-test.inc (fma_test): Add some more tests.
62858         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62859         correctly.
62861 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62863         * scripts/data/localplt-s390-linux-gnu.data: New file.
62864         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62866 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62868         [BZ #3268]
62869         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62870         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62871         instead of dbl-64.
62872         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62873         inlines.
62874         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62875         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62876         if one of x and y is very large and the other is subnormal.
62877         * sysdeps/s390/fpu/s_fmaf.c: New file.
62878         * sysdeps/s390/fpu/s_fma.c: New file.
62879         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62880         * sysdeps/powerpc/fpu/s_fma.S: New file.
62881         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62882         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62883         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62885 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62887         [BZ #3268]
62888         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62889         fma tests.
62890         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62891         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62892         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62893         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62894         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62895         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62896         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62898 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62900         [BZ #12078]
62901         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62902         * posix/bug-regex31.input: Add test case.
62904 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62906         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62907         * posix/bug-regex31.input: New file.
62909         [BZ #12078]
62910         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62911         (parse_sub_exp): Fix last change, use postorder.
62913         * posix/bug-regex31.c: New file.
62914         * posix/Makefile: Add rules to build and run bug-regex31.
62916         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62918         [BZ #12078]
62919         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62921         [BZ #12108]
62922         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62923         to have entries in sys_siglist.
62925         [BZ #12093]
62926         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62927         be NULL.
62929 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62931         [BZ #3268]
62932         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62933         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62934         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62935         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62936         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62937         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62938         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62939         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62940         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62941         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62942         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62943         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62944         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62945         * math/ftestexcept.c (fetestexcept): Likewise.
62946         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62947         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62948         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62949         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62950         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62951         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62952         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62954 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62956         [BZ #12107]
62957         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62958         newline.
62960 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62962         * string/bug-strstr1.c: New file.
62963         * string/Makefile: Add rules to build and run bug-strstr1.
62965 2010-10-05  Eric Blake  <eblake@redhat.com>
62967         [BZ #12092]
62968         * string/str-two-way.h (two_way_long_needle): Always clear memory
62969         when skipping input due to the shift table.
62971 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62973         [BZ #12005]
62974         * malloc/mcheck.c: Handle large requests.
62976         [BZ #12077]
62977         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62978         for strncmp and strncasecmp.
62979         * string/stratcliff.c: Add tests for strcmp and strncmp.
62980         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62982 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62984         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62985         __set_fpscr.
62987 2010-09-30  Andreas Jaeger  <aj@suse.de>
62989         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62990         (CGROUP_SUPER_MAGIC): Define.
62991         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62992         Handle btrfs and cgroup file systems.
62993         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62994         Likewise.
62996 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62998         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62999         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63001 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63003         [BZ #12067]
63004         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63005         trying to locate the ELF header.
63007 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63009         [BZ #11611]
63010         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63011         Mask out sign-bit copies when constructing f_fsid.
63013 2010-09-24  Petr Baudis <pasky@suse.cz>
63015         * debug/stack_chk_fail_local.c: Add missing licence exception.
63016         * debug/warning-nop.c: Likewise.
63018 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63020         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63021         implementing getdents64 using getdents syscall, set d_type if
63022         __ASSUME_GETDENTS32_D_TYPE.
63024 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63026         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63027         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63029 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63031         [BZ #12037]
63032         * posix/unistd.h: Undo change of feature selection for ftruncate from
63033         2010-01-11.
63035 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63037         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63038         detection.
63040 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63042         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63043         fanotify_mark.
63044         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63046 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63048         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63049         variables after CHECK_SP call.
63050         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63052 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63053             Ulrich Drepper  <drepper@redhat.com>
63055         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63056         re-relocationg ld.so.
63057         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63058         _dl_init_paths call.
63059         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63060         here anymore.
63062 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63064         * resolv/res_init.c (__res_vinit): Count the default server we added.
63066 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63067             Ulrich Drepper  <drepper@redhat.com>
63069         [BZ #11968]
63070         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63071         (____longjmp_chk): Use %ebx for saving value across system call.
63072         Add unwind info.
63074 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63076         * manual/Makefile: Don't mix pattern rules with normal rules.
63078 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63080         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63081         operation.
63082         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63083         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63084         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63085         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63086         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63087         Likewise.
63089 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63091         [BZ #11979]
63092         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63093         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63095 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63097         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63098         * sysdeps/x86_64/addmul_1.S: Likewise.
63099         * sysdeps/x86_64/lshift.S: Likewise.
63100         * sysdeps/x86_64/mul_1.S: Likewise.
63101         * sysdeps/x86_64/rshift.S: Likewise.
63102         * sysdeps/x86_64/sub_n.S: Likewise.
63103         * sysdeps/x86_64/submul_1.S: Likewise.
63105 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63107         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63108         Define __sched_param instead of SCHED_* and sched_param when
63109         <bits/sched.h> is included with __need_schedparam defined.
63110         * bits/sched.h [__need_schedparam]
63111         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63112         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63113         (__defined_schedparam): Define to 1.
63114         (__sched_param): New structure, identical to sched_param.
63115         (__need_schedparam): Undefine.
63117 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63119         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63120         (epoll_create1): Declare.
63122         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63124 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63126         [BZ #7066]
63127         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63128         shifting retval into place.
63130 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63132         * nis/rpcsvc/nis.h: Update copyright notice.
63133         * nis/rpcsvc/nis.x: Likewise.
63134         * nis/rpcsvc/nis_callback.h: Likewise.
63135         * nis/rpcsvc/nis_callback.x: Likewise.
63136         * nis/rpcsvc/nis_object.x: Likewise.
63137         * nis/rpcsvc/nis_tags.h: Likewise.
63138         * nis/rpcsvc/yp.h: Likewise.
63139         * nis/rpcsvc/yp.x: Likewise.
63140         * nis/rpcsvc/ypupd.h: Likewise.
63141         * nis/yp_xdr.c: Likewise.
63142         * nis/ypupdate_xdr.c: Likewise.
63144         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63145         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63146         (pmap_getport): Use __libc_rpc_getport.
63147         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63148         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63149         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63151 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63154         fanotify_mark.
63156 2010-08-27  Roland McGrath  <roland@redhat.com>
63158         * sysdeps/i386/i686/multiarch/Makefile
63159         (CFLAGS-varshift.c): New variable.
63161 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63163         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63164         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63166         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63168         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63170 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63172         * sysdeps/x86_64/strlen.S: Unroll the loop.
63173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63174         strlen-sse2 strlen-sse2-bsf.
63175         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63176         __strlen_no_bsf if bit_Slow_BSF is set.
63177         (__strlen_sse42): Removed.
63178         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63179         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63181 2010-08-25  Roland McGrath  <roland@redhat.com>
63183         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63184         * sysdeps/x86_64/multiarch/varshift.c: New file.
63185         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63186         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63187         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63188         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63190 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63192         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63193         strlen-sse2 strlen-sse2-bsf.
63194         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63195         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63196         (__strlen_sse2): Removed.
63197         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63198         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63200         bit_Slow_BSF for Atom.
63201         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63202         (index_Slow_BSF): Define.
63203         (HAS_SLOW_BSF): Define.
63205 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63207         [BZ #10851]
63208         * resolv/res_init.c (__res_vinit): When no server address at all
63209         is given default to loopback.
63211 2010-08-24  Roland McGrath  <roland@redhat.com>
63213         * configure.in: Remove config-name.h generation.
63214         * configure: Regenerated.
63215         * config-name.in: File removed.
63216         * scripts/config-uname.sh: New file.
63217         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63218         ($(objdir)config-name.h): New target.
63220         * sunrpc/rpc_parse.h: Avoid nested comment.
63222 2010-08-24  Richard Henderson  <rth@redhat.com>
63223             Ulrich Drepper  <drepper@redhat.com>
63224             H.J. Lu  <hongjiu.lu@intel.com>
63226         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63227         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63228         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63229         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63230         _mm_alignr_epi8 with _mm_loadu_si128.
63231         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63232         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63233         (__m128i_shift_right): Removed.
63234         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63235         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63236         * sysdeps/x86_64/multiarch/varshift.h: New file.
63237         * sysdeps/x86_64/multiarch/varshift.S: New file.
63239 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63241         * configure.in: Move assembler checks to before sysdep dir checking.
63243 2010-08-20  Petr Baudis  <pasky@suse.cz>
63245         * LICENSES: Sync the sunrpc license.
63247 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63249         * sunrpc/auth_des.c: Update copyright notice once again.
63250         * sunrpc/auth_none.c: Likewise.
63251         * sunrpc/auth_unix.c: Likewise.
63252         * sunrpc/authdes_prot.c: Likewise.
63253         * sunrpc/authuxprot.c: Likewise.
63254         * sunrpc/bindrsvprt.c: Likewise.
63255         * sunrpc/clnt_gen.c: Likewise.
63256         * sunrpc/clnt_perr.c: Likewise.
63257         * sunrpc/clnt_raw.c: Likewise.
63258         * sunrpc/clnt_simp.c: Likewise.
63259         * sunrpc/clnt_tcp.c: Likewise.
63260         * sunrpc/clnt_udp.c: Likewise.
63261         * sunrpc/clnt_unix.c: Likewise.
63262         * sunrpc/des_crypt.c: Likewise.
63263         * sunrpc/des_soft.c: Likewise.
63264         * sunrpc/get_myaddr.c: Likewise.
63265         * sunrpc/getrpcport.c: Likewise.
63266         * sunrpc/key_call.c: Likewise.
63267         * sunrpc/key_prot.c: Likewise.
63268         * sunrpc/openchild.c: Likewise.
63269         * sunrpc/pm_getmaps.c: Likewise.
63270         * sunrpc/pm_getport.c: Likewise.
63271         * sunrpc/pmap_clnt.c: Likewise.
63272         * sunrpc/pmap_prot.c: Likewise.
63273         * sunrpc/pmap_prot2.c: Likewise.
63274         * sunrpc/pmap_rmt.c: Likewise.
63275         * sunrpc/rpc/auth.h: Likewise.
63276         * sunrpc/rpc/auth_unix.h: Likewise.
63277         * sunrpc/rpc/clnt.h: Likewise.
63278         * sunrpc/rpc/des_crypt.h: Likewise.
63279         * sunrpc/rpc/key_prot.h: Likewise.
63280         * sunrpc/rpc/netdb.h: Likewise.
63281         * sunrpc/rpc/pmap_clnt.h: Likewise.
63282         * sunrpc/rpc/pmap_prot.h: Likewise.
63283         * sunrpc/rpc/pmap_rmt.h: Likewise.
63284         * sunrpc/rpc/rpc.h: Likewise.
63285         * sunrpc/rpc/rpc_des.h: Likewise.
63286         * sunrpc/rpc/rpc_msg.h: Likewise.
63287         * sunrpc/rpc/svc.h: Likewise.
63288         * sunrpc/rpc/svc_auth.h: Likewise.
63289         * sunrpc/rpc/types.h: Likewise.
63290         * sunrpc/rpc/xdr.h: Likewise.
63291         * sunrpc/rpc_clntout.c: Likewise.
63292         * sunrpc/rpc_cmsg.c: Likewise.
63293         * sunrpc/rpc_common.c: Likewise.
63294         * sunrpc/rpc_cout.c: Likewise.
63295         * sunrpc/rpc_dtable.c: Likewise.
63296         * sunrpc/rpc_hout.c: Likewise.
63297         * sunrpc/rpc_main.c: Likewise.
63298         * sunrpc/rpc_parse.c: Likewise.
63299         * sunrpc/rpc_parse.h: Likewise.
63300         * sunrpc/rpc_prot.c: Likewise.
63301         * sunrpc/rpc_sample.c: Likewise.
63302         * sunrpc/rpc_scan.c: Likewise.
63303         * sunrpc/rpc_scan.h: Likewise.
63304         * sunrpc/rpc_svcout.c: Likewise.
63305         * sunrpc/rpc_tblout.c: Likewise.
63306         * sunrpc/rpc_util.c: Likewise.
63307         * sunrpc/rpc_util.h: Likewise.
63308         * sunrpc/rpcinfo.c: Likewise.
63309         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63310         * sunrpc/rpcsvc/key_prot.x: Likewise.
63311         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63312         * sunrpc/rpcsvc/mount.x: Likewise.
63313         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63314         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63315         * sunrpc/rpcsvc/rex.x: Likewise.
63316         * sunrpc/rpcsvc/rstat.x: Likewise.
63317         * sunrpc/rpcsvc/rusers.x: Likewise.
63318         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63319         * sunrpc/rpcsvc/spray.x: Likewise.
63320         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63321         * sunrpc/rtime.c: Likewise.
63322         * sunrpc/svc.c: Likewise.
63323         * sunrpc/svc_auth.c: Likewise.
63324         * sunrpc/svc_authux.c: Likewise.
63325         * sunrpc/svc_raw.c: Likewise.
63326         * sunrpc/svc_run.c: Likewise.
63327         * sunrpc/svc_simple.c: Likewise.
63328         * sunrpc/svc_tcp.c: Likewise.
63329         * sunrpc/svc_udp.c: Likewise.
63330         * sunrpc/svc_unix.c: Likewise.
63331         * sunrpc/svcauth_des.c: Likewise.
63332         * sunrpc/xcrypt.c: Likewise.
63333         * sunrpc/xdr.c: Likewise.
63334         * sunrpc/xdr_array.c: Likewise.
63335         * sunrpc/xdr_float.c: Likewise.
63336         * sunrpc/xdr_mem.c: Likewise.
63337         * sunrpc/xdr_rec.c: Likewise.
63338         * sunrpc/xdr_ref.c: Likewise.
63339         * sunrpc/xdr_sizeof.c: Likewise.
63340         * sunrpc/xdr_stdio.c: Likewise.
63342         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63343         handling.
63345 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63347         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63349 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63351         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63352         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63353         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63354         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63355         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63356         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63357         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63358         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63359         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63360         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63361         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63362         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63363         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63364         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63366 2010-07-26  Anton Blanchard  <anton@samba.org>
63368         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63369         * malloc/arena.c (heap_trim): Likewise.
63371 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63373         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63374         here.  Not...
63375         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63376         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63378 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63380         * sysdeps/i386/elf/Makefile: New file.
63382 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63384         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63385         from fanotify_init.
63386         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63387         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63389 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63391         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63392         of strncasecmp_l.
63393         * sysdeps/multiarch/strcmp.S: Likewise.
63395 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63397         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63398         strncase_l-nonascii.
63399         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63400         Add strncase_l-ssse3.
63401         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63402         * sysdeps/x86_64/strcmp.S: Likewise.
63403         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63404         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63405         * sysdeps/x86_64/strncase.S: New file.
63406         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63407         * sysdeps/x86_64/strncase_l.S: New file.
63408         * string/Makefile (strop-tests): Add strncasecmp.
63409         * string/test-strncasecmp.c: New file.
63411         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63412         warning.
63414         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63415         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63417 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63419         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63421 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63423         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63424         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63425         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63427 2010-05-01  Alan Modra  <amodra@gmail.com>
63429         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63430         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63431         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63432         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63433         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63434         tidying.  Don't tail-call __sigjmp_save for static lib.
63435         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63436         save location.
63437         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63438         (CALL_MCOUNT): Add eh info, and nop after bl.
63439         (TAIL_CALL_SYSCALL_ERROR): New macro.
63440         (PSEUDO_RET): Use it.
63441         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63442         Correct save location of integer regs and cr.
63443         (_dl_profile_resolve): Correct cr save location.  Delete nops
63444         after bl when SHARED.  Reduce cfi size a little by better
63445         placement of cfi directives.
63446         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63447         make a stack frame.  Instead use parm save area as a temp.
63448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63449         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63451         Don't make a stack frame for parent, use parm save area.
63452         Increase child stack frame to 112 bytes.  Don't save unused reg,
63453         and adjust reg usage.  Set up cfi on error recovery and
63454         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63456         (__makecontext): Add dummy nop after jump to exit.
63457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63458         Use correct parm save area and cr save, reduce stack frame.
63459         Correct cfi for possible PSEUDO_RET frame setup.
63460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63461         Branch to local label emitted by PSEUDO_RET rather than
63462         __syscall_error.
63464 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63466         [BZ #11904]
63467         * locale/programs/locale.c (print_assignment): New function.
63468         (show_locale_vars): Use it.
63470 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63472         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63473         field.
63474         (struct statfs64): Likewise.
63475         (_STATFS_F_FLAGS): Define.
63476         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63477         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63478         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63479         (ST_VALID): Define locally.
63480         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63481         __statvfs_getflags, use the provided value.
63482         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63483         __ASSUME_STATFS_F_FLAGS.
63485         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63487         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63488         Add sys/fanotify.h.
63489         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63490         fanotify_mask for GLIBC_2.13.
63491         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63492         fanotify_init and fanotify_mark.
63493         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63494         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63496         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63497         Add prlimit.
63498         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63499         prlimit64 for GLIBC_2.13.
63500         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63501         prlimit64.
63502         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63503         syscall.
63504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63505         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63506         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63507         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63508         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63509         add prlimit alias.
63510         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63512         [BZ #11903]
63513         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63514         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63516         * nss/Makefile: Add rules to build and run tst-nss-test1.
63517         * shlib-versions: Add entry for libnss_test1.
63518         * nss/nss_test1.c: New file.
63519         * nss/tst-nss-test1.c: New file.
63521         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63522         (__nss_configure_lookup): Set appropriate entry in
63523         __nss_configure_lookup to true.
63524         * nss/nsswitch.h: Define enum with indeces of databases in
63525         databases and __nss_database_custom arrays.  Declare
63526         __nss_database_custom.
63527         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63528         to avoid using nscd when custom rules are installed.
63529         * nss/getXXbyYY_r.c: Likewise.
63530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63532         * nss/nss_files/files-parse.c: Whitespace fixes.
63534 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63536         [BZ #11883]
63537         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63538         * posix/fnmatch_loop.c: Likewise.
63540 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63542         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63543         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63544         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63545         * Versions.def [GLIBC_2.13]: Add.
63547 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63549         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63550         Also fail if tpwd after pwuid call is NULL.
63552 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63554         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63555         when converting to ms.
63557 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63559         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63560         EOPNOTSUPP errors with ENOTTY.
63561         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63562         EOPNOTSUPP errors with ENOTTY.
63564 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63566         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63567         Add strcasecmp_l-ssse3.
63568         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63569         strcasecmp.
63570         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63571         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63572         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63574 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63576         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63578         * string/Makefile (strop-tests): Add strcasecmp.
63579         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63580         strcasecmp_l-nonascii.
63581         (gen-as-const-headers): Add locale-defines.sym.
63582         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63583         * sysdeps/x86_64/strcasecmp.S: New file.
63584         * sysdeps/x86_64/strcasecmp_l.S: New file.
63585         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63586         * sysdeps/x86_64/locale-defines.sym: New file.
63587         * string/test-strcasecmp.c: New file.
63589         * string/test-strcasestr.c: Test both ends of the range of characters.
63590         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63592 2010-07-29  Roland McGrath  <roland@redhat.com>
63594         [BZ #11856]
63595         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63597 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63599         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63600         for ld.so.
63602 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63604         * manual/memory.texi (Malloc Tunable Parameters): Document
63605         M_PERTURB.
63607 2010-07-26  Roland McGrath  <roland@redhat.com>
63609         [BZ #11840]
63610         * configure.in (-fgnu89-inline check): Set and substitute
63611         gnu89_inline, not libc_cv_gnu89_inline.
63612         * configure: Regenerated.
63613         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63615 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63617         * string/test-strnlen.c: New file.
63618         * string/Makefile (strop-tests): Add strnlen.
63619         * string/tester.c (test_strnlen): Add a few more test cases.
63620         * string/tst-strlen.c: Better error reporting.
63622         * sysdeps/x86_64/strnlen.S: New file.
63624 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63626         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63627         lower-latency instructions.
63629 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63631         * string/test-strcasestr.c: New file.
63632         * string/test-strstr.c: New file.
63633         * string/Makefile (strop-tests): Add strstr and strcasestr.
63634         * string/str-two-way.h: Don't undefine MAX.
63635         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63637 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63639         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63640         strcasestr-nonascii.
63641         (CFLAGS-strcasestr-nonascii.c): Define.
63642         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63643         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63644         Remove unused attribute.
63646 2010-07-20  Roland McGrath  <roland@redhat.com>
63648         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63649         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63650         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63651         like LD_HWCAP_MASK can disable hwcaps.
63653 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63655         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63657 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63659         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63660         call in strcasestr.
63661         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63662         __strcasestr_sse42_nonascii.
63663         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63664         strcasestr-nonascii.c.
63665         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63667 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63669         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63670         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63671         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63672         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63674 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63676         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63677         fcntl.
63679 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63681         [BZ #11577]
63682         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63683         dl_signal_cerror.
63685 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63687         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63688         _PC_PIPE_BUF using F_GETPIPE_SZ.
63690 2010-07-05  Roland McGrath  <roland@redhat.com>
63692         * manual/arith.texi (Rounding Functions): Fix rint description
63693         implicit in round description.
63695 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63697         * elf/Makefile: Fix linking for a few tests to make recent linker
63698         happy.
63700 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63702         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63703         $(common-objpfx)libc_nonshared.a.
63705 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63707         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63708         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63709         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63710         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63711         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63712         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63713         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63714         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63729         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63730         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63731         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63732         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63733         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63734         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63735         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63736         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63737         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63738         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63739         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63740         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63756 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63758         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63759         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63760         * string/memmove.c (memmove): Renamed to ...
63761         (MEMMOVE): ...this.  Default to memmove.
63762         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63763         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63764         (END_CHK): Define.
63765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63766         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63767         mempcpy-ssse3-back memmove-ssse3-back.
63768         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63769         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63770         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63771         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63772         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63773         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63774         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63775         * sysdeps/x86_64/multiarch/memmove.c: New file.
63776         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63777         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63778         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63779         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63780         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63781         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63782         Define.
63783         (index_Fast_Copy_Backward): Define.
63784         (HAS_ARCH_FEATURE): Define.
63785         (HAS_FAST_REP_STRING): Define.
63786         (HAS_FAST_COPY_BACKWARD): Define.
63788 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63790         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63791         Restore proper fallback handling.
63793 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63795         [BZ #11701]
63796         * posix/group_member.c (__group_member): Correct checking loop.
63798         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63799         OOM in getpwuid_r correctly.  Return error number when the caller
63800         should return, otherwise -1.
63801         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63802         call returning > 0 value.
63803         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63805 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63807         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63808         libc_nonshared.a from targets in modules-names.
63810 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63812         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63813         requires it.
63815 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63817         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63818         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63819         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63820         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63822 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63824         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63826 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63828         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63829         and F_GETPIPE_SZ.
63830         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63831         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63832         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63833         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63834         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63835         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63837 2010-06-14  Roland McGrath  <roland@redhat.com>
63839         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63841 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63843         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63844         __REDIRECT followed by __THROW.
63845         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63846         * posix/getopt.h (getopt): Likewise.
63848 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63850         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63851         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63852         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63853         in AT_FLAGS.
63854         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63855         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63857 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63859         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63861 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63863         [BZ #11640]
63864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63865         Properly check family and model.
63867 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63869         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63871 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63873         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63875 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63877         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63878         symbol reference.
63880 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63882         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63883         symbol reference.
63885 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63887         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63888         and internal_recvmmsg.
63889         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63890         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63891         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63892         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63894         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63895         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63896         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63898 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63900         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63902 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63904         POWER7 optimizations.
63905         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63906         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63908 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63910         * version.h: Update for 2.13 development version.
63912 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63914         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63915         exceptions.  Return 0.
63917 2010-05-07  Roland McGrath  <roland@redhat.com>
63919         * elf/ldconfig.c (main): Add a const.
63921 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63923         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63924         (args_options): Add no-idn option.
63925         (ahosts_keys_int): Add idn_flags to ai_flags.
63926         (parse_option): Handle 'i' option to clear idn_flags.
63928         * malloc/malloc.c (_int_free): Possible race in the most recently
63929         added check.  Only act on the data if no current modification
63930         happened.
63932 See ChangeLog.17 for earlier changes.